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 rm$aintermediary net/minecraft/class_4614$class_6839named 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 TypeMethodDescriptionintReturns the size of the elements in bytes.default voiddefault voidMethods 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 official aLrm;a(Ljava/io/DataInput;)Vintermediary method_39851Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;)Vnamed skipLnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;)V
-
skip
- Specified by:
skipin interfaceNbtType<T extends NbtElement>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLrm;a(Ljava/io/DataInput;I)Vintermediary method_39854Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;I)Vnamed skipLnet/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 cLrm$a;c()Iintermediary method_39853Lnet/minecraft/class_4614$class_6839;method_39853()Inamed getSizeInBytesLnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()I
-