Package net.minecraft.nbt
Interface NbtType<T extends NbtElement>
- All Known Subinterfaces:
NbtType.class_6839<T>,NbtType.class_6840<T>
public interface NbtType<T extends NbtElement>
Represents an NBT type.
- Mappings:
Namespace Name official oxintermediary net/minecraft/class_4614named net/minecraft/nbt/NbtType
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceNbtType.class_6839<T extends NbtElement>static interfaceNbtType.class_6840<T extends NbtElement> -
Method Summary
Modifier and TypeMethodDescriptioncreateInvalid(int type) default booleanDetermines the immutability of this type.voidmethod_39851(DataInput dataInput) method_39852(DataInput dataInput, class_6836 class_6836) voidmethod_39854(DataInput dataInput, int int2) default voidmethod_39877(DataInput dataInput, class_6836 class_6836) read(DataInput input, int depth, NbtTagSizeTracker tracker)
-
Method Details
-
read
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLox;b(Ljava/io/DataInput;ILol;)Lov;intermediary method_23262Lnet/minecraft/class_4614;method_23262(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Lnet/minecraft/class_2520;named readLnet/minecraft/nbt/NbtType;read(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/NbtElement;
-
method_39852
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLox;a(Ljava/io/DataInput;Los;)Los$b;intermediary method_39852Lnet/minecraft/class_4614;method_39852(Ljava/io/DataInput;Lnet/minecraft/class_6836;)Lnet/minecraft/class_6836$class_6838;named method_39852Lnet/minecraft/nbt/NbtType;method_39852(Ljava/io/DataInput;Lnet/minecraft/class_6836;)Lnet/minecraft/class_6836$class_6838;
-
method_39877
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLox;b(Ljava/io/DataInput;Los;)Vintermediary method_39877Lnet/minecraft/class_4614;method_39877(Ljava/io/DataInput;Lnet/minecraft/class_6836;)Vnamed method_39877Lnet/minecraft/nbt/NbtType;method_39877(Ljava/io/DataInput;Lnet/minecraft/class_6836;)V
-
method_39854
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLox;a(Ljava/io/DataInput;I)Vintermediary method_39854Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;I)Vnamed method_39854Lnet/minecraft/nbt/NbtType;method_39854(Ljava/io/DataInput;I)V
-
method_39851
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLox;a(Ljava/io/DataInput;)Vintermediary method_39851Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;)Vnamed method_39851Lnet/minecraft/nbt/NbtType;method_39851(Ljava/io/DataInput;)V
-
isImmutable
default boolean isImmutable()Determines the immutability of this type.The mutability of an NBT type means the held value can be modified after the NBT element is instantiated.
- Returns:
trueif this NBT type is immutable, elsefalse- Mappings:
Namespace Name Mixin selector official dLox;d()Zintermediary method_23263Lnet/minecraft/class_4614;method_23263()Znamed isImmutableLnet/minecraft/nbt/NbtType;isImmutable()Z
-
getCrashReportName
String getCrashReportName()- Mappings:
Namespace Name Mixin selector official aLox;a()Ljava/lang/String;intermediary method_23259Lnet/minecraft/class_4614;method_23259()Ljava/lang/String;named getCrashReportNameLnet/minecraft/nbt/NbtType;getCrashReportName()Ljava/lang/String;
-
getCommandFeedbackName
String getCommandFeedbackName()- Mappings:
Namespace Name Mixin selector official bLox;b()Ljava/lang/String;intermediary method_23261Lnet/minecraft/class_4614;method_23261()Ljava/lang/String;named getCommandFeedbackNameLnet/minecraft/nbt/NbtType;getCommandFeedbackName()Ljava/lang/String;
-
createInvalid
- Mappings:
Namespace Name Mixin selector official aLox;a(I)Lox;intermediary method_23260Lnet/minecraft/class_4614;method_23260(I)Lnet/minecraft/class_4614;named createInvalidLnet/minecraft/nbt/NbtType;createInvalid(I)Lnet/minecraft/nbt/NbtType;
-