Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtBase
Packages that use NbtBase
Package
Description
-
Uses of NbtBase in com.comphenix.protocol.events
Methods in com.comphenix.protocol.events that return types with arguments of type NbtBaseModifier and TypeMethodDescriptionStructureModifier<List<NbtBase<?>>>AbstractStructure.getListNbtModifier()Retrieves a read/write structure for lists of NBT classes.AbstractStructure.getNbtModifier()Retrieves a read/write structure for NBT classes. -
Uses of NbtBase in com.comphenix.protocol.wrappers
Methods in com.comphenix.protocol.wrappers that return types with arguments of type NbtBaseModifier and TypeMethodDescriptionstatic EquivalentConverter<NbtBase<?>>BukkitConverters.getNbtConverter()Retrieve an equivalent converter for net.minecraft.server NBT classes and their wrappers. -
Uses of NbtBase in com.comphenix.protocol.wrappers.nbt
Subinterfaces of NbtBase in com.comphenix.protocol.wrappers.nbtModifier and TypeInterfaceDescriptioninterfaceRepresents a mapping of arbitrary NBT elements and their unique names.interfaceNbtList<TType>Represents a list of NBT tags of the same type without names.interfaceNbtWrapper<TType>Indicates that this NBT wraps an underlying net.minecraft.server instance.Methods in com.comphenix.protocol.wrappers.nbt that return NbtBaseModifier and TypeMethodDescriptionNbtBase.deepClone()Clone the current NBT tag.<T> NbtBase<T>Retrieve the value of a given entry.NbtBase<?>NbtCompound.getValueOrDefault(String key, NbtType type)Retrieve a value by its key, or assign and return a new NBT element if it doesn't exist.Constructs a NBT tag of type byte.static NbtBase<byte[]>Constructs a NBT tag of type byte array.Constructs a NBT tag of type double.Constructs a NBT tag of type float.Constructs a NBT tag of type int.static NbtBase<int[]>Constructs a NBT tag of type int array.Constructs a NBT tag of type long.Constructs a NBT tag of type short.Constructs a NBT tag of type string.<T> NbtBase<?>Remove the NBT element that is associated with the given key.Methods in com.comphenix.protocol.wrappers.nbt that return types with arguments of type NbtBaseModifier and TypeMethodDescriptionNbtList.asCollection()Retrieve each NBT tag in this list.NbtCompound.getValue()Deprecated.NbtCompound.iterator()Retrieve an iterator view of the NBT tags stored in this compound.Methods in com.comphenix.protocol.wrappers.nbt with parameters of type NbtBaseModifier and TypeMethodDescriptionvoidAdd a NBT list or NBT compound to the list.static NbtCompoundNbtFactory.asCompound(NbtBase<?> tag)Attempt to cast this NBT tag as a compund.static NbtList<?>Attempt to cast this NBT tag as a list.static <T> NbtWrapper<T>Get a NBT wrapper from a NBT base.<T> NbtCompoundSet a entry based on its name.Inserts an entry after cloning it and renaming it to "key".booleanVisit a leaf node, which is a NBT tag with a primitive or String value.Method parameters in com.comphenix.protocol.wrappers.nbt with type arguments of type NbtBaseModifier and TypeMethodDescriptionstatic NbtCompoundNbtFactory.ofCompound(String name, Collection<? extends NbtBase<?>> list)Construct a new NBT compound initialized with a given list of NBT values.<T> NbtCompoundNbtCompound.put(String key, Collection<? extends NbtBase<T>> list)Associate a new NBT list with the given key. -
Uses of NbtBase in com.comphenix.protocol.wrappers.nbt.io
Methods in com.comphenix.protocol.wrappers.nbt.io with parameters of type NbtBaseModifier and TypeMethodDescription<TType> voidNbtBinarySerializer.serialize(NbtBase<TType> value, DataOutput destination)Write the content of a wrapped NBT tag to a stream.<TType> voidNbtConfigurationSerializer.serialize(NbtBase<TType> value, org.bukkit.configuration.ConfigurationSection destination)Write the content of a NBT tag to a configuration section.<TType> StringSerialize a NBT tag to a base-64 encoded string.