Interface Axolotl

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

public interface Axolotl extends Animals, Bucketable
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