Interface VersionedTypesHolder
- All Known Implementing Classes:
Types1_20_5,Types1_21,Types26_1
public interface VersionedTypesHolder
Types which are initialized during protocol loading.
-
Method Summary
Modifier and TypeMethodDescriptionitem()Returns the unmapped item stack typeitemCost()Returns the unmapped item cost type, used in merchant offers.Returns the unmapped item stack template type, used for certain recipes/templates in 26.1+.particle()Type<StructuredData<?>[]>
-
Method Details
-
item
Returns the unmapped item stack type- Returns:
- unmapped item stack type
-
itemArray
-
itemTemplate
Returns the unmapped item stack template type, used for certain recipes/templates in 26.1+.- Returns:
- unmapped item stack template type
-
optionalItemTemplate
-
itemTemplateArray
-
itemCost
Returns the unmapped item cost type, used in merchant offers.- Returns:
- unmapped item cost type
-
optionalItemCost
-
lengthPrefixedItem
-
structuredData
StructuredDataType structuredData() -
structuredDataArray
Type<StructuredData<?>[]> structuredDataArray() -
structuredDataKeys
VersionedStructuredDataKeys structuredDataKeys() -
particle
ParticleType particle() -
particles
-
entityDataTypes
AbstractEntityDataTypes entityDataTypes() -
entityDataList
Type<List<EntityData>> entityDataList()
-