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
named net/minecraft/nbt/NbtType$OfFixedSize
intermediary net/minecraft/class_4614$class_6839
official vw$a
  • Method Details

    • skip

      default void skip(DataInput input, NbtSizeTracker tracker) throws IOException
      Specified by:
      skip in interface NbtType<T extends NbtElement>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named skip Lnet/minecraft/nbt/NbtType;skip(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtSizeTracker;)V
      intermediary method_39851 Lnet/minecraft/class_4614;method_39851(Ljava/io/DataInput;Lnet/minecraft/class_2505;)V
      official b Lvw;b(Ljava/io/DataInput;Lvg;)V
    • skip

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