Uses of Interface
net.minecraft.nbt.NbtType
Packages that use NbtType
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtType in net.minecraft.nbt
Subinterfaces of NbtType in net.minecraft.nbtModifier and TypeInterfaceDescriptionstatic interfaceNbtType.OfFixedSize<T extends NbtElement>Represents an NBT type whose elements have a fixed size, such as primitives.static interfaceNbtType.OfVariableSize<T extends NbtElement>Represents an NBT type whose elements can have a variable size, such as lists.Fields in net.minecraft.nbt declared as NbtTypeModifier and TypeFieldDescriptionNbtByte.TYPEstatic final NbtType<NbtByteArray>NbtByteArray.TYPEstatic final NbtType<NbtCompound>NbtCompound.TYPENbtDouble.TYPENbtEnd.TYPENbtFloat.TYPENbtInt.TYPEstatic final NbtType<NbtIntArray>NbtIntArray.TYPENbtList.TYPENbtLong.TYPEstatic final NbtType<NbtLongArray>NbtLongArray.TYPENbtShort.TYPENbtString.TYPEprivate static final NbtType<?>[]NbtTypes.VALUESMethods in net.minecraft.nbt that return NbtTypeModifier and TypeMethodDescriptionstatic NbtType<?>NbtTypes.byId(int id) Gets the associated NBT type for a givenid.NbtType.createInvalid(int type) Returns an invalid NBT type.NbtByte.getNbtType()Returns the NBT type definition of this NBT element.NbtByteArray.getNbtType()Returns the NBT type definition of this NBT element.NbtCompound.getNbtType()Returns the NBT type definition of this NBT element.NbtDouble.getNbtType()Returns the NBT type definition of this NBT element.NbtType<?>NbtElement.getNbtType()Returns the NBT type definition of this NBT element.NbtEnd.getNbtType()Returns the NBT type definition of this NBT element.NbtFloat.getNbtType()Returns the NBT type definition of this NBT element.NbtInt.getNbtType()Returns the NBT type definition of this NBT element.NbtIntArray.getNbtType()Returns the NBT type definition of this NBT element.NbtList.getNbtType()Returns the NBT type definition of this NBT element.NbtLong.getNbtType()Returns the NBT type definition of this NBT element.NbtLongArray.getNbtType()Returns the NBT type definition of this NBT element.NbtShort.getNbtType()Returns the NBT type definition of this NBT element.NbtString.getNbtType()Returns the NBT type definition of this NBT element.Methods in net.minecraft.nbt with parameters of type NbtTypeModifier and TypeMethodDescriptionprivate CrashReportNbtCompound.createCrashReport(String key, NbtType<?> reader, ClassCastException exception) (package private) static NbtElementNbtCompound.read(NbtType<?> reader, String key, DataInput input, int depth, NbtTagSizeTracker tracker) -
Uses of NbtType in net.minecraft.nbt.scanner
Fields in net.minecraft.nbt.scanner declared as NbtTypeModifier and TypeFieldDescriptionprivate final NbtType<?>NbtScanQuery.typeThe field for thetyperecord component.Fields in net.minecraft.nbt.scanner with type parameters of type NbtTypeModifier and TypeFieldDescriptionSelectiveNbtCollector.allPossibleTypesNbtTreeNode.selectedFieldsThe field for theselectedFieldsrecord component.Methods in net.minecraft.nbt.scanner that return NbtTypeModifier and TypeMethodDescriptionNbtType<?>NbtScanQuery.type()Returns the value of thetyperecord component.Methods in net.minecraft.nbt.scanner that return types with arguments of type NbtTypeModifier and TypeMethodDescriptionNbtTreeNode.selectedFields()Returns the value of theselectedFieldsrecord component.Methods in net.minecraft.nbt.scanner with parameters of type NbtTypeModifier and TypeMethodDescriptionbooleanNbtTreeNode.isTypeEqual(NbtType<?> type, String key) Returns whether the queried type for the keykeymatchestype.private voidStarts a visit to an NBT structure.Starts a visit to an NBT structure.Starts a visit to an NBT structure.default NbtScanner.ResultStarts a visit to an NBT structure.NbtCollector.startListItem(NbtType<?> type, int index) Starts a visit to an NBT structure in an element of a list NBT.NbtScanner.startListItem(NbtType<?> type, int index) Starts a visit to an NBT structure in an element of a list NBT.default NbtScanner.NestedResultSimpleNbtScanner.startListItem(NbtType<?> type, int index) Starts a visit to an NBT structure in an element of a list NBT.ExclusiveNbtCollector.startSubNbt(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.NbtCollector.startSubNbt(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.NbtScanner.startSubNbt(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.SelectiveNbtCollector.startSubNbt(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.default NbtScanner.NestedResultSimpleNbtScanner.startSubNbt(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.NbtCollector.visitListMeta(NbtType<?> entryType, int length) NbtScanner.visitListMeta(NbtType<?> entryType, int length) default NbtScanner.ResultSimpleNbtScanner.visitListMeta(NbtType<?> entryType, int length) NbtCollector.visitSubNbtType(NbtType<?> type) NbtScanner.visitSubNbtType(NbtType<?> type) SelectiveNbtCollector.visitSubNbtType(NbtType<?> type) default NbtScanner.NestedResultSimpleNbtScanner.visitSubNbtType(NbtType<?> type) Constructors in net.minecraft.nbt.scanner with parameters of type NbtTypeModifierConstructorDescriptionNbtScanQuery(String path1, String path2, NbtType<?> type, String key) NbtScanQuery(String path, NbtType<?> type, String key) NbtScanQuery(List<String> list, NbtType<?> nbtType, String string) NbtScanQuery(NbtType<?> type, String key) Constructor parameters in net.minecraft.nbt.scanner with type arguments of type NbtTypeModifierConstructorDescriptionNbtTreeNode(int int2, Map<String, NbtType<?>> map, Map<String, NbtTreeNode> map2)