Interface Strider

All Superinterfaces:
Ageable, Animals, Attributable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Steerable, Vehicle

public interface Strider
extends Steerable, Vehicle
Represents a Strider.
  • Method Details

    • isShivering

      boolean isShivering()
      Check whether or not this strider is out of warm blocks and shivering.
      Returns:
      true if shivering, false otherwise
    • 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.
      Parameters:
      shivering - its new shivering state