Package net.minecraft.nbt
Interface NbtType<T extends NbtElement>
public interface NbtType<T extends NbtElement>
Represents an NBT type.
- Mappings:
Namespace Name official nu
intermediary net/minecraft/class_4614
named net/minecraft/nbt/NbtType
-
Method Summary
Modifier and TypeMethodDescriptioncreateInvalid
(int type) default boolean
Determines the immutability of this type.read
(DataInput input, int depth, NbtTagSizeTracker tracker)
-
Method Details
-
read
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lnu;b(Ljava/io/DataInput;ILnj;)Lns;
intermediary method_23262
Lnet/minecraft/class_4614;method_23262(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Lnet/minecraft/class_2520;
named read
Lnet/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:
true
if this NBT type is immutable, elsefalse
- Mappings:
Namespace Name Mixin selector official c
Lnu;c()Z
intermediary method_23263
Lnet/minecraft/class_4614;method_23263()Z
named isImmutable
Lnet/minecraft/nbt/NbtType;isImmutable()Z
-
getCrashReportName
String getCrashReportName()- Mappings:
Namespace Name Mixin selector official a
Lnu;a()Ljava/lang/String;
intermediary method_23259
Lnet/minecraft/class_4614;method_23259()Ljava/lang/String;
named getCrashReportName
Lnet/minecraft/nbt/NbtType;getCrashReportName()Ljava/lang/String;
-
getCommandFeedbackName
String getCommandFeedbackName()- Mappings:
Namespace Name Mixin selector official b
Lnu;b()Ljava/lang/String;
intermediary method_23261
Lnet/minecraft/class_4614;method_23261()Ljava/lang/String;
named getCommandFeedbackName
Lnet/minecraft/nbt/NbtType;getCommandFeedbackName()Ljava/lang/String;
-
createInvalid
- Mappings:
Namespace Name Mixin selector official a
Lnu;a(I)Lnu;
intermediary method_23260
Lnet/minecraft/class_4614;method_23260(I)Lnet/minecraft/class_4614;
named createInvalid
Lnet/minecraft/nbt/NbtType;createInvalid(I)Lnet/minecraft/nbt/NbtType;
-