Package net.minecraft.nbt
Interface NbtType<T extends NbtElement>
- All Known Subinterfaces:
NbtType.OfFixedSize<T>
,NbtType.OfVariableSize<T>
public interface NbtType<T extends NbtElement>
Represents an NBT type.
- Mappings:
Namespace Name official pf
intermediary net/minecraft/class_4614
named net/minecraft/nbt/NbtType
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
NbtType.OfFixedSize<T extends NbtElement>
static interface
NbtType.OfVariableSize<T extends NbtElement>
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
accept
(DataInput input, NbtScanner visitor) createInvalid
(int type) doAccept
(DataInput input, NbtScanner visitor) default boolean
Determines the immutability of this type.read
(DataInput input, int depth, NbtTagSizeTracker tracker) void
void
-
Method Details
-
read
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpf;b(Ljava/io/DataInput;ILot;)Lpd;
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;
-
doAccept
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpf;a(Ljava/io/DataInput;Lpa;)Lpa$b;
intermediary method_39852
Lnet/minecraft/class_4614;method_39852(Ljava/io/DataInput;Lnet/minecraft/class_6836;)Lnet/minecraft/class_6836$class_6838;
named doAccept
Lnet/minecraft/nbt/NbtType;doAccept(Ljava/io/DataInput;Lnet/minecraft/nbt/scanner/NbtScanner;)Lnet/minecraft/nbt/scanner/NbtScanner$Result;
-
accept
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lpf;b(Ljava/io/DataInput;Lpa;)V
intermediary method_39877
Lnet/minecraft/class_4614;method_39877(Ljava/io/DataInput;Lnet/minecraft/class_6836;)V
named accept
Lnet/minecraft/nbt/NbtType;accept(Ljava/io/DataInput;Lnet/minecraft/nbt/scanner/NbtScanner;)V
-
skip
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpf;a(Ljava/io/DataInput;I)V
intermediary method_39854
Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;I)V
named skip
Lnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;I)V
-
skip
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lpf;a(Ljava/io/DataInput;)V
intermediary method_39851
Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;)V
named skip
Lnet/minecraft/nbt/NbtType;skip(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:
true
if this NBT type is immutable, elsefalse
- Mappings:
Namespace Name Mixin selector official d
Lpf;d()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
Lpf;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
Lpf;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
Lpf;a(I)Lpf;
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;
-