Package net.minecraft.nbt
Interface NbtType<T extends NbtElement>
public interface NbtType<T extends NbtElement>
Represents an NBT type.
- Mappings:
Namespace Name official nuintermediary net/minecraft/class_4614named net/minecraft/nbt/NbtType
-
Method Summary
Modifier and TypeMethodDescriptioncreateInvalid(int type)default booleanDetermines the immutability of this type.read(DataInput input, int depth, NbtTagSizeTracker tracker)
-
Method Details
-
read
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLnu;b(Ljava/io/DataInput;ILnj;)Lns;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;
-
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 cLnu;c()Zintermediary method_23263Lnet/minecraft/class_4614;method_23263()Znamed isImmutableLnet/minecraft/nbt/NbtType;isImmutable()Z
-
getCrashReportName
String getCrashReportName()- Mappings:
Namespace Name Mixin selector official aLnu;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 bLnu;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 aLnu;a(I)Lnu;intermediary method_23260Lnet/minecraft/class_4614;method_23260(I)Lnet/minecraft/class_4614;named createInvalidLnet/minecraft/nbt/NbtType;createInvalid(I)Lnet/minecraft/nbt/NbtType;
-