类 ChickenEntity
-
- 所有已实现的接口:
CommandOutput,Nameable,EntityLike
public class ChickenEntity extends AnimalEntity
- Mappings:
Namespace Name official bddintermediary net/minecraft/class_1428named net/minecraft/entity/passive/ChickenEntity
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
字段 修饰符和类型 字段 说明 private static IngredientBREEDING_INGREDIENTinteggLayTimeprivate floatfield_28639floatflapProgressfloatflapSpeedbooleanjockeyfloatmaxWingDeviationfloatprevFlapProgressfloatprevMaxWingDeviation-
从类继承的字段 net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWN
-
从类继承的字段 net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
-
从类继承的字段 net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
-
从类继承的字段 net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
-
构造器概要
构造器 构造器 说明 ChickenEntity(EntityType<? extends ChickenEntity> type, World world)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidaddFlapEffects()Adds the effects of this entity flapping, usually to the world the entity is in.booleancanImmediatelyDespawn(double distanceSquared)static DefaultAttributeContainer.BuildercreateChickenAttributes()ChickenEntitycreateChild(ServerWorld serverWorld, PassiveEntity passiveEntity)protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)protected SoundEventgetAmbientSound()protected SoundEventgetDeathSound()protected SoundEventgetHurtSound(DamageSource source)protected intgetXpToDrop(PlayerEntity player)Called when this entity is killed and returns the amount of experience to drop.booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)booleanhasJockey()protected booleanhasWings()protected voidinitGoals()booleanisBreedingItem(ItemStack stack)protected voidplayStepSound(BlockPos pos, BlockState state)voidreadCustomDataFromNbt(CompoundTag nbt)voidsetHasJockey(boolean hasJockey)voidtickMovement()voidupdatePassengerPosition(Entity passenger)voidwriteCustomDataToNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, canEat, damage, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, getPathfindingFavor, handleStatus, interactMob, isInLove, isValidNaturalSpawn, lovePlayer, mobTick, resetLoveTicks, setLoveTicks
-
从类继承的方法 net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, initDataTracker, initialize, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge
-
从类继承的方法 net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
-
从类继承的方法 net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29244, method_35055, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
-
从类继承的方法 net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCommandItemSlot, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_35053, method_35054, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_36209, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
BREEDING_INGREDIENT
private static final Ingredient BREEDING_INGREDIENT
- Mappings:
Namespace Name Mixin selector official cdLbdd;cd:Lbsg;intermediary field_6742Lnet/minecraft/class_1428;field_6742:Lnet/minecraft/class_1856;named BREEDING_INGREDIENTLnet/minecraft/entity/passive/ChickenEntity;BREEDING_INGREDIENT:Lnet/minecraft/recipe/Ingredient;
-
flapProgress
public float flapProgress
- Mappings:
Namespace Name Mixin selector official bVLbdd;bV:Fintermediary field_6741Lnet/minecraft/class_1428;field_6741:Fnamed flapProgressLnet/minecraft/entity/passive/ChickenEntity;flapProgress:F
-
maxWingDeviation
public float maxWingDeviation
- Mappings:
Namespace Name Mixin selector official bWLbdd;bW:Fintermediary field_6743Lnet/minecraft/class_1428;field_6743:Fnamed maxWingDeviationLnet/minecraft/entity/passive/ChickenEntity;maxWingDeviation:F
-
prevMaxWingDeviation
public float prevMaxWingDeviation
- Mappings:
Namespace Name Mixin selector official bYLbdd;bY:Fintermediary field_6738Lnet/minecraft/class_1428;field_6738:Fnamed prevMaxWingDeviationLnet/minecraft/entity/passive/ChickenEntity;prevMaxWingDeviation:F
-
prevFlapProgress
public float prevFlapProgress
- Mappings:
Namespace Name Mixin selector official bZLbdd;bZ:Fintermediary field_6736Lnet/minecraft/class_1428;field_6736:Fnamed prevFlapProgressLnet/minecraft/entity/passive/ChickenEntity;prevFlapProgress:F
-
flapSpeed
public float flapSpeed
- Mappings:
Namespace Name Mixin selector official caLbdd;ca:Fintermediary field_6737Lnet/minecraft/class_1428;field_6737:Fnamed flapSpeedLnet/minecraft/entity/passive/ChickenEntity;flapSpeed:F
-
field_28639
private float field_28639
- Mappings:
Namespace Name Mixin selector official ceLbdd;ce:Fintermediary field_28639Lnet/minecraft/class_1428;field_28639:Fnamed field_28639Lnet/minecraft/entity/passive/ChickenEntity;field_28639:F
-
eggLayTime
public int eggLayTime
- Mappings:
Namespace Name Mixin selector official cbLbdd;cb:Iintermediary field_6739Lnet/minecraft/class_1428;field_6739:Inamed eggLayTimeLnet/minecraft/entity/passive/ChickenEntity;eggLayTime:I
-
jockey
public boolean jockey
- Mappings:
Namespace Name Mixin selector official ccLbdd;cc:Zintermediary field_6740Lnet/minecraft/class_1428;field_6740:Znamed jockeyLnet/minecraft/entity/passive/ChickenEntity;jockey:Z
-
-
构造器详细资料
-
ChickenEntity
public ChickenEntity(EntityType<? extends ChickenEntity> type, World world)
- Mappings:
Namespace Name Mixin selector official <init>Lasl;<init>(Lasp;Lbvr;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
方法详细资料
-
initGoals
protected void initGoals()
-
getActiveEyeHeight
protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
- 覆盖:
getActiveEyeHeight在类中LivingEntity- Mappings:
Namespace Name Mixin selector official bLasy;b(Latj;Lasm;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/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 oLbdd;o()Latx$a;intermediary method_26882Lnet/minecraft/class_1428;method_26882()Lnet/minecraft/class_5132$class_5133;named createChickenAttributesLnet/minecraft/entity/passive/ChickenEntity;createChickenAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
tickMovement
public void tickMovement()
- 覆盖:
tickMovement在类中AnimalEntity- Mappings:
Namespace Name Mixin selector official kLasy;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
hasWings
protected boolean hasWings()
-
addFlapEffects
protected void addFlapEffects()
Adds the effects of this entity flapping, usually to the world the entity is in.The actual flapping logic should be done in
Entity.tick()instead.This is only called when the entity has wings and the entity has any move effect, from
Entity.addAirTravelEffects().- 覆盖:
addFlapEffects在类中Entity- Mappings:
Namespace Name Mixin selector official aBLasl;aB()Vintermediary method_5801Lnet/minecraft/class_1297;method_5801()Vnamed addFlapEffectsLnet/minecraft/entity/Entity;addFlapEffects()V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- 覆盖:
handleFallDamage在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(FFLarv;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
getAmbientSound
protected SoundEvent getAmbientSound()
- 覆盖:
getAmbientSound在类中MobEntity- Mappings:
Namespace Name Mixin selector official pLasz;p()Laev;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
protected SoundEvent getHurtSound(DamageSource source)
- 覆盖:
getHurtSound在类中LivingEntity- Mappings:
Namespace Name Mixin selector official cLasy;c(Larv;)Laev;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
protected SoundEvent getDeathSound()
- 覆盖:
getDeathSound在类中LivingEntity- Mappings:
Namespace Name Mixin selector official qLasy;q()Laev;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
protected void playStepSound(BlockPos pos, BlockState state)
- 覆盖:
playStepSound在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lgb;Lcjr;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
createChild
public ChickenEntity createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
- 指定者:
createChild在类中PassiveEntity- Mappings:
Namespace Name Mixin selector official bLbdd;b(Labj;Lasj;)Lbdd;intermediary method_6471Lnet/minecraft/class_1428;method_6471(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1428;named createChildLnet/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)
- 覆盖:
isBreedingItem在类中AnimalEntity- Mappings:
Namespace Name Mixin selector official lLbcz;l(Lbpr;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
getXpToDrop
protected int getXpToDrop(PlayerEntity player)
Called when this entity is killed and returns the amount of experience to drop.playermay benullif shouldAlwaysDropXp() returnstrue.- 覆盖:
getXpToDrop在类中AnimalEntity- 参数:
player- the attacking player- 另请参阅:
LivingEntity.dropXp(),LivingEntity.shouldAlwaysDropXp(),LivingEntity.shouldDropXp()- Mappings:
Namespace Name Mixin selector official dLasy;d(Lbjf;)Iintermediary method_6110Lnet/minecraft/class_1309;method_6110(Lnet/minecraft/class_1657;)Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop(Lnet/minecraft/entity/player/PlayerEntity;)I
-
readCustomDataFromNbt
public void readCustomDataFromNbt(CompoundTag nbt)
- 覆盖:
readCustomDataFromNbt在类中AnimalEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
writeCustomDataToNbt
public void writeCustomDataToNbt(CompoundTag nbt)
- 覆盖:
writeCustomDataToNbt在类中AnimalEntity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared)
- 覆盖:
canImmediatelyDespawn在类中AnimalEntity- Mappings:
Namespace Name Mixin selector official hLasz;h(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
updatePassengerPosition
public void updatePassengerPosition(Entity passenger)
- 覆盖:
updatePassengerPosition在类中Entity- Mappings:
Namespace Name Mixin selector official kLasl;k(Lasl;)Vintermediary method_5865Lnet/minecraft/class_1297;method_5865(Lnet/minecraft/class_1297;)Vnamed updatePassengerPositionLnet/minecraft/entity/Entity;updatePassengerPosition(Lnet/minecraft/entity/Entity;)V
-
hasJockey
public boolean hasJockey()
- Mappings:
Namespace Name Mixin selector official sLbdd;s()Zintermediary method_6472Lnet/minecraft/class_1428;method_6472()Znamed hasJockeyLnet/minecraft/entity/passive/ChickenEntity;hasJockey()Z
-
setHasJockey
public void setHasJockey(boolean hasJockey)
- Mappings:
Namespace Name Mixin selector official vLbdd;v(Z)Vintermediary method_6473Lnet/minecraft/class_1428;method_6473(Z)Vnamed setHasJockeyLnet/minecraft/entity/passive/ChickenEntity;setHasJockey(Z)V
-
-