Class LivingEntity
- All Implemented Interfaces:
Attackable,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
ArmorStandEntity,MobEntity,PlayerEntity
- Mappings:
Namespace Name official biwintermediary net/minecraft/class_1309named net/minecraft/entity/LivingEntity
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprotected ItemStackprivate final Map<StatusEffect,StatusEffectInstance> private @Nullable LivingEntityprivate LivingEntityprotected @Nullable PlayerEntityprivate final AttributeContainerstatic final floatprotected intfloatprotected Brain<?>private final DamageTrackerprotected booleanstatic final intintfinal intprotected intprivate booleanstatic final intprivate booleanprivate static final intstatic final intprotected static final floatstatic final intstatic final intstatic final intstatic final intstatic final doubleprivate static final intprivate static final intprivate static final intprivate static final intprivate static final floatprotected floatfloatstatic final intstatic final doublebooleanfloatintprotected intfloatprivate static final TrackedData<Float>intprotected intprotected booleanprivate intprotected intprivate intprivate intprivate BlockPosprivate @Nullable DamageSourceprotected floatprivate longfloatprivate floatprivate floatfinal LimbAnimatorprotected static final TrackedData<Byte>private static final Loggerprotected floatprivate static final doubleintprivate floatprivate booleanprotected static final intprotected intprivate static final TrackedData<Boolean>private static final TrackedData<Integer>private static final UUIDfloatfloatprotected floatprotected floatfinal floatfinal floatprotected intprotected intprotected intprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doublefloatprotected static final EntityDimensionsprivate static final TrackedData<Optional<BlockPos>>private static final UUIDprivate static final EntityAttributeModifierprotected floatprivate static final TrackedData<Integer>private static final TrackedData<Integer>intintprivate final DefaultedList<ItemStack>private final DefaultedList<ItemStack>floatprotected static final intprotected static final intFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLivingEntity(EntityType<? extends LivingEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprotected voidprotected voidfinal booleanaddStatusEffect(StatusEffectInstance effect) Adds a status effect to this entity without specifying a source entity.booleanaddStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.voidanimateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).protected floatapplyArmorToDamage(DamageSource source, float amount) private Vec3dapplyClimbingSpeed(Vec3d motion) protected voidapplyDamage(DamageSource source, float amount) applyFluidMovingSpeed(double gravity, boolean falling, Vec3d motion) private voidapplyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity) protected voidapplyMovementInput(Vec3d movementInput, float slipperiness) booleanareItemsDifferent(ItemStack stack, ItemStack stack2) protected voidattackLivingEntity(LivingEntity target) voidbaseTick()booleanblockedByShield(DamageSource source) booleanprivate booleancanEnterTrapdoor(BlockPos pos, BlockState state) booleanbooleanReturns whether the entity can freeze.booleanbooleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.booleanbooleanbooleancanTarget(EntityType<?> type) booleancanTarget(LivingEntity target) booleanReturns whether the entity can use nether portals and end portals.booleancanWalkOnFluid(FluidState state) private voidcheckHandStackSwap(Map<EquipmentSlot, ItemStack> equipmentChanges) Notifies nearby players if the stacks in the hands have been swapped.voidprotected voidvoidbooleanprotected intcomputeFallDamage(float fallDistance, float damageMultiplier) protected voidstatic booleanprotected Brain.Profile<?>booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected voiddamageArmor(DamageSource source, float amount) protected voiddamageHelmet(DamageSource source, float amount) protected voiddamageShield(float amount) protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) voidbooleanprotected voidprotected voiddrop(DamageSource source) protected voiddropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops) protected voidprotected voiddropLoot(DamageSource damageSource, boolean causedByPlayer) protected voiddropXp()Drops experience when this entity is killed.voidvoidabstract voidequipStack(EquipmentSlot slot, ItemStack stack) Equipsstackatslot.This is also used to set an entity's mainhand or offhand stack.protected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.floatprotected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) intgetArmor()Returns an iterable of item stacks equipped as armor.floatdoubleprotected Vec3dReturns this entity's attack position.doublegetAttributeBaseValue(EntityAttribute attribute) doublegetAttributeBaseValue(RegistryEntry<EntityAttribute> attribute) getAttributeInstance(EntityAttribute attribute) doublegetAttributeValue(EntityAttribute attribute) doublegetAttributeValue(RegistryEntry<EntityAttribute> attribute) protected floatfloatReturns the body yaw of the entity.getBoundingBox(EntityPose pose) Brain<?>getBrain()protected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) floatprotected @Nullable SoundEventintgetDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.protected SoundEventgetDrinkSound(ItemStack stack) getEatSound(ItemStack stack) private static byteprivate @Nullable Map<EquipmentSlot,ItemStack> Returns the difference between the last sent equipment set and the current one.private static @Nullable EquipmentSlotgetEquipmentSlot(int slotId) abstract ItemStackprotected final floatgetEyeHeight(EntityPose pose, EntityDimensions dimensions) private SoundEventgetFallSound(int distance) getGroup()private intfloatgetHandSwingProgress(float tickDelta) floatReturns the head yaw of the entity.floatprotected @Nullable SoundEventgetHurtSound(DamageSource source) intintfloatprotected floatintintfloatgetLeaningPitch(float tickDelta) longabstract Armfinal floatfinal floatfloatprivate floatgetMovementSpeed(float slipperiness) protected intgetNextAirOnLand(int air) protected intgetNextAirUnderwater(int air) protected floatgetPassengerRidingPos(Entity passenger) getPoses()static EquipmentSlotgetProjectileType(ItemStack stack) floatgetRidingOffset(Entity vehicle) intgetRoll()protected floatgetSaddledSpeed(PlayerEntity controllingPlayer) floatfloatprotected floatgetStackInHand(Hand hand) getStackReference(int mappedIndex) Obtains a stack reference to be modified.private static StackReferencegetStackReference(LivingEntity entity, EquipmentSlot slot) getStatusEffect(StatusEffect effect) floatfinal intfinal intprivate ItemStackprivate ItemStackprotected floatintCalled when this entity is killed and returns the amount of experience to drop.floatgetYaw(float tickDelta) booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.booleanbooleanbooleanhasStatusEffect(StatusEffect effect) voidheal(float amount) Heals this entity by the givenamountof half-hearts.booleanprotected voidInitializes data tracker.booleanbooleanisAlive()Returns whether the entity is alive.protected booleanisArmorSlot(EquipmentSlot slot) booleanisBaby()booleanbooleanbooleanisDead()booleanbooleanbooleanReturns whether the entity is glowing, checking the entity flags on the client.booleanChecks if this entity is holding a certain item.booleanChecks if this entity is holding a certain item.booleanprotected booleanbooleanReturns whether the entity is in a wall and should suffocate.booleanReturns whether the entity is in swimming pose.booleanprotected booleanbooleanbooleanReturns whether the entity can be pushed by other entities.booleanprivate booleanbooleanisTarget(LivingEntity entity, TargetPredicate predicate) booleanisUndead()booleanbooleanprotected voidjump()voidkill()Kills the entity.protected voidknockback(LivingEntity target) protected voidvoidlookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget.protected voidprotected voidmethod_52539(int int2, double double2) protected floatmodifyAppliedDamage(DamageSource source, float amount) Returns the modified damage value for the applieddamage.voidonAttacking(Entity target) voidonDamaged(DamageSource damageSource) voidonDeath(DamageSource damageSource) private voidonDismounted(Entity vehicle) voidonEquipStack(EquipmentSlot slot, ItemStack oldStack, ItemStack newStack) protected voidonKilledBy(@Nullable LivingEntity adversary) Performs secondary effects after this mob has been killed.voidonSpawnPacket(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.protected voidonStatusEffectApplied(StatusEffectInstance effect, @Nullable Entity source) protected voidprotected voidonStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected voidprivate voidprotected voidplayHurtSound(DamageSource source) protected Vec3dpositionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.static Vec3dpositionInPortal(Vec3d pos) protected voidprocessEquippedStack(ItemStack stack) protected voidvoidpushAwayFrom(Entity entity) voidReads custom data fromnbt.voidremove(Entity.RemovalReason reason) Removes the entity.protected voidprotected voidbooleanRemoves a status effect from this entity.Removes a status effect from this entity without calling any listener.voidvoidprivate voidSends equipment changes to nearby players.private voidsendEquipmentChanges(Map<EquipmentSlot, ItemStack> equipmentChanges) Sends equipment changes to nearby players.voidsendPickup(Entity item, int count) voidsendToolBreakStatus(Hand hand) final voidsetAbsorptionAmount(float absorptionAmount) protected voidsetAbsorptionAmountUnclamped(float absorptionAmount) voidsetAttacker(@Nullable LivingEntity attacker) voidsetAttacking(@Nullable PlayerEntity attacking) voidsetBodyYaw(float bodyYaw) Sets the body yaw of this entity.voidsetCurrentHand(Hand hand) voidsetDespawnCounter(int despawnCounter) voidsetHeadYaw(float headYaw) Sets the head yaw of this entity.voidsetHealth(float health) voidsetJumping(boolean jumping) protected voidsetLivingFlag(int mask, boolean value) voidsetMovementSpeed(float movementSpeed) voidsetNearbySongPlaying(BlockPos songPosition, boolean playing) voidsetNoDrag(boolean noDrag) private voidsetPositionInBed(BlockPos pos) voidvoidsetSprinting(boolean sprinting) Sets whether the entity is sprinting.voidsetStackInHand(Hand hand, ItemStack stack) voidsetStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Sets a status effect in this entity.final voidsetStingerCount(int stingerCount) final voidsetStuckArrowCount(int stuckArrowCount) private voidsetSyncedArmorStack(EquipmentSlot slot, ItemStack armor) private voidsetSyncedHandStack(EquipmentSlot slot, ItemStack stack) protected booleanReturns if this entity may always drop experience, skipping any other checks.booleanprotected booleanbooleanReturns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.protected booleanshouldRemoveSoulSpeedBoost(BlockState landingState) booleanReturns whether to render the name of the entity.private booleanprotected booleanvoidprotected voidspawnConsumptionEffects(ItemStack stack, int particleCount) private voidspawnItemParticles(ItemStack stack, int count) voidStops riding the vehicle if present.voidprivate voidprotected voidswimUpward(TagKey<Fluid> fluid) voidvoidvoidtakeKnockback(double strength, double x, double z) protected voidtakeShieldHit(LivingEntity attacker) booleanteleport(double x, double y, double z, boolean particleEffects) voidtick()Ticks this entity.private voidprotected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidprivate voidprotected voidprotected voidCalled when the entity is 64 blocks below the world's minimum Y position.protected voidtickItemStackUsage(ItemStack stack) voidprotected voidvoidprotected voidtickRiptide(Box a, Box b) protected voidvoidtiltScreen(double deltaX, double deltaZ) voidAllows you to do certain speed and velocity calculations.private voidtravelControlled(PlayerEntity controllingPlayer, Vec3d movementInput) voidCalled to trigger advancement criteria when an entity picks up an item thrown by a player.booleanprivate booleantryUseTotem(DamageSource source) protected floatturnHead(float bodyRotation, float headRotation) private voidupdateAttribute(EntityAttribute attribute) private voidprivate voidprivate voidvoidupdateLimbs(boolean flutter) protected voidupdateLimbs(float posDelta) protected voidprotected voidvoidupdateTrackedHeadRotation(float yaw, int interpolationSteps) voidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) voidwakeUp()Wakes this entity up.protected booleanvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, checkDespawn, checkWaterState, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUnscaledRidingOffset, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLbiw;b:Lorg/slf4j/Logger;intermediary field_36332Lnet/minecraft/class_1309;field_36332:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/entity/LivingEntity;LOGGER:Lorg/slf4j/Logger;
-
SOUL_SPEED_BOOST_ID
- Mappings:
Namespace Name Mixin selector official cLbiw;c:Ljava/util/UUID;intermediary field_23128Lnet/minecraft/class_1309;field_23128:Ljava/util/UUID;named SOUL_SPEED_BOOST_IDLnet/minecraft/entity/LivingEntity;SOUL_SPEED_BOOST_ID:Ljava/util/UUID;
-
POWDER_SNOW_SLOW_ID
- Mappings:
Namespace Name Mixin selector official dLbiw;d:Ljava/util/UUID;intermediary field_27859Lnet/minecraft/class_1309;field_27859:Ljava/util/UUID;named POWDER_SNOW_SLOW_IDLnet/minecraft/entity/LivingEntity;POWDER_SNOW_SLOW_ID:Ljava/util/UUID;
-
SPRINTING_SPEED_BOOST
- Mappings:
Namespace Name Mixin selector official eLbiw;e:Lbkb;intermediary field_6231Lnet/minecraft/class_1309;field_6231:Lnet/minecraft/class_1322;named SPRINTING_SPEED_BOOSTLnet/minecraft/entity/LivingEntity;SPRINTING_SPEED_BOOST:Lnet/minecraft/entity/attribute/EntityAttributeModifier;
-
field_30069
public static final int field_30069- See Also:
- Mappings:
Namespace Name Mixin selector official gLbiw;g:Iintermediary field_30069Lnet/minecraft/class_1309;field_30069:Inamed field_30069Lnet/minecraft/entity/LivingEntity;field_30069:I
-
field_30070
public static final int field_30070- See Also:
- Mappings:
Namespace Name Mixin selector official hLbiw;h:Iintermediary field_30070Lnet/minecraft/class_1309;field_30070:Inamed field_30070Lnet/minecraft/entity/LivingEntity;field_30070:I
-
EQUIPMENT_SLOT_ID
public static final int EQUIPMENT_SLOT_ID- See Also:
- Mappings:
Namespace Name Mixin selector official iLbiw;i:Iintermediary field_30071Lnet/minecraft/class_1309;field_30071:Inamed EQUIPMENT_SLOT_IDLnet/minecraft/entity/LivingEntity;EQUIPMENT_SLOT_ID:I
-
field_30072
public static final int field_30072- See Also:
- Mappings:
Namespace Name Mixin selector official jLbiw;j:Iintermediary field_30072Lnet/minecraft/class_1309;field_30072:Inamed field_30072Lnet/minecraft/entity/LivingEntity;field_30072:I
-
GLOWING_FLAG
public static final int GLOWING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official kLbiw;k:Iintermediary field_30073Lnet/minecraft/class_1309;field_30073:Inamed GLOWING_FLAGLnet/minecraft/entity/LivingEntity;GLOWING_FLAG:I
-
field_30074
public static final int field_30074- See Also:
- Mappings:
Namespace Name Mixin selector official lLbiw;l:Iintermediary field_30074Lnet/minecraft/class_1309;field_30074:Inamed field_30074Lnet/minecraft/entity/LivingEntity;field_30074:I
-
field_30078
private static final int field_30078- See Also:
- Mappings:
Namespace Name Mixin selector official bALbiw;bA:Iintermediary field_30078Lnet/minecraft/class_1309;field_30078:Inamed field_30078Lnet/minecraft/entity/LivingEntity;field_30078:I
-
field_30075
public static final double field_30075- See Also:
- Mappings:
Namespace Name Mixin selector official mLbiw;m:Dintermediary field_30075Lnet/minecraft/class_1309;field_30075:Dnamed field_30075Lnet/minecraft/entity/LivingEntity;field_30075:D
-
GRAVITY
public static final double GRAVITY- See Also:
- Mappings:
Namespace Name Mixin selector official nLbiw;n:Dintermediary field_30076Lnet/minecraft/class_1309;field_30076:Dnamed GRAVITYLnet/minecraft/entity/LivingEntity;GRAVITY:D
-
DEATH_TICKS
public static final int DEATH_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector official oLbiw;o:Iintermediary field_30077Lnet/minecraft/class_1309;field_30077:Inamed DEATH_TICKSLnet/minecraft/entity/LivingEntity;DEATH_TICKS:I
-
FALL_FLYING_FLAG
private static final int FALL_FLYING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official bBLbiw;bB:Iintermediary field_30079Lnet/minecraft/class_1309;field_30079:Inamed FALL_FLYING_FLAGLnet/minecraft/entity/LivingEntity;FALL_FLYING_FLAG:I
-
field_30080
private static final int field_30080- See Also:
- Mappings:
Namespace Name Mixin selector official bCLbiw;bC:Iintermediary field_30080Lnet/minecraft/class_1309;field_30080:Inamed field_30080Lnet/minecraft/entity/LivingEntity;field_30080:I
-
field_30081
private static final int field_30081- See Also:
- Mappings:
Namespace Name Mixin selector official bDLbiw;bD:Iintermediary field_30081Lnet/minecraft/class_1309;field_30081:Inamed field_30081Lnet/minecraft/entity/LivingEntity;field_30081:I
-
field_30063
public static final int field_30063- See Also:
- Mappings:
Namespace Name Mixin selector official pLbiw;p:Iintermediary field_30063Lnet/minecraft/class_1309;field_30063:Inamed field_30063Lnet/minecraft/entity/LivingEntity;field_30063:I
-
field_44874
private static final float field_44874- See Also:
- Mappings:
Namespace Name Mixin selector official bELbiw;bE:Fintermediary field_44874Lnet/minecraft/class_1309;field_44874:Fnamed field_44874Lnet/minecraft/entity/LivingEntity;field_44874:F
-
MAX_ENTITY_VIEWING_DISTANCE
private static final double MAX_ENTITY_VIEWING_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official bFLbiw;bF:Dintermediary field_33908Lnet/minecraft/class_1309;field_33908:Dnamed MAX_ENTITY_VIEWING_DISTANCELnet/minecraft/entity/LivingEntity;MAX_ENTITY_VIEWING_DISTANCE:D
-
USING_ITEM_FLAG
protected static final int USING_ITEM_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official qLbiw;q:Iintermediary field_30064Lnet/minecraft/class_1309;field_30064:Inamed USING_ITEM_FLAGLnet/minecraft/entity/LivingEntity;USING_ITEM_FLAG:I
-
OFF_HAND_ACTIVE_FLAG
protected static final int OFF_HAND_ACTIVE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official rLbiw;r:Iintermediary field_30065Lnet/minecraft/class_1309;field_30065:Inamed OFF_HAND_ACTIVE_FLAGLnet/minecraft/entity/LivingEntity;OFF_HAND_ACTIVE_FLAG:I
-
USING_RIPTIDE_FLAG
protected static final int USING_RIPTIDE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official sLbiw;s:Iintermediary field_30066Lnet/minecraft/class_1309;field_30066:Inamed USING_RIPTIDE_FLAGLnet/minecraft/entity/LivingEntity;USING_RIPTIDE_FLAG:I
-
LIVING_FLAGS
- Mappings:
Namespace Name Mixin selector official tLbiw;t:Ladx;intermediary field_6257Lnet/minecraft/class_1309;field_6257:Lnet/minecraft/class_2940;named LIVING_FLAGSLnet/minecraft/entity/LivingEntity;LIVING_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
HEALTH
- Mappings:
Namespace Name Mixin selector official bGLbiw;bG:Ladx;intermediary field_6247Lnet/minecraft/class_1309;field_6247:Lnet/minecraft/class_2940;named HEALTHLnet/minecraft/entity/LivingEntity;HEALTH:Lnet/minecraft/entity/data/TrackedData;
-
POTION_SWIRLS_COLOR
- Mappings:
Namespace Name Mixin selector official bHLbiw;bH:Ladx;intermediary field_6240Lnet/minecraft/class_1309;field_6240:Lnet/minecraft/class_2940;named POTION_SWIRLS_COLORLnet/minecraft/entity/LivingEntity;POTION_SWIRLS_COLOR:Lnet/minecraft/entity/data/TrackedData;
-
POTION_SWIRLS_AMBIENT
- Mappings:
Namespace Name Mixin selector official bILbiw;bI:Ladx;intermediary field_6214Lnet/minecraft/class_1309;field_6214:Lnet/minecraft/class_2940;named POTION_SWIRLS_AMBIENTLnet/minecraft/entity/LivingEntity;POTION_SWIRLS_AMBIENT:Lnet/minecraft/entity/data/TrackedData;
-
STUCK_ARROW_COUNT
- Mappings:
Namespace Name Mixin selector official bJLbiw;bJ:Ladx;intermediary field_6219Lnet/minecraft/class_1309;field_6219:Lnet/minecraft/class_2940;named STUCK_ARROW_COUNTLnet/minecraft/entity/LivingEntity;STUCK_ARROW_COUNT:Lnet/minecraft/entity/data/TrackedData;
-
STINGER_COUNT
- Mappings:
Namespace Name Mixin selector official bKLbiw;bK:Ladx;intermediary field_20348Lnet/minecraft/class_1309;field_20348:Lnet/minecraft/class_2940;named STINGER_COUNTLnet/minecraft/entity/LivingEntity;STINGER_COUNT:Lnet/minecraft/entity/data/TrackedData;
-
SLEEPING_POSITION
- Mappings:
Namespace Name Mixin selector official bLLbiw;bL:Ladx;intermediary field_18073Lnet/minecraft/class_1309;field_18073:Lnet/minecraft/class_2940;named SLEEPING_POSITIONLnet/minecraft/entity/LivingEntity;SLEEPING_POSITION:Lnet/minecraft/entity/data/TrackedData;
-
field_30067
protected static final float field_30067- See Also:
- Mappings:
Namespace Name Mixin selector official uLbiw;u:Fintermediary field_30067Lnet/minecraft/class_1309;field_30067:Fnamed field_30067Lnet/minecraft/entity/LivingEntity;field_30067:F
-
SLEEPING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official vLbiw;v:Lbih;intermediary field_18072Lnet/minecraft/class_1309;field_18072:Lnet/minecraft/class_4048;named SLEEPING_DIMENSIONSLnet/minecraft/entity/LivingEntity;SLEEPING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
BABY_SCALE_FACTOR
public static final float BABY_SCALE_FACTOR- See Also:
- Mappings:
Namespace Name Mixin selector official aELbiw;aE:Fintermediary field_30068Lnet/minecraft/class_1309;field_30068:Fnamed BABY_SCALE_FACTORLnet/minecraft/entity/LivingEntity;BABY_SCALE_FACTOR:F
-
field_42636
private static final int field_42636- See Also:
- Mappings:
Namespace Name Mixin selector official bMLbiw;bM:Iintermediary field_42636Lnet/minecraft/class_1309;field_42636:Inamed field_42636Lnet/minecraft/entity/LivingEntity;field_42636:I
-
attributes
- Mappings:
Namespace Name Mixin selector official bNLbiw;bN:Lbka;intermediary field_6260Lnet/minecraft/class_1309;field_6260:Lnet/minecraft/class_5131;named attributesLnet/minecraft/entity/LivingEntity;attributes:Lnet/minecraft/entity/attribute/AttributeContainer;
-
damageTracker
- Mappings:
Namespace Name Mixin selector official bOLbiw;bO:Lbhb;intermediary field_6256Lnet/minecraft/class_1309;field_6256:Lnet/minecraft/class_1283;named damageTrackerLnet/minecraft/entity/LivingEntity;damageTracker:Lnet/minecraft/entity/damage/DamageTracker;
-
activeStatusEffects
- Mappings:
Namespace Name Mixin selector official bPLbiw;bP:Ljava/util/Map;intermediary field_6280Lnet/minecraft/class_1309;field_6280:Ljava/util/Map;named activeStatusEffectsLnet/minecraft/entity/LivingEntity;activeStatusEffects:Ljava/util/Map;
-
syncedHandStacks
- Mappings:
Namespace Name Mixin selector official bQLbiw;bQ:Lho;intermediary field_6234Lnet/minecraft/class_1309;field_6234:Lnet/minecraft/class_2371;named syncedHandStacksLnet/minecraft/entity/LivingEntity;syncedHandStacks:Lnet/minecraft/util/collection/DefaultedList;
-
syncedArmorStacks
- Mappings:
Namespace Name Mixin selector official bRLbiw;bR:Lho;intermediary field_6248Lnet/minecraft/class_1309;field_6248:Lnet/minecraft/class_2371;named syncedArmorStacksLnet/minecraft/entity/LivingEntity;syncedArmorStacks:Lnet/minecraft/util/collection/DefaultedList;
-
handSwinging
public boolean handSwinging- Mappings:
Namespace Name Mixin selector official aFLbiw;aF:Zintermediary field_6252Lnet/minecraft/class_1309;field_6252:Znamed handSwingingLnet/minecraft/entity/LivingEntity;handSwinging:Z
-
noDrag
private boolean noDrag- Mappings:
Namespace Name Mixin selector official bSLbiw;bS:Zintermediary field_30082Lnet/minecraft/class_1309;field_30082:Znamed noDragLnet/minecraft/entity/LivingEntity;noDrag:Z
-
preferredHand
- Mappings:
Namespace Name Mixin selector official aGLbiw;aG:Lbgn;intermediary field_6266Lnet/minecraft/class_1309;field_6266:Lnet/minecraft/class_1268;named preferredHandLnet/minecraft/entity/LivingEntity;preferredHand:Lnet/minecraft/util/Hand;
-
handSwingTicks
public int handSwingTicks- Mappings:
Namespace Name Mixin selector official aHLbiw;aH:Iintermediary field_6279Lnet/minecraft/class_1309;field_6279:Inamed handSwingTicksLnet/minecraft/entity/LivingEntity;handSwingTicks:I
-
stuckArrowTimer
public int stuckArrowTimer- Mappings:
Namespace Name Mixin selector official aILbiw;aI:Iintermediary field_6218Lnet/minecraft/class_1309;field_6218:Inamed stuckArrowTimerLnet/minecraft/entity/LivingEntity;stuckArrowTimer:I
-
stuckStingerTimer
public int stuckStingerTimer- Mappings:
Namespace Name Mixin selector official aJLbiw;aJ:Iintermediary field_20347Lnet/minecraft/class_1309;field_20347:Inamed stuckStingerTimerLnet/minecraft/entity/LivingEntity;stuckStingerTimer:I
-
hurtTime
public int hurtTime- Mappings:
Namespace Name Mixin selector official aKLbiw;aK:Iintermediary field_6235Lnet/minecraft/class_1309;field_6235:Inamed hurtTimeLnet/minecraft/entity/LivingEntity;hurtTime:I
-
maxHurtTime
public int maxHurtTime- Mappings:
Namespace Name Mixin selector official aLLbiw;aL:Iintermediary field_6254Lnet/minecraft/class_1309;field_6254:Inamed maxHurtTimeLnet/minecraft/entity/LivingEntity;maxHurtTime:I
-
deathTime
public int deathTime- Mappings:
Namespace Name Mixin selector official aMLbiw;aM:Iintermediary field_6213Lnet/minecraft/class_1309;field_6213:Inamed deathTimeLnet/minecraft/entity/LivingEntity;deathTime:I
-
lastHandSwingProgress
public float lastHandSwingProgress- Mappings:
Namespace Name Mixin selector official aNLbiw;aN:Fintermediary field_6229Lnet/minecraft/class_1309;field_6229:Fnamed lastHandSwingProgressLnet/minecraft/entity/LivingEntity;lastHandSwingProgress:F
-
handSwingProgress
public float handSwingProgress- Mappings:
Namespace Name Mixin selector official aOLbiw;aO:Fintermediary field_6251Lnet/minecraft/class_1309;field_6251:Fnamed handSwingProgressLnet/minecraft/entity/LivingEntity;handSwingProgress:F
-
lastAttackedTicks
protected int lastAttackedTicks- Mappings:
Namespace Name Mixin selector official aPLbiw;aP:Iintermediary field_6273Lnet/minecraft/class_1309;field_6273:Inamed lastAttackedTicksLnet/minecraft/entity/LivingEntity;lastAttackedTicks:I
-
limbAnimator
- Mappings:
Namespace Name Mixin selector official aQLbiw;aQ:Lbjw;intermediary field_42108Lnet/minecraft/class_1309;field_42108:Lnet/minecraft/class_8080;named limbAnimatorLnet/minecraft/entity/LivingEntity;limbAnimator:Lnet/minecraft/entity/LimbAnimator;
-
defaultMaxHealth
public final int defaultMaxHealth- See Also:
- Mappings:
Namespace Name Mixin selector official aRLbiw;aR:Iintermediary field_6269Lnet/minecraft/class_1309;field_6269:Inamed defaultMaxHealthLnet/minecraft/entity/LivingEntity;defaultMaxHealth:I
-
randomLargeSeed
public final float randomLargeSeed- Mappings:
Namespace Name Mixin selector official aSLbiw;aS:Fintermediary field_6244Lnet/minecraft/class_1309;field_6244:Fnamed randomLargeSeedLnet/minecraft/entity/LivingEntity;randomLargeSeed:F
-
randomSmallSeed
public final float randomSmallSeed- Mappings:
Namespace Name Mixin selector official aTLbiw;aT:Fintermediary field_6262Lnet/minecraft/class_1309;field_6262:Fnamed randomSmallSeedLnet/minecraft/entity/LivingEntity;randomSmallSeed:F
-
bodyYaw
public float bodyYaw- Mappings:
Namespace Name Mixin selector official aULbiw;aU:Fintermediary field_6283Lnet/minecraft/class_1309;field_6283:Fnamed bodyYawLnet/minecraft/entity/LivingEntity;bodyYaw:F
-
prevBodyYaw
public float prevBodyYaw- Mappings:
Namespace Name Mixin selector official aVLbiw;aV:Fintermediary field_6220Lnet/minecraft/class_1309;field_6220:Fnamed prevBodyYawLnet/minecraft/entity/LivingEntity;prevBodyYaw:F
-
headYaw
public float headYaw- Mappings:
Namespace Name Mixin selector official aWLbiw;aW:Fintermediary field_6241Lnet/minecraft/class_1309;field_6241:Fnamed headYawLnet/minecraft/entity/LivingEntity;headYaw:F
-
prevHeadYaw
public float prevHeadYaw- Mappings:
Namespace Name Mixin selector official aXLbiw;aX:Fintermediary field_6259Lnet/minecraft/class_1309;field_6259:Fnamed prevHeadYawLnet/minecraft/entity/LivingEntity;prevHeadYaw:F
-
attackingPlayer
- Mappings:
Namespace Name Mixin selector official aYLbiw;aY:Lcbl;intermediary field_6258Lnet/minecraft/class_1309;field_6258:Lnet/minecraft/class_1657;named attackingPlayerLnet/minecraft/entity/LivingEntity;attackingPlayer:Lnet/minecraft/entity/player/PlayerEntity;
-
playerHitTimer
protected int playerHitTimer- Mappings:
Namespace Name Mixin selector official aZLbiw;aZ:Iintermediary field_6238Lnet/minecraft/class_1309;field_6238:Inamed playerHitTimerLnet/minecraft/entity/LivingEntity;playerHitTimer:I
-
dead
protected boolean dead- Mappings:
Namespace Name Mixin selector official baLbiw;ba:Zintermediary field_6272Lnet/minecraft/class_1309;field_6272:Znamed deadLnet/minecraft/entity/LivingEntity;dead:Z
-
despawnCounter
protected int despawnCounter- Mappings:
Namespace Name Mixin selector official bbLbiw;bb:Iintermediary field_6278Lnet/minecraft/class_1309;field_6278:Inamed despawnCounterLnet/minecraft/entity/LivingEntity;despawnCounter:I
-
prevStepBobbingAmount
protected float prevStepBobbingAmount- Mappings:
Namespace Name Mixin selector official bcLbiw;bc:Fintermediary field_6217Lnet/minecraft/class_1309;field_6217:Fnamed prevStepBobbingAmountLnet/minecraft/entity/LivingEntity;prevStepBobbingAmount:F
-
stepBobbingAmount
protected float stepBobbingAmount- Mappings:
Namespace Name Mixin selector official bdLbiw;bd:Fintermediary field_6233Lnet/minecraft/class_1309;field_6233:Fnamed stepBobbingAmountLnet/minecraft/entity/LivingEntity;stepBobbingAmount:F
-
lookDirection
protected float lookDirection- Mappings:
Namespace Name Mixin selector official beLbiw;be:Fintermediary field_6255Lnet/minecraft/class_1309;field_6255:Fnamed lookDirectionLnet/minecraft/entity/LivingEntity;lookDirection:F
-
prevLookDirection
protected float prevLookDirection- Mappings:
Namespace Name Mixin selector official bfLbiw;bf:Fintermediary field_6275Lnet/minecraft/class_1309;field_6275:Fnamed prevLookDirectionLnet/minecraft/entity/LivingEntity;prevLookDirection:F
-
field_6215
protected float field_6215- Mappings:
Namespace Name Mixin selector official bgLbiw;bg:Fintermediary field_6215Lnet/minecraft/class_1309;field_6215:Fnamed field_6215Lnet/minecraft/entity/LivingEntity;field_6215:F
-
scoreAmount
protected int scoreAmount- Mappings:
Namespace Name Mixin selector official bhLbiw;bh:Iintermediary field_6232Lnet/minecraft/class_1309;field_6232:Inamed scoreAmountLnet/minecraft/entity/LivingEntity;scoreAmount:I
-
lastDamageTaken
protected float lastDamageTaken- Mappings:
Namespace Name Mixin selector official biLbiw;bi:Fintermediary field_6253Lnet/minecraft/class_1309;field_6253:Fnamed lastDamageTakenLnet/minecraft/entity/LivingEntity;lastDamageTaken:F
-
jumping
protected boolean jumping- Mappings:
Namespace Name Mixin selector official bjLbiw;bj:Zintermediary field_6282Lnet/minecraft/class_1309;field_6282:Znamed jumpingLnet/minecraft/entity/LivingEntity;jumping:Z
-
sidewaysSpeed
public float sidewaysSpeed- Mappings:
Namespace Name Mixin selector official bkLbiw;bk:Fintermediary field_6212Lnet/minecraft/class_1309;field_6212:Fnamed sidewaysSpeedLnet/minecraft/entity/LivingEntity;sidewaysSpeed:F
-
upwardSpeed
public float upwardSpeed- Mappings:
Namespace Name Mixin selector official blLbiw;bl:Fintermediary field_6227Lnet/minecraft/class_1309;field_6227:Fnamed upwardSpeedLnet/minecraft/entity/LivingEntity;upwardSpeed:F
-
forwardSpeed
public float forwardSpeed- Mappings:
Namespace Name Mixin selector official bmLbiw;bm:Fintermediary field_6250Lnet/minecraft/class_1309;field_6250:Fnamed forwardSpeedLnet/minecraft/entity/LivingEntity;forwardSpeed:F
-
bodyTrackingIncrements
protected int bodyTrackingIncrements- Mappings:
Namespace Name Mixin selector official bnLbiw;bn:Iintermediary field_6210Lnet/minecraft/class_1309;field_6210:Inamed bodyTrackingIncrementsLnet/minecraft/entity/LivingEntity;bodyTrackingIncrements:I
-
serverX
protected double serverX- Mappings:
Namespace Name Mixin selector official boLbiw;bo:Dintermediary field_6224Lnet/minecraft/class_1309;field_6224:Dnamed serverXLnet/minecraft/entity/LivingEntity;serverX:D
-
serverY
protected double serverY- Mappings:
Namespace Name Mixin selector official bpLbiw;bp:Dintermediary field_6245Lnet/minecraft/class_1309;field_6245:Dnamed serverYLnet/minecraft/entity/LivingEntity;serverY:D
-
serverZ
protected double serverZ- Mappings:
Namespace Name Mixin selector official bqLbiw;bq:Dintermediary field_6263Lnet/minecraft/class_1309;field_6263:Dnamed serverZLnet/minecraft/entity/LivingEntity;serverZ:D
-
serverYaw
protected double serverYaw- Mappings:
Namespace Name Mixin selector official brLbiw;br:Dintermediary field_6284Lnet/minecraft/class_1309;field_6284:Dnamed serverYawLnet/minecraft/entity/LivingEntity;serverYaw:D
-
serverPitch
protected double serverPitch- Mappings:
Namespace Name Mixin selector official bsLbiw;bs:Dintermediary field_6221Lnet/minecraft/class_1309;field_6221:Dnamed serverPitchLnet/minecraft/entity/LivingEntity;serverPitch:D
-
serverHeadYaw
protected double serverHeadYaw- Mappings:
Namespace Name Mixin selector official btLbiw;bt:Dintermediary field_45123Lnet/minecraft/class_1309;field_45123:Dnamed serverHeadYawLnet/minecraft/entity/LivingEntity;serverHeadYaw:D
-
headTrackingIncrements
protected int headTrackingIncrements- Mappings:
Namespace Name Mixin selector official buLbiw;bu:Iintermediary field_6265Lnet/minecraft/class_1309;field_6265:Inamed headTrackingIncrementsLnet/minecraft/entity/LivingEntity;headTrackingIncrements:I
-
effectsChanged
private boolean effectsChanged- Mappings:
Namespace Name Mixin selector official bTLbiw;bT:Zintermediary field_6285Lnet/minecraft/class_1309;field_6285:Znamed effectsChangedLnet/minecraft/entity/LivingEntity;effectsChanged:Z
-
attacker
- Mappings:
Namespace Name Mixin selector official bULbiw;bU:Lbiw;intermediary field_6274Lnet/minecraft/class_1309;field_6274:Lnet/minecraft/class_1309;named attackerLnet/minecraft/entity/LivingEntity;attacker:Lnet/minecraft/entity/LivingEntity;
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector official bVLbiw;bV:Iintermediary field_6230Lnet/minecraft/class_1309;field_6230:Inamed lastAttackedTimeLnet/minecraft/entity/LivingEntity;lastAttackedTime:I
-
attacking
- Mappings:
Namespace Name Mixin selector official bWLbiw;bW:Lbiw;intermediary field_6236Lnet/minecraft/class_1309;field_6236:Lnet/minecraft/class_1309;named attackingLnet/minecraft/entity/LivingEntity;attacking:Lnet/minecraft/entity/LivingEntity;
-
lastAttackTime
private int lastAttackTime- Mappings:
Namespace Name Mixin selector official bXLbiw;bX:Iintermediary field_6270Lnet/minecraft/class_1309;field_6270:Inamed lastAttackTimeLnet/minecraft/entity/LivingEntity;lastAttackTime:I
-
movementSpeed
private float movementSpeed- Mappings:
Namespace Name Mixin selector official bYLbiw;bY:Fintermediary field_6287Lnet/minecraft/class_1309;field_6287:Fnamed movementSpeedLnet/minecraft/entity/LivingEntity;movementSpeed:F
-
jumpingCooldown
private int jumpingCooldown- Mappings:
Namespace Name Mixin selector official bZLbiw;bZ:Iintermediary field_6228Lnet/minecraft/class_1309;field_6228:Inamed jumpingCooldownLnet/minecraft/entity/LivingEntity;jumpingCooldown:I
-
absorptionAmount
private float absorptionAmount- Mappings:
Namespace Name Mixin selector official caLbiw;ca:Fintermediary field_6246Lnet/minecraft/class_1309;field_6246:Fnamed absorptionAmountLnet/minecraft/entity/LivingEntity;absorptionAmount:F
-
activeItemStack
- Mappings:
Namespace Name Mixin selector official bvLbiw;bv:Lciw;intermediary field_6277Lnet/minecraft/class_1309;field_6277:Lnet/minecraft/class_1799;named activeItemStackLnet/minecraft/entity/LivingEntity;activeItemStack:Lnet/minecraft/item/ItemStack;
-
itemUseTimeLeft
protected int itemUseTimeLeft- Mappings:
Namespace Name Mixin selector official bwLbiw;bw:Iintermediary field_6222Lnet/minecraft/class_1309;field_6222:Inamed itemUseTimeLeftLnet/minecraft/entity/LivingEntity;itemUseTimeLeft:I
-
roll
protected int roll- Mappings:
Namespace Name Mixin selector official bxLbiw;bx:Iintermediary field_6239Lnet/minecraft/class_1309;field_6239:Inamed rollLnet/minecraft/entity/LivingEntity;roll:I
-
lastBlockPos
- Mappings:
Namespace Name Mixin selector official cbLbiw;cb:Lgv;intermediary field_6268Lnet/minecraft/class_1309;field_6268:Lnet/minecraft/class_2338;named lastBlockPosLnet/minecraft/entity/LivingEntity;lastBlockPos:Lnet/minecraft/util/math/BlockPos;
-
climbingPos
- Mappings:
Namespace Name Mixin selector official ccLbiw;cc:Ljava/util/Optional;intermediary field_22418Lnet/minecraft/class_1309;field_22418:Ljava/util/Optional;named climbingPosLnet/minecraft/entity/LivingEntity;climbingPos:Ljava/util/Optional;
-
lastDamageSource
- Mappings:
Namespace Name Mixin selector official cdLbiw;cd:Lbhe;intermediary field_6276Lnet/minecraft/class_1309;field_6276:Lnet/minecraft/class_1282;named lastDamageSourceLnet/minecraft/entity/LivingEntity;lastDamageSource:Lnet/minecraft/entity/damage/DamageSource;
-
lastDamageTime
private long lastDamageTime- Mappings:
Namespace Name Mixin selector official ceLbiw;ce:Jintermediary field_6226Lnet/minecraft/class_1309;field_6226:Jnamed lastDamageTimeLnet/minecraft/entity/LivingEntity;lastDamageTime:J
-
riptideTicks
protected int riptideTicks- Mappings:
Namespace Name Mixin selector official byLbiw;by:Iintermediary field_6261Lnet/minecraft/class_1309;field_6261:Inamed riptideTicksLnet/minecraft/entity/LivingEntity;riptideTicks:I
-
leaningPitch
private float leaningPitch- Mappings:
Namespace Name Mixin selector official cfLbiw;cf:Fintermediary field_6243Lnet/minecraft/class_1309;field_6243:Fnamed leaningPitchLnet/minecraft/entity/LivingEntity;leaningPitch:F
-
lastLeaningPitch
private float lastLeaningPitch- Mappings:
Namespace Name Mixin selector official cgLbiw;cg:Fintermediary field_6264Lnet/minecraft/class_1309;field_6264:Fnamed lastLeaningPitchLnet/minecraft/entity/LivingEntity;lastLeaningPitch:F
-
brain
- Mappings:
Namespace Name Mixin selector official bzLbiw;bz:Lbjx;intermediary field_18321Lnet/minecraft/class_1309;field_18321:Lnet/minecraft/class_4095;named brainLnet/minecraft/entity/LivingEntity;brain:Lnet/minecraft/entity/ai/brain/Brain;
-
experienceDroppingDisabled
private boolean experienceDroppingDisabled- Mappings:
Namespace Name Mixin selector official chLbiw;ch:Zintermediary field_37421Lnet/minecraft/class_1309;field_37421:Znamed experienceDroppingDisabledLnet/minecraft/entity/LivingEntity;experienceDroppingDisabled:Z
-
-
Constructor Details
-
LivingEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbig;<init>(Lbik;Lcpk;)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
-
-
Method Details
-
getBrain
- Mappings:
Namespace Name Mixin selector official dMLbiw;dM()Lbjx;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
createBrainProfile
- Mappings:
Namespace Name Mixin selector official dNLbiw;dN()Lbjx$b;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lcom/mojang/serialization/Dynamic;)Lbjx;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
kill
public void kill()Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIEgame event. -
canTarget
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbik;)Zintermediary method_5973Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Znamed canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Specified by:
initDataTrackerin classEntity- Mappings:
Namespace Name Mixin selector official a_Lbig;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
createLivingAttributes
- Mappings:
Namespace Name Mixin selector official dOLbiw;dO()Lbkc$a;intermediary method_26827Lnet/minecraft/class_1309;method_26827()Lnet/minecraft/class_5132$class_5133;named createLivingAttributesLnet/minecraft/entity/LivingEntity;createLivingAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
fall
protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls. Flying mobs should override this to do nothing.- Overrides:
fallin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(DZLdey;Lgv;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vnamed fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
-
canBreatheInWater
public boolean canBreatheInWater()- Mappings:
Namespace Name Mixin selector official dPLbiw;dP()Zintermediary method_6094Lnet/minecraft/class_1309;method_6094()Znamed canBreatheInWaterLnet/minecraft/entity/LivingEntity;canBreatheInWater()Z
-
getLeaningPitch
public float getLeaningPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector official aLbiw;a(F)Fintermediary method_6024Lnet/minecraft/class_1309;method_6024(F)Fnamed getLeaningPitchLnet/minecraft/entity/LivingEntity;getLeaningPitch(F)F
-
baseTick
public void baseTick() -
shouldDisplaySoulSpeedEffects
public boolean shouldDisplaySoulSpeedEffects()- Mappings:
Namespace Name Mixin selector official dQLbiw;dQ()Zintermediary method_27302Lnet/minecraft/class_1309;method_27302()Znamed shouldDisplaySoulSpeedEffectsLnet/minecraft/entity/LivingEntity;shouldDisplaySoulSpeedEffects()Z
-
displaySoulSpeedEffects
protected void displaySoulSpeedEffects()- Mappings:
Namespace Name Mixin selector official dRLbiw;dR()Vintermediary method_25937Lnet/minecraft/class_1309;method_25937()Vnamed displaySoulSpeedEffectsLnet/minecraft/entity/LivingEntity;displaySoulSpeedEffects()V
-
isOnSoulSpeedBlock
protected boolean isOnSoulSpeedBlock()- Mappings:
Namespace Name Mixin selector official dSLbiw;dS()Zintermediary method_27303Lnet/minecraft/class_1309;method_27303()Znamed isOnSoulSpeedBlockLnet/minecraft/entity/LivingEntity;isOnSoulSpeedBlock()Z
-
getVelocityMultiplier
protected float getVelocityMultiplier()- Overrides:
getVelocityMultiplierin classEntity- Mappings:
Namespace Name Mixin selector official aJLbig;aJ()Fintermediary method_23326Lnet/minecraft/class_1297;method_23326()Fnamed getVelocityMultiplierLnet/minecraft/entity/Entity;getVelocityMultiplier()F
-
shouldRemoveSoulSpeedBoost
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Ldey;)Zintermediary method_29500Lnet/minecraft/class_1309;method_29500(Lnet/minecraft/class_2680;)Znamed shouldRemoveSoulSpeedBoostLnet/minecraft/entity/LivingEntity;shouldRemoveSoulSpeedBoost(Lnet/minecraft/block/BlockState;)Z
-
removeSoulSpeedBoost
protected void removeSoulSpeedBoost()- Mappings:
Namespace Name Mixin selector official dTLbiw;dT()Vintermediary method_29501Lnet/minecraft/class_1309;method_29501()Vnamed removeSoulSpeedBoostLnet/minecraft/entity/LivingEntity;removeSoulSpeedBoost()V
-
addSoulSpeedBoostIfNeeded
protected void addSoulSpeedBoostIfNeeded()- Mappings:
Namespace Name Mixin selector official dULbiw;dU()Vintermediary method_29502Lnet/minecraft/class_1309;method_29502()Vnamed addSoulSpeedBoostIfNeededLnet/minecraft/entity/LivingEntity;addSoulSpeedBoostIfNeeded()V
-
removePowderSnowSlow
protected void removePowderSnowSlow()- Mappings:
Namespace Name Mixin selector official dVLbiw;dV()Vintermediary method_32324Lnet/minecraft/class_1309;method_32324()Vnamed removePowderSnowSlowLnet/minecraft/entity/LivingEntity;removePowderSnowSlow()V
-
addPowderSnowSlowIfNeeded
protected void addPowderSnowSlowIfNeeded()- Mappings:
Namespace Name Mixin selector official dWLbiw;dW()Vintermediary method_32325Lnet/minecraft/class_1309;method_32325()Vnamed addPowderSnowSlowIfNeededLnet/minecraft/entity/LivingEntity;addPowderSnowSlowIfNeeded()V
-
applyMovementEffects
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lgv;)Vintermediary method_6126Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_2338;)Vnamed applyMovementEffectsLnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/util/math/BlockPos;)V
-
isBaby
public boolean isBaby()- Mappings:
Namespace Name Mixin selector official i_Lbiw;i_()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
getScaleFactor
public float getScaleFactor()- Mappings:
Namespace Name Mixin selector official dXLbiw;dX()Fintermediary method_17825Lnet/minecraft/class_1309;method_17825()Fnamed getScaleFactorLnet/minecraft/entity/LivingEntity;getScaleFactor()F
-
shouldSwimInFluids
protected boolean shouldSwimInFluids()- Mappings:
Namespace Name Mixin selector official dYLbiw;dY()Zintermediary method_29920Lnet/minecraft/class_1309;method_29920()Znamed shouldSwimInFluidsLnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Z
-
updatePostDeath
protected void updatePostDeath()- Mappings:
Namespace Name Mixin selector official dZLbiw;dZ()Vintermediary method_6108Lnet/minecraft/class_1309;method_6108()Vnamed updatePostDeathLnet/minecraft/entity/LivingEntity;updatePostDeath()V
-
shouldDropXp
public boolean shouldDropXp()Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.If
shouldAlwaysDropXp()returnstrue, this check is disregarded.- See Also:
- Mappings:
Namespace Name Mixin selector official eaLbiw;ea()Zintermediary method_6054Lnet/minecraft/class_1309;method_6054()Znamed shouldDropXpLnet/minecraft/entity/LivingEntity;shouldDropXp()Z
-
shouldDropLoot
protected boolean shouldDropLoot()- Mappings:
Namespace Name Mixin selector official ebLbiw;eb()Zintermediary method_27071Lnet/minecraft/class_1309;method_27071()Znamed shouldDropLootLnet/minecraft/entity/LivingEntity;shouldDropLoot()Z
-
getNextAirUnderwater
protected int getNextAirUnderwater(int air) - Mappings:
Namespace Name Mixin selector official mLbiw;m(I)Iintermediary method_6130Lnet/minecraft/class_1309;method_6130(I)Inamed getNextAirUnderwaterLnet/minecraft/entity/LivingEntity;getNextAirUnderwater(I)I
-
getNextAirOnLand
protected int getNextAirOnLand(int air) - Mappings:
Namespace Name Mixin selector official nLbiw;n(I)Iintermediary method_6064Lnet/minecraft/class_1309;method_6064(I)Inamed getNextAirOnLandLnet/minecraft/entity/LivingEntity;getNextAirOnLand(I)I
-
getXpToDrop
public int getXpToDrop()Called when this entity is killed and returns the amount of experience to drop.- See Also:
- Mappings:
Namespace Name Mixin selector official ecLbiw;ec()Iintermediary method_6110Lnet/minecraft/class_1309;method_6110()Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop()I
-
shouldAlwaysDropXp
protected boolean shouldAlwaysDropXp()Returns if this entity may always drop experience, skipping any other checks.- See Also:
- Mappings:
Namespace Name Mixin selector official edLbiw;ed()Zintermediary method_6071Lnet/minecraft/class_1309;method_6071()Znamed shouldAlwaysDropXpLnet/minecraft/entity/LivingEntity;shouldAlwaysDropXp()Z
-
getRandom
- Mappings:
Namespace Name Mixin selector official eeLbiw;ee()Lart;intermediary method_6051Lnet/minecraft/class_1309;method_6051()Lnet/minecraft/class_5819;named getRandomLnet/minecraft/entity/LivingEntity;getRandom()Lnet/minecraft/util/math/random/Random;
-
getAttacker
- Mappings:
Namespace Name Mixin selector official efLbiw;ef()Lbiw;intermediary method_6065Lnet/minecraft/class_1309;method_6065()Lnet/minecraft/class_1309;named getAttackerLnet/minecraft/entity/LivingEntity;getAttacker()Lnet/minecraft/entity/LivingEntity;
-
getLastAttacker
- Specified by:
getLastAttackerin interfaceAttackable- Mappings:
Namespace Name Mixin selector official M_Lbie;M_()Lbiw;intermediary method_49107Lnet/minecraft/class_8149;method_49107()Lnet/minecraft/class_1309;named getLastAttackerLnet/minecraft/entity/Attackable;getLastAttacker()Lnet/minecraft/entity/LivingEntity;
-
getLastAttackedTime
public int getLastAttackedTime()- Mappings:
Namespace Name Mixin selector official egLbiw;eg()Iintermediary method_6117Lnet/minecraft/class_1309;method_6117()Inamed getLastAttackedTimeLnet/minecraft/entity/LivingEntity;getLastAttackedTime()I
-
setAttacking
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lcbl;)Vintermediary method_29505Lnet/minecraft/class_1309;method_29505(Lnet/minecraft/class_1657;)Vnamed setAttackingLnet/minecraft/entity/LivingEntity;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;)V
-
setAttacker
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbiw;)Vintermediary method_6015Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)Vnamed setAttackerLnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
-
getAttacking
- Mappings:
Namespace Name Mixin selector official ehLbiw;eh()Lbiw;intermediary method_6052Lnet/minecraft/class_1309;method_6052()Lnet/minecraft/class_1309;named getAttackingLnet/minecraft/entity/LivingEntity;getAttacking()Lnet/minecraft/entity/LivingEntity;
-
getLastAttackTime
public int getLastAttackTime()- Mappings:
Namespace Name Mixin selector official eiLbiw;ei()Iintermediary method_6083Lnet/minecraft/class_1309;method_6083()Inamed getLastAttackTimeLnet/minecraft/entity/LivingEntity;getLastAttackTime()I
-
onAttacking
- Mappings:
Namespace Name Mixin selector official ALbiw;A(Lbig;)Vintermediary method_6114Lnet/minecraft/class_1309;method_6114(Lnet/minecraft/class_1297;)Vnamed onAttackingLnet/minecraft/entity/LivingEntity;onAttacking(Lnet/minecraft/entity/Entity;)V
-
getDespawnCounter
public int getDespawnCounter()- Mappings:
Namespace Name Mixin selector official ejLbiw;ej()Iintermediary method_6131Lnet/minecraft/class_1309;method_6131()Inamed getDespawnCounterLnet/minecraft/entity/LivingEntity;getDespawnCounter()I
-
setDespawnCounter
public void setDespawnCounter(int despawnCounter) - Mappings:
Namespace Name Mixin selector official oLbiw;o(I)Vintermediary method_16826Lnet/minecraft/class_1309;method_16826(I)Vnamed setDespawnCounterLnet/minecraft/entity/LivingEntity;setDespawnCounter(I)V
-
hasNoDrag
public boolean hasNoDrag()- Mappings:
Namespace Name Mixin selector official ekLbiw;ek()Zintermediary method_35053Lnet/minecraft/class_1309;method_35053()Znamed hasNoDragLnet/minecraft/entity/LivingEntity;hasNoDrag()Z
-
setNoDrag
public void setNoDrag(boolean noDrag) - Mappings:
Namespace Name Mixin selector official pLbiw;p(Z)Vintermediary method_35054Lnet/minecraft/class_1309;method_35054(Z)Vnamed setNoDragLnet/minecraft/entity/LivingEntity;setNoDrag(Z)V
-
isArmorSlot
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbil;)Zintermediary method_44201Lnet/minecraft/class_1309;method_44201(Lnet/minecraft/class_1304;)Znamed isArmorSlotLnet/minecraft/entity/LivingEntity;isArmorSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
-
onEquipStack
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbil;Lciw;Lciw;)Vintermediary method_6116Lnet/minecraft/class_1309;method_6116(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Vnamed onEquipStackLnet/minecraft/entity/LivingEntity;onEquipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
-
remove
Removes the entity.- Overrides:
removein classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbig;a(Lbig$c;)Vintermediary method_5650Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)Vnamed removeLnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Specified by:
writeCustomDataToNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbig;b(Lqs;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Specified by:
readCustomDataFromNbtin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbig;a(Lqs;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
tickStatusEffects
protected void tickStatusEffects()- Mappings:
Namespace Name Mixin selector official elLbiw;el()Vintermediary method_6050Lnet/minecraft/class_1309;method_6050()Vnamed tickStatusEffectsLnet/minecraft/entity/LivingEntity;tickStatusEffects()V
-
updatePotionVisibility
protected void updatePotionVisibility()- Mappings:
Namespace Name Mixin selector official GLbiw;G()Vintermediary method_6027Lnet/minecraft/class_1309;method_6027()Vnamed updatePotionVisibilityLnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
-
updateGlowing
private void updateGlowing()- Mappings:
Namespace Name Mixin selector official pLbiw;p()Vintermediary method_36362Lnet/minecraft/class_1309;method_36362()Vnamed updateGlowingLnet/minecraft/entity/LivingEntity;updateGlowing()V
-
getAttackDistanceScalingFactor
- Mappings:
Namespace Name Mixin selector official BLbiw;B(Lbig;)Dintermediary method_18390Lnet/minecraft/class_1309;method_18390(Lnet/minecraft/class_1297;)Dnamed getAttackDistanceScalingFactorLnet/minecraft/entity/LivingEntity;getAttackDistanceScalingFactor(Lnet/minecraft/entity/Entity;)D
-
canTarget
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbiw;)Zintermediary method_18395Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Znamed canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
-
isTarget
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbiw;Lbtj;)Zintermediary method_18391Lnet/minecraft/class_1309;method_18391(Lnet/minecraft/class_1309;Lnet/minecraft/class_4051;)Znamed isTargetLnet/minecraft/entity/LivingEntity;isTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/ai/TargetPredicate;)Z
-
canTakeDamage
public boolean canTakeDamage()- Mappings:
Namespace Name Mixin selector official emLbiw;em()Zintermediary method_33190Lnet/minecraft/class_1309;method_33190()Znamed canTakeDamageLnet/minecraft/entity/LivingEntity;canTakeDamage()Z
-
isPartOfGame
public boolean isPartOfGame()- Mappings:
Namespace Name Mixin selector official enLbiw;en()Zintermediary method_36608Lnet/minecraft/class_1309;method_36608()Znamed isPartOfGameLnet/minecraft/entity/LivingEntity;isPartOfGame()Z
-
containsOnlyAmbientEffects
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Ljava/util/Collection;)Zintermediary method_6089Lnet/minecraft/class_1309;method_6089(Ljava/util/Collection;)Znamed containsOnlyAmbientEffectsLnet/minecraft/entity/LivingEntity;containsOnlyAmbientEffects(Ljava/util/Collection;)Z
-
clearPotionSwirls
protected void clearPotionSwirls()- Mappings:
Namespace Name Mixin selector official eoLbiw;eo()Vintermediary method_6069Lnet/minecraft/class_1309;method_6069()Vnamed clearPotionSwirlsLnet/minecraft/entity/LivingEntity;clearPotionSwirls()V
-
clearStatusEffects
public boolean clearStatusEffects()- Mappings:
Namespace Name Mixin selector official epLbiw;ep()Zintermediary method_6012Lnet/minecraft/class_1309;method_6012()Znamed clearStatusEffectsLnet/minecraft/entity/LivingEntity;clearStatusEffects()Z
-
getStatusEffects
- Mappings:
Namespace Name Mixin selector official eqLbiw;eq()Ljava/util/Collection;intermediary method_6026Lnet/minecraft/class_1309;method_6026()Ljava/util/Collection;named getStatusEffectsLnet/minecraft/entity/LivingEntity;getStatusEffects()Ljava/util/Collection;
-
getActiveStatusEffects
- Mappings:
Namespace Name Mixin selector official erLbiw;er()Ljava/util/Map;intermediary method_6088Lnet/minecraft/class_1309;method_6088()Ljava/util/Map;named getActiveStatusEffectsLnet/minecraft/entity/LivingEntity;getActiveStatusEffects()Ljava/util/Map;
-
hasStatusEffect
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbhr;)Zintermediary method_6059Lnet/minecraft/class_1309;method_6059(Lnet/minecraft/class_1291;)Znamed hasStatusEffectLnet/minecraft/entity/LivingEntity;hasStatusEffect(Lnet/minecraft/entity/effect/StatusEffect;)Z
-
getStatusEffect
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbhr;)Lbht;intermediary method_6112Lnet/minecraft/class_1309;method_6112(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;named getStatusEffectLnet/minecraft/entity/LivingEntity;getStatusEffect(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
-
addStatusEffect
Adds a status effect to this entity without specifying a source entity.Consider calling
addStatusEffect(StatusEffectInstance, Entity)if theeffectis caused by or from an entity.- Parameters:
effect- the effect to add- Returns:
- whether the active status effects of this entity has been modified
- See Also:
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbht;)Zintermediary method_6092Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Znamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
addStatusEffect
Adds a status effect to this entity.- Parameters:
effect- the effect to addsource- the source entity ornullfor non-entity sources- Returns:
- whether the active status effects of this entity has been modified
- Implementation Note:
- A status effect may fail to be added due to getting overridden by existing effects or the effect being incompatible with this entity.
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbht;Lbig;)Zintermediary method_37222Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Znamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
-
canHaveStatusEffect
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbht;)Zintermediary method_6049Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Znamed canHaveStatusEffectLnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
setStatusEffect
Sets a status effect in this entity.The preexistent status effect of the same type on this entity, if there is one, is cleared. To actually add a status effect and undergo effect combination logic, call
addStatusEffect(StatusEffectInstance, Entity).- Parameters:
effect- the effect to setsource- the source entity ornullfor non-entity sources- API Note:
- In vanilla, this is exclusively used by the client to set a status effect on the player upon reception of the status effect packet.
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbht;Lbig;)Vintermediary method_26082Lnet/minecraft/class_1309;method_26082(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Vnamed setStatusEffectLnet/minecraft/entity/LivingEntity;setStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
-
isUndead
public boolean isUndead()- Mappings:
Namespace Name Mixin selector official esLbiw;es()Zintermediary method_5999Lnet/minecraft/class_1309;method_5999()Znamed isUndeadLnet/minecraft/entity/LivingEntity;isUndead()Z
-
removeStatusEffectInternal
@Nullable public @Nullable StatusEffectInstance removeStatusEffectInternal(@Nullable @Nullable StatusEffect type) Removes a status effect from this entity without calling any listener.This method does not perform any cleanup or synchronization operation. Under most circumstances, calling
removeStatusEffect(StatusEffect)is highly preferable.- Returns:
- the status effect removed
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbhr;)Lbht;intermediary method_6111Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;named removeStatusEffectInternalLnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
-
removeStatusEffect
Removes a status effect from this entity.Calling this method will call cleanup methods on the status effect and trigger synchronization of effect particles with watching clients. If this entity is a player, the change in the list of effects will also be synchronized with the corresponding client.
- Returns:
- whether the active status effects on this entity has been changed by this call
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbhr;)Zintermediary method_6016Lnet/minecraft/class_1309;method_6016(Lnet/minecraft/class_1291;)Znamed removeStatusEffectLnet/minecraft/entity/LivingEntity;removeStatusEffect(Lnet/minecraft/entity/effect/StatusEffect;)Z
-
onStatusEffectApplied
protected void onStatusEffectApplied(StatusEffectInstance effect, @Nullable @Nullable Entity source) - Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbht;Lbig;)Vintermediary method_6020Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Vnamed onStatusEffectAppliedLnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
-
sendEffectToControllingPlayer
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbht;)Vintermediary method_52197Lnet/minecraft/class_1309;method_52197(Lnet/minecraft/class_1293;)Vnamed sendEffectToControllingPlayerLnet/minecraft/entity/LivingEntity;sendEffectToControllingPlayer(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
onStatusEffectUpgraded
protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable @Nullable Entity source) - Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbht;ZLbig;)Vintermediary method_6009Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)Vnamed onStatusEffectUpgradedLnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;ZLnet/minecraft/entity/Entity;)V
-
onStatusEffectRemoved
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbht;)Vintermediary method_6129Lnet/minecraft/class_1309;method_6129(Lnet/minecraft/class_1293;)Vnamed onStatusEffectRemovedLnet/minecraft/entity/LivingEntity;onStatusEffectRemoved(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
-
updateAttributes
private void updateAttributes()- Mappings:
Namespace Name Mixin selector official rLbiw;r()Vintermediary method_52543Lnet/minecraft/class_1309;method_52543()Vnamed updateAttributesLnet/minecraft/entity/LivingEntity;updateAttributes()V
-
updateAttribute
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbjy;)Vintermediary method_52540Lnet/minecraft/class_1309;method_52540(Lnet/minecraft/class_1320;)Vnamed updateAttributeLnet/minecraft/entity/LivingEntity;updateAttribute(Lnet/minecraft/entity/attribute/EntityAttribute;)V
-
heal
public void heal(float amount) Heals this entity by the givenamountof half-hearts.A dead entity cannot be healed.
- See Also:
- Mappings:
Namespace Name Mixin selector official bLbiw;b(F)Vintermediary method_6025Lnet/minecraft/class_1309;method_6025(F)Vnamed healLnet/minecraft/entity/LivingEntity;heal(F)V
-
getHealth
public float getHealth()- Mappings:
Namespace Name Mixin selector official etLbiw;et()Fintermediary method_6032Lnet/minecraft/class_1309;method_6032()Fnamed getHealthLnet/minecraft/entity/LivingEntity;getHealth()F
-
setHealth
public void setHealth(float health) - Mappings:
Namespace Name Mixin selector official cLbiw;c(F)Vintermediary method_6033Lnet/minecraft/class_1309;method_6033(F)Vnamed setHealthLnet/minecraft/entity/LivingEntity;setHealth(F)V
-
isDead
public boolean isDead()- Mappings:
Namespace Name Mixin selector official euLbiw;eu()Zintermediary method_29504Lnet/minecraft/class_1309;method_29504()Znamed isDeadLnet/minecraft/entity/LivingEntity;isDead()Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbig;a(Lbhe;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
takeShieldHit
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbiw;)Vintermediary method_6090Lnet/minecraft/class_1309;method_6090(Lnet/minecraft/class_1309;)Vnamed takeShieldHitLnet/minecraft/entity/LivingEntity;takeShieldHit(Lnet/minecraft/entity/LivingEntity;)V
-
knockback
- Mappings:
Namespace Name Mixin selector official eLbiw;e(Lbiw;)Vintermediary method_6060Lnet/minecraft/class_1309;method_6060(Lnet/minecraft/class_1309;)Vnamed knockbackLnet/minecraft/entity/LivingEntity;knockback(Lnet/minecraft/entity/LivingEntity;)V
-
tryUseTotem
- Mappings:
Namespace Name Mixin selector official hLbiw;h(Lbhe;)Zintermediary method_6095Lnet/minecraft/class_1309;method_6095(Lnet/minecraft/class_1282;)Znamed tryUseTotemLnet/minecraft/entity/LivingEntity;tryUseTotem(Lnet/minecraft/entity/damage/DamageSource;)Z
-
getRecentDamageSource
- Mappings:
Namespace Name Mixin selector official evLbiw;ev()Lbhe;intermediary method_6081Lnet/minecraft/class_1309;method_6081()Lnet/minecraft/class_1282;named getRecentDamageSourceLnet/minecraft/entity/LivingEntity;getRecentDamageSource()Lnet/minecraft/entity/damage/DamageSource;
-
playHurtSound
- Mappings:
Namespace Name Mixin selector official eLbiw;e(Lbhe;)Vintermediary method_6013Lnet/minecraft/class_1309;method_6013(Lnet/minecraft/class_1282;)Vnamed playHurtSoundLnet/minecraft/entity/LivingEntity;playHurtSound(Lnet/minecraft/entity/damage/DamageSource;)V
-
blockedByShield
- Mappings:
Namespace Name Mixin selector official fLbiw;f(Lbhe;)Zintermediary method_6061Lnet/minecraft/class_1309;method_6061(Lnet/minecraft/class_1282;)Znamed blockedByShieldLnet/minecraft/entity/LivingEntity;blockedByShield(Lnet/minecraft/entity/damage/DamageSource;)Z
-
playEquipmentBreakEffects
- Mappings:
Namespace Name Mixin selector official iLbiw;i(Lciw;)Vintermediary method_6045Lnet/minecraft/class_1309;method_6045(Lnet/minecraft/class_1799;)Vnamed playEquipmentBreakEffectsLnet/minecraft/entity/LivingEntity;playEquipmentBreakEffects(Lnet/minecraft/item/ItemStack;)V
-
onDeath
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbhe;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vnamed onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
onKilledBy
Performs secondary effects after this mob has been killed.The default behavior spawns a wither rose if
adversaryis aWitherEntity.- Parameters:
adversary- the main adversary responsible for this entity's death- Mappings:
Namespace Name Mixin selector official fLbiw;f(Lbiw;)Vintermediary method_23733Lnet/minecraft/class_1309;method_23733(Lnet/minecraft/class_1309;)Vnamed onKilledByLnet/minecraft/entity/LivingEntity;onKilledBy(Lnet/minecraft/entity/LivingEntity;)V
-
drop
- Mappings:
Namespace Name Mixin selector official gLbiw;g(Lbhe;)Vintermediary method_16080Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_1282;)Vnamed dropLnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/entity/damage/DamageSource;)V
-
dropInventory
protected void dropInventory()- Mappings:
Namespace Name Mixin selector official ewLbiw;ew()Vintermediary method_16078Lnet/minecraft/class_1309;method_16078()Vnamed dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory()V
-
dropXp
protected void dropXp()Drops experience when this entity is killed.To control the details of experience dropping, consider overriding
shouldAlwaysDropXp(),shouldDropXp(), andgetXpToDrop().- Mappings:
Namespace Name Mixin selector official exLbiw;ex()Vintermediary method_23883Lnet/minecraft/class_1309;method_23883()Vnamed dropXpLnet/minecraft/entity/LivingEntity;dropXp()V
-
dropEquipment
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbhe;IZ)Vintermediary method_6099Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)Vnamed dropEquipmentLnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V
-
getLootTable
- Mappings:
Namespace Name Mixin selector official eyLbiw;ey()Laep;intermediary method_5989Lnet/minecraft/class_1309;method_5989()Lnet/minecraft/class_2960;named getLootTableLnet/minecraft/entity/LivingEntity;getLootTable()Lnet/minecraft/util/Identifier;
-
getLootTableSeed
public long getLootTableSeed()- Mappings:
Namespace Name Mixin selector official ezLbiw;ez()Jintermediary method_51851Lnet/minecraft/class_1309;method_51851()Jnamed getLootTableSeedLnet/minecraft/entity/LivingEntity;getLootTableSeed()J
-
dropLoot
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbhe;Z)Vintermediary method_16077Lnet/minecraft/class_1309;method_16077(Lnet/minecraft/class_1282;Z)Vnamed dropLootLnet/minecraft/entity/LivingEntity;dropLoot(Lnet/minecraft/entity/damage/DamageSource;Z)V
-
takeKnockback
public void takeKnockback(double strength, double x, double z) - Mappings:
Namespace Name Mixin selector official qLbiw;q(DDD)Vintermediary method_6005Lnet/minecraft/class_1309;method_6005(DDD)Vnamed takeKnockbackLnet/minecraft/entity/LivingEntity;takeKnockback(DDD)V
-
tiltScreen
public void tiltScreen(double deltaX, double deltaZ) - Mappings:
Namespace Name Mixin selector official aLbiw;a(DD)Vintermediary method_48761Lnet/minecraft/class_1309;method_48761(DD)Vnamed tiltScreenLnet/minecraft/entity/LivingEntity;tiltScreen(DD)V
-
getHurtSound
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbhe;)Laot;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
- Mappings:
Namespace Name Mixin selector official h_Lbiw;h_()Laot;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getFallSound
- Mappings:
Namespace Name Mixin selector official dLbiw;d(I)Laot;intermediary method_6041Lnet/minecraft/class_1309;method_6041(I)Lnet/minecraft/class_3414;named getFallSoundLnet/minecraft/entity/LivingEntity;getFallSound(I)Lnet/minecraft/sound/SoundEvent;
-
disableExperienceDropping
public void disableExperienceDropping()- Mappings:
Namespace Name Mixin selector official eALbiw;eA()Vintermediary method_41329Lnet/minecraft/class_1309;method_41329()Vnamed disableExperienceDroppingLnet/minecraft/entity/LivingEntity;disableExperienceDropping()V
-
isExperienceDroppingDisabled
public boolean isExperienceDroppingDisabled()- Mappings:
Namespace Name Mixin selector official eBLbiw;eB()Zintermediary method_41330Lnet/minecraft/class_1309;method_41330()Znamed isExperienceDroppingDisabledLnet/minecraft/entity/LivingEntity;isExperienceDroppingDisabled()Z
-
getAttackPos
Returns this entity's attack position. Used to determine if a mob can perform a melee attack on this entity. May be offset by a mount.- Returns:
- this entity's attack position
- See Also:
- Mappings:
Namespace Name Mixin selector official eCLbiw;eC()Lehf;intermediary method_47921Lnet/minecraft/class_1309;method_47921()Lnet/minecraft/class_243;named getAttackPosLnet/minecraft/entity/LivingEntity;getAttackPos()Lnet/minecraft/util/math/Vec3d;
-
getDamageTiltYaw
public float getDamageTiltYaw()- Mappings:
Namespace Name Mixin selector official eDLbiw;eD()Fintermediary method_48157Lnet/minecraft/class_1309;method_48157()Fnamed getDamageTiltYawLnet/minecraft/entity/LivingEntity;getDamageTiltYaw()F
-
getFallSounds
- Mappings:
Namespace Name Mixin selector official eELbiw;eE()Lbiw$a;intermediary method_39760Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;named getFallSoundsLnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
-
getDrinkSound
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lciw;)Laot;intermediary method_18807Lnet/minecraft/class_1309;method_18807(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;named getDrinkSoundLnet/minecraft/entity/LivingEntity;getDrinkSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
getEatSound
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lciw;)Laot;intermediary method_18869Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;named getEatSoundLnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
getClimbingPos
- Mappings:
Namespace Name Mixin selector official eFLbiw;eF()Ljava/util/Optional;intermediary method_24832Lnet/minecraft/class_1309;method_24832()Ljava/util/Optional;named getClimbingPosLnet/minecraft/entity/LivingEntity;getClimbingPos()Ljava/util/Optional;
-
isClimbing
public boolean isClimbing()- Mappings:
Namespace Name Mixin selector official j_Lbiw;j_()Zintermediary method_6101Lnet/minecraft/class_1309;method_6101()Znamed isClimbingLnet/minecraft/entity/LivingEntity;isClimbing()Z
-
canEnterTrapdoor
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lgv;Ldey;)Zintermediary method_6077Lnet/minecraft/class_1309;method_6077(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Znamed canEnterTrapdoorLnet/minecraft/entity/LivingEntity;canEnterTrapdoor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
-
isAlive
public boolean isAlive()Returns whether the entity is alive.For non-
LivingEntity, this is the same as negatingEntity.isRemoved().LivingEntitychecks the entity's health in addition to the removal. -
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like
TntMinecartEntity.- Overrides:
handleFallDamagein classEntity- Returns:
- whether to play the sound when falling on honey block;
falsefor all entities except horses and llamas - Mappings:
Namespace Name Mixin selector official aLbig;a(FFLbhe;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
computeFallDamage
protected int computeFallDamage(float fallDistance, float damageMultiplier) - Mappings:
Namespace Name Mixin selector official dLbiw;d(FF)Iintermediary method_23329Lnet/minecraft/class_1309;method_23329(FF)Inamed computeFallDamageLnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
-
playBlockFallSound
protected void playBlockFallSound()- Mappings:
Namespace Name Mixin selector official eGLbiw;eG()Vintermediary method_23328Lnet/minecraft/class_1309;method_23328()Vnamed playBlockFallSoundLnet/minecraft/entity/LivingEntity;playBlockFallSound()V
-
animateDamage
public void animateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).- Overrides:
animateDamagein classEntity- Mappings:
Namespace Name Mixin selector official mLbig;m(F)Vintermediary method_5879Lnet/minecraft/class_1297;method_5879(F)Vnamed animateDamageLnet/minecraft/entity/Entity;animateDamage(F)V
-
getArmor
public int getArmor()- Mappings:
Namespace Name Mixin selector official eHLbiw;eH()Iintermediary method_6096Lnet/minecraft/class_1309;method_6096()Inamed getArmorLnet/minecraft/entity/LivingEntity;getArmor()I
-
damageArmor
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbhe;F)Vintermediary method_6105Lnet/minecraft/class_1309;method_6105(Lnet/minecraft/class_1282;F)Vnamed damageArmorLnet/minecraft/entity/LivingEntity;damageArmor(Lnet/minecraft/entity/damage/DamageSource;F)V
-
damageHelmet
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbhe;F)Vintermediary method_36977Lnet/minecraft/class_1309;method_36977(Lnet/minecraft/class_1282;F)Vnamed damageHelmetLnet/minecraft/entity/LivingEntity;damageHelmet(Lnet/minecraft/entity/damage/DamageSource;F)V
-
damageShield
protected void damageShield(float amount) - Mappings:
Namespace Name Mixin selector official uLbiw;u(F)Vintermediary method_6056Lnet/minecraft/class_1309;method_6056(F)Vnamed damageShieldLnet/minecraft/entity/LivingEntity;damageShield(F)V
-
applyArmorToDamage
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbhe;F)Fintermediary method_6132Lnet/minecraft/class_1309;method_6132(Lnet/minecraft/class_1282;F)Fnamed applyArmorToDamageLnet/minecraft/entity/LivingEntity;applyArmorToDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
-
modifyAppliedDamage
Returns the modified damage value for the applieddamage.- Returns:
- the modified damage value for the applied
damage - API Note:
- Subclasses should override this to make the entity take reduced damage.
- Implementation Note:
- This applies various protection enchantments and the resistance effect.
WitchEntityuses this to negate their own damage and reduce the applied status effect damage. - Mappings:
Namespace Name Mixin selector official eLbiw;e(Lbhe;F)Fintermediary method_6036Lnet/minecraft/class_1309;method_6036(Lnet/minecraft/class_1282;F)Fnamed modifyAppliedDamageLnet/minecraft/entity/LivingEntity;modifyAppliedDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
-
applyDamage
- Mappings:
Namespace Name Mixin selector official fLbiw;f(Lbhe;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
getDamageTracker
- Mappings:
Namespace Name Mixin selector official eILbiw;eI()Lbhb;intermediary method_6066Lnet/minecraft/class_1309;method_6066()Lnet/minecraft/class_1283;named getDamageTrackerLnet/minecraft/entity/LivingEntity;getDamageTracker()Lnet/minecraft/entity/damage/DamageTracker;
-
getPrimeAdversary
- Mappings:
Namespace Name Mixin selector official eJLbiw;eJ()Lbiw;intermediary method_6124Lnet/minecraft/class_1309;method_6124()Lnet/minecraft/class_1309;named getPrimeAdversaryLnet/minecraft/entity/LivingEntity;getPrimeAdversary()Lnet/minecraft/entity/LivingEntity;
-
getMaxHealth
public final float getMaxHealth()- Mappings:
Namespace Name Mixin selector official eKLbiw;eK()Fintermediary method_6063Lnet/minecraft/class_1309;method_6063()Fnamed getMaxHealthLnet/minecraft/entity/LivingEntity;getMaxHealth()F
-
getMaxAbsorption
public final float getMaxAbsorption()- Mappings:
Namespace Name Mixin selector official eLLbiw;eL()Fintermediary method_52541Lnet/minecraft/class_1309;method_52541()Fnamed getMaxAbsorptionLnet/minecraft/entity/LivingEntity;getMaxAbsorption()F
-
getStuckArrowCount
public final int getStuckArrowCount()- Mappings:
Namespace Name Mixin selector official eMLbiw;eM()Iintermediary method_6022Lnet/minecraft/class_1309;method_6022()Inamed getStuckArrowCountLnet/minecraft/entity/LivingEntity;getStuckArrowCount()I
-
setStuckArrowCount
public final void setStuckArrowCount(int stuckArrowCount) - Mappings:
Namespace Name Mixin selector official pLbiw;p(I)Vintermediary method_6097Lnet/minecraft/class_1309;method_6097(I)Vnamed setStuckArrowCountLnet/minecraft/entity/LivingEntity;setStuckArrowCount(I)V
-
getStingerCount
public final int getStingerCount()- Mappings:
Namespace Name Mixin selector official eNLbiw;eN()Iintermediary method_21753Lnet/minecraft/class_1309;method_21753()Inamed getStingerCountLnet/minecraft/entity/LivingEntity;getStingerCount()I
-
setStingerCount
public final void setStingerCount(int stingerCount) - Mappings:
Namespace Name Mixin selector official qLbiw;q(I)Vintermediary method_21755Lnet/minecraft/class_1309;method_21755(I)Vnamed setStingerCountLnet/minecraft/entity/LivingEntity;setStingerCount(I)V
-
getHandSwingDuration
private int getHandSwingDuration()- Mappings:
Namespace Name Mixin selector official wLbiw;w()Iintermediary method_6028Lnet/minecraft/class_1309;method_6028()Inamed getHandSwingDurationLnet/minecraft/entity/LivingEntity;getHandSwingDuration()I
-
swingHand
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbgn;)Vintermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vnamed swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
-
swingHand
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbgn;Z)Vintermediary method_23667Lnet/minecraft/class_1309;method_23667(Lnet/minecraft/class_1268;Z)Vnamed swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;Z)V
-
onDamaged
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatusin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbig;b(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
addDeathParticles
private void addDeathParticles()- Mappings:
Namespace Name Mixin selector official xLbiw;x()Vintermediary method_36549Lnet/minecraft/class_1309;method_36549()Vnamed addDeathParticlesLnet/minecraft/entity/LivingEntity;addDeathParticles()V
-
swapHandStacks
private void swapHandStacks()- Mappings:
Namespace Name Mixin selector official yLbiw;y()Vintermediary method_30127Lnet/minecraft/class_1309;method_30127()Vnamed swapHandStacksLnet/minecraft/entity/LivingEntity;swapHandStacks()V
-
tickInVoid
protected void tickInVoid()Called when the entity is 64 blocks below the world's minimum Y position.Living entities use this to deal out of world damage.
- Overrides:
tickInVoidin classEntity- Mappings:
Namespace Name Mixin selector official azLbig;az()Vintermediary method_5825Lnet/minecraft/class_1297;method_5825()Vnamed tickInVoidLnet/minecraft/entity/Entity;tickInVoid()V
-
tickHandSwing
protected void tickHandSwing()- Mappings:
Namespace Name Mixin selector official eOLbiw;eO()Vintermediary method_6119Lnet/minecraft/class_1309;method_6119()Vnamed tickHandSwingLnet/minecraft/entity/LivingEntity;tickHandSwing()V
-
getAttributeInstance
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbjy;)Lbjz;intermediary method_5996Lnet/minecraft/class_1309;method_5996(Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;named getAttributeInstanceLnet/minecraft/entity/LivingEntity;getAttributeInstance(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
-
getAttributeValue
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lhf;)Dintermediary method_45325Lnet/minecraft/class_1309;method_45325(Lnet/minecraft/class_6880;)Dnamed getAttributeValueLnet/minecraft/entity/LivingEntity;getAttributeValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
-
getAttributeValue
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbjy;)Dintermediary method_26825Lnet/minecraft/class_1309;method_26825(Lnet/minecraft/class_1320;)Dnamed getAttributeValueLnet/minecraft/entity/LivingEntity;getAttributeValue(Lnet/minecraft/entity/attribute/EntityAttribute;)D
-
getAttributeBaseValue
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lhf;)Dintermediary method_45326Lnet/minecraft/class_1309;method_45326(Lnet/minecraft/class_6880;)Dnamed getAttributeBaseValueLnet/minecraft/entity/LivingEntity;getAttributeBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
-
getAttributeBaseValue
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbjy;)Dintermediary method_26826Lnet/minecraft/class_1309;method_26826(Lnet/minecraft/class_1320;)Dnamed getAttributeBaseValueLnet/minecraft/entity/LivingEntity;getAttributeBaseValue(Lnet/minecraft/entity/attribute/EntityAttribute;)D
-
getAttributes
- Mappings:
Namespace Name Mixin selector official ePLbiw;eP()Lbka;intermediary method_6127Lnet/minecraft/class_1309;method_6127()Lnet/minecraft/class_5131;named getAttributesLnet/minecraft/entity/LivingEntity;getAttributes()Lnet/minecraft/entity/attribute/AttributeContainer;
-
getGroup
- Mappings:
Namespace Name Mixin selector official eQLbiw;eQ()Lbjb;intermediary method_6046Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
getMainHandStack
- Mappings:
Namespace Name Mixin selector official eRLbiw;eR()Lciw;intermediary method_6047Lnet/minecraft/class_1309;method_6047()Lnet/minecraft/class_1799;named getMainHandStackLnet/minecraft/entity/LivingEntity;getMainHandStack()Lnet/minecraft/item/ItemStack;
-
getOffHandStack
- Mappings:
Namespace Name Mixin selector official eSLbiw;eS()Lciw;intermediary method_6079Lnet/minecraft/class_1309;method_6079()Lnet/minecraft/class_1799;named getOffHandStackLnet/minecraft/entity/LivingEntity;getOffHandStack()Lnet/minecraft/item/ItemStack;
-
isHolding
Checks if this entity is holding a certain item.This checks both the entity's main and off hand.
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lcir;)Zintermediary method_24518Lnet/minecraft/class_1309;method_24518(Lnet/minecraft/class_1792;)Znamed isHoldingLnet/minecraft/entity/LivingEntity;isHolding(Lnet/minecraft/item/Item;)Z
-
isHolding
Checks if this entity is holding a certain item.This checks both the entity's main and off hand.
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Ljava/util/function/Predicate;)Zintermediary method_24520Lnet/minecraft/class_1309;method_24520(Ljava/util/function/Predicate;)Znamed isHoldingLnet/minecraft/entity/LivingEntity;isHolding(Ljava/util/function/Predicate;)Z
-
getStackInHand
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbgn;)Lciw;intermediary method_5998Lnet/minecraft/class_1309;method_5998(Lnet/minecraft/class_1268;)Lnet/minecraft/class_1799;named getStackInHandLnet/minecraft/entity/LivingEntity;getStackInHand(Lnet/minecraft/util/Hand;)Lnet/minecraft/item/ItemStack;
-
setStackInHand
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbgn;Lciw;)Vintermediary method_6122Lnet/minecraft/class_1309;method_6122(Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Vnamed setStackInHandLnet/minecraft/entity/LivingEntity;setStackInHand(Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)V
-
hasStackEquipped
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbil;)Zintermediary method_6084Lnet/minecraft/class_1309;method_6084(Lnet/minecraft/class_1304;)Znamed hasStackEquippedLnet/minecraft/entity/LivingEntity;hasStackEquipped(Lnet/minecraft/entity/EquipmentSlot;)Z
-
getArmorItems
Returns an iterable of item stacks equipped as armor.- Overrides:
getArmorItemsin classEntity- Returns:
- an iterable of item stacks equipped as armor
- See Also:
- Mappings:
Namespace Name Mixin selector official bKLbig;bK()Ljava/lang/Iterable;intermediary method_5661Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;named getArmorItemsLnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
-
getEquippedStack
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbil;)Lciw;intermediary method_6118Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;named getEquippedStackLnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
equipStack
Equipsstackatslot.This is also used to set an entity's mainhand or offhand stack. This overwrites any stacks present in that slot without dropping them.- Overrides:
equipStackin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(Lbil;Lciw;)Vintermediary method_5673Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vnamed equipStackLnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
processEquippedStack
- Mappings:
Namespace Name Mixin selector official eLbiw;e(Lciw;)Vintermediary method_37410Lnet/minecraft/class_1309;method_37410(Lnet/minecraft/class_1799;)Vnamed processEquippedStackLnet/minecraft/entity/LivingEntity;processEquippedStack(Lnet/minecraft/item/ItemStack;)V
-
getArmorVisibility
public float getArmorVisibility()- Mappings:
Namespace Name Mixin selector official eTLbiw;eT()Fintermediary method_18396Lnet/minecraft/class_1309;method_18396()Fnamed getArmorVisibilityLnet/minecraft/entity/LivingEntity;getArmorVisibility()F
-
setSprinting
public void setSprinting(boolean sprinting) Sets whether the entity is sprinting.- Overrides:
setSprintingin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official gLbig;g(Z)Vintermediary method_5728Lnet/minecraft/class_1297;method_5728(Z)Vnamed setSprintingLnet/minecraft/entity/Entity;setSprinting(Z)V
-
getSoundVolume
protected float getSoundVolume()- Mappings:
Namespace Name Mixin selector official eULbiw;eU()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getSoundPitch
public float getSoundPitch()- Mappings:
Namespace Name Mixin selector official eVLbiw;eV()Fintermediary method_6017Lnet/minecraft/class_1309;method_6017()Fnamed getSoundPitchLnet/minecraft/entity/LivingEntity;getSoundPitch()F
-
isImmobile
protected boolean isImmobile()- Mappings:
Namespace Name Mixin selector official eWLbiw;eW()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Znamed isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Z
-
pushAwayFrom
- Overrides:
pushAwayFromin classEntity- Mappings:
Namespace Name Mixin selector official gLbig;g(Lbig;)Vintermediary method_5697Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)Vnamed pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
-
onDismounted
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbig;)Vintermediary method_6038Lnet/minecraft/class_1309;method_6038(Lnet/minecraft/class_1297;)Vnamed onDismountedLnet/minecraft/entity/LivingEntity;onDismounted(Lnet/minecraft/entity/Entity;)V
-
shouldRenderName
public boolean shouldRenderName()Returns whether to render the name of the entity.This returns
truefor players andEntity.isCustomNameVisible()for other entities.- Overrides:
shouldRenderNamein classEntity- Returns:
- whether to render the name of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector official cBLbig;cB()Zintermediary method_5733Lnet/minecraft/class_1297;method_5733()Znamed shouldRenderNameLnet/minecraft/entity/Entity;shouldRenderName()Z
-
getJumpVelocity
protected float getJumpVelocity()- Mappings:
Namespace Name Mixin selector official eXLbiw;eX()Fintermediary method_6106Lnet/minecraft/class_1309;method_6106()Fnamed getJumpVelocityLnet/minecraft/entity/LivingEntity;getJumpVelocity()F
-
getJumpBoostVelocityModifier
public float getJumpBoostVelocityModifier()- Mappings:
Namespace Name Mixin selector official eYLbiw;eY()Fintermediary method_37416Lnet/minecraft/class_1309;method_37416()Fnamed getJumpBoostVelocityModifierLnet/minecraft/entity/LivingEntity;getJumpBoostVelocityModifier()F
-
jump
protected void jump()- Mappings:
Namespace Name Mixin selector official eZLbiw;eZ()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
knockDownwards
protected void knockDownwards()- Mappings:
Namespace Name Mixin selector official faLbiw;fa()Vintermediary method_6093Lnet/minecraft/class_1309;method_6093()Vnamed knockDownwardsLnet/minecraft/entity/LivingEntity;knockDownwards()V
-
swimUpward
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lapy;)Vintermediary method_6010Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)Vnamed swimUpwardLnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)V
-
getBaseMovementSpeedMultiplier
protected float getBaseMovementSpeedMultiplier()- Mappings:
Namespace Name Mixin selector official fbLbiw;fb()Fintermediary method_6120Lnet/minecraft/class_1309;method_6120()Fnamed getBaseMovementSpeedMultiplierLnet/minecraft/entity/LivingEntity;getBaseMovementSpeedMultiplier()F
-
canWalkOnFluid
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Leab;)Zintermediary method_26319Lnet/minecraft/class_1309;method_26319(Lnet/minecraft/class_3610;)Znamed canWalkOnFluidLnet/minecraft/entity/LivingEntity;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;)Z
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official hLbiw;h(Lehf;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
travelControlled
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lcbl;Lehf;)Vintermediary method_49483Lnet/minecraft/class_1309;method_49483(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vnamed travelControlledLnet/minecraft/entity/LivingEntity;travelControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
-
tickControlled
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lcbl;Lehf;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vnamed tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
-
getControlledMovementInput
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lcbl;Lehf;)Lehf;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
getSaddledSpeed
- Mappings:
Namespace Name Mixin selector official eLbiw;e(Lcbl;)Fintermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fnamed getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
-
updateLimbs
public void updateLimbs(boolean flutter) - Mappings:
Namespace Name Mixin selector official qLbiw;q(Z)Vintermediary method_29242Lnet/minecraft/class_1309;method_29242(Z)Vnamed updateLimbsLnet/minecraft/entity/LivingEntity;updateLimbs(Z)V
-
updateLimbs
protected void updateLimbs(float posDelta) - Mappings:
Namespace Name Mixin selector official vLbiw;v(F)Vintermediary method_48565Lnet/minecraft/class_1309;method_48565(F)Vnamed updateLimbsLnet/minecraft/entity/LivingEntity;updateLimbs(F)V
-
applyMovementInput
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lehf;F)Lehf;intermediary method_26318Lnet/minecraft/class_1309;method_26318(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;named applyMovementInputLnet/minecraft/entity/LivingEntity;applyMovementInput(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
-
applyFluidMovingSpeed
- Mappings:
Namespace Name Mixin selector official aLbiw;a(DZLehf;)Lehf;intermediary method_26317Lnet/minecraft/class_1309;method_26317(DZLnet/minecraft/class_243;)Lnet/minecraft/class_243;named applyFluidMovingSpeedLnet/minecraft/entity/LivingEntity;applyFluidMovingSpeed(DZLnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
applyClimbingSpeed
- Mappings:
Namespace Name Mixin selector official jLbiw;j(Lehf;)Lehf;intermediary method_18801Lnet/minecraft/class_1309;method_18801(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;named applyClimbingSpeedLnet/minecraft/entity/LivingEntity;applyClimbingSpeed(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
getMovementSpeed
private float getMovementSpeed(float slipperiness) - Mappings:
Namespace Name Mixin selector official ALbiw;A(F)Fintermediary method_18802Lnet/minecraft/class_1309;method_18802(F)Fnamed getMovementSpeedLnet/minecraft/entity/LivingEntity;getMovementSpeed(F)F
-
getOffGroundSpeed
protected float getOffGroundSpeed()- Mappings:
Namespace Name Mixin selector official fcLbiw;fc()Fintermediary method_49484Lnet/minecraft/class_1309;method_49484()Fnamed getOffGroundSpeedLnet/minecraft/entity/LivingEntity;getOffGroundSpeed()F
-
getMovementSpeed
public float getMovementSpeed()- Mappings:
Namespace Name Mixin selector official fdLbiw;fd()Fintermediary method_6029Lnet/minecraft/class_1309;method_6029()Fnamed getMovementSpeedLnet/minecraft/entity/LivingEntity;getMovementSpeed()F
-
setMovementSpeed
public void setMovementSpeed(float movementSpeed) - Mappings:
Namespace Name Mixin selector official wLbiw;w(F)Vintermediary method_6125Lnet/minecraft/class_1309;method_6125(F)Vnamed setMovementSpeedLnet/minecraft/entity/LivingEntity;setMovementSpeed(F)V
-
tryAttack
- Mappings:
Namespace Name Mixin selector official CLbiw;C(Lbig;)Zintermediary method_6121Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_1297;)Znamed tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
tick
public void tick()Ticks this entity. -
sendEquipmentChanges
private void sendEquipmentChanges()Sends equipment changes to nearby players.- Mappings:
Namespace Name Mixin selector official zLbiw;z()Vintermediary method_30128Lnet/minecraft/class_1309;method_30128()Vnamed sendEquipmentChangesLnet/minecraft/entity/LivingEntity;sendEquipmentChanges()V
-
getEquipmentChanges
Returns the difference between the last sent equipment set and the current one.- Returns:
- the difference between the last sent equipment set and the current one
- Mappings:
Namespace Name Mixin selector official ALbiw;A()Ljava/util/Map;intermediary method_30129Lnet/minecraft/class_1309;method_30129()Ljava/util/Map;named getEquipmentChangesLnet/minecraft/entity/LivingEntity;getEquipmentChanges()Ljava/util/Map;
-
areItemsDifferent
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lciw;Lciw;)Zintermediary method_45324Lnet/minecraft/class_1309;method_45324(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Znamed areItemsDifferentLnet/minecraft/entity/LivingEntity;areItemsDifferent(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
checkHandStackSwap
Notifies nearby players if the stacks in the hands have been swapped.- Mappings:
Namespace Name Mixin selector official aLbiw;a(Ljava/util/Map;)Vintermediary method_30121Lnet/minecraft/class_1309;method_30121(Ljava/util/Map;)Vnamed checkHandStackSwapLnet/minecraft/entity/LivingEntity;checkHandStackSwap(Ljava/util/Map;)V
-
sendEquipmentChanges
Sends equipment changes to nearby players.- See Also:
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Ljava/util/Map;)Vintermediary method_30123Lnet/minecraft/class_1309;method_30123(Ljava/util/Map;)Vnamed sendEquipmentChangesLnet/minecraft/entity/LivingEntity;sendEquipmentChanges(Ljava/util/Map;)V
-
getSyncedArmorStack
- Mappings:
Namespace Name Mixin selector official eLbiw;e(Lbil;)Lciw;intermediary method_30125Lnet/minecraft/class_1309;method_30125(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;named getSyncedArmorStackLnet/minecraft/entity/LivingEntity;getSyncedArmorStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
setSyncedArmorStack
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbil;Lciw;)Vintermediary method_30122Lnet/minecraft/class_1309;method_30122(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vnamed setSyncedArmorStackLnet/minecraft/entity/LivingEntity;setSyncedArmorStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
getSyncedHandStack
- Mappings:
Namespace Name Mixin selector official fLbiw;f(Lbil;)Lciw;intermediary method_30126Lnet/minecraft/class_1309;method_30126(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;named getSyncedHandStackLnet/minecraft/entity/LivingEntity;getSyncedHandStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
setSyncedHandStack
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbil;Lciw;)Vintermediary method_30124Lnet/minecraft/class_1309;method_30124(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vnamed setSyncedHandStackLnet/minecraft/entity/LivingEntity;setSyncedHandStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
turnHead
protected float turnHead(float bodyRotation, float headRotation) - Mappings:
Namespace Name Mixin selector official eLbiw;e(FF)Fintermediary method_6031Lnet/minecraft/class_1309;method_6031(FF)Fnamed turnHeadLnet/minecraft/entity/LivingEntity;turnHead(FF)F
-
tickMovement
public void tickMovement()- Mappings:
Namespace Name Mixin selector official b_Lbiw;b_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
hurtByWater
public boolean hurtByWater()- Mappings:
Namespace Name Mixin selector official feLbiw;fe()Zintermediary method_29503Lnet/minecraft/class_1309;method_29503()Znamed hurtByWaterLnet/minecraft/entity/LivingEntity;hurtByWater()Z
-
tickFallFlying
private void tickFallFlying()- Mappings:
Namespace Name Mixin selector official BLbiw;B()Vintermediary method_6053Lnet/minecraft/class_1309;method_6053()Vnamed tickFallFlyingLnet/minecraft/entity/LivingEntity;tickFallFlying()V
-
tickNewAi
protected void tickNewAi()- Mappings:
Namespace Name Mixin selector official ffLbiw;ff()Vintermediary method_6023Lnet/minecraft/class_1309;method_6023()Vnamed tickNewAiLnet/minecraft/entity/LivingEntity;tickNewAi()V
-
tickCramming
protected void tickCramming()- Mappings:
Namespace Name Mixin selector official fgLbiw;fg()Vintermediary method_6070Lnet/minecraft/class_1309;method_6070()Vnamed tickCrammingLnet/minecraft/entity/LivingEntity;tickCramming()V
-
tickRiptide
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Leha;Leha;)Vintermediary method_6035Lnet/minecraft/class_1309;method_6035(Lnet/minecraft/class_238;Lnet/minecraft/class_238;)Vnamed tickRiptideLnet/minecraft/entity/LivingEntity;tickRiptide(Lnet/minecraft/util/math/Box;Lnet/minecraft/util/math/Box;)V
-
pushAway
- Mappings:
Namespace Name Mixin selector official DLbiw;D(Lbig;)Vintermediary method_6087Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
attackLivingEntity
- Mappings:
Namespace Name Mixin selector official gLbiw;g(Lbiw;)Vintermediary method_5997Lnet/minecraft/class_1309;method_5997(Lnet/minecraft/class_1309;)Vnamed attackLivingEntityLnet/minecraft/entity/LivingEntity;attackLivingEntity(Lnet/minecraft/entity/LivingEntity;)V
-
isUsingRiptide
public boolean isUsingRiptide()- Mappings:
Namespace Name Mixin selector official fhLbiw;fh()Zintermediary method_6123Lnet/minecraft/class_1309;method_6123()Znamed isUsingRiptideLnet/minecraft/entity/LivingEntity;isUsingRiptide()Z
-
stopRiding
public void stopRiding()Stops riding the vehicle if present.For example, if
playeris riding on a horse,player.stopRiding()will dismount that player from the horse.- Overrides:
stopRidingin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aaLbig;aa()Vintermediary method_5848Lnet/minecraft/class_1297;method_5848()Vnamed stopRidingLnet/minecraft/entity/Entity;stopRiding()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classEntity- Mappings:
Namespace Name Mixin selector official byLbig;by()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vnamed tickRidingLnet/minecraft/entity/Entity;tickRiding()V
-
updateTrackedPositionAndAngles
public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps) - Overrides:
updateTrackedPositionAndAnglesin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(DDDFFI)Vintermediary method_5759Lnet/minecraft/class_1297;method_5759(DDDFFI)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFI)V
-
updateTrackedHeadRotation
public void updateTrackedHeadRotation(float yaw, int interpolationSteps) - Overrides:
updateTrackedHeadRotationin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(FI)Vintermediary method_5683Lnet/minecraft/class_1297;method_5683(FI)Vnamed updateTrackedHeadRotationLnet/minecraft/entity/Entity;updateTrackedHeadRotation(FI)V
-
setJumping
public void setJumping(boolean jumping) - Mappings:
Namespace Name Mixin selector official rLbiw;r(Z)Vintermediary method_6100Lnet/minecraft/class_1309;method_6100(Z)Vnamed setJumpingLnet/minecraft/entity/LivingEntity;setJumping(Z)V
-
triggerItemPickedUpByEntityCriteria
Called to trigger advancement criteria when an entity picks up an item thrown by a player.- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbye;)Vintermediary method_29499Lnet/minecraft/class_1309;method_29499(Lnet/minecraft/class_1542;)Vnamed triggerItemPickedUpByEntityCriteriaLnet/minecraft/entity/LivingEntity;triggerItemPickedUpByEntityCriteria(Lnet/minecraft/entity/ItemEntity;)V
-
sendPickup
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbig;I)Vintermediary method_6103Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)Vnamed sendPickupLnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
-
canSee
- Mappings:
Namespace Name Mixin selector official ELbiw;E(Lbig;)Zintermediary method_6057Lnet/minecraft/class_1309;method_6057(Lnet/minecraft/class_1297;)Znamed canSeeLnet/minecraft/entity/LivingEntity;canSee(Lnet/minecraft/entity/Entity;)Z
-
getYaw
public float getYaw(float tickDelta) -
getHandSwingProgress
public float getHandSwingProgress(float tickDelta) - Mappings:
Namespace Name Mixin selector official xLbiw;x(F)Fintermediary method_6055Lnet/minecraft/class_1309;method_6055(F)Fnamed getHandSwingProgressLnet/minecraft/entity/LivingEntity;getHandSwingProgress(F)F
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHitin classEntity- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector official brLbig;br()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Znamed canHitLnet/minecraft/entity/Entity;canHit()Z
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushablein classEntity- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector official bsLbig;bs()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
getHeadYaw
public float getHeadYaw()Returns the head yaw of the entity.- Overrides:
getHeadYawin classEntity- Returns:
- the head yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector official coLbig;co()Fintermediary method_5791Lnet/minecraft/class_1297;method_5791()Fnamed getHeadYawLnet/minecraft/entity/Entity;getHeadYaw()F
-
setHeadYaw
public void setHeadYaw(float headYaw) Sets the head yaw of this entity.- Overrides:
setHeadYawin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official nLbig;n(F)Vintermediary method_5847Lnet/minecraft/class_1297;method_5847(F)Vnamed setHeadYawLnet/minecraft/entity/Entity;setHeadYaw(F)V
-
setBodyYaw
public void setBodyYaw(float bodyYaw) Sets the body yaw of this entity.- Overrides:
setBodyYawin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official oLbig;o(F)Vintermediary method_5636Lnet/minecraft/class_1297;method_5636(F)Vnamed setBodyYawLnet/minecraft/entity/Entity;setBodyYaw(F)V
-
positionInPortal
Returns the entity's position in the portal after teleportation.- Overrides:
positionInPortalin classEntity- Returns:
- the entity's position in the portal after teleportation
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbig;a(Lhb$a;Ll$a;)Lehf;intermediary method_30633Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;named positionInPortalLnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;
-
positionInPortal
- Mappings:
Namespace Name Mixin selector official iLbiw;i(Lehf;)Lehf;intermediary method_31079Lnet/minecraft/class_1309;method_31079(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;named positionInPortalLnet/minecraft/entity/LivingEntity;positionInPortal(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
-
getAbsorptionAmount
public float getAbsorptionAmount()- Mappings:
Namespace Name Mixin selector official fiLbiw;fi()Fintermediary method_6067Lnet/minecraft/class_1309;method_6067()Fnamed getAbsorptionAmountLnet/minecraft/entity/LivingEntity;getAbsorptionAmount()F
-
setAbsorptionAmount
public final void setAbsorptionAmount(float absorptionAmount) - Mappings:
Namespace Name Mixin selector official yLbiw;y(F)Vintermediary method_6073Lnet/minecraft/class_1309;method_6073(F)Vnamed setAbsorptionAmountLnet/minecraft/entity/LivingEntity;setAbsorptionAmount(F)V
-
setAbsorptionAmountUnclamped
protected void setAbsorptionAmountUnclamped(float absorptionAmount) - Mappings:
Namespace Name Mixin selector official zLbiw;z(F)Vintermediary method_52544Lnet/minecraft/class_1309;method_52544(F)Vnamed setAbsorptionAmountUnclampedLnet/minecraft/entity/LivingEntity;setAbsorptionAmountUnclamped(F)V
-
enterCombat
public void enterCombat()- Mappings:
Namespace Name Mixin selector official Q_Lbiw;Q_()Vintermediary method_6000Lnet/minecraft/class_1309;method_6000()Vnamed enterCombatLnet/minecraft/entity/LivingEntity;enterCombat()V
-
endCombat
public void endCombat()- Mappings:
Namespace Name Mixin selector official F_Lbiw;F_()Vintermediary method_6044Lnet/minecraft/class_1309;method_6044()Vnamed endCombatLnet/minecraft/entity/LivingEntity;endCombat()V
-
markEffectsDirty
protected void markEffectsDirty()- Mappings:
Namespace Name Mixin selector official fjLbiw;fj()Vintermediary method_6008Lnet/minecraft/class_1309;method_6008()Vnamed markEffectsDirtyLnet/minecraft/entity/LivingEntity;markEffectsDirty()V
-
getMainArm
- Mappings:
Namespace Name Mixin selector official fkLbiw;fk()Lbiq;intermediary method_6068Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;named getMainArmLnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
-
isUsingItem
public boolean isUsingItem()- Mappings:
Namespace Name Mixin selector official flLbiw;fl()Zintermediary method_6115Lnet/minecraft/class_1309;method_6115()Znamed isUsingItemLnet/minecraft/entity/LivingEntity;isUsingItem()Z
-
getActiveHand
- Mappings:
Namespace Name Mixin selector official fmLbiw;fm()Lbgn;intermediary method_6058Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;named getActiveHandLnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
-
tickActiveItemStack
private void tickActiveItemStack()- Mappings:
Namespace Name Mixin selector official DLbiw;D()Vintermediary method_6076Lnet/minecraft/class_1309;method_6076()Vnamed tickActiveItemStackLnet/minecraft/entity/LivingEntity;tickActiveItemStack()V
-
tickItemStackUsage
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lciw;)Vintermediary method_37119Lnet/minecraft/class_1309;method_37119(Lnet/minecraft/class_1799;)Vnamed tickItemStackUsageLnet/minecraft/entity/LivingEntity;tickItemStackUsage(Lnet/minecraft/item/ItemStack;)V
-
shouldSpawnConsumptionEffects
private boolean shouldSpawnConsumptionEffects()- Mappings:
Namespace Name Mixin selector official ELbiw;E()Zintermediary method_22382Lnet/minecraft/class_1309;method_22382()Znamed shouldSpawnConsumptionEffectsLnet/minecraft/entity/LivingEntity;shouldSpawnConsumptionEffects()Z
-
updateLeaningPitch
private void updateLeaningPitch()- Mappings:
Namespace Name Mixin selector official FLbiw;F()Vintermediary method_6072Lnet/minecraft/class_1309;method_6072()Vnamed updateLeaningPitchLnet/minecraft/entity/LivingEntity;updateLeaningPitch()V
-
setLivingFlag
protected void setLivingFlag(int mask, boolean value) - Mappings:
Namespace Name Mixin selector official cLbiw;c(IZ)Vintermediary method_6085Lnet/minecraft/class_1309;method_6085(IZ)Vnamed setLivingFlagLnet/minecraft/entity/LivingEntity;setLivingFlag(IZ)V
-
setCurrentHand
- Mappings:
Namespace Name Mixin selector official cLbiw;c(Lbgn;)Vintermediary method_6019Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)Vnamed setCurrentHandLnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(Ladx;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
lookAt
Changes this entity's pitch and yaw to look attarget.- Overrides:
lookAtin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(Lec$a;Lehf;)Vintermediary method_5702Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)Vnamed lookAtLnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)V
-
spawnConsumptionEffects
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lciw;I)Vintermediary method_6098Lnet/minecraft/class_1309;method_6098(Lnet/minecraft/class_1799;I)Vnamed spawnConsumptionEffectsLnet/minecraft/entity/LivingEntity;spawnConsumptionEffects(Lnet/minecraft/item/ItemStack;I)V
-
spawnItemParticles
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lciw;I)Vintermediary method_6037Lnet/minecraft/class_1309;method_6037(Lnet/minecraft/class_1799;I)Vnamed spawnItemParticlesLnet/minecraft/entity/LivingEntity;spawnItemParticles(Lnet/minecraft/item/ItemStack;I)V
-
consumeItem
protected void consumeItem()- Mappings:
Namespace Name Mixin selector official Z_Lbiw;Z_()Vintermediary method_6040Lnet/minecraft/class_1309;method_6040()Vnamed consumeItemLnet/minecraft/entity/LivingEntity;consumeItem()V
-
getActiveItem
- Mappings:
Namespace Name Mixin selector official fnLbiw;fn()Lciw;intermediary method_6030Lnet/minecraft/class_1309;method_6030()Lnet/minecraft/class_1799;named getActiveItemLnet/minecraft/entity/LivingEntity;getActiveItem()Lnet/minecraft/item/ItemStack;
-
getItemUseTimeLeft
public int getItemUseTimeLeft()- Mappings:
Namespace Name Mixin selector official foLbiw;fo()Iintermediary method_6014Lnet/minecraft/class_1309;method_6014()Inamed getItemUseTimeLeftLnet/minecraft/entity/LivingEntity;getItemUseTimeLeft()I
-
getItemUseTime
public int getItemUseTime()- Mappings:
Namespace Name Mixin selector official fpLbiw;fp()Iintermediary method_6048Lnet/minecraft/class_1309;method_6048()Inamed getItemUseTimeLnet/minecraft/entity/LivingEntity;getItemUseTime()I
-
stopUsingItem
public void stopUsingItem()- Mappings:
Namespace Name Mixin selector official fqLbiw;fq()Vintermediary method_6075Lnet/minecraft/class_1309;method_6075()Vnamed stopUsingItemLnet/minecraft/entity/LivingEntity;stopUsingItem()V
-
clearActiveItem
public void clearActiveItem()- Mappings:
Namespace Name Mixin selector official frLbiw;fr()Vintermediary method_6021Lnet/minecraft/class_1309;method_6021()Vnamed clearActiveItemLnet/minecraft/entity/LivingEntity;clearActiveItem()V
-
isBlocking
public boolean isBlocking()- Mappings:
Namespace Name Mixin selector official fsLbiw;fs()Zintermediary method_6039Lnet/minecraft/class_1309;method_6039()Znamed isBlockingLnet/minecraft/entity/LivingEntity;isBlocking()Z
-
isHoldingOntoLadder
public boolean isHoldingOntoLadder()- Returns:
trueif this entity should not lose height while in a climbing state- See Also:
- Mappings:
Namespace Name Mixin selector official ftLbiw;ft()Zintermediary method_21754Lnet/minecraft/class_1309;method_21754()Znamed isHoldingOntoLadderLnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
-
isFallFlying
public boolean isFallFlying()- Mappings:
Namespace Name Mixin selector official fuLbiw;fu()Zintermediary method_6128Lnet/minecraft/class_1309;method_6128()Znamed isFallFlyingLnet/minecraft/entity/LivingEntity;isFallFlying()Z
-
isInSwimmingPose
public boolean isInSwimmingPose()Returns whether the entity is in swimming pose.This includes crawling entities and entities using elytra that aren't fall-flying. Players start crawling if they would otherwise collide with blocks (for example, when the player is in a 1 block tall tunnel).
- Overrides:
isInSwimmingPosein classEntity- Returns:
- whether the entity is in swimming pose
- See Also:
- Mappings:
Namespace Name Mixin selector official bZLbig;bZ()Zintermediary method_20232Lnet/minecraft/class_1297;method_20232()Znamed isInSwimmingPoseLnet/minecraft/entity/Entity;isInSwimmingPose()Z
-
getRoll
public int getRoll()- Mappings:
Namespace Name Mixin selector official fvLbiw;fv()Iintermediary method_6003Lnet/minecraft/class_1309;method_6003()Inamed getRollLnet/minecraft/entity/LivingEntity;getRoll()I
-
teleport
public boolean teleport(double x, double y, double z, boolean particleEffects) - Mappings:
Namespace Name Mixin selector official bLbiw;b(DDDZ)Zintermediary method_6082Lnet/minecraft/class_1309;method_6082(DDDZ)Znamed teleportLnet/minecraft/entity/LivingEntity;teleport(DDDZ)Z
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Mappings:
Namespace Name Mixin selector official fwLbiw;fw()Zintermediary method_6086Lnet/minecraft/class_1309;method_6086()Znamed isAffectedBySplashPotionsLnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Z
-
isMobOrPlayer
public boolean isMobOrPlayer()- Mappings:
Namespace Name Mixin selector official fxLbiw;fx()Zintermediary method_6102Lnet/minecraft/class_1309;method_6102()Znamed isMobOrPlayerLnet/minecraft/entity/LivingEntity;isMobOrPlayer()Z
-
setNearbySongPlaying
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lgv;Z)Vintermediary method_6006Lnet/minecraft/class_1309;method_6006(Lnet/minecraft/class_2338;Z)Vnamed setNearbySongPlayingLnet/minecraft/entity/LivingEntity;setNearbySongPlaying(Lnet/minecraft/util/math/BlockPos;Z)V
-
canEquip
- Mappings:
Namespace Name Mixin selector official fLbiw;f(Lciw;)Zintermediary method_18397Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Znamed canEquipLnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector official aLbig;a(Lbji;)Lbih;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getPoses
- Mappings:
Namespace Name Mixin selector official fyLbiw;fy()Lcom/google/common/collect/ImmutableList;intermediary method_24831Lnet/minecraft/class_1309;method_24831()Lcom/google/common/collect/ImmutableList;named getPosesLnet/minecraft/entity/LivingEntity;getPoses()Lcom/google/common/collect/ImmutableList;
-
getBoundingBox
- Mappings:
Namespace Name Mixin selector official eLbiw;e(Lbji;)Leha;intermediary method_24833Lnet/minecraft/class_1309;method_24833(Lnet/minecraft/class_4050;)Lnet/minecraft/class_238;named getBoundingBoxLnet/minecraft/entity/LivingEntity;getBoundingBox(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/util/math/Box;
-
wouldNotSuffocateInPose
- Mappings:
Namespace Name Mixin selector official fLbiw;f(Lbji;)Zintermediary method_52542Lnet/minecraft/class_1309;method_52542(Lnet/minecraft/class_4050;)Znamed wouldNotSuffocateInPoseLnet/minecraft/entity/LivingEntity;wouldNotSuffocateInPose(Lnet/minecraft/entity/EntityPose;)Z
-
canUsePortals
public boolean canUsePortals()Returns whether the entity can use nether portals and end portals.EnderDragonEntity,WitherEntity, andFishingBobberEntitycannot use portals.- Overrides:
canUsePortalsin classEntity- Returns:
- whether the entity can use nether portals and end portals
- Mappings:
Namespace Name Mixin selector official csLbig;cs()Zintermediary method_5822Lnet/minecraft/class_1297;method_5822()Znamed canUsePortalsLnet/minecraft/entity/Entity;canUsePortals()Z
-
getSleepingPosition
- Mappings:
Namespace Name Mixin selector official fzLbiw;fz()Ljava/util/Optional;intermediary method_18398Lnet/minecraft/class_1309;method_18398()Ljava/util/Optional;named getSleepingPositionLnet/minecraft/entity/LivingEntity;getSleepingPosition()Ljava/util/Optional;
-
setSleepingPosition
- Mappings:
Namespace Name Mixin selector official gLbiw;g(Lgv;)Vintermediary method_18402Lnet/minecraft/class_1309;method_18402(Lnet/minecraft/class_2338;)Vnamed setSleepingPositionLnet/minecraft/entity/LivingEntity;setSleepingPosition(Lnet/minecraft/util/math/BlockPos;)V
-
clearSleepingPosition
public void clearSleepingPosition()- Mappings:
Namespace Name Mixin selector official fALbiw;fA()Vintermediary method_18399Lnet/minecraft/class_1309;method_18399()Vnamed clearSleepingPositionLnet/minecraft/entity/LivingEntity;clearSleepingPosition()V
-
isSleeping
public boolean isSleeping()- Mappings:
Namespace Name Mixin selector official fBLbiw;fB()Zintermediary method_6113Lnet/minecraft/class_1309;method_6113()Znamed isSleepingLnet/minecraft/entity/LivingEntity;isSleeping()Z
-
sleep
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lgv;)Vintermediary method_18403Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)Vnamed sleepLnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
-
setPositionInBed
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lgv;)Vintermediary method_18392Lnet/minecraft/class_1309;method_18392(Lnet/minecraft/class_2338;)Vnamed setPositionInBedLnet/minecraft/entity/LivingEntity;setPositionInBed(Lnet/minecraft/util/math/BlockPos;)V
-
isSleepingInBed
private boolean isSleepingInBed()- Mappings:
Namespace Name Mixin selector official HLbiw;H()Zintermediary method_18406Lnet/minecraft/class_1309;method_18406()Znamed isSleepingInBedLnet/minecraft/entity/LivingEntity;isSleepingInBed()Z
-
wakeUp
public void wakeUp()Wakes this entity up.- See Also:
- Mappings:
Namespace Name Mixin selector official fCLbiw;fC()Vintermediary method_18400Lnet/minecraft/class_1309;method_18400()Vnamed wakeUpLnet/minecraft/entity/LivingEntity;wakeUp()V
-
getSleepingDirection
- Mappings:
Namespace Name Mixin selector official fDLbiw;fD()Lhb;intermediary method_18401Lnet/minecraft/class_1309;method_18401()Lnet/minecraft/class_2350;named getSleepingDirectionLnet/minecraft/entity/LivingEntity;getSleepingDirection()Lnet/minecraft/util/math/Direction;
-
isInsideWall
public boolean isInsideWall()Returns whether the entity is in a wall and should suffocate.This returns
falseifEntity.noClipistrue; otherwise, this returnstrueif the eye position is occupied by a block that can suffocate.- Overrides:
isInsideWallin classEntity- Returns:
- whether the entity is in a wall and should suffocate
- Mappings:
Namespace Name Mixin selector official bwLbig;bw()Zintermediary method_5757Lnet/minecraft/class_1297;method_5757()Znamed isInsideWallLnet/minecraft/entity/Entity;isInsideWall()Z
-
getEyeHeight
- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(Lbji;Lbih;)Fintermediary method_18378Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getActiveEyeHeight
- Mappings:
Namespace Name Mixin selector official bLbiw;b(Lbji;Lbih;)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
-
getProjectileType
- Mappings:
Namespace Name Mixin selector official gLbiw;g(Lciw;)Lciw;intermediary method_18808Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;named getProjectileTypeLnet/minecraft/entity/LivingEntity;getProjectileType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
eatFood
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lcpk;Lciw;)Lciw;intermediary method_18866Lnet/minecraft/class_1309;method_18866(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;named eatFoodLnet/minecraft/entity/LivingEntity;eatFood(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
applyFoodEffects
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lciw;Lcpk;Lbiw;)Vintermediary method_18865Lnet/minecraft/class_1309;method_18865(Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)Vnamed applyFoodEffectsLnet/minecraft/entity/LivingEntity;applyFoodEffects(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
-
getEquipmentBreakStatus
- Mappings:
Namespace Name Mixin selector official gLbiw;g(Lbil;)Bintermediary method_20237Lnet/minecraft/class_1309;method_20237(Lnet/minecraft/class_1304;)Bnamed getEquipmentBreakStatusLnet/minecraft/entity/LivingEntity;getEquipmentBreakStatus(Lnet/minecraft/entity/EquipmentSlot;)B
-
sendEquipmentBreakStatus
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbil;)Vintermediary method_20235Lnet/minecraft/class_1309;method_20235(Lnet/minecraft/class_1304;)Vnamed sendEquipmentBreakStatusLnet/minecraft/entity/LivingEntity;sendEquipmentBreakStatus(Lnet/minecraft/entity/EquipmentSlot;)V
-
sendToolBreakStatus
- Mappings:
Namespace Name Mixin selector official dLbiw;d(Lbgn;)Vintermediary method_20236Lnet/minecraft/class_1309;method_20236(Lnet/minecraft/class_1268;)Vnamed sendToolBreakStatusLnet/minecraft/entity/LivingEntity;sendToolBreakStatus(Lnet/minecraft/util/Hand;)V
-
getVisibilityBoundingBox
- Overrides:
getVisibilityBoundingBoxin classEntity- Mappings:
Namespace Name Mixin selector official k_Lbig;k_()Leha;intermediary method_5830Lnet/minecraft/class_1297;method_5830()Lnet/minecraft/class_238;named getVisibilityBoundingBoxLnet/minecraft/entity/Entity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;
-
getPreferredEquipmentSlot
- Mappings:
Namespace Name Mixin selector official hLbiw;h(Lciw;)Lbil;intermediary method_32326Lnet/minecraft/class_1309;method_32326(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1304;named getPreferredEquipmentSlotLnet/minecraft/entity/LivingEntity;getPreferredEquipmentSlot(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/EquipmentSlot;
-
getStackReference
- Mappings:
Namespace Name Mixin selector official aLbiw;a(Lbiw;Lbil;)Lbjp;intermediary method_32321Lnet/minecraft/class_1309;method_32321(Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;)Lnet/minecraft/class_5630;named getStackReferenceLnet/minecraft/entity/LivingEntity;getStackReference(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/inventory/StackReference;
-
getEquipmentSlot
- Mappings:
Namespace Name Mixin selector official rLbiw;r(I)Lbil;intermediary method_32322Lnet/minecraft/class_1309;method_32322(I)Lnet/minecraft/class_1304;named getEquipmentSlotLnet/minecraft/entity/LivingEntity;getEquipmentSlot(I)Lnet/minecraft/entity/EquipmentSlot;
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/lootor/item.- Overrides:
getStackReferencein classEntity- Parameters:
mappedIndex- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector official a_Lbig;a_(I)Lbjp;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getStackReferenceLnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
canFreeze
public boolean canFreeze()Returns whether the entity can freeze. -
isGlowing
public boolean isGlowing()Returns whether the entity is glowing, checking the entity flags on the client.Glowing entities have an outline when rendered.
- Overrides:
isGlowingin classEntity- Returns:
- whether the entity is glowing, checking the entity flags on the client
- See Also:
- Mappings:
Namespace Name Mixin selector official ccLbig;cc()Zintermediary method_5851Lnet/minecraft/class_1297;method_5851()Znamed isGlowingLnet/minecraft/entity/Entity;isGlowing()Z
-
getBodyYaw
public float getBodyYaw()Returns the body yaw of the entity.- Overrides:
getBodyYawin classEntity- Returns:
- the body yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector official dBLbig;dB()Fintermediary method_43078Lnet/minecraft/class_1297;method_43078()Fnamed getBodyYawLnet/minecraft/entity/Entity;getBodyYaw()F
-
onSpawnPacket
Called on the client when the entity receives a spawn packet.This sets the entity's position, angles, ID, and UUID. Subclasses can override this to initialize additional fields.
- Overrides:
onSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector official aLbig;a(Lwp;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vnamed onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-
disablesShield
public boolean disablesShield()- Mappings:
Namespace Name Mixin selector official fELbiw;fE()Zintermediary method_42149Lnet/minecraft/class_1309;method_42149()Znamed disablesShieldLnet/minecraft/entity/LivingEntity;disablesShield()Z
-
getStepHeight
public float getStepHeight()- Overrides:
getStepHeightin classEntity- Mappings:
Namespace Name Mixin selector official dELbig;dE()Fintermediary method_49476Lnet/minecraft/class_1297;method_49476()Fnamed getStepHeightLnet/minecraft/entity/Entity;getStepHeight()F
-
getPassengerRidingPos
- Overrides:
getPassengerRidingPosin classEntity- Mappings:
Namespace Name Mixin selector official mLbig;m(Lbig;)Lehf;intermediary method_52538Lnet/minecraft/class_1297;method_52538(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;named getPassengerRidingPosLnet/minecraft/entity/Entity;getPassengerRidingPos(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
-
getRidingOffset
- Overrides:
getRidingOffsetin classEntity- Mappings:
Namespace Name Mixin selector official kLbig;k(Lbig;)Fintermediary method_52536Lnet/minecraft/class_1297;method_52536(Lnet/minecraft/class_1297;)Fnamed getRidingOffsetLnet/minecraft/entity/Entity;getRidingOffset(Lnet/minecraft/entity/Entity;)F
-
method_52539
protected void method_52539(int int2, double double2) - Mappings:
Namespace Name Mixin selector official aLbiw;a(ID)Vintermediary method_52539Lnet/minecraft/class_1309;method_52539(ID)Vnamed method_52539Lnet/minecraft/entity/LivingEntity;method_52539(ID)V
-