Interface Creaking

All Superinterfaces:
Attributable, CommandSender, Creature, Damageable, Enemy, Entity, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

@Experimental public interface Creaking extends Monster
Represents a Creaking.
  • Method Details

    • getHome

      @NotNull Location getHome()
      Gets the home location for this Creaking (ie where its corresponding CreakingHeart can be).
      Returns:
      the location of the home.
    • setHome

      void setHome(@NotNull Location location)
      Sets the home location for this Creaking.
      Parameters:
      location - the location of the home.
    • activate

      void activate(@NotNull Player player)
      Activate this Creaking to target and follow a player.
      Parameters:
      player - the target.
    • deactivate

      void deactivate()
      Deactivate this Creaking from the current target player.
    • isActive

      boolean isActive()
      Gets if this Creaking is active.
      Returns:
      true if is active.