Interface Chicken

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

public interface Chicken extends Animals
Represents a Chicken.
  • Method Details Link icon

    • isChickenJockey Link icon

      boolean isChickenJockey()
      Gets if this chicken was spawned as a chicken jockey.
      Returns:
      is chicken jockey
    • setIsChickenJockey Link icon

      void setIsChickenJockey(boolean isChickenJockey)
      Sets if this chicken was spawned as a chicken jockey.
      Parameters:
      isChickenJockey - is chicken jockey
    • getEggLayTime Link icon

      int getEggLayTime()
      Gets the number of ticks till this chicken lays an egg.
      Returns:
      ticks till the chicken lays an egg
    • setEggLayTime Link icon

      void setEggLayTime(int eggLayTime)
      Sets the number of ticks till this chicken lays an egg.
      Parameters:
      eggLayTime - ticks till the chicken lays an egg