Interface EntityItemTypeComparable
- All Known Implementing Classes:
CushionData, RabbitData, SimpleEntityData
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Indicates an
EntityData class is comparable to an ItemType.-
Method Summary
Modifier and TypeMethodDescriptionbooleanisOfItemType(ItemType itemType) Whether thisEntityDatatyped-class is ofitemType.
-
Method Details
-
isOfItemType
Whether thisEntityDatatyped-class is ofitemType. Each implementation varies on what is considered to pass.- Parameters:
itemType- TheItemTypeto check against.- Returns:
trueif theitemTypepasses, otherwisefalse.
-