Interface Tadpole

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

public interface Tadpole extends Fish
A baby Frog.
  • Method Details

    • getAge

      int getAge()
      Gets the age of this tadpole.
      Returns:
      Age
    • setAge

      void setAge(int age)
      Sets the age of this tadpole.
      Parameters:
      age - New age
    • setAgeLock

      void setAgeLock(boolean lock)
      Lock the age of the tadpole, setting this will prevent the tadpole from maturing. Plugins can still increase the age manually, however.
      Parameters:
      lock - new lock state
    • getAgeLock

      boolean getAgeLock()
      Checks if the age of the tadpole is locked.
      Returns:
      the current lock state
      See Also: