接口 Axolotl

所有超级接口:
Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Axolotl extends Animals
An Axolotl.
  • 方法详细资料

    • isPlayingDead

      boolean isPlayingDead()
      Gets if this axolotl is playing dead. An axolotl may play dead when it is damaged underwater.
      返回:
      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.
      参数:
      playingDead - playing dead status
    • getVariant

      Get the variant of this axolotl.
      返回:
      axolotl variant
    • setVariant

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