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

    • isChickenJockey

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

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

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

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