Uses of Interface
com.comphenix.protocol.wrappers.nbt.NbtCompound
Packages that use NbtCompound
Package
Description
-
Uses of NbtCompound in com.comphenix.protocol.utility
Methods in com.comphenix.protocol.utility that return NbtCompoundModifier and TypeMethodDescriptionStreamSerializer.deserializeCompound(DataInputStream input)Read or deserialize an NBT compound from a input stream.Methods in com.comphenix.protocol.utility with parameters of type NbtCompoundModifier and TypeMethodDescriptionvoidStreamSerializer.serializeCompound(DataOutputStream output, NbtCompound compound)Write or serialize a NBT compound to the given output stream. -
Uses of NbtCompound in com.comphenix.protocol.wrappers.nbt
Methods in com.comphenix.protocol.wrappers.nbt that return NbtCompoundModifier and TypeMethodDescriptionstatic NbtCompoundNbtFactory.asCompound(NbtBase<?> tag)Attempt to cast this NBT tag as a compund.static NbtCompoundLoad a NBT compound from a GZIP compressed file.static NbtCompoundNbtFactory.fromNMSCompound(Object handle)Retrieve the NBT compound from a given NMS handle.NbtCompound.getCompound(String key)Retrieve the compound (map) value of an entry identified by a given key.NbtCompound.getCompoundOrDefault(String key)Retrieve a compound (map) value by its key, or create a new compound if it doesn't exist.static NbtCompoundNbtFactory.ofCompound(String name)Construct a new NBT compound wrapper.static NbtCompoundNbtFactory.ofCompound(String name, Collection<? extends NbtBase<?>> list)Construct a new NBT compound initialized with a given list of NBT values.<T> NbtCompoundSet a entry based on its name.NbtCompound.put(NbtCompound compound)Associate a NBT compound with its name as key.<T> NbtCompoundAssociate a NBT list with the given key.Associate a NBT byte value with the given key.Associate a NBT byte array value with the given key.Associate a NBT double value with the given key.Associate a NBT float value with the given key.Associate a NBT integer value with the given key.Associate a NBT integer array value with the given key.Associate a NBT long value with the given key.Associate a NBT short value with the given key.Inserts an entry after cloning it and renaming it to "key".Associate a NBT string value with the given key.<T> NbtCompoundNbtCompound.put(String key, Collection<? extends NbtBase<T>> list)Associate a new NBT list with the given key.Associates a given Java primitive value, list, map or NbtBase with a certain key.static NbtCompoundNbtFactory.readBlockState(org.bukkit.block.Block block)Retrieve the NBT tile entity that represents the given block.Methods in com.comphenix.protocol.wrappers.nbt with parameters of type NbtCompoundModifier and TypeMethodDescriptionNbtCompound.put(NbtCompound compound)Associate a NBT compound with its name as key.static voidNbtFactory.setItemTag(org.bukkit.inventory.ItemStack stack, NbtCompound compound)Set the NBT compound tag of a given item stack.static voidNbtFactory.toFile(NbtCompound compound, String file)Save a NBT compound to a new compressed file, overwriting any existing files in the process.booleanNbtVisitor.visitEnter(NbtCompound compound)Begin visiting a compound node that contains multiple child nodes of different types.booleanNbtVisitor.visitLeave(NbtCompound compound)Stop visiting a compound node.static voidNbtFactory.writeBlockState(org.bukkit.block.Block target, NbtCompound blockState)Write to the NBT tile entity in the given block. -
Uses of NbtCompound in com.comphenix.protocol.wrappers.nbt.io
Methods in com.comphenix.protocol.wrappers.nbt.io that return NbtCompoundModifier and TypeMethodDescriptionNbtBinarySerializer.deserializeCompound(DataInput source)Load an NBT compound from a stream.NbtConfigurationSerializer.deserializeCompound(org.bukkit.configuration.file.YamlConfiguration root, String nodeName)Read a NBT compound from a root configuration.NbtTextSerializer.deserializeCompound(String input)Deserialize a NBT compound from a base-64 encoded string.