Package net.minecraft.nbt
Interface NbtType.OfFixedSize<T extends NbtElement>
- All Superinterfaces:
NbtType<T>
- Enclosing interface:
NbtType<T extends NbtElement>
Represents an NBT type whose elements have a fixed size, such as primitives.
- Mappings:
Namespace Name named net/minecraft/nbt/NbtType$OfFixedSize
intermediary net/minecraft/class_4614$class_6839
official va$a
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.nbt.NbtType
NbtType.OfFixedSize<T extends NbtElement>, NbtType.OfVariableSize<T extends NbtElement>
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the size of the elements in bytes.default void
skip
(DataInput input, int count, NbtSizeTracker tracker) default void
skip
(DataInput input, NbtSizeTracker tracker) Methods inherited from interface net.minecraft.nbt.NbtType
accept, doAccept, getCommandFeedbackName, getCrashReportName, isImmutable, read
-
Method Details
-
skip
- Specified by:
skip
in interfaceNbtType<T extends NbtElement>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named skip
Lnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtSizeTracker;)V
intermediary method_39851
Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;Lnet/minecraft/class_2505;)V
official b
Lva;b(Ljava/io/DataInput;Luk;)V
-
skip
- Specified by:
skip
in interfaceNbtType<T extends NbtElement>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named skip
Lnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtSizeTracker;)V
intermediary method_39854
Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;ILnet/minecraft/class_2505;)V
official a
Lva;a(Ljava/io/DataInput;ILuk;)V
-
getSizeInBytes
int getSizeInBytes()Returns the size of the elements in bytes.- Returns:
- the size of the elements in bytes
- Mappings:
Namespace Name Mixin selector named getSizeInBytes
Lnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()I
intermediary method_39853
Lnet/minecraft/class_4614$class_6839;method_39853()I
official c
Lva$a;c()I
-