Class OldEntityDataType

All Implemented Interfaces:
ByteBufReader<EntityData>, ByteBufWriter<EntityData>
Direct Known Subclasses:
EntityDataType1_8

public abstract class OldEntityDataType extends EntityDataTypeTemplate
  • Constructor Details

    • OldEntityDataType

      public OldEntityDataType()
  • Method Details

    • read

      public EntityData read(io.netty.buffer.ByteBuf buffer)
      Description copied from interface: ByteBufReader
      Reads a value from a ByteBuf.
      Parameters:
      buffer - buffer to read from
      Returns:
      type based on the class type
    • getType

      protected abstract EntityDataType getType(int index)
    • write

      public void write(io.netty.buffer.ByteBuf buffer, EntityData object)
      Description copied from interface: ByteBufWriter
      Writes an object to a type to a ByteBuf.
      Parameters:
      buffer - buffer to write to
      object - value to write