Class ChickenEntity

All Implemented Interfaces:
EntityLike, CommandOutput, Nameable

public class ChickenEntity
extends AnimalEntity
Mappings:
Namespace Name
official bbn
intermediary net/minecraft/class_1428
named net/minecraft/entity/passive/ChickenEntity
  • Field Details

    • BREEDING_INGREDIENT

      private static final Ingredient BREEDING_INGREDIENT
      Mappings:
      Namespace Name Mixin selector
      official bt Lbbn;bt:Lbqk;
      intermediary field_6742 Lnet/minecraft/class_1428;field_6742:Lnet/minecraft/class_1856;
      named BREEDING_INGREDIENT Lnet/minecraft/entity/passive/ChickenEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
    • flapProgress

      public float flapProgress
      Mappings:
      Namespace Name Mixin selector
      official bm Lbbn;bm:F
      intermediary field_6741 Lnet/minecraft/class_1428;field_6741:F
      named flapProgress Lnet/minecraft/entity/passive/ChickenEntity;flapProgress:F
    • maxWingDeviation

      public float maxWingDeviation
      Mappings:
      Namespace Name Mixin selector
      official bn Lbbn;bn:F
      intermediary field_6743 Lnet/minecraft/class_1428;field_6743:F
      named maxWingDeviation Lnet/minecraft/entity/passive/ChickenEntity;maxWingDeviation:F
    • prevMaxWingDeviation

      public float prevMaxWingDeviation
      Mappings:
      Namespace Name Mixin selector
      official bo Lbbn;bo:F
      intermediary field_6738 Lnet/minecraft/class_1428;field_6738:F
      named prevMaxWingDeviation Lnet/minecraft/entity/passive/ChickenEntity;prevMaxWingDeviation:F
    • prevFlapProgress

      public float prevFlapProgress
      Mappings:
      Namespace Name Mixin selector
      official bp Lbbn;bp:F
      intermediary field_6736 Lnet/minecraft/class_1428;field_6736:F
      named prevFlapProgress Lnet/minecraft/entity/passive/ChickenEntity;prevFlapProgress:F
    • flapSpeed

      public float flapSpeed
      Mappings:
      Namespace Name Mixin selector
      official bq Lbbn;bq:F
      intermediary field_6737 Lnet/minecraft/class_1428;field_6737:F
      named flapSpeed Lnet/minecraft/entity/passive/ChickenEntity;flapSpeed:F
    • field_28639

      private float field_28639
      Mappings:
      Namespace Name Mixin selector
      official bu Lbbn;bu:F
      intermediary field_28639 Lnet/minecraft/class_1428;field_28639:F
      named field_28639 Lnet/minecraft/entity/passive/ChickenEntity;field_28639:F
    • eggLayTime

      public int eggLayTime
      Mappings:
      Namespace Name Mixin selector
      official br Lbbn;br:I
      intermediary field_6739 Lnet/minecraft/class_1428;field_6739:I
      named eggLayTime Lnet/minecraft/entity/passive/ChickenEntity;eggLayTime:I
    • jockey

      public boolean jockey
      Mappings:
      Namespace Name Mixin selector
      official bs Lbbn;bs:Z
      intermediary field_6740 Lnet/minecraft/class_1428;field_6740:Z
      named jockey Lnet/minecraft/entity/passive/ChickenEntity;jockey:Z
  • Constructor Details

    • ChickenEntity

      public ChickenEntity​(EntityType<? extends ChickenEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official u Larj;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • getActiveEyeHeight

      protected float getActiveEyeHeight​(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lari;b(Lart;Laqw;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • createChickenAttributes

      public static DefaultAttributeContainer.Builder createChickenAttributes()
      Mappings:
      Namespace Name Mixin selector
      official o Lbbn;o()Lash$a;
      intermediary method_26882 Lnet/minecraft/class_1428;method_26882()Lnet/minecraft/class_5132$class_5133;
      named createChickenAttributes Lnet/minecraft/entity/passive/ChickenEntity;createChickenAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lari;k()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • hasWings

      protected boolean hasWings()
      Overrides:
      hasWings in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aB Laqv;aB()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      named hasWings Lnet/minecraft/entity/Entity;hasWings()Z
    • playFlySound

      protected void playFlySound()
      Overrides:
      playFlySound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aA Laqv;aA()V
      intermediary method_5801 Lnet/minecraft/class_1297;method_5801()V
      named playFlySound Lnet/minecraft/entity/Entity;playFlySound()V
    • handleFallDamage

      public boolean handleFallDamage​(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Overrides:
      handleFallDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(FFLaqf;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official p Larj;p()Laef;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound​(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lari;c(Laqf;)Laef;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lari;q()Laef;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • playStepSound

      protected void playStepSound​(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lfx;Lcht;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • createChild

      public ChickenEntity createChild​(ServerWorld serverWorld, PassiveEntity passiveEntity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbbn;b(Laav;Laqt;)Lbbn;
      intermediary method_6471 Lnet/minecraft/class_1428;method_6471(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1428;
      named createChild Lnet/minecraft/entity/passive/ChickenEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/ChickenEntity;
    • isBreedingItem

      public boolean isBreedingItem​(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lbbj;k(Lbnv;)Z
      intermediary method_6481 Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • getCurrentExperience

      protected int getCurrentExperience​(PlayerEntity player)
      Overrides:
      getCurrentExperience in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lari;d(Lbhl;)I
      intermediary method_6110 Lnet/minecraft/class_1309;method_6110(Lnet/minecraft/class_1657;)I
      named getCurrentExperience Lnet/minecraft/entity/LivingEntity;getCurrentExperience(Lnet/minecraft/entity/player/PlayerEntity;)I
    • readCustomDataFromTag

      public void readCustomDataFromTag​(CompoundTag tag)
      Overrides:
      readCustomDataFromTag in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • writeCustomDataToTag

      public void writeCustomDataToTag​(CompoundTag tag)
      Overrides:
      writeCustomDataToTag in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn​(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official h Larj;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
    • updatePassengerPosition

      public void updatePassengerPosition​(Entity passenger)
      Overrides:
      updatePassengerPosition in class Entity
      Mappings:
      Namespace Name Mixin selector
      official k Laqv;k(Laqv;)V
      intermediary method_5865 Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)V
      named updatePassengerPosition Lnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
    • hasJockey

      public boolean hasJockey()
      Mappings:
      Namespace Name Mixin selector
      official r Lbbn;r()Z
      intermediary method_6472 Lnet/minecraft/class_1428;method_6472()Z
      named hasJockey Lnet/minecraft/entity/passive/ChickenEntity;hasJockey()Z
    • setHasJockey

      public void setHasJockey​(boolean hasJockey)
      Mappings:
      Namespace Name Mixin selector
      official u Lbbn;u(Z)V
      intermediary method_6473 Lnet/minecraft/class_1428;method_6473(Z)V
      named setHasJockey Lnet/minecraft/entity/passive/ChickenEntity;setHasJockey(Z)V