Package net.minecraft.entity.passive
Class AnimalEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.passive.PassiveEntity
net.minecraft.entity.passive.AnimalEntity
- All Implemented Interfaces:
EntityCategoryProvider
- Direct Known Subclasses:
ChickenEntity,CowEntity,HorseBaseEntity,PigEntity,SheepEntity,TameableEntity
- Mappings:
Namespace Name official uqintermediary net/minecraft/class_942named net/minecraft/entity/passive/AnimalEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.PathAwareEntity
field_3415, field_3416, field_3417, FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, experiencePoints, field_3351, field_3353, goalsFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6745, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6772, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeLeashedBy(PlayerEntity player) booleancanBreedWith(AnimalEntity other) protected booleanbooleancanSpawn()booleandamage(DamageSource source, float amount) intprotected intgetXpToDrop(PlayerEntity player) voidhandleStatus(byte status) booleanisBreedingItem(ItemStack stack) booleanisInLove()voidlovePlayer(PlayerEntity player) protected voidfloatmethod_2683(int int2, int int3, int int4) protected voidmethod_2685(Entity entity, float float2) protected Entityprivate voidmethod_2854(AnimalEntity animalEntity) voidvoidvoidvoidMethods inherited from class net.minecraft.entity.passive.PassiveEntity
age, breed, initDataTracker, isBaby, method_5377, method_5378, method_6095, setAge, setBoundsMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, method_2684, method_2686, method_2687, method_2688, method_2691, method_6168, method_6169, method_6171, method_6173, method_6175, shouldContinue, tickNewAi, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canPickUpLoot, checkDespawn, detachLeash, dropLoot, getAmbientSound, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslatedName, getVisibilityCache, hasNoAi, initializeAttributes, isLeashed, isPersistent, isTameable, lookAtEntity, method_2638, method_4470, method_4472, method_4473, method_4474, method_5388, method_5391, method_5392, method_5394, method_5397, method_6156, method_6162, method_6166, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, shouldDropHead, tick, turnHeadMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canMoveVoluntarily, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getDeathSound, getEffectInstance, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getHurtSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, method_2488, method_2489, method_2490, method_2577, method_2582, method_2607, method_2610, method_2630, method_2649, method_2658, method_2672, method_6105, method_6108, method_6109, method_6111, method_6117, method_6146, method_6149, method_6150, method_6152, method_8372, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttackMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, burn, canAvoidTraps, canClimb, canFly, checkBlockCollision, copyFrom, copyPosition, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, getUuid, handleAttack, hashCode, hasVehicle, increaseTransforms, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2475, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, setAir, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
loveTicks
private int loveTicks- Mappings:
Namespace Name Mixin selector official bpLuq;bp:Iintermediary field_3696Lnet/minecraft/class_942;field_3696:Inamed loveTicksLnet/minecraft/entity/passive/AnimalEntity;loveTicks:I
-
field_3697
private int field_3697- Mappings:
Namespace Name Mixin selector official bqLuq;bq:Iintermediary field_3697Lnet/minecraft/class_942;field_3697:Inamed field_3697Lnet/minecraft/entity/passive/AnimalEntity;field_3697:I
-
lovingPlayer
- Mappings:
Namespace Name Mixin selector official brLuq;br:Lxk;intermediary field_9106Lnet/minecraft/class_942;field_9106:Lnet/minecraft/class_988;named lovingPlayerLnet/minecraft/entity/passive/AnimalEntity;lovingPlayer:Lnet/minecraft/entity/player/PlayerEntity;
-
-
Constructor Details
-
AnimalEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)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
-
method_2634
protected void method_2634()- Overrides:
method_2634in classLivingEntity- Mappings:
Namespace Name Mixin selector official bpLrg;bp()Vintermediary method_2634Lnet/minecraft/class_1699;method_2634()Vnamed method_2634Lnet/minecraft/entity/LivingEntity;method_2634()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classPassiveEntity- Mappings:
Namespace Name Mixin selector official eLrg;e()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
method_2685
- Overrides:
method_2685in classPathAwareEntity- Mappings:
Namespace Name Mixin selector official aLro;a(Lqm;F)Vintermediary method_2685Lnet/minecraft/class_877;method_2685(Lnet/minecraft/class_864;F)Vnamed method_2685Lnet/minecraft/entity/PathAwareEntity;method_2685(Lnet/minecraft/entity/Entity;F)V
-
method_2854
- Mappings:
Namespace Name Mixin selector official bLuq;b(Luq;)Vintermediary method_2854Lnet/minecraft/class_942;method_2854(Lnet/minecraft/class_942;)Vnamed method_2854Lnet/minecraft/entity/passive/AnimalEntity;method_2854(Lnet/minecraft/entity/passive/AnimalEntity;)V
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lqa;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
method_2683
public float method_2683(int int2, int int3, int int4) - Overrides:
method_2683in classPathAwareEntity- Mappings:
Namespace Name Mixin selector official aLro;a(III)Fintermediary method_2683Lnet/minecraft/class_877;method_2683(III)Fnamed method_2683Lnet/minecraft/entity/PathAwareEntity;method_2683(III)F
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(Ldg;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Ldg;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_2689
- Overrides:
method_2689in classPathAwareEntity- Mappings:
Namespace Name Mixin selector official bPLro;bP()Lqm;intermediary method_2689Lnet/minecraft/class_877;method_2689()Lnet/minecraft/class_864;named method_2689Lnet/minecraft/entity/PathAwareEntity;method_2689()Lnet/minecraft/entity/Entity;
-
canSpawn
public boolean canSpawn()- Overrides:
canSpawnin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official bwLrh;bw()Zintermediary method_2637Lnet/minecraft/class_871;method_2637()Znamed canSpawnLnet/minecraft/entity/mob/MobEntity;canSpawn()Z
-
getMinAmbientSoundDelay
public int getMinAmbientSoundDelay()- Overrides:
getMinAmbientSoundDelayin classMobEntity- Mappings:
Namespace Name Mixin selector official qLrh;q()Iintermediary method_2594Lnet/minecraft/class_871;method_2594()Inamed getMinAmbientSoundDelayLnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
-
canImmediatelyDespawn
protected boolean canImmediatelyDespawn()- Overrides:
canImmediatelyDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official vLrh;v()Zintermediary method_2631Lnet/minecraft/class_871;method_2631()Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn()Z
-
getXpToDrop
- Overrides:
getXpToDropin classMobEntity- Mappings:
Namespace Name Mixin selector official eLrg;e(Lxk;)Iintermediary method_2585Lnet/minecraft/class_1699;method_2585(Lnet/minecraft/class_988;)Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop(Lnet/minecraft/entity/player/PlayerEntity;)I
-
isBreedingItem
- Mappings:
Namespace Name Mixin selector official cLuq;c(Labo;)Zintermediary method_2853Lnet/minecraft/class_942;method_2853(Lnet/minecraft/class_1071;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLrh;a(Lxk;)Zintermediary method_2537Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
lovePlayer
- Mappings:
Namespace Name Mixin selector official fLuq;f(Lxk;)Vintermediary method_8386Lnet/minecraft/class_942;method_8386(Lnet/minecraft/class_988;)Vnamed lovePlayerLnet/minecraft/entity/passive/AnimalEntity;lovePlayer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getLovingPlayer
- Mappings:
Namespace Name Mixin selector official cbLuq;cb()Lxk;intermediary method_8385Lnet/minecraft/class_942;method_8385()Lnet/minecraft/class_988;named getLovingPlayerLnet/minecraft/entity/passive/AnimalEntity;getLovingPlayer()Lnet/minecraft/entity/player/PlayerEntity;
-
isInLove
public boolean isInLove()- Mappings:
Namespace Name Mixin selector official ccLuq;cc()Zintermediary method_2855Lnet/minecraft/class_942;method_2855()Znamed isInLoveLnet/minecraft/entity/passive/AnimalEntity;isInLove()Z
-
resetLoveTicks
public void resetLoveTicks()- Mappings:
Namespace Name Mixin selector official cdLuq;cd()Vintermediary method_2856Lnet/minecraft/class_942;method_2856()Vnamed resetLoveTicksLnet/minecraft/entity/passive/AnimalEntity;resetLoveTicks()V
-
canBreedWith
- Mappings:
Namespace Name Mixin selector official aLuq;a(Luq;)Zintermediary method_2852Lnet/minecraft/class_942;method_2852(Lnet/minecraft/class_942;)Znamed canBreedWithLnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
-
handleStatus
- Overrides:
handleStatusin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-