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 tm$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
skip
(DataInput input, int count, NbtTagSizeTracker tracker) default void
skip
(DataInput input, NbtTagSizeTracker 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 official b
Ltm;b(Ljava/io/DataInput;Lsw;)V
intermediary method_39851
Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;Lnet/minecraft/class_2505;)V
named skip
Lnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtTagSizeTracker;)V
-
skip
- Specified by:
skip
in interfaceNbtType<T extends NbtElement>
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ltm;a(Ljava/io/DataInput;ILsw;)V
intermediary method_39854
Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;ILnet/minecraft/class_2505;)V
named skip
Lnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtTagSizeTracker;)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
Ltm$a;c()I
intermediary method_39853
Lnet/minecraft/class_4614$class_6839;method_39853()I
named getSizeInBytes
Lnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()I
-