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

    • 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

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

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