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 wsintermediary net/minecraft/class_862named net/minecraft/entity/passive/PassiveEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprivate 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, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, 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, 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_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, 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 TypeMethodDescriptionintage()abstract PassiveEntitybreed(PassiveEntity entity) booleancanBeLeashedBy(PlayerEntity player) protected voidbooleanisBaby()voidmethod_10925(int int2, boolean bool) protected voidvoidmethod_5377(boolean bool) protected final voidmethod_5378(float float2) voidmethod_6095(int int2) 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_6173, method_6175, setPositionTarget, shouldContinue, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, getAmbientSound, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getVisibilityCache, getXpToDrop, handleStatus, initEquipment, initialize, initializeAttributes, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2469, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, tick, tickNewAi, turnHead, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getDeathSound, getEffectInstance, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getHurtSound, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, 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, isSwimming, isTouchingLava, isTouchingWater, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
field_11896
protected int field_11896- Mappings:
Namespace Name Mixin selector official aLws;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 bLws;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 cLws;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 bkLws;bk: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 blLws;bl: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>Lwv;<init>(Laqu;)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 aLws;a(Lws;)Lws;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;
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classMobEntity- Mappings:
Namespace Name Mixin selector official aLxn;a(Lahd;)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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLwv;h()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 lLws;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 aLws;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 aLws;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 bLws;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 bLwv;b(Lfn;)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 aLwv;a(Lfn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official mLxm;m()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 nLws;n()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 i_Lxm;i_()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 aLws;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 aLws;a(F)Vintermediary method_5378Lnet/minecraft/class_862;method_5378(F)Vnamed method_5378Lnet/minecraft/entity/passive/PassiveEntity;method_5378(F)V
-