Interface Axolotl

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

public interface Axolotl extends Animals
An Axolotl.
  • Method Details

    • isPlayingDead

      boolean isPlayingDead()
      Gets if this axolotl is playing dead. An axolotl may play dead when it is damaged underwater.
      Returns:
      playing dead status
    • setPlayingDead

      void setPlayingDead(boolean playingDead)
      Sets if this axolotl is playing dead. An axolotl may play dead when it is damaged underwater.
      Parameters:
      playingDead - playing dead status
    • getVariant

      Get the variant of this axolotl.
      Returns:
      axolotl variant
    • setVariant

      void setVariant(@NotNull @NotNull Axolotl.Variant variant)
      Set the variant of this axolotl.
      Parameters:
      variant - axolotl variant