Interface Frog

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

public interface Frog extends Animals
A Frog.
  • Method Details

    • getTongueTarget

      @Nullable Entity getTongueTarget()
      Gets the tongue target of this frog.
      Returns:
      tongue target or null if not set
    • setTongueTarget

      void setTongueTarget(@Nullable Entity target)
      Sets the tongue target of this frog.
      Parameters:
      target - tongue target or null to clear
    • getVariant

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

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