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 rs$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 voidskip(DataInput input, int count, NbtTagSizeTracker tracker) default voidskip(DataInput input, NbtTagSizeTracker 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 official bLrs;b(Ljava/io/DataInput;Lrf;)Vintermediary method_39851Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;Lnet/minecraft/class_2505;)Vnamed skipLnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtTagSizeTracker;)V
-
skip
- Specified by:
skipin interfaceNbtType<T extends NbtElement>- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLrs;a(Ljava/io/DataInput;ILrf;)Vintermediary method_39854Lnet/minecraft/class_4614;method_39854(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Vnamed skipLnet/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 cLrs$a;c()Iintermediary method_39853Lnet/minecraft/class_4614$class_6839;method_39853()Inamed getSizeInBytesLnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()I
-