Uses of Interface
net.minecraft.nbt.NbtType
-
Uses of NbtType in net.minecraft.nbt
Modifier and TypeInterfaceDescriptionstatic interface
NbtType.OfFixedSize<T extends NbtElement>
static interface
NbtType.OfVariableSize<T extends NbtElement>
Modifier and TypeFieldDescriptionNbtByte.TYPE
static final NbtType<NbtByteArray>
NbtByteArray.TYPE
static final NbtType<NbtCompound>
NbtCompound.TYPE
NbtDouble.TYPE
NbtFloat.TYPE
NbtInt.TYPE
static final NbtType<NbtIntArray>
NbtIntArray.TYPE
NbtList.TYPE
NbtLong.TYPE
static final NbtType<NbtLongArray>
NbtLongArray.TYPE
NbtNull.TYPE
NbtShort.TYPE
NbtString.TYPE
private static final NbtType<?>[]
NbtTypes.VALUES
Modifier and TypeMethodDescriptionstatic NbtType<?>
NbtTypes.byId
(int id) Gets the associated NBT type for a givenid
.NbtType.createInvalid
(int type) NbtByte.getNbtType()
Gets the NBT type definition of this NBT element.NbtByteArray.getNbtType()
Gets the NBT type definition of this NBT element.NbtCompound.getNbtType()
Gets the NBT type definition of this NBT element.NbtDouble.getNbtType()
Gets the NBT type definition of this NBT element.NbtType<?>
NbtElement.getNbtType()
Gets the NBT type definition of this NBT element.NbtFloat.getNbtType()
Gets the NBT type definition of this NBT element.NbtInt.getNbtType()
Gets the NBT type definition of this NBT element.NbtIntArray.getNbtType()
Gets the NBT type definition of this NBT element.NbtList.getNbtType()
Gets the NBT type definition of this NBT element.NbtLong.getNbtType()
Gets the NBT type definition of this NBT element.NbtLongArray.getNbtType()
Gets the NBT type definition of this NBT element.NbtNull.getNbtType()
Gets the NBT type definition of this NBT element.NbtShort.getNbtType()
Gets the NBT type definition of this NBT element.NbtString.getNbtType()
Gets the NBT type definition of this NBT element.Modifier 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
Modifier and TypeFieldDescriptionprivate final NbtType<?>
SelectiveNbtCollector.Query.type
The field for thetype
record component.Modifier and TypeFieldDescriptionSelectiveNbtCollector.allPossibleTypes
SelectiveNbtCollector.Tree.fieldsToGet
The field for thefieldsToGet
record component.Modifier and TypeMethodDescriptionNbtType<?>
SelectiveNbtCollector.Query.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionSelectiveNbtCollector.Tree.fieldsToGet()
Returns the value of thefieldsToGet
record component.Modifier and TypeMethodDescriptionprivate 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.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) ModifierConstructorDescription