Class CompoundTagHolderType

java.lang.Object
com.viaversion.viaversion.api.type.Type<Holder<T>>
com.viaversion.viaversion.api.type.types.misc.HolderType<com.viaversion.nbt.tag.CompoundTag>
com.viaversion.viaversion.api.type.types.misc.CompoundTagHolderType
All Implemented Interfaces:
ByteBufReader<Holder<com.viaversion.nbt.tag.CompoundTag>>, ByteBufWriter<Holder<com.viaversion.nbt.tag.CompoundTag>>, CodecWriter<Holder<com.viaversion.nbt.tag.CompoundTag>>

public final class CompoundTagHolderType extends HolderType<com.viaversion.nbt.tag.CompoundTag>
  • Constructor Details

    • CompoundTagHolderType

      public CompoundTagHolderType()
  • Method Details

    • readDirect

      public com.viaversion.nbt.tag.CompoundTag readDirect(io.netty.buffer.ByteBuf buffer)
      Specified by:
      readDirect in class HolderType<com.viaversion.nbt.tag.CompoundTag>
    • writeDirect

      public void writeDirect(io.netty.buffer.ByteBuf buffer, com.viaversion.nbt.tag.CompoundTag value)
      Specified by:
      writeDirect in class HolderType<com.viaversion.nbt.tag.CompoundTag>