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.

@FunctionalInterface public interface EntityItemTypeComparable
Indicates an EntityData class is comparable to an ItemType.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether this EntityData typed-class is of itemType.
  • Method Details

    • isOfItemType

      boolean isOfItemType(ItemType itemType)
      Whether this EntityData typed-class is of itemType. Each implementation varies on what is considered to pass.
      Parameters:
      itemType - The ItemType to check against.
      Returns:
      true if the itemType passes, otherwise false.