Package net.minecraft.entity.passive
Class PassiveEntity
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
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
AnimalEntity,VillagerEntity
- Mappings:
Namespace Name official skintermediary net/minecraft/class_862named net/minecraft/entity/passive/PassiveEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprivate static final TrackedData<Boolean>private floatprivate floatprotected intFields 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 TypeMethodDescriptionintage()abstract PassiveEntitybreed(PassiveEntity entity) protected voidbooleaninteractMob(PlayerEntity playerEntity, Hand hand) booleanisBaby()voidmethod_10925(int int2, boolean bool) protected voidprotected booleanmethod_13929(ItemStack itemStack, Class<? extends Entity> class2) voidmethod_5377(boolean bool) protected final voidmethod_5378(float float2) voidmethod_6095(int int2) voidonTrackedDataSet(TrackedData<?> data) voidvoidsetAge(int int2) protected final voidsetBounds(float width, float height) voidvoidMethods inherited from class net.minecraft.entity.PathAwareEntity
canSpawn, getPathfindingFavor, getPositionTarget, getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, isInWalkTargetRange, method_13951, method_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
ambientSound, attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLootTableId, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initEquipment, initGoals, initialize, initializeAttributes, 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, mobTick, 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, damage, damageArmor, deathSound, 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, handleFallDamage, 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_13048, 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, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, 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, playStepSound, 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, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
field_14476
- Mappings:
Namespace Name Mixin selector official bwLsk;bw:Lkk;intermediary field_14476Lnet/minecraft/class_862;field_14476:Lnet/minecraft/class_2921;named field_14476Lnet/minecraft/entity/passive/PassiveEntity;field_14476:Lnet/minecraft/entity/data/TrackedData;
-
field_11896
protected int field_11896- Mappings:
Namespace Name Mixin selector official aLsk;a:Iintermediary field_11896Lnet/minecraft/class_862;field_11896:Inamed field_11896Lnet/minecraft/entity/passive/PassiveEntity;field_11896:I
-
forcedAge
protected int forcedAge- Mappings:
Namespace Name Mixin selector official bLsk;b:Iintermediary field_11897Lnet/minecraft/class_862;field_11897:Inamed forcedAgeLnet/minecraft/entity/passive/PassiveEntity;forcedAge:I
-
field_11898
protected int field_11898- Mappings:
Namespace Name Mixin selector official cLsk;c:Iintermediary field_11898Lnet/minecraft/class_862;field_11898:Inamed field_11898Lnet/minecraft/entity/passive/PassiveEntity;field_11898:I
-
field_6114
private float field_6114- Mappings:
Namespace Name Mixin selector official bxLsk;bx:Fintermediary field_6114Lnet/minecraft/class_862;field_6114:Fnamed field_6114Lnet/minecraft/entity/passive/PassiveEntity;field_6114:F
-
field_6115
private float field_6115- Mappings:
Namespace Name Mixin selector official byLsk;by:Fintermediary field_6115Lnet/minecraft/class_862;field_6115:Fnamed field_6115Lnet/minecraft/entity/passive/PassiveEntity;field_6115:F
-
-
Constructor Details
-
PassiveEntity
- 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
-
breed
- Mappings:
Namespace Name Mixin selector official aLsk;a(Lsk;)Lsk;intermediary method_4440Lnet/minecraft/class_862;method_4440(Lnet/minecraft/class_862;)Lnet/minecraft/class_862;named breedLnet/minecraft/entity/passive/PassiveEntity;breed(Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
-
interactMob
- Overrides:
interactMobin classMobEntity- Mappings:
Namespace Name Mixin selector official aLsx;a(Laay;Lri;)Zintermediary method_13079Lnet/minecraft/class_871;method_13079(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Znamed interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
-
method_13929
- Mappings:
Namespace Name Mixin selector official aLsk;a(Lafj;Ljava/lang/Class;)Zintermediary method_13929Lnet/minecraft/class_862;method_13929(Lnet/minecraft/class_1071;Ljava/lang/Class;)Znamed method_13929Lnet/minecraft/entity/passive/PassiveEntity;method_13929(Lnet/minecraft/item/ItemStack;Ljava/lang/Class;)Z
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official iLsn;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
age
public int age()- Mappings:
Namespace Name Mixin selector official lLsk;l()Iintermediary method_2459Lnet/minecraft/class_862;method_2459()Inamed ageLnet/minecraft/entity/passive/PassiveEntity;age()I
-
method_10925
public void method_10925(int int2, boolean bool) - Mappings:
Namespace Name Mixin selector official aLsk;a(IZ)Vintermediary method_10925Lnet/minecraft/class_862;method_10925(IZ)Vnamed method_10925Lnet/minecraft/entity/passive/PassiveEntity;method_10925(IZ)V
-
method_6095
public void method_6095(int int2) - Mappings:
Namespace Name Mixin selector official aLsk;a(I)Vintermediary method_6095Lnet/minecraft/class_862;method_6095(I)Vnamed method_6095Lnet/minecraft/entity/passive/PassiveEntity;method_6095(I)V
-
setAge
public void setAge(int int2) - Mappings:
Namespace Name Mixin selector official b_Lsk;b_(I)Vintermediary method_2458Lnet/minecraft/class_862;method_2458(I)Vnamed setAgeLnet/minecraft/entity/passive/PassiveEntity;setAge(I)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- 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
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- 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
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLsn;a(Lkk;)Vintermediary method_12974Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official nLsw;n()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
method_10926
protected void method_10926()- Mappings:
Namespace Name Mixin selector official oLsk;o()Vintermediary method_10926Lnet/minecraft/class_862;method_10926()Vnamed method_10926Lnet/minecraft/entity/passive/PassiveEntity;method_10926()V
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity- Mappings:
Namespace Name Mixin selector official l_Lsw;l_()Zintermediary method_2662Lnet/minecraft/class_1699;method_2662()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
method_5377
public void method_5377(boolean bool) - Mappings:
Namespace Name Mixin selector official aLsk;a(Z)Vintermediary method_5377Lnet/minecraft/class_862;method_5377(Z)Vnamed method_5377Lnet/minecraft/entity/passive/PassiveEntity;method_5377(Z)V
-
setBounds
protected final void setBounds(float width, float height) -
method_5378
protected final void method_5378(float float2) - Mappings:
Namespace Name Mixin selector official aLsk;a(F)Vintermediary method_5378Lnet/minecraft/class_862;method_5378(F)Vnamed method_5378Lnet/minecraft/entity/passive/PassiveEntity;method_5378(F)V
-