Interface CollectableEntity

  • All Superinterfaces:
    Entity

    public interface CollectableEntity
    extends Entity
    An entity, which can be collected by EntityCollector.
    Author:
    Tim Neumann
    • Method Detail

      • isCurrentlyCollectable

        default boolean isCurrentlyCollectable()
        Get whether this entity is really collectable at the moment.

        This can be used to make entities, that are not collectable all the time.

        Returns:
        true if and only if this entity is currently collectable