net.minecraft.world.entity.animal

public class Chicken

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, EquipmentUser, Leashable, Targeting

ciu
net.minecraft.world.entity.animal.Chicken
net.minecraft.class_1428
net.minecraft.entity.passive.ChickenEntity

Field summary

Modifier and TypeField
private static final EntityDimensions
bN
BABY_DIMENSIONS
field_47770
BABY_BASE_DIMENSIONS
public float
bF
flap
field_6741
flapProgress
public float
bG
flapSpeed
field_6743
maxWingDeviation
public float
bH
oFlapSpeed
field_6738
lastMaxWingDeviation
public float
bJ
oFlap
field_6736
lastFlapProgress
public float
bK
flapping
field_6737
flapSpeed
private float
bO
nextFlap
field_28639
field_28639
public int
bL
eggTime
field_6739
eggLayTime
public boolean
bM
isChickenJockey
field_6740
hasJockey

Constructor summary

ModifierConstructor
public (EntityType<? extends Chicken> arg0, Level arg1)

Method summary

Modifier and TypeMethod
protected void
D()
registerGoals()
method_5959()
initGoals()
public EntityDimensions
e(bxl arg0)
getDefaultDimensions(Pose arg0)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
public static AttributeSupplier$Builder
q()
createAttributes()
method_26882()
createChickenAttributes()
public void
k_()
aiStep()
method_6007()
tickMovement()
protected boolean
ba()
isFlapping()
method_5776()
isFlappingWings()
protected void
aZ()
onFlap()
method_5801()
addFlapEffects()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected void
b(iu arg0, dzo arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
public Chicken
b(aro arg0, bvq arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_6471(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
public boolean
k(cys arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
protected int
e(aro arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public boolean
h(double arg0)
removeWhenFarAway(double arg0)
method_5974(double arg0)
canImmediatelyDespawn(double arg0)
protected void
a(bwa arg0, bwa$b arg1)
positionRider(Entity arg0, Entity$MoveFunction arg1)
method_5865(class_1297 arg0, class_1297$class_4738 arg1)
updatePassengerPosition(Entity arg0, Entity$PositionUpdater arg1)
public boolean
t()
isChickenJockey()
method_6472()
hasJockey()
public void
w(boolean arg0)
setChickenJockey(boolean arg0)
method_6473(boolean arg0)
setHasJockey(boolean hasJockey)