Uses of Interface
net.kyori.adventure.nbt.BinaryTag
-
Uses of BinaryTag in net.kyori.adventure.nbt
Classes in net.kyori.adventure.nbt with type parameters of type BinaryTagModifier and TypeInterfaceDescriptioninterfaceBinaryTagType<T extends BinaryTag>A binary tag type.static interfaceBinaryTagType.Reader<T extends BinaryTag>A binary tag reader.static interfaceBinaryTagType.Writer<T extends BinaryTag>A binary tag writer.static interfaceListBinaryTag.Builder<T extends BinaryTag>A list tag builder.interfaceListTagSetter<R,T extends BinaryTag> Common methods betweenListBinaryTagandListBinaryTag.Builder.Subinterfaces of BinaryTag in net.kyori.adventure.nbtModifier and TypeInterfaceDescriptioninterfaceAn array binary tag.interfaceA binary tag holding abyte-array value.interfaceA binary tag holding abytevalue.interfaceBinary tag holding a mapping of string keys toBinaryTagvalues.interfaceA binary tag holding adoublevalue.interfaceAn end tag.interfaceA binary tag holding afloatvalue.interfaceA binary tag holding anint-array value.interfaceA binary tag holding anintvalue.interfaceA list of a single tag type.interfaceA binary tag holding along-array value.interfaceA binary tag holding alongvalue.interfaceA numeric binary tag.interfaceA binary tag holding ashortvalue.interfaceA binary tag holding aStringvalue.Fields in net.kyori.adventure.nbt with type parameters of type BinaryTagModifier and TypeFieldDescriptionstatic final BinaryTagType<BinaryTag> BinaryTagTypes.LIST_WILDCARDSynthetic tag type used as a list's element type to indicate it contains elements of multiple types.Methods in net.kyori.adventure.nbt with type parameters of type BinaryTagModifier and TypeMethodDescriptionstatic <T extends BinaryTag>
ListBinaryTag.Builder<T> ListBinaryTag.builder(BinaryTagType<T> type) Creates a builder.static <T extends BinaryTag>
ListBinaryTag.Builder<T> ListBinaryTag.builder(BinaryTagType<T> type, @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int initialCapacity) Creates a builder with the specified initial capacity.Methods in net.kyori.adventure.nbt that return BinaryTagModifier and TypeMethodDescriptiondefault BinaryTagBinaryTag.asBinaryTag()BinaryTagLike.asBinaryTag()Gets aBinaryTagrepresentation.Read the string into a tag.TagStringIO.asTag(String input, Appendable remainder) Read the string into an embedded tag, returning the remainder of the input.@Nullable BinaryTagGets a tag.ListBinaryTag.get(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int index) Gets a tag.Methods in net.kyori.adventure.nbt that return types with arguments of type BinaryTagModifier and TypeMethodDescriptionstatic BinaryTagType<? extends BinaryTag> BinaryTagType.binaryTagType(byte id) Returns the binary tag type for the given id.static ListBinaryTag.Builder<BinaryTag> ListBinaryTag.builder()Creates a builder.static ListBinaryTag.Builder<BinaryTag> ListBinaryTag.builder(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int initialCapacity) Creates a builder with the specified initial capacity.BinaryTagType<? extends BinaryTag> ListBinaryTag.elementType()Gets the type of element stored in this list.static ListBinaryTag.Builder<BinaryTag> ListBinaryTag.heterogeneousListBinaryTag()Creates a builder that can accept elements of multiple types.static ListBinaryTag.Builder<BinaryTag> ListBinaryTag.heterogeneousListBinaryTag(@org.jetbrains.annotations.Range(from=0L, to=2147483647L) int initialCapacity) Creates a builder with the specified initial capacity that can accept elements of multiple types.CompoundBinaryTag.stream()Gets a stream of entries in this compound tag.ListBinaryTag.stream()Creates a stream of the tags contained within this list.static Collector<Map.Entry<String, ? extends BinaryTag>, ?, CompoundBinaryTag> CompoundBinaryTag.toCompoundTag()Create aCollectorto consume streams of map entries.static Collector<Map.Entry<String, ? extends BinaryTag>, ?, CompoundBinaryTag> CompoundBinaryTag.toCompoundTag(CompoundBinaryTag initial) Create aCollectorto consume streams of map entries, with initial contents.static Collector<BinaryTag, ?, ListBinaryTag> ListBinaryTag.toListTag()Create aCollectorto consume streams of list tags.static Collector<BinaryTag, ?, ListBinaryTag> ListBinaryTag.toListTag(@Nullable ListBinaryTag initial) Create aCollectorto consume streams of map entries, with initial contents.BinaryTagType<? extends BinaryTag> BinaryTag.type()Gets the tag type.Methods in net.kyori.adventure.nbt with parameters of type BinaryTagModifier and TypeMethodDescriptionGet a string representation of the provided tag.Inserts a tag.Sets the tag at indexindextotag, optionally providingremovedConsumerwith the tag previously at indexindex.voidWrites a tag to in string format.Method parameters in net.kyori.adventure.nbt with type arguments of type BinaryTagModifier and TypeMethodDescriptionstatic CompoundBinaryTagCreates a compound tag populated withtags.static ListBinaryTagCreates a list tag fromtags.default ListBinaryTagCompoundBinaryTag.getList(String key, BinaryTagType<? extends BinaryTag> expectedType) Gets a list, ensuring that the type is the same astype.@Nullable ListBinaryTagCompoundBinaryTag.getList(String key, BinaryTagType<? extends BinaryTag> expectedType, @Nullable ListBinaryTag defaultValue) Gets a list, ensuring that the type is the same astype.static ListBinaryTagListBinaryTag.listBinaryTag(BinaryTagType<? extends BinaryTag> type, List<BinaryTag> tags) Creates a tag.static ListBinaryTagListBinaryTag.listBinaryTag(BinaryTagType<? extends BinaryTag> type, List<BinaryTag> tags) Creates a tag.Inserts some tags.Removes a tag.Removes the tag at indexindex, optionally providingremovedConsumerwith the tag previously at indexindex.Sets the tag at indexindextotag, optionally providingremovedConsumerwith the tag previously at indexindex.