Interface Frog

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

public interface Frog extends Animals
A Frog.
  • Method Details

    • getTongueTarget

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

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

      Get the variant of this frog.
      Returns:
      frog variant
    • setVariant

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