Interface Axolotl

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

public interface Axolotl extends Animals
An Axolotl.
  • Method Details Link icon

    • isPlayingDead Link icon

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

      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 Link icon

      @NotNull Axolotl.Variant getVariant()
      Get the variant of this axolotl.
      Returns:
      axolotl variant
    • setVariant Link icon

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