static @NotNull Collector<BinaryTag, ?, ListBinaryTag> toListTag(final @Nullable ListBinaryTag initial) {
    return Collector.of(
      initial == null ? ListBinaryTag::builder : () -> ListBinaryTag.builder().add((Iterable<? extends BinaryTag>) initial),
      ListTagSetter::add,
      (l, r) -> l.add((Iterable<? extends BinaryTag>) r.build()),
      ListBinaryTag.Builder::build
    );
  }
Create a {@link Collector} to consume streams of map entries, with initial contents.

<p>In the event of duplicate entries, the last seen entry will be preserved.</p>

@param initial an existing tag that will initialize the builder
@return a collector for map entries
@since 4.21.0
nbt/src/main/java/net/kyori/adventure/nbt/ListBinaryTag.java