Interface Strider

All Superinterfaces:
Ageable, Animals, Attributable, Audience, Breedable, CommandSender, Creature, Damageable, Entity, Frictional, HoverEventSource<HoverEvent.ShowEntity>, Leashable, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, Pointered, ProjectileSource, ServerOperator, Sound.Emitter, 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