Uses of Enum Class
com.comphenix.protocol.wrappers.nbt.NbtType
Packages that use NbtType
-
Uses of NbtType in com.comphenix.protocol.wrappers.nbt
Methods in com.comphenix.protocol.wrappers.nbt that return NbtTypeModifier and TypeMethodDescriptionNbtList.getElementType()Get the type of each element.NbtBase.getType()Retrieve the type of this NBT element.static NbtTypeNbtType.getTypeFromClass(Class<?> clazz)Retrieve an NBT type from the given Java class.static NbtTypeNbtType.getTypeFromID(int rawID)Retrieve an NBT type from a given raw ID.static NbtTypeReturns the enum constant of this class with the specified name.static NbtType[]NbtType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.comphenix.protocol.wrappers.nbt with parameters of type NbtTypeModifier and TypeMethodDescriptionNbtBase<?>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.static <T> NbtWrapper<T>Create a new NBT wrapper from a given type.static <T> NbtWrapper<T>Create a new NBT wrapper from a given type.voidNbtList.setElementType(NbtType type)Set the type of each element. -
Uses of NbtType in com.comphenix.protocol.wrappers.nbt.io
Methods in com.comphenix.protocol.wrappers.nbt.io with parameters of type NbtTypeModifier and TypeMethodDescriptionNbtConfigurationSerializer.toNodeValue(Object value, NbtType type)