接口 Frog

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

public interface Frog extends Animals
A Frog.
  • 方法详细资料

    • getTongueTarget

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

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

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

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