接口 Frog

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

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

    • getTongueTarget

      @Nullable @Nullable Entity getTongueTarget()
      获取此青蛙的舌头目标.

      原文:Gets the tongue target of this frog.

      返回:
      舌头目标, 如果未设置则为 null
    • setTongueTarget

      void setTongueTarget(@Nullable @Nullable Entity target)
      设置此青蛙的舌头目标.

      原文:Sets the tongue target of this frog.

      参数:
      target - 舌头目标, 或 null 以清除
    • getVariant

      获取此青蛙的变种.

      原文:Get the variant of this frog.

      返回:
      青蛙变种
    • setVariant

      void setVariant(@NotNull @NotNull Frog.Variant variant)
      设置此青蛙的变种.

      原文:Set the variant of this frog.

      参数:
      variant - 青蛙变种