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$OfFixedSizeintermediary net/minecraft/class_4614$class_6839official up$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 TypeMethodDescriptionintReturns the size of the elements in bytes.default voidskip(DataInput input, int count, NbtSizeTracker tracker) default voidskip(DataInput input, NbtSizeTracker tracker) Methods inherited from interface net.minecraft.nbt.NbtType
accept, doAccept, getCommandFeedbackName, getCrashReportName, isImmutable, read
-
Method Details
-
skip
- Specified by:
skipin interfaceNbtType<T extends NbtElement>- Throws:
IOException- Mappings:
Namespace Name Mixin selector named skipLnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtSizeTracker;)Vintermediary method_39851Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;Lnet/minecraft/class_2505;)Vofficial bLup;b(Ljava/io/DataInput;Ltz;)V
-
skip
- Specified by:
skipin interfaceNbtType<T extends NbtElement>- Throws:
IOException- Mappings:
Namespace Name Mixin selector named skipLnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtSizeTracker;)Vintermediary method_39854Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Vofficial aLup;a(Ljava/io/DataInput;ILtz;)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 getSizeInBytesLnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()Iintermediary method_39853Lnet/minecraft/class_4614$class_6839;method_39853()Iofficial cLup$a;c()I
-