接口 Strider

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

public interface Strider extends Steerable, Vehicle
代表炽足兽。
  • 方法详细资料

    • isShivering

      boolean isShivering()
      检查此炽足兽是否因离开温暖方块而发抖。

      原文:Check whether or not this strider is out of warm blocks and shivering.

      返回:
      如果发抖则为true,否则为false
    • setShivering

      void setShivering(boolean shivering)
      设置此炽足兽是否发抖。

      注意发抖状态在服务器上会频繁更新,因此此方法可能无法长时间影响实体以产生明显差异。

      原文:Set whether or not this strider is shivering.

      Note that the shivering state is updated frequently on the server, therefore this method may not affect the entity for long enough to have a noticeable difference.

      参数:
      shivering - 新的发抖状态