static @NotNull Collector<Map.Entry<String, ? extends BinaryTag>, ?, CompoundBinaryTag> toCompoundTag(final @NotNull CompoundBinaryTag initial) {
    return toCompoundTag(initial, Map.Entry::getKey, Map.Entry::getValue);
  }
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/CompoundBinaryTag.java