Class EntityDataTypeTemplate

java.lang.Object
com.viaversion.viaversion.api.type.Type<EntityData>
com.viaversion.viaversion.api.type.types.entitydata.EntityDataTypeTemplate
All Implemented Interfaces:
ByteBufReader<EntityData>, ByteBufWriter<EntityData>
Direct Known Subclasses:
ModernEntityDataType, OldEntityDataType

public abstract class EntityDataTypeTemplate extends Type<EntityData>
  • Constructor Details

    • EntityDataTypeTemplate

      protected EntityDataTypeTemplate()
  • Method Details

    • getBaseClass

      public Class<? extends Type> getBaseClass()
      Description copied from class: Type
      Returns the base class, useful when the output class is insufficient for type comparison. One such case are types with {List} as their output type.
      Overrides:
      getBaseClass in class Type<EntityData>
      Returns:
      base class