Package net.minecraft.entity.passive
Class ChickenEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider
- Mappings:
Namespace Name official wxintermediary net/minecraft/class_943named net/minecraft/entity/passive/ChickenEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionintfloatfloatbooleanfloatfloatfloatFields inherited from class net.minecraft.entity.passive.AnimalEntity
field_11973Fields inherited from class net.minecraft.entity.passive.PassiveEntity
field_11896, field_11898, forcedAgeFields inherited from class net.minecraft.entity.PathAwareEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SoundEventbreed(PassiveEntity passiveEntity) protected booleanprotected SoundEventfloatprotected Identifierprotected intgetXpToDrop(PlayerEntity player) voidhandleFallDamage(float fallDistance, float damageMultiplier) booleanprotected voidprotected voidbooleanisBreedingItem(ItemStack stack) protected SoundEventstatic voidmethod_13500(class_2934 class_2934) protected voidplayStepSound(BlockPos pos, Block block) voidvoidsetHasJockey(boolean hasJockey) voidvoidupdatePassengerPosition(Entity passenger) voidMethods inherited from class net.minecraft.entity.passive.AnimalEntity
canBreedWith, canSpawn, damage, eat, getHeightOffset, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, handleStatus, interactMob, isInLove, lovePlayer, mobTick, resetLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
age, initDataTracker, isBaby, method_10925, method_10926, method_13929, method_5377, method_5378, method_6095, onTrackedDataSet, setAge, setBoundsMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_13951, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, hasNoAi, initEquipment, initialize, interact, isLeashed, isPersistent, lookAtEntity, loot, method_13003, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_13950, method_2469, method_2638, method_4472, method_6162, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tick, tickNewAi, turnHead, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStuckArrows, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_13493, method_13494, method_13946, method_13947, method_13948, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, onKilled, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVecClient, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interactAt, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12984, method_12985, method_12991, method_13932, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
field_14611
- Mappings:
Namespace Name Mixin selector official bELwx;bE:Ljava/util/Set;intermediary field_14611Lnet/minecraft/class_943;field_14611:Ljava/util/Set;named field_14611Lnet/minecraft/entity/passive/ChickenEntity;field_14611:Ljava/util/Set;
-
flapProgress
public float flapProgress- Mappings:
Namespace Name Mixin selector official bwLwx;bw:Fintermediary field_3699Lnet/minecraft/class_943;field_3699:Fnamed flapProgressLnet/minecraft/entity/passive/ChickenEntity;flapProgress:F
-
maxWingDeviation
public float maxWingDeviation- Mappings:
Namespace Name Mixin selector official bxLwx;bx:Fintermediary field_3700Lnet/minecraft/class_943;field_3700:Fnamed maxWingDeviationLnet/minecraft/entity/passive/ChickenEntity;maxWingDeviation:F
-
prevMaxWingDeviation
public float prevMaxWingDeviation- Mappings:
Namespace Name Mixin selector official byLwx;by:Fintermediary field_3701Lnet/minecraft/class_943;field_3701:Fnamed prevMaxWingDeviationLnet/minecraft/entity/passive/ChickenEntity;prevMaxWingDeviation:F
-
prevFlapProgress
public float prevFlapProgress- Mappings:
Namespace Name Mixin selector official bALwx;bA:Fintermediary field_3702Lnet/minecraft/class_943;field_3702:Fnamed prevFlapProgressLnet/minecraft/entity/passive/ChickenEntity;prevFlapProgress:F
-
flapSpeed
public float flapSpeed- Mappings:
Namespace Name Mixin selector official bBLwx;bB:Fintermediary field_3703Lnet/minecraft/class_943;field_3703:Fnamed flapSpeedLnet/minecraft/entity/passive/ChickenEntity;flapSpeed:F
-
eggLayTime
public int eggLayTime- Mappings:
Namespace Name Mixin selector official bCLwx;bC:Iintermediary field_3704Lnet/minecraft/class_943;field_3704:Inamed eggLayTimeLnet/minecraft/entity/passive/ChickenEntity;eggLayTime:I
-
jockey
public boolean jockey- Mappings:
Namespace Name Mixin selector official bDLwx;bD:Zintermediary field_9107Lnet/minecraft/class_943;field_9107:Znamed jockeyLnet/minecraft/entity/passive/ChickenEntity;jockey:Z
-
-
Constructor Details
-
ChickenEntity
- Mappings:
Namespace Name Mixin selector official <init>Lsn;<init>(Lajs;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official bqLsn;bq()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official bELsw;bE()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official nLsw;n()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
handleFallDamage
public void handleFallDamage(float fallDistance, float damageMultiplier) - Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official eLsn;e(FF)Vintermediary method_2490Lnet/minecraft/class_864;method_2490(FF)Vnamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FF)V
-
ambientSound
- Overrides:
ambientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official GLsx;G()Lnm;intermediary method_2603Lnet/minecraft/class_871;method_2603()Lnet/minecraft/class_2926;named ambientSoundLnet/minecraft/entity/mob/MobEntity;ambientSound()Lnet/minecraft/client/sound/SoundEvent;
-
method_13048
- Overrides:
method_13048in classLivingEntity- Mappings:
Namespace Name Mixin selector official bWLsw;bW()Lnm;intermediary method_13048Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;named method_13048Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bXLsw;bX()Lnm;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Lco;Lalu;)Vintermediary method_10936Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_197;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/Block;)V
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLsx;J()Lkq;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
breed
- Specified by:
breedin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLwx;b(Lsk;)Lwx;intermediary method_4516Lnet/minecraft/class_943;method_4516(Lnet/minecraft/class_862;)Lnet/minecraft/class_943;named breedLnet/minecraft/entity/passive/ChickenEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/ChickenEntity;
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official eLww;e(Lafj;)Zintermediary method_2853Lnet/minecraft/class_942;method_2853(Lnet/minecraft/class_1071;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
getXpToDrop
- Overrides:
getXpToDropin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLsw;b(Laay;)Iintermediary method_2585Lnet/minecraft/class_1699;method_2585(Lnet/minecraft/class_988;)Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop(Lnet/minecraft/entity/player/PlayerEntity;)I
-
method_13500
- Mappings:
Namespace Name Mixin selector official aLwx;a(Lph;)Vintermediary method_13500Lnet/minecraft/class_943;method_13500(Lnet/minecraft/class_2934;)Vnamed method_13500Lnet/minecraft/entity/passive/ChickenEntity;method_13500(Lnet/minecraft/class_2934;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Ldu;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLsn;b(Ldu;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canImmediatelyDespawn
protected boolean canImmediatelyDespawn()- Overrides:
canImmediatelyDespawnin classAnimalEntity- Mappings:
Namespace Name Mixin selector official KLsx;K()Zintermediary method_2631Lnet/minecraft/class_871;method_2631()Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn()Z
-
updatePassengerPosition
- Overrides:
updatePassengerPositionin classEntity- Mappings:
Namespace Name Mixin selector official kLsn;k(Lsn;)Vintermediary method_13009Lnet/minecraft/class_864;method_13009(Lnet/minecraft/class_864;)Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
hasJockey
public boolean hasJockey()- Mappings:
Namespace Name Mixin selector official dhLwx;dh()Zintermediary method_8387Lnet/minecraft/class_943;method_8387()Znamed hasJockeyLnet/minecraft/entity/passive/ChickenEntity;hasJockey()Z
-
setHasJockey
public void setHasJockey(boolean hasJockey) - Mappings:
Namespace Name Mixin selector official pLwx;p(Z)Vintermediary method_8388Lnet/minecraft/class_943;method_8388(Z)Vnamed setHasJockeyLnet/minecraft/entity/passive/ChickenEntity;setHasJockey(Z)V
-