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 official rk$a
intermediary net/minecraft/class_4614$class_6839
named net/minecraft/nbt/NbtType$OfFixedSize
-
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
default void
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 official a
Lrk;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
-
skip
- Specified by:
skip
in interfaceNbtType<T extends NbtElement>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lrk;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
-
getSizeInBytes
int getSizeInBytes()Returns the size of the elements in bytes.- Returns:
- the size of the elements in bytes
- Mappings:
Namespace Name Mixin selector official c
Lrk$a;c()I
intermediary method_39853
Lnet/minecraft/class_4614$class_6839;method_39853()I
named getSizeInBytes
Lnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()I
-