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 interface
NbtType.OfFixedSize<T extends NbtElement>
Represents an NBT type whose elements have a fixed size, such as primitives.static interface
NbtType.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.TYPE
static final NbtType<NbtByteArray>
NbtByteArray.TYPE
static final NbtType<NbtCompound>
NbtCompound.TYPE
NbtDouble.TYPE
NbtEnd.TYPE
NbtFloat.TYPE
NbtInt.TYPE
static final NbtType<NbtIntArray>
NbtIntArray.TYPE
NbtList.TYPE
NbtLong.TYPE
static final NbtType<NbtLongArray>
NbtLongArray.TYPE
NbtShort.TYPE
NbtString.TYPE
private static final NbtType<?>[]
NbtTypes.VALUES
Methods 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 CrashReport
NbtCompound.createCrashReport
(String key, NbtType<?> reader, ClassCastException exception) (package private) static NbtElement
NbtCompound.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.type
The field for thetype
record component.Fields in net.minecraft.nbt.scanner with type parameters of type NbtTypeModifier and TypeFieldDescriptionSelectiveNbtCollector.allPossibleTypes
NbtTreeNode.selectedFields
The field for theselectedFields
record component.Methods in net.minecraft.nbt.scanner that return NbtTypeModifier and TypeMethodDescriptionNbtType<?>
NbtScanQuery.type()
Returns the value of thetype
record component.Methods in net.minecraft.nbt.scanner that return types with arguments of type NbtTypeModifier and TypeMethodDescriptionNbtTreeNode.selectedFields()
Returns the value of theselectedFields
record component.Methods in net.minecraft.nbt.scanner with parameters of type NbtTypeModifier and TypeMethodDescriptionboolean
NbtTreeNode.isTypeEqual
(NbtType<?> type, String key) Returns whether the queried type for the keykey
matchestype
.private void
Starts a visit to an NBT structure.Starts a visit to an NBT structure.Starts a visit to an NBT structure.default NbtScanner.Result
Starts 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.NestedResult
SimpleNbtScanner.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.NestedResult
SimpleNbtScanner.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.Result
SimpleNbtScanner.visitListMeta
(NbtType<?> entryType, int length) NbtCollector.visitSubNbtType
(NbtType<?> type) NbtScanner.visitSubNbtType
(NbtType<?> type) SelectiveNbtCollector.visitSubNbtType
(NbtType<?> type) default NbtScanner.NestedResult
SimpleNbtScanner.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)