java.lang.Object
com.viaversion.viaversion.api.minecraft.entitydata.EntityData

public final class EntityData extends Object
  • Constructor Details

    • EntityData

      public EntityData(int id, EntityDataType dataType, @Nullable Object value)
      Creates a new entity data instance.
      Parameters:
      id - data index
      dataType - data type
      value - value if present
      Throws:
      IllegalArgumentException - if the value and dataType are incompatible
  • Method Details