接口 Creaking

所有超级接口:
Attributable, CommandSender, Creature, Damageable, Enemy, Entity, Leashable, LivingEntity, Lootable, Metadatable, Mob, Monster, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

@Experimental public interface Creaking extends Monster
咔嗒嘎.
  • 方法详细资料

    • getHome

      获取此咔嗒嘎的家位置 (即其对应的 CreakingHeart 所在位置).

      原文:Gets the home location for this Creaking (ie where its corresponding CreakingHeart can be).

      返回:
      家的位置
    • setHome

      void setHome(@NotNull @NotNull Location location)
      设置此咔嗒嘎的家位置.

      原文:Sets the home location for this Creaking.

      参数:
      location - 家的位置
    • activate

      void activate(@NotNull @NotNull Player player)
      激活此咔嗒嘎以追踪和跟随玩家.

      原文:Activate this Creaking to target and follow a player.

      参数:
      player - 目标玩家
    • deactivate

      void deactivate()
      使此咔嗒嘎从当前目标玩家处失活.

      原文:Deactivate this Creaking from the current target player.

    • isActive

      boolean isActive()
      获取此咔嗒嘎是否处于激活状态.

      原文:Gets if this Creaking is active.

      返回:
      如果处于激活状态则为 true