Interface NbtType.OfFixedSize<T extends NbtElement>

All Superinterfaces:
NbtType<T>
Enclosing interface:
NbtType<T extends NbtElement>

public static interface NbtType.OfFixedSize<T extends NbtElement> extends NbtType<T>
Represents an NBT type whose elements have a fixed size, such as primitives.
Mappings:
Namespace Name
official qe$a
intermediary net/minecraft/class_4614$class_6839
named net/minecraft/nbt/NbtType$OfFixedSize
  • Method Details

    • skip

      default void skip(DataInput input) throws IOException
      Specified by:
      skip in interface NbtType<T extends NbtElement>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lqe;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

      default void skip(DataInput input, int count) throws IOException
      Specified by:
      skip in interface NbtType<T extends NbtElement>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lqe;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 Lqe$a;c()I
      intermediary method_39853 Lnet/minecraft/class_4614$class_6839;method_39853()I
      named getSizeInBytes Lnet/minecraft/nbt/NbtType$OfFixedSize;getSizeInBytes()I