Interface EntityCategory

    • Method Detail

      • friendly

        boolean friendly()
        Whether this category of entities is considered "friendly".
        Returns:
        True if this category of entities is friendly
      • despawnDistance

        int despawnDistance()
        Gets the distance in blocks in which an entity of this category may be considered to be despawned/removed from a World if too far from a Player.

        Obvious exceptions include when the Entity logic considers itself not to be despawnable or owned/permanent by a player, function, or plugin thereof.

        Returns:
        The distance at which entities of this category may be considered to be removed if too far from a player