Interface Armadillo

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

@NullMarked public interface Armadillo extends Animals
Represents an Armadillo.
  • Method Details

    • getState

      Armadillo.State getState()
      Get the current state of the armadillo.
      Returns:
      the state of the armadillo
    • rollUp

      void rollUp()
      Attempt to roll up if the armadillo is Armadillo.State.IDLE
    • rollOut

      void rollOut()
      Attempt to roll out if the armadillo is not Armadillo.State.IDLE