接口 Camel

所有超级接口:
AbstractHorse, Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, InventoryHolder, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Sittable, Tameable, Vehicle

public interface Camel extends AbstractHorse, Sittable
代表一只骆驼
  • 方法详细资料

    • isDashing

      boolean isDashing()
      获取这只骆驼是否处于奔跑状态(冲刺)

      原文: Gets whether this camel is dashing (sprinting)

      返回:
      奔跑状态
    • setDashing

      void setDashing(boolean dashing)
      设置这只骆驼是否处于奔跑状态(冲刺)

      原文: Sets whether this camel is dashing (sprinting).

      参数:
      dashing - 新的奔跑状态