Package net.minecraft.entity.passive
Class AgeableEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PassivePathFindingEntity
net.minecraft.entity.passive.AgeableEntity
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
AnimalEntity,VillagerEntity
public abstract class AgeableEntity extends PassivePathFindingEntity
- Mappings:
Namespace Name official phintermediary net/minecraft/class_1743named net/minecraft/entity/passive/AgeableEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description protected intfield_7327private floatfield_7329private floatfield_7330protected intfield_7331protected intforcedAgeFields inherited from class net.minecraft.entity.PassivePathFindingEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, 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
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description AgeableEntity(World world) -
Method Summary
Modifier and Type Method Description intage()voiddeserialize(CompoundTag tag)protected voidinitDataTracker()booleanisBaby()protected voidmethod_6887(float float2)voidmethod_6888(int int2)voidmethod_6889(int int2, boolean bool)abstract AgeableEntitymethod_6890(AgeableEntity entity)voidmethod_6891(boolean bool)protected voidmethod_6894()booleanmethod_7195(PlayerEntity player)voidserialize(CompoundTag tag)voidsetAge(int int2)protected voidsetBounds(float width, float height)voidtickMovement()Methods inherited from class net.minecraft.entity.PassivePathFindingEntity
method_7202, method_7239, method_7240, method_7241, method_7242, method_7243, method_7244, method_7245, method_7246, method_7247, method_7248, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getAmbientSound, getArmorStacks, getAttackTarget, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, handleStatus, hasNoAi, hasPositionTarget, initEquipment, initializeAttributes, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7104, method_7106, method_7156, method_7164, method_7177, method_7184, method_7187, method_7188, method_7191, method_7203, method_7204, method_7206, method_7210, method_7214, mobTick, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tick, tickNewAi, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getDeathSound, getEffectInstance, getFallSound, getHandSwingProgress, getHeadRotation, getHealth, getHurtSound, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7098, method_7099, method_7100, method_7102, method_7105, method_7108, method_7109, method_7110, method_7111, method_7113, method_7114, method_7115, method_7118, method_7123, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7139, method_7142, method_7146, method_7149, method_7153, method_7154, method_7162, method_7166, method_7171, method_7176, method_7178, method_7179, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
field_7327
protected int field_7327- Mappings:
Namespace Name Mixin selector official aLph;a:Iintermediary field_7327Lnet/minecraft/class_1743;field_7327:Inamed field_7327Lnet/minecraft/entity/passive/AgeableEntity;field_7327:I
-
forcedAge
protected int forcedAge- Mappings:
Namespace Name Mixin selector official bLph;b:Iintermediary field_7328Lnet/minecraft/class_1743;field_7328:Inamed forcedAgeLnet/minecraft/entity/passive/AgeableEntity;forcedAge:I
-
field_7331
protected int field_7331- Mappings:
Namespace Name Mixin selector official cLph;c:Iintermediary field_7331Lnet/minecraft/class_1743;field_7331:Inamed field_7331Lnet/minecraft/entity/passive/AgeableEntity;field_7331:I
-
field_7329
private float field_7329- Mappings:
Namespace Name Mixin selector official bmLph;bm:Fintermediary field_7329Lnet/minecraft/class_1743;field_7329:Fnamed field_7329Lnet/minecraft/entity/passive/AgeableEntity;field_7329:F
-
field_7330
private float field_7330- Mappings:
Namespace Name Mixin selector official bnLph;bn:Fintermediary field_7330Lnet/minecraft/class_1743;field_7330:Fnamed field_7330Lnet/minecraft/entity/passive/AgeableEntity;field_7330:F
-
-
Constructor Details
-
AgeableEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
method_6890
- Mappings:
Namespace Name Mixin selector official aLph;a(Lph;)Lph;intermediary method_6890Lnet/minecraft/class_1743;method_6890(Lnet/minecraft/class_1743;)Lnet/minecraft/class_1743;named method_6890Lnet/minecraft/entity/passive/AgeableEntity;method_6890(Lnet/minecraft/entity/passive/AgeableEntity;)Lnet/minecraft/entity/passive/AgeableEntity;
-
method_7195
- Overrides:
method_7195in classMobEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lwn;)Zintermediary method_7195Lnet/minecraft/class_1753;method_7195(Lnet/minecraft/class_1963;)Znamed method_7195Lnet/minecraft/entity/mob/MobEntity;method_7195(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
age
public int age()- Mappings:
Namespace Name Mixin selector official lLph;l()Iintermediary method_6893Lnet/minecraft/class_1743;method_6893()Inamed ageLnet/minecraft/entity/passive/AgeableEntity;age()I
-
method_6889
public void method_6889(int int2, boolean bool)- Mappings:
Namespace Name Mixin selector official aLph;a(IZ)Vintermediary method_6889Lnet/minecraft/class_1743;method_6889(IZ)Vnamed method_6889Lnet/minecraft/entity/passive/AgeableEntity;method_6889(IZ)V
-
method_6888
public void method_6888(int int2)- Mappings:
Namespace Name Mixin selector official aLph;a(I)Vintermediary method_6888Lnet/minecraft/class_1743;method_6888(I)Vnamed method_6888Lnet/minecraft/entity/passive/AgeableEntity;method_6888(I)V
-
setAge
public void setAge(int int2)- Mappings:
Namespace Name Mixin selector official bLph;b(I)Vintermediary method_6892Lnet/minecraft/class_1743;method_6892(I)Vnamed setAgeLnet/minecraft/entity/passive/AgeableEntity;setAge(I)V
-
serialize
-
deserialize
- Overrides:
deserializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official mLpr;m()Vintermediary method_7169Lnet/minecraft/class_1752;method_7169()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
method_6894
protected void method_6894()- Mappings:
Namespace Name Mixin selector official nLph;n()Vintermediary method_6894Lnet/minecraft/class_1743;method_6894()Vnamed method_6894Lnet/minecraft/entity/passive/AgeableEntity;method_6894()V
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity- Mappings:
Namespace Name Mixin selector official j_Lpr;j_()Zintermediary method_7163Lnet/minecraft/class_1752;method_7163()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
method_6891
public void method_6891(boolean bool)- Mappings:
Namespace Name Mixin selector official aLph;a(Z)Vintermediary method_6891Lnet/minecraft/class_1743;method_6891(Z)Vnamed method_6891Lnet/minecraft/entity/passive/AgeableEntity;method_6891(Z)V
-
setBounds
protected final void setBounds(float width, float height) -
method_6887
protected final void method_6887(float float2)- Mappings:
Namespace Name Mixin selector official aLph;a(F)Vintermediary method_6887Lnet/minecraft/class_1743;method_6887(F)Vnamed method_6887Lnet/minecraft/entity/passive/AgeableEntity;method_6887(F)V
-