Class AbstractEntityDataTypes
java.lang.Object
com.viaversion.viaversion.api.minecraft.entitydata.types.AbstractEntityDataTypes
- All Implemented Interfaces:
EntityDataTypes
- Direct Known Subclasses:
EntityDataTypes1_13
,EntityDataTypes1_13_2
,EntityDataTypes1_14
,EntityDataTypes1_19
,EntityDataTypes1_19_3
,EntityDataTypes1_19_4
,EntityDataTypes1_20_2
,EntityDataTypes1_20_3
,EntityDataTypes1_20_5
,EntityDataTypes1_21
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected EntityDataType
byId
(int id) Returns the data type by the given id.values()
Returns an array of data types.
-
Constructor Details
-
AbstractEntityDataTypes
protected AbstractEntityDataTypes(int values)
-
-
Method Details
-
byId
Description copied from interface:EntityDataTypes
Returns the data type by the given id.- Specified by:
byId
in interfaceEntityDataTypes
- Parameters:
id
- type id- Returns:
- data type by id
-
values
Description copied from interface:EntityDataTypes
Returns an array of data types.- Specified by:
values
in interfaceEntityDataTypes
- Returns:
- array of data types
-
add
-