static @NotNull CompoundBinaryTag from(final @NotNull Map<String, ? extends BinaryTag> tags) {
    if (tags.isEmpty()) return empty();
    return new CompoundBinaryTagImpl(new HashMap<>(tags)); // explicitly copy
  }
Creates a compound tag populated with {@code tags}.

<p>If {@code tags} is empty, {@link #empty()} will be returned.</p>

@param tags the map of contents for the created tag
@return a compound tag
@since 4.4.0
nbt/src/main/java/net/kyori/adventure/nbt/CompoundBinaryTag.java