Interface Strider

All Superinterfaces:
Ageable, Animals, Attributable, net.kyori.adventure.audience.Audience, Breedable, CommandSender, Creature, Damageable, Entity, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, net.kyori.adventure.pointer.Pointered, 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