Class LivingEntity
- All Implemented Interfaces:
ComponentsAccess
,Attackable
,DataTracked
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
,ServerWaypoint
,Waypoint
- Direct Known Subclasses:
ArmorStandEntity
,MobEntity
,PlayerEntity
- Mappings:
Namespace Name named net/minecraft/entity/LivingEntity
intermediary net/minecraft/class_1309
official cam
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTracker
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate float
private static final String
protected ItemStack
private final Map
<RegistryEntry<StatusEffect>, StatusEffectInstance> private @Nullable LazyEntityReference
<LivingEntity> private @Nullable LivingEntity
protected @Nullable LazyEntityReference
<PlayerEntity> private final AttributeContainer
static final String
static final float
float
protected Brain
<?> private static final com.mojang.serialization.Dynamic
<?> static final String
private final DamageTracker
protected boolean
static final int
static final String
int
final int
protected int
private boolean
final ElytraFlightController
protected final EntityEquipment
static final String
static final int
private boolean
static final String
static final int
static final int
static final double
private static final int
private static final int
private static final int
static final float
static final float
static final int
private static final int
static final int
protected static final float
float
protected int
static final int
static final double
boolean
float
int
protected int
float
private static final TrackedData
<Float> static final String
static final String
static final String
int
protected PositionInterpolator
protected int
protected boolean
private int
protected int
private int
private int
private BlockPos
float
private @Nullable DamageSource
protected float
private long
private final Map
<EquipmentSlot, ItemStack> float
float
private float
private float
final LimbAnimator
protected static final TrackedData
<Byte> private final EnumMap
<EquipmentSlot, Reference2ObjectMap<Enchantment, Set<EnchantmentLocationBasedEffect>>> private static final Logger
private static final double
int
private float
private boolean
static final Predicate
<LivingEntity> protected static final int
protected int
private static final TrackedData
<List<ParticleEffect>> private static final TrackedData
<Boolean> private static final Identifier
protected float
protected int
protected double
float
protected static final EntityDimensions
static final String
private static final TrackedData
<Optional<BlockPos>> private static final EntityAttributeModifier
private static final Identifier
private static final TrackedData
<Integer> private static final TrackedData
<Integer> int
int
float
protected static final int
protected static final int
private Waypoint.Config
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
Fields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLD
Fields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
LivingEntity
(EntityType<? extends LivingEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
protected void
final boolean
addStatusEffect
(StatusEffectInstance effect) Adds a status effect to this entity without specifying a source entity.boolean
addStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.void
animateDamage
(float yaw) Called on the client to animate the entity's damage (the wobble).protected float
applyArmorToDamage
(DamageSource source, float amount) private Vec3d
applyClimbingSpeed
(Vec3d motion) protected void
applyDamage
(ServerWorld world, DamageSource source, float amount) applyFluidMovingSpeed
(double gravity, boolean falling, Vec3d motion) protected void
applyMovementEffects
(ServerWorld world, BlockPos pos) private Vec3d
applyMovementInput
(Vec3d movementInput, float slipperiness) boolean
areItemsDifferent
(ItemStack stack, ItemStack stack2) protected void
attackLivingEntity
(LivingEntity target) void
baseTick()
protected void
becomeAngry
(DamageSource damageSource) private Vec3d
calcGlidingVelocity
(Vec3d oldVelocity) boolean
protected boolean
private boolean
canEnterTrapdoor
(BlockPos pos, BlockState state) final boolean
canEquip
(ItemStack stack, EquipmentSlot slot) final boolean
canEquipFromDispenser
(ItemStack stack) boolean
Returns whether the entity can freeze.protected boolean
canGlide()
static boolean
canGlideWith
(ItemStack stack, EquipmentSlot slot) boolean
boolean
canHit()
Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.boolean
boolean
boolean
canSee
(Entity entity, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, double entityY) boolean
boolean
canTarget
(EntityType<?> type) boolean
canTarget
(LivingEntity target) boolean
canUsePortals
(boolean allowVehicles) Returns whether the entity can use nether portals and end portals.boolean
canUseSlot
(EquipmentSlot slot) boolean
canWalkOnFluid
(FluidState state) private void
checkGlidingCollision
(double oldSpeed, double newSpeed) private void
checkHandStackSwap
(Map<EquipmentSlot, ItemStack> equipmentChanges) Notifies nearby players if the stacks in the hands have been swapped.protected float
clampScale
(float scale) void
protected void
void
boolean
protected int
computeFallDamage
(double fallDistance, float damagePerDistance) protected void
static boolean
protected Brain.Profile
<?> protected EntityEquipment
private @Nullable ItemEntity
createItemEntity
(ItemStack stack, boolean atSelf, boolean retainOwnership) createTracker
(ServerPlayerEntity receiver) boolean
damage
(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected void
damageArmor
(DamageSource source, float amount) protected void
damageEquipment
(DamageSource source, float amount, EquipmentSlot[] slots) protected void
damageHelmet
(DamageSource source, float amount) protected Brain
<?> deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) void
protected void
drop
(ServerWorld world, DamageSource damageSource) protected void
dropEquipment
(ServerWorld world, DamageSource source, boolean causedByPlayer) protected void
dropExperience
(ServerWorld world, @Nullable Entity attacker) Drops experience when this entity is killed.protected void
dropInventory
(ServerWorld world) protected void
dropLoot
(ServerWorld world, DamageSource damageSource, boolean causedByPlayer) void
void
void
equipStack
(EquipmentSlot slot, ItemStack stack) protected void
fall
(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.protected boolean
forEachGeneratedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext.Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) boolean
forEachGiftedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, BiConsumer<ServerWorld, ItemStack> lootConsumer) protected void
forEachShearedItem
(ServerWorld world, RegistryKey<LootTable> lootTableKey, ItemStack tool, BiConsumer<ServerWorld, ItemStack> lootConsumer) float
int
getArmor()
float
double
protected float
getAttackKnockbackAgainst
(Entity target, DamageSource damageSource) double
getAttributeBaseValue
(RegistryEntry<EntityAttribute> attribute) getAttributeInstance
(RegistryEntry<EntityAttribute> attribute) double
getAttributeValue
(RegistryEntry<EntityAttribute> attribute) protected EntityDimensions
getBaseDimensions
(EntityPose pose) protected float
Returns the item stack currently being used for blocking, such as shields.float
Returns the body yaw of the entity.getBoundingBox
(EntityPose pose) Brain
<?> getBrain()
protected Vec3d
getControlledMovementInput
(PlayerEntity controllingPlayer, Vec3d movementInput) float
getDamageBlockedAmount
(ServerWorld world, DamageSource source, float amount) float
protected @Nullable SoundEvent
int
final EntityDimensions
getDimensions
(EntityPose pose) Returns the dimensions of the entity with the givenpose
.float
getEffectFadeFactor
(RegistryEntry<StatusEffect> effect, float tickProgress) protected double
private static byte
private @Nullable Map
<EquipmentSlot, ItemStack> Returns the difference between the last sent equipment set and the current one.private static @Nullable EquipmentSlot
getEquipmentSlot
(int slotId) protected RegistryEntry
<SoundEvent> getEquipSound
(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) protected int
getExperienceToDrop
(ServerWorld world) Called when this entity is killed and returns the amount of experience to drop.final int
getExperienceToDrop
(ServerWorld world, @Nullable Entity attacker) private SoundEvent
getFallSound
(int distance) int
protected double
private int
float
getHandSwingProgress
(float tickProgress) float
Returns the head yaw of the entity.float
protected Box
Gets the area in which this entity can be attacked by mobs whose attack box overlaps it.protected @Nullable SoundEvent
getHurtSound
(DamageSource source) int
int
float
protected float
protected float
getJumpVelocity
(float strength) int
int
float
getLeaningPitch
(float tickProgress) long
float
getLuck()
abstract Arm
final float
final float
protected float
Returns the maximum rotation of the head relative to the body in degrees.float
private float
getMovementSpeed
(float slipperiness) protected int
getNextAirOnLand
(int air) protected int
getNextAirUnderwater
(int air) protected float
getPassengerRidingPos
(Entity passenger) int
getPoses()
final EquipmentSlot
getProjectileType
(ItemStack stack) protected float
getSaddledSpeed
(PlayerEntity controllingPlayer) int
Returns the maximum height of a fall the entity takes during pathfinding.protected final int
getSafeFallDistance
(float health) final float
getScale()
float
static EquipmentSlot
getSlotForHand
(Hand hand) float
protected float
getStackInArm
(Arm arm) getStackInHand
(Hand hand) getStackReference
(int mappedIndex) Obtains a stack reference to be modified.private static StackReference
getStackReference
(LivingEntity entity, EquipmentSlot slot) getStatusEffect
(RegistryEntry<StatusEffect> effect) float
final int
final int
private double
getUnsafeFallDistance
(double fallDistance) protected float
float
float
getYaw
(float tickProgress) void
giveOrDropStack
(ItemStack stack) boolean
handleFallDamage
(double fallDistance, float damagePerDistance, DamageSource damageSource) Called when an entity falls.void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.boolean
boolean
boolean
boolean
boolean
hasStatusEffect
(RegistryEntry<StatusEffect> effect) boolean
void
heal
(float amount) Heals this entity by the givenamount
of half-hearts.boolean
protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.boolean
boolean
isAlive()
Returns whether the entity is alive.protected boolean
isArmorSlot
(EquipmentSlot slot) boolean
isBaby()
boolean
boolean
boolean
isDead()
boolean
isEntityLookingAtMe
(LivingEntity entity, double double2, boolean bool, boolean visualShape, double[] checkedYs) boolean
boolean
boolean
Returns whether the entity is glowing, checking the entity flags on the client.boolean
Checks if this entity is holding a certain item.boolean
Checks if this entity is holding a certain item.boolean
protected boolean
boolean
boolean
Returns whether the entity is in a wall and should suffocate.boolean
Returns whether the entity is in swimming pose.boolean
isInvulnerableTo
(ServerWorld world, DamageSource source) boolean
boolean
boolean
boolean
Returns whether the entity can be pushed by other entities.boolean
private boolean
boolean
boolean
void
jump()
void
kill
(ServerWorld world) Kills the entity.protected void
knockback
(LivingEntity target) protected void
protected void
lerpHeadYaw
(int headTrackingIncrements, double serverHeadYaw) float
lerpYaw
(float tickProgress) void
lookAt
(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget
.protected void
protected float
modifyAppliedDamage
(DamageSource source, float amount) Returns the modified damage value for the applieddamage
.void
onAttacking
(Entity target) void
onDamaged
(DamageSource damageSource) void
onDeath
(DamageSource damageSource) private void
onDismounted
(Entity vehicle) private void
onEquipmentRemoved
(ItemStack removedEquipment, EquipmentSlot slot, AttributeContainer container) void
onEquipStack
(EquipmentSlot slot, ItemStack oldStack, ItemStack newStack) protected void
onKilledBy
(@Nullable LivingEntity adversary) Performs secondary effects after this mob has been killed.protected void
onRemoval
(ServerWorld world, Entity.RemovalReason reason) void
onRemove
(Entity.RemovalReason reason) Called when the entity is about to be removed.void
onSpawnPacket
(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.protected void
onStatusEffectApplied
(StatusEffectInstance effect, @Nullable Entity source) protected void
protected void
onStatusEffectUpgraded
(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.protected void
private void
protected void
playHurtSound
(DamageSource damageSource) void
playSound
(@Nullable SoundEvent sound) private void
playThornsSound
(DamageSource damageSource) positionInPortal
(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.static Vec3d
positionInPortal
(Vec3d pos) protected void
void
pushAwayFrom
(Entity entity) protected void
readCustomData
(ReadView view) void
remove
(Entity.RemovalReason reason) Removes the entity.protected void
boolean
removeStatusEffect
(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity.Removes a status effect from this entity without calling any listener.void
void
sendEquipmentBreakStatus
(Item item, EquipmentSlot slot) private void
Sends equipment changes to nearby players.private void
sendEquipmentChanges
(Map<EquipmentSlot, ItemStack> equipmentChanges) Sends equipment changes to nearby players.void
sendPickup
(Entity item, int count) final void
setAbsorptionAmount
(float absorptionAmount) protected void
setAbsorptionAmountUnclamped
(float absorptionAmount) void
setAttacker
(@Nullable LivingEntity attacker) void
setAttacking
(UUID attackingPlayer, int playerHitTimer) private void
setAttacking
(LazyEntityReference<PlayerEntity> attackingPlayer, int playerHitTimer) void
setAttacking
(PlayerEntity attackingPlayer, int playerHitTimer) protected @Nullable PlayerEntity
setAttackingPlayer
(DamageSource damageSource) void
setBodyYaw
(float bodyYaw) Sets the body yaw of this entity.void
setCurrentHand
(Hand hand) void
setDespawnCounter
(int despawnCounter) void
setHeadYaw
(float headYaw) Sets the head yaw of this entity.void
setHealth
(float health) void
setJumping
(boolean jumping) protected void
setLivingFlag
(int mask, boolean value) void
setMovementSpeed
(float movementSpeed) void
setNearbySongPlaying
(BlockPos songPosition, boolean playing) void
setNoDrag
(boolean noDrag) void
setOnFireForTicks
(int ticks) private void
setPositionInBed
(BlockPos pos) void
void
setSprinting
(boolean sprinting) Sets whether the entity is sprinting.void
setStackInHand
(Hand hand, ItemStack stack) void
setStatusEffect
(StatusEffectInstance effect, @Nullable Entity source) Sets a status effect in this entity.final void
setStingerCount
(int stingerCount) final void
setStuckArrowCount
(int stuckArrowCount) protected boolean
Returns if this entity may always drop experience, skipping any other checks.boolean
Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.protected boolean
boolean
Returns whether to render the name of the entity.boolean
void
void
spawnItemParticles
(ItemStack stack, int count) void
void
Stops riding the vehicle if present.void
private void
protected void
swimUpward
(TagKey<Fluid> fluid) void
void
void
takeKnockback
(double strength, double x, double z) protected void
takeShieldHit
(ServerWorld world, LivingEntity attacker) boolean
teleport
(double x, double y, double z, boolean particleEffects) void
tick()
Ticks this entity.private void
protected void
tickControlled
(PlayerEntity controllingPlayer, Vec3d movementInput) protected void
protected void
protected void
protected void
Called when the entity is 64 blocks below the world's minimum Y position.protected void
tickItemStackUsage
(ItemStack stack) void
protected void
protected void
void
protected void
tickRiptide
(Box a, Box b) protected void
void
tiltScreen
(double deltaX, double deltaZ) void
Allows you to do certain speed and velocity calculations.private void
travelControlled
(PlayerEntity controllingPlayer, Vec3d movementInput) protected void
travelFlying
(Vec3d movementInput, float speed) protected void
travelFlying
(Vec3d movementInput, float inWaterSpeed, float inLavaSpeed, float regularSpeed) private void
travelGliding
(Vec3d movementInput) private void
travelInFluid
(Vec3d movementInput) private void
travelMidAir
(Vec3d movementInput) void
Called to trigger advancement criteria when an entity picks up an item thrown by a player.boolean
tryAttack
(ServerWorld world, Entity target) private boolean
tryUseDeathProtector
(DamageSource source) protected void
turnHead
(float bodyRotation) protected void
updateAttribute
(RegistryEntry<EntityAttribute> attribute) private void
private void
private void
void
updateLimbs
(boolean flutter) protected void
updateLimbs
(float posDelta) protected void
private void
protected void
void
updateTrackedHeadRotation
(float yaw, int interpolationSteps) void
wakeUp()
Wakes this entity up.protected boolean
protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canActVoluntarily, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, checkDespawn, checkWaterState, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interact, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isBeingRainedOn, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/entity/LivingEntity;LOGGER:Lorg/slf4j/Logger;
intermediary field_36332
Lnet/minecraft/class_1309;field_36332:Lorg/slf4j/Logger;
official a
Lcam;a:Lorg/slf4j/Logger;
-
ACTIVE_EFFECTS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ACTIVE_EFFECTS_KEY
Lnet/minecraft/entity/LivingEntity;ACTIVE_EFFECTS_KEY:Ljava/lang/String;
intermediary field_45740
Lnet/minecraft/class_1309;field_45740:Ljava/lang/String;
official b
Lcam;b:Ljava/lang/String;
-
ATTRIBUTES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ATTRIBUTES_KEY
Lnet/minecraft/entity/LivingEntity;ATTRIBUTES_KEY:Ljava/lang/String;
intermediary field_51995
Lnet/minecraft/class_1309;field_51995:Ljava/lang/String;
official l
Lcam;l:Ljava/lang/String;
-
SLEEPING_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SLEEPING_POS_KEY
Lnet/minecraft/entity/LivingEntity;SLEEPING_POS_KEY:Ljava/lang/String;
intermediary field_60537
Lnet/minecraft/class_1309;field_60537:Ljava/lang/String;
official m
Lcam;m:Ljava/lang/String;
-
EQUIPMENT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIPMENT_KEY
Lnet/minecraft/entity/LivingEntity;EQUIPMENT_KEY:Ljava/lang/String;
intermediary field_60538
Lnet/minecraft/class_1309;field_60538:Ljava/lang/String;
official n
Lcam;n:Ljava/lang/String;
-
BRAIN_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BRAIN_KEY
Lnet/minecraft/entity/LivingEntity;BRAIN_KEY:Ljava/lang/String;
intermediary field_60539
Lnet/minecraft/class_1309;field_60539:Ljava/lang/String;
official o
Lcam;o:Ljava/lang/String;
-
FALL_FLYING_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named FALL_FLYING_KEY
Lnet/minecraft/entity/LivingEntity;FALL_FLYING_KEY:Ljava/lang/String;
intermediary field_60540
Lnet/minecraft/class_1309;field_60540:Ljava/lang/String;
official p
Lcam;p:Ljava/lang/String;
-
HURT_TIME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HURT_TIME_KEY
Lnet/minecraft/entity/LivingEntity;HURT_TIME_KEY:Ljava/lang/String;
intermediary field_60541
Lnet/minecraft/class_1309;field_60541:Ljava/lang/String;
official q
Lcam;q:Ljava/lang/String;
-
DEATH_TIME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named DEATH_TIME_KEY
Lnet/minecraft/entity/LivingEntity;DEATH_TIME_KEY:Ljava/lang/String;
intermediary field_60542
Lnet/minecraft/class_1309;field_60542:Ljava/lang/String;
official r
Lcam;r:Ljava/lang/String;
-
HURT_BY_TIMESTAMP_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HURT_BY_TIMESTAMP_KEY
Lnet/minecraft/entity/LivingEntity;HURT_BY_TIMESTAMP_KEY:Ljava/lang/String;
intermediary field_60543
Lnet/minecraft/class_1309;field_60543:Ljava/lang/String;
official s
Lcam;s:Ljava/lang/String;
-
HEALTH_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HEALTH_KEY
Lnet/minecraft/entity/LivingEntity;HEALTH_KEY:Ljava/lang/String;
intermediary field_60544
Lnet/minecraft/class_1309;field_60544:Ljava/lang/String;
official t
Lcam;t:Ljava/lang/String;
-
POWDER_SNOW_SPEED_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector named POWDER_SNOW_SPEED_MODIFIER_ID
Lnet/minecraft/entity/LivingEntity;POWDER_SNOW_SPEED_MODIFIER_ID:Lnet/minecraft/util/Identifier;
intermediary field_27859
Lnet/minecraft/class_1309;field_27859:Lnet/minecraft/class_2960;
official c
Lcam;c:Lame;
-
SPRINTING_SPEED_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector named SPRINTING_SPEED_MODIFIER_ID
Lnet/minecraft/entity/LivingEntity;SPRINTING_SPEED_MODIFIER_ID:Lnet/minecraft/util/Identifier;
intermediary field_51996
Lnet/minecraft/class_1309;field_51996:Lnet/minecraft/class_2960;
official d
Lcam;d:Lame;
-
SPRINTING_SPEED_BOOST
- Mappings:
Namespace Name Mixin selector named SPRINTING_SPEED_BOOST
Lnet/minecraft/entity/LivingEntity;SPRINTING_SPEED_BOOST:Lnet/minecraft/entity/attribute/EntityAttributeModifier;
intermediary field_6231
Lnet/minecraft/class_1309;field_6231:Lnet/minecraft/class_1322;
official e
Lcam;e:Lcbq;
-
EQUIPMENT_SLOT_ID
public static final int EQUIPMENT_SLOT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIPMENT_SLOT_ID
Lnet/minecraft/entity/LivingEntity;EQUIPMENT_SLOT_ID:I
intermediary field_30071
Lnet/minecraft/class_1309;field_30071:I
official u
Lcam;u:I
-
field_30072
public static final int field_30072- See Also:
- Mappings:
Namespace Name Mixin selector named field_30072
Lnet/minecraft/entity/LivingEntity;field_30072:I
intermediary field_30072
Lnet/minecraft/class_1309;field_30072:I
official aM
Lcam;aM:I
-
field_48827
public static final int field_48827- See Also:
- Mappings:
Namespace Name Mixin selector named field_48827
Lnet/minecraft/entity/LivingEntity;field_48827:I
intermediary field_48827
Lnet/minecraft/class_1309;field_48827:I
official aN
Lcam;aN:I
-
field_55952
public static final int field_55952- See Also:
- Mappings:
Namespace Name Mixin selector named field_55952
Lnet/minecraft/entity/LivingEntity;field_55952:I
intermediary field_55952
Lnet/minecraft/class_1309;field_55952:I
official aO
Lcam;aO:I
-
GLOWING_FLAG
public static final int GLOWING_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named GLOWING_FLAG
Lnet/minecraft/entity/LivingEntity;GLOWING_FLAG:I
intermediary field_30073
Lnet/minecraft/class_1309;field_30073:I
official aP
Lcam;aP:I
-
field_30074
public static final int field_30074- See Also:
- Mappings:
Namespace Name Mixin selector named field_30074
Lnet/minecraft/entity/LivingEntity;field_30074:I
intermediary field_30074
Lnet/minecraft/class_1309;field_30074:I
official aQ
Lcam;aQ:I
-
field_30078
private static final int field_30078- See Also:
- Mappings:
Namespace Name Mixin selector named field_30078
Lnet/minecraft/entity/LivingEntity;field_30078:I
intermediary field_30078
Lnet/minecraft/class_1309;field_30078:I
official bQ
Lcam;bQ:I
-
field_30075
public static final double field_30075- See Also:
- Mappings:
Namespace Name Mixin selector named field_30075
Lnet/minecraft/entity/LivingEntity;field_30075:D
intermediary field_30075
Lnet/minecraft/class_1309;field_30075:D
official aR
Lcam;aR:D
-
GRAVITY
public static final double GRAVITY- See Also:
- Mappings:
Namespace Name Mixin selector named GRAVITY
Lnet/minecraft/entity/LivingEntity;GRAVITY:D
intermediary field_30076
Lnet/minecraft/class_1309;field_30076:D
official aS
Lcam;aS:D
-
DEATH_TICKS
public static final int DEATH_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector named DEATH_TICKS
Lnet/minecraft/entity/LivingEntity;DEATH_TICKS:I
intermediary field_30077
Lnet/minecraft/class_1309;field_30077:I
official aT
Lcam;aT:I
-
field_56256
protected static final float field_56256- See Also:
- Mappings:
Namespace Name Mixin selector named field_56256
Lnet/minecraft/entity/LivingEntity;field_56256:F
intermediary field_56256
Lnet/minecraft/class_1309;field_56256:F
official aU
Lcam;aU:F
-
field_30080
private static final int field_30080- See Also:
- Mappings:
Namespace Name Mixin selector named field_30080
Lnet/minecraft/entity/LivingEntity;field_30080:I
intermediary field_30080
Lnet/minecraft/class_1309;field_30080:I
official bR
Lcam;bR:I
-
field_30081
private static final int field_30081- See Also:
- Mappings:
Namespace Name Mixin selector named field_30081
Lnet/minecraft/entity/LivingEntity;field_30081:I
intermediary field_30081
Lnet/minecraft/class_1309;field_30081:I
official bS
Lcam;bS:I
-
field_44874
public static final float field_44874- See Also:
- Mappings:
Namespace Name Mixin selector named field_44874
Lnet/minecraft/entity/LivingEntity;field_44874:F
intermediary field_44874
Lnet/minecraft/class_1309;field_44874:F
official aV
Lcam;aV:F
-
MAX_ENTITY_VIEWING_DISTANCE
private static final double MAX_ENTITY_VIEWING_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_ENTITY_VIEWING_DISTANCE
Lnet/minecraft/entity/LivingEntity;MAX_ENTITY_VIEWING_DISTANCE:D
intermediary field_33908
Lnet/minecraft/class_1309;field_33908:D
official bT
Lcam;bT:D
-
USING_ITEM_FLAG
protected static final int USING_ITEM_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named USING_ITEM_FLAG
Lnet/minecraft/entity/LivingEntity;USING_ITEM_FLAG:I
intermediary field_30064
Lnet/minecraft/class_1309;field_30064:I
official aW
Lcam;aW:I
-
OFF_HAND_ACTIVE_FLAG
protected static final int OFF_HAND_ACTIVE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named OFF_HAND_ACTIVE_FLAG
Lnet/minecraft/entity/LivingEntity;OFF_HAND_ACTIVE_FLAG:I
intermediary field_30065
Lnet/minecraft/class_1309;field_30065:I
official aX
Lcam;aX:I
-
USING_RIPTIDE_FLAG
protected static final int USING_RIPTIDE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named USING_RIPTIDE_FLAG
Lnet/minecraft/entity/LivingEntity;USING_RIPTIDE_FLAG:I
intermediary field_30066
Lnet/minecraft/class_1309;field_30066:I
official aY
Lcam;aY:I
-
LIVING_FLAGS
- Mappings:
Namespace Name Mixin selector named LIVING_FLAGS
Lnet/minecraft/entity/LivingEntity;LIVING_FLAGS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_6257
Lnet/minecraft/class_1309;field_6257:Lnet/minecraft/class_2940;
official aZ
Lcam;aZ:Lalh;
-
HEALTH
- Mappings:
Namespace Name Mixin selector named HEALTH
Lnet/minecraft/entity/LivingEntity;HEALTH:Lnet/minecraft/entity/data/TrackedData;
intermediary field_6247
Lnet/minecraft/class_1309;field_6247:Lnet/minecraft/class_2940;
official bU
Lcam;bU:Lalh;
-
POTION_SWIRLS
- Mappings:
Namespace Name Mixin selector named POTION_SWIRLS
Lnet/minecraft/entity/LivingEntity;POTION_SWIRLS:Lnet/minecraft/entity/data/TrackedData;
intermediary field_49792
Lnet/minecraft/class_1309;field_49792:Lnet/minecraft/class_2940;
official bV
Lcam;bV:Lalh;
-
POTION_SWIRLS_AMBIENT
- Mappings:
Namespace Name Mixin selector named POTION_SWIRLS_AMBIENT
Lnet/minecraft/entity/LivingEntity;POTION_SWIRLS_AMBIENT:Lnet/minecraft/entity/data/TrackedData;
intermediary field_6214
Lnet/minecraft/class_1309;field_6214:Lnet/minecraft/class_2940;
official bW
Lcam;bW:Lalh;
-
STUCK_ARROW_COUNT
- Mappings:
Namespace Name Mixin selector named STUCK_ARROW_COUNT
Lnet/minecraft/entity/LivingEntity;STUCK_ARROW_COUNT:Lnet/minecraft/entity/data/TrackedData;
intermediary field_6219
Lnet/minecraft/class_1309;field_6219:Lnet/minecraft/class_2940;
official bX
Lcam;bX:Lalh;
-
STINGER_COUNT
- Mappings:
Namespace Name Mixin selector named STINGER_COUNT
Lnet/minecraft/entity/LivingEntity;STINGER_COUNT:Lnet/minecraft/entity/data/TrackedData;
intermediary field_20348
Lnet/minecraft/class_1309;field_20348:Lnet/minecraft/class_2940;
official bY
Lcam;bY:Lalh;
-
SLEEPING_POSITION
- Mappings:
Namespace Name Mixin selector named SLEEPING_POSITION
Lnet/minecraft/entity/LivingEntity;SLEEPING_POSITION:Lnet/minecraft/entity/data/TrackedData;
intermediary field_18073
Lnet/minecraft/class_1309;field_18073:Lnet/minecraft/class_2940;
official bZ
Lcam;bZ:Lalh;
-
field_49793
private static final int field_49793- See Also:
- Mappings:
Namespace Name Mixin selector named field_49793
Lnet/minecraft/entity/LivingEntity;field_49793:I
intermediary field_49793
Lnet/minecraft/class_1309;field_49793:I
official ca
Lcam;ca:I
-
SLEEPING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named SLEEPING_DIMENSIONS
Lnet/minecraft/entity/LivingEntity;SLEEPING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
intermediary field_18072
Lnet/minecraft/class_1309;field_18072:Lnet/minecraft/class_4048;
official ba
Lcam;ba:Lbzp;
-
BABY_SCALE_FACTOR
public static final float BABY_SCALE_FACTOR- See Also:
- Mappings:
Namespace Name Mixin selector named BABY_SCALE_FACTOR
Lnet/minecraft/entity/LivingEntity;BABY_SCALE_FACTOR:F
intermediary field_30068
Lnet/minecraft/class_1309;field_30068:F
official bb
Lcam;bb:F
-
field_47756
public static final float field_47756- See Also:
- Mappings:
Namespace Name Mixin selector named field_47756
Lnet/minecraft/entity/LivingEntity;field_47756:F
intermediary field_47756
Lnet/minecraft/class_1309;field_47756:F
official bc
Lcam;bc:F
-
NOT_WEARING_GAZE_DISGUISE_PREDICATE
- Mappings:
Namespace Name Mixin selector named NOT_WEARING_GAZE_DISGUISE_PREDICATE
Lnet/minecraft/entity/LivingEntity;NOT_WEARING_GAZE_DISGUISE_PREDICATE:Ljava/util/function/Predicate;
intermediary field_54564
Lnet/minecraft/class_1309;field_54564:Ljava/util/function/Predicate;
official bd
Lcam;bd:Ljava/util/function/Predicate;
-
BRAIN
private static final com.mojang.serialization.Dynamic<?> BRAIN- Mappings:
Namespace Name Mixin selector named BRAIN
Lnet/minecraft/entity/LivingEntity;BRAIN:Lcom/mojang/serialization/Dynamic;
intermediary field_60356
Lnet/minecraft/class_1309;field_60356:Lcom/mojang/serialization/Dynamic;
official cb
Lcam;cb:Lcom/mojang/serialization/Dynamic;
-
attributes
- Mappings:
Namespace Name Mixin selector named attributes
Lnet/minecraft/entity/LivingEntity;attributes:Lnet/minecraft/entity/attribute/AttributeContainer;
intermediary field_6260
Lnet/minecraft/class_1309;field_6260:Lnet/minecraft/class_5131;
official cc
Lcam;cc:Lcbp;
-
damageTracker
- Mappings:
Namespace Name Mixin selector named damageTracker
Lnet/minecraft/entity/LivingEntity;damageTracker:Lnet/minecraft/entity/damage/DamageTracker;
intermediary field_6256
Lnet/minecraft/class_1309;field_6256:Lnet/minecraft/class_1283;
official cd
Lcam;cd:Lbxy;
-
activeStatusEffects
- Mappings:
Namespace Name Mixin selector named activeStatusEffects
Lnet/minecraft/entity/LivingEntity;activeStatusEffects:Ljava/util/Map;
intermediary field_6280
Lnet/minecraft/class_1309;field_6280:Ljava/util/Map;
official ce
Lcam;ce:Ljava/util/Map;
-
lastEquipmentStacks
- Mappings:
Namespace Name Mixin selector named lastEquipmentStacks
Lnet/minecraft/entity/LivingEntity;lastEquipmentStacks:Ljava/util/Map;
intermediary field_55951
Lnet/minecraft/class_1309;field_55951:Ljava/util/Map;
official cf
Lcam;cf:Ljava/util/Map;
-
handSwinging
public boolean handSwinging- Mappings:
Namespace Name Mixin selector named handSwinging
Lnet/minecraft/entity/LivingEntity;handSwinging:Z
intermediary field_6252
Lnet/minecraft/class_1309;field_6252:Z
official be
Lcam;be:Z
-
noDrag
private boolean noDrag- Mappings:
Namespace Name Mixin selector named noDrag
Lnet/minecraft/entity/LivingEntity;noDrag:Z
intermediary field_30082
Lnet/minecraft/class_1309;field_30082:Z
official cg
Lcam;cg:Z
-
preferredHand
- Mappings:
Namespace Name Mixin selector named preferredHand
Lnet/minecraft/entity/LivingEntity;preferredHand:Lnet/minecraft/util/Hand;
intermediary field_6266
Lnet/minecraft/class_1309;field_6266:Lnet/minecraft/class_1268;
official bf
Lcam;bf:Lbxi;
-
handSwingTicks
public int handSwingTicks- Mappings:
Namespace Name Mixin selector named handSwingTicks
Lnet/minecraft/entity/LivingEntity;handSwingTicks:I
intermediary field_6279
Lnet/minecraft/class_1309;field_6279:I
official bg
Lcam;bg:I
-
stuckArrowTimer
public int stuckArrowTimer- Mappings:
Namespace Name Mixin selector named stuckArrowTimer
Lnet/minecraft/entity/LivingEntity;stuckArrowTimer:I
intermediary field_6218
Lnet/minecraft/class_1309;field_6218:I
official bh
Lcam;bh:I
-
stuckStingerTimer
public int stuckStingerTimer- Mappings:
Namespace Name Mixin selector named stuckStingerTimer
Lnet/minecraft/entity/LivingEntity;stuckStingerTimer:I
intermediary field_20347
Lnet/minecraft/class_1309;field_20347:I
official bi
Lcam;bi:I
-
hurtTime
public int hurtTime- Mappings:
Namespace Name Mixin selector named hurtTime
Lnet/minecraft/entity/LivingEntity;hurtTime:I
intermediary field_6235
Lnet/minecraft/class_1309;field_6235:I
official bj
Lcam;bj:I
-
maxHurtTime
public int maxHurtTime- Mappings:
Namespace Name Mixin selector named maxHurtTime
Lnet/minecraft/entity/LivingEntity;maxHurtTime:I
intermediary field_6254
Lnet/minecraft/class_1309;field_6254:I
official bk
Lcam;bk:I
-
deathTime
public int deathTime- Mappings:
Namespace Name Mixin selector named deathTime
Lnet/minecraft/entity/LivingEntity;deathTime:I
intermediary field_6213
Lnet/minecraft/class_1309;field_6213:I
official bl
Lcam;bl:I
-
lastHandSwingProgress
public float lastHandSwingProgress- Mappings:
Namespace Name Mixin selector named lastHandSwingProgress
Lnet/minecraft/entity/LivingEntity;lastHandSwingProgress:F
intermediary field_6229
Lnet/minecraft/class_1309;field_6229:F
official bm
Lcam;bm:F
-
handSwingProgress
public float handSwingProgress- Mappings:
Namespace Name Mixin selector named handSwingProgress
Lnet/minecraft/entity/LivingEntity;handSwingProgress:F
intermediary field_6251
Lnet/minecraft/class_1309;field_6251:F
official bn
Lcam;bn:F
-
lastAttackedTicks
protected int lastAttackedTicks- Mappings:
Namespace Name Mixin selector named lastAttackedTicks
Lnet/minecraft/entity/LivingEntity;lastAttackedTicks:I
intermediary field_6273
Lnet/minecraft/class_1309;field_6273:I
official bo
Lcam;bo:I
-
limbAnimator
- Mappings:
Namespace Name Mixin selector named limbAnimator
Lnet/minecraft/entity/LivingEntity;limbAnimator:Lnet/minecraft/entity/LimbAnimator;
intermediary field_42108
Lnet/minecraft/class_1309;field_42108:Lnet/minecraft/class_8080;
official bp
Lcam;bp:Lcbl;
-
defaultMaxHealth
public final int defaultMaxHealth- See Also:
- Mappings:
Namespace Name Mixin selector named defaultMaxHealth
Lnet/minecraft/entity/LivingEntity;defaultMaxHealth:I
intermediary field_6269
Lnet/minecraft/class_1309;field_6269:I
official bq
Lcam;bq:I
-
bodyYaw
public float bodyYaw- Mappings:
Namespace Name Mixin selector named bodyYaw
Lnet/minecraft/entity/LivingEntity;bodyYaw:F
intermediary field_6283
Lnet/minecraft/class_1309;field_6283:F
official br
Lcam;br:F
-
lastBodyYaw
public float lastBodyYaw- Mappings:
Namespace Name Mixin selector named lastBodyYaw
Lnet/minecraft/entity/LivingEntity;lastBodyYaw:F
intermediary field_6220
Lnet/minecraft/class_1309;field_6220:F
official bs
Lcam;bs:F
-
headYaw
public float headYaw- Mappings:
Namespace Name Mixin selector named headYaw
Lnet/minecraft/entity/LivingEntity;headYaw:F
intermediary field_6241
Lnet/minecraft/class_1309;field_6241:F
official bt
Lcam;bt:F
-
lastHeadYaw
public float lastHeadYaw- Mappings:
Namespace Name Mixin selector named lastHeadYaw
Lnet/minecraft/entity/LivingEntity;lastHeadYaw:F
intermediary field_6259
Lnet/minecraft/class_1309;field_6259:F
official bu
Lcam;bu:F
-
elytraFlightController
- Mappings:
Namespace Name Mixin selector named elytraFlightController
Lnet/minecraft/entity/LivingEntity;elytraFlightController:Lnet/minecraft/entity/mob/ElytraFlightController;
intermediary field_52447
Lnet/minecraft/class_1309;field_52447:Lnet/minecraft/class_9863;
official bv
Lcam;bv:Lbzl;
-
attackingPlayer
- Mappings:
Namespace Name Mixin selector named attackingPlayer
Lnet/minecraft/entity/LivingEntity;attackingPlayer:Lnet/minecraft/entity/LazyEntityReference;
intermediary field_6258
Lnet/minecraft/class_1309;field_6258:Lnet/minecraft/class_10583;
official bw
Lcam;bw:Lbzs;
-
playerHitTimer
protected int playerHitTimer- Mappings:
Namespace Name Mixin selector named playerHitTimer
Lnet/minecraft/entity/LivingEntity;playerHitTimer:I
intermediary field_6238
Lnet/minecraft/class_1309;field_6238:I
official bx
Lcam;bx:I
-
dead
protected boolean dead- Mappings:
Namespace Name Mixin selector named dead
Lnet/minecraft/entity/LivingEntity;dead:Z
intermediary field_6272
Lnet/minecraft/class_1309;field_6272:Z
official by
Lcam;by:Z
-
despawnCounter
protected int despawnCounter- Mappings:
Namespace Name Mixin selector named despawnCounter
Lnet/minecraft/entity/LivingEntity;despawnCounter:I
intermediary field_6278
Lnet/minecraft/class_1309;field_6278:I
official bz
Lcam;bz:I
-
lastDamageTaken
protected float lastDamageTaken- Mappings:
Namespace Name Mixin selector named lastDamageTaken
Lnet/minecraft/entity/LivingEntity;lastDamageTaken:F
intermediary field_6253
Lnet/minecraft/class_1309;field_6253:F
official bA
Lcam;bA:F
-
jumping
protected boolean jumping- Mappings:
Namespace Name Mixin selector named jumping
Lnet/minecraft/entity/LivingEntity;jumping:Z
intermediary field_6282
Lnet/minecraft/class_1309;field_6282:Z
official bB
Lcam;bB:Z
-
sidewaysSpeed
public float sidewaysSpeed- Mappings:
Namespace Name Mixin selector named sidewaysSpeed
Lnet/minecraft/entity/LivingEntity;sidewaysSpeed:F
intermediary field_6212
Lnet/minecraft/class_1309;field_6212:F
official bC
Lcam;bC:F
-
upwardSpeed
public float upwardSpeed- Mappings:
Namespace Name Mixin selector named upwardSpeed
Lnet/minecraft/entity/LivingEntity;upwardSpeed:F
intermediary field_6227
Lnet/minecraft/class_1309;field_6227:F
official bD
Lcam;bD:F
-
forwardSpeed
public float forwardSpeed- Mappings:
Namespace Name Mixin selector named forwardSpeed
Lnet/minecraft/entity/LivingEntity;forwardSpeed:F
intermediary field_6250
Lnet/minecraft/class_1309;field_6250:F
official bE
Lcam;bE:F
-
interpolator
- Mappings:
Namespace Name Mixin selector named interpolator
Lnet/minecraft/entity/LivingEntity;interpolator:Lnet/minecraft/entity/PositionInterpolator;
intermediary field_55675
Lnet/minecraft/class_1309;field_55675:Lnet/minecraft/class_10584;
official bF
Lcam;bF:Lcah;
-
serverHeadYaw
protected double serverHeadYaw- Mappings:
Namespace Name Mixin selector named serverHeadYaw
Lnet/minecraft/entity/LivingEntity;serverHeadYaw:D
intermediary field_45123
Lnet/minecraft/class_1309;field_45123:D
official bG
Lcam;bG:D
-
headTrackingIncrements
protected int headTrackingIncrements- Mappings:
Namespace Name Mixin selector named headTrackingIncrements
Lnet/minecraft/entity/LivingEntity;headTrackingIncrements:I
intermediary field_6265
Lnet/minecraft/class_1309;field_6265:I
official bH
Lcam;bH:I
-
effectsChanged
private boolean effectsChanged- Mappings:
Namespace Name Mixin selector named effectsChanged
Lnet/minecraft/entity/LivingEntity;effectsChanged:Z
intermediary field_6285
Lnet/minecraft/class_1309;field_6285:Z
official ch
Lcam;ch:Z
-
attackerReference
- Mappings:
Namespace Name Mixin selector named attackerReference
Lnet/minecraft/entity/LivingEntity;attackerReference:Lnet/minecraft/entity/LazyEntityReference;
intermediary field_55674
Lnet/minecraft/class_1309;field_55674:Lnet/minecraft/class_10583;
official ci
Lcam;ci:Lbzs;
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector named lastAttackedTime
Lnet/minecraft/entity/LivingEntity;lastAttackedTime:I
intermediary field_6230
Lnet/minecraft/class_1309;field_6230:I
official cj
Lcam;cj:I
-
attacking
- Mappings:
Namespace Name Mixin selector named attacking
Lnet/minecraft/entity/LivingEntity;attacking:Lnet/minecraft/entity/LivingEntity;
intermediary field_6236
Lnet/minecraft/class_1309;field_6236:Lnet/minecraft/class_1309;
official ck
Lcam;ck:Lcam;
-
lastAttackTime
private int lastAttackTime- Mappings:
Namespace Name Mixin selector named lastAttackTime
Lnet/minecraft/entity/LivingEntity;lastAttackTime:I
intermediary field_6270
Lnet/minecraft/class_1309;field_6270:I
official cl
Lcam;cl:I
-
movementSpeed
private float movementSpeed- Mappings:
Namespace Name Mixin selector named movementSpeed
Lnet/minecraft/entity/LivingEntity;movementSpeed:F
intermediary field_6287
Lnet/minecraft/class_1309;field_6287:F
official cm
Lcam;cm:F
-
jumpingCooldown
private int jumpingCooldown- Mappings:
Namespace Name Mixin selector named jumpingCooldown
Lnet/minecraft/entity/LivingEntity;jumpingCooldown:I
intermediary field_6228
Lnet/minecraft/class_1309;field_6228:I
official cn
Lcam;cn:I
-
absorptionAmount
private float absorptionAmount- Mappings:
Namespace Name Mixin selector named absorptionAmount
Lnet/minecraft/entity/LivingEntity;absorptionAmount:F
intermediary field_6246
Lnet/minecraft/class_1309;field_6246:F
official co
Lcam;co:F
-
activeItemStack
- Mappings:
Namespace Name Mixin selector named activeItemStack
Lnet/minecraft/entity/LivingEntity;activeItemStack:Lnet/minecraft/item/ItemStack;
intermediary field_6277
Lnet/minecraft/class_1309;field_6277:Lnet/minecraft/class_1799;
official bI
Lcam;bI:Ldcv;
-
itemUseTimeLeft
protected int itemUseTimeLeft- Mappings:
Namespace Name Mixin selector named itemUseTimeLeft
Lnet/minecraft/entity/LivingEntity;itemUseTimeLeft:I
intermediary field_6222
Lnet/minecraft/class_1309;field_6222:I
official bJ
Lcam;bJ:I
-
glidingTicks
protected int glidingTicks- Mappings:
Namespace Name Mixin selector named glidingTicks
Lnet/minecraft/entity/LivingEntity;glidingTicks:I
intermediary field_6239
Lnet/minecraft/class_1309;field_6239:I
official bK
Lcam;bK:I
-
lastBlockPos
- Mappings:
Namespace Name Mixin selector named lastBlockPos
Lnet/minecraft/entity/LivingEntity;lastBlockPos:Lnet/minecraft/util/math/BlockPos;
intermediary field_6268
Lnet/minecraft/class_1309;field_6268:Lnet/minecraft/class_2338;
official cp
Lcam;cp:Ljb;
-
climbingPos
- Mappings:
Namespace Name Mixin selector named climbingPos
Lnet/minecraft/entity/LivingEntity;climbingPos:Ljava/util/Optional;
intermediary field_22418
Lnet/minecraft/class_1309;field_22418:Ljava/util/Optional;
official cq
Lcam;cq:Ljava/util/Optional;
-
lastDamageSource
- Mappings:
Namespace Name Mixin selector named lastDamageSource
Lnet/minecraft/entity/LivingEntity;lastDamageSource:Lnet/minecraft/entity/damage/DamageSource;
intermediary field_6276
Lnet/minecraft/class_1309;field_6276:Lnet/minecraft/class_1282;
official cr
Lcam;cr:Lbyb;
-
lastDamageTime
private long lastDamageTime- Mappings:
Namespace Name Mixin selector named lastDamageTime
Lnet/minecraft/entity/LivingEntity;lastDamageTime:J
intermediary field_6226
Lnet/minecraft/class_1309;field_6226:J
official cs
Lcam;cs:J
-
riptideTicks
protected int riptideTicks- Mappings:
Namespace Name Mixin selector named riptideTicks
Lnet/minecraft/entity/LivingEntity;riptideTicks:I
intermediary field_6261
Lnet/minecraft/class_1309;field_6261:I
official bL
Lcam;bL:I
-
riptideAttackDamage
protected float riptideAttackDamage- Mappings:
Namespace Name Mixin selector named riptideAttackDamage
Lnet/minecraft/entity/LivingEntity;riptideAttackDamage:F
intermediary field_51569
Lnet/minecraft/class_1309;field_51569:F
official bM
Lcam;bM:F
-
riptideStack
- Mappings:
Namespace Name Mixin selector named riptideStack
Lnet/minecraft/entity/LivingEntity;riptideStack:Lnet/minecraft/item/ItemStack;
intermediary field_51570
Lnet/minecraft/class_1309;field_51570:Lnet/minecraft/class_1799;
official bN
Lcam;bN:Ldcv;
-
leaningPitch
private float leaningPitch- Mappings:
Namespace Name Mixin selector named leaningPitch
Lnet/minecraft/entity/LivingEntity;leaningPitch:F
intermediary field_6243
Lnet/minecraft/class_1309;field_6243:F
official ct
Lcam;ct:F
-
lastLeaningPitch
private float lastLeaningPitch- Mappings:
Namespace Name Mixin selector named lastLeaningPitch
Lnet/minecraft/entity/LivingEntity;lastLeaningPitch:F
intermediary field_6264
Lnet/minecraft/class_1309;field_6264:F
official cu
Lcam;cu:F
-
brain
- Mappings:
Namespace Name Mixin selector named brain
Lnet/minecraft/entity/LivingEntity;brain:Lnet/minecraft/entity/ai/brain/Brain;
intermediary field_18321
Lnet/minecraft/class_1309;field_18321:Lnet/minecraft/class_4095;
official bO
Lcam;bO:Lcbm;
-
experienceDroppingDisabled
private boolean experienceDroppingDisabled- Mappings:
Namespace Name Mixin selector named experienceDroppingDisabled
Lnet/minecraft/entity/LivingEntity;experienceDroppingDisabled:Z
intermediary field_37421
Lnet/minecraft/class_1309;field_37421:Z
official cv
Lcam;cv:Z
-
locationBasedEnchantmentEffects
private final EnumMap<EquipmentSlot,Reference2ObjectMap<Enchantment, locationBasedEnchantmentEffectsSet<EnchantmentLocationBasedEffect>>> - Mappings:
Namespace Name Mixin selector named locationBasedEnchantmentEffects
Lnet/minecraft/entity/LivingEntity;locationBasedEnchantmentEffects:Ljava/util/EnumMap;
intermediary field_51571
Lnet/minecraft/class_1309;field_51571:Ljava/util/EnumMap;
official cw
Lcam;cw:Ljava/util/EnumMap;
-
equipment
- Mappings:
Namespace Name Mixin selector named equipment
Lnet/minecraft/entity/LivingEntity;equipment:Lnet/minecraft/entity/EntityEquipment;
intermediary field_56535
Lnet/minecraft/class_1309;field_56535:Lnet/minecraft/class_10630;
official bP
Lcam;bP:Lbzq;
-
waypointConfig
- Mappings:
Namespace Name Mixin selector named waypointConfig
Lnet/minecraft/entity/LivingEntity;waypointConfig:Lnet/minecraft/world/waypoint/Waypoint$Config;
intermediary field_59669
Lnet/minecraft/class_1309;field_59669:Lnet/minecraft/class_11208$class_11209;
official cx
Lcam;cx:Lfkt$a;
-
-
Constructor Details
-
LivingEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
createEquipment
- Mappings:
Namespace Name Mixin selector named createEquipment
Lnet/minecraft/entity/LivingEntity;createEquipment()Lnet/minecraft/entity/EntityEquipment;
intermediary method_67518
Lnet/minecraft/class_1309;method_67518()Lnet/minecraft/class_10630;
official eg
Lcam;eg()Lbzq;
-
getBrain
- Mappings:
Namespace Name Mixin selector named getBrain
Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
intermediary method_18868
Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
official eh
Lcam;eh()Lcbm;
-
createBrainProfile
- Mappings:
Namespace Name Mixin selector named createBrainProfile
Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
intermediary method_28306
Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
official ei
Lcam;ei()Lcbm$b;
-
deserializeBrain
- Mappings:
Namespace Name Mixin selector named deserializeBrain
Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
official a
Lcam;a(Lcom/mojang/serialization/Dynamic;)Lcbm;
-
kill
Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIE
game event. -
canTarget
- Mappings:
Namespace Name Mixin selector named canTarget
Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
intermediary method_5973
Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Z
official a
Lcam;a(Lbzv;)Z
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTracker
in classEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
createLivingAttributes
- Mappings:
Namespace Name Mixin selector named createLivingAttributes
Lnet/minecraft/entity/LivingEntity;createLivingAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_26827
Lnet/minecraft/class_1309;method_26827()Lnet/minecraft/class_5132$class_5133;
official ej
Lcam;ej()Lcbr$a;
-
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:
fall
in classEntity
- Implementation Note:
- If on ground, this calls
Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, double)
, which can add or reduce fall damage, emitsGameEvent.HIT_GROUND
, then callsEntity.onLanding()
. Otherwise, ifheightDifference
is negative, it subtracts that value fromEntity.fallDistance
. - Mappings:
Namespace Name Mixin selector named fall
Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_5623
Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
official a
Lbzm;a(DZLeeb;Ljb;)V
-
canBreatheInWater
public boolean canBreatheInWater()- Mappings:
Namespace Name Mixin selector named canBreatheInWater
Lnet/minecraft/entity/LivingEntity;canBreatheInWater()Z
intermediary method_6094
Lnet/minecraft/class_1309;method_6094()Z
official ek
Lcam;ek()Z
-
getLeaningPitch
public float getLeaningPitch(float tickProgress) - Mappings:
Namespace Name Mixin selector named getLeaningPitch
Lnet/minecraft/entity/LivingEntity;getLeaningPitch(F)F
intermediary method_6024
Lnet/minecraft/class_1309;method_6024(F)F
official b
Lcam;b(F)F
-
hasLandedInFluid
public boolean hasLandedInFluid()- Mappings:
Namespace Name Mixin selector named hasLandedInFluid
Lnet/minecraft/entity/LivingEntity;hasLandedInFluid()Z
intermediary method_59925
Lnet/minecraft/class_1309;method_59925()Z
official el
Lcam;el()Z
-
baseTick
public void baseTick() -
getVelocityMultiplier
protected float getVelocityMultiplier()- Overrides:
getVelocityMultiplier
in classEntity
- Mappings:
Namespace Name Mixin selector named getVelocityMultiplier
Lnet/minecraft/entity/Entity;getVelocityMultiplier()F
intermediary method_23326
Lnet/minecraft/class_1297;method_23326()F
official aW
Lbzm;aW()F
-
getLuck
public float getLuck()- Mappings:
Namespace Name Mixin selector named getLuck
Lnet/minecraft/entity/LivingEntity;getLuck()F
intermediary method_7292
Lnet/minecraft/class_1309;method_7292()F
official em
Lcam;em()F
-
removePowderSnowSlow
protected void removePowderSnowSlow()- Mappings:
Namespace Name Mixin selector named removePowderSnowSlow
Lnet/minecraft/entity/LivingEntity;removePowderSnowSlow()V
intermediary method_32324
Lnet/minecraft/class_1309;method_32324()V
official en
Lcam;en()V
-
addPowderSnowSlowIfNeeded
protected void addPowderSnowSlowIfNeeded()- Mappings:
Namespace Name Mixin selector named addPowderSnowSlowIfNeeded
Lnet/minecraft/entity/LivingEntity;addPowderSnowSlowIfNeeded()V
intermediary method_32325
Lnet/minecraft/class_1309;method_32325()V
official eo
Lcam;eo()V
-
applyMovementEffects
- Mappings:
Namespace Name Mixin selector named applyMovementEffects
Lnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_6126
Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
official b
Lcam;b(Laub;Ljb;)V
-
isBaby
public boolean isBaby()- Mappings:
Namespace Name Mixin selector named isBaby
Lnet/minecraft/entity/LivingEntity;isBaby()Z
intermediary method_6109
Lnet/minecraft/class_1309;method_6109()Z
official g_
Lcam;g_()Z
-
getScaleFactor
public float getScaleFactor()- Mappings:
Namespace Name Mixin selector named getScaleFactor
Lnet/minecraft/entity/LivingEntity;getScaleFactor()F
intermediary method_17825
Lnet/minecraft/class_1309;method_17825()F
official ep
Lcam;ep()F
-
getScale
public final float getScale()- Mappings:
Namespace Name Mixin selector named getScale
Lnet/minecraft/entity/LivingEntity;getScale()F
intermediary method_55693
Lnet/minecraft/class_1309;method_55693()F
official eq
Lcam;eq()F
-
clampScale
protected float clampScale(float scale) - Mappings:
Namespace Name Mixin selector named clampScale
Lnet/minecraft/entity/LivingEntity;clampScale(F)F
intermediary method_56077
Lnet/minecraft/class_1309;method_56077(F)F
official c
Lcam;c(F)F
-
shouldSwimInFluids
public boolean shouldSwimInFluids()- Mappings:
Namespace Name Mixin selector named shouldSwimInFluids
Lnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Z
intermediary method_29920
Lnet/minecraft/class_1309;method_29920()Z
official er
Lcam;er()Z
-
updatePostDeath
protected void updatePostDeath()- Mappings:
Namespace Name Mixin selector named updatePostDeath
Lnet/minecraft/entity/LivingEntity;updatePostDeath()V
intermediary method_6108
Lnet/minecraft/class_1309;method_6108()V
official es
Lcam;es()V
-
shouldDropExperience
public boolean shouldDropExperience()Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.If
shouldAlwaysDropExperience()
returnstrue
, this check is disregarded.- See Also:
- Mappings:
Namespace Name Mixin selector named shouldDropExperience
Lnet/minecraft/entity/LivingEntity;shouldDropExperience()Z
intermediary method_6054
Lnet/minecraft/class_1309;method_6054()Z
official et
Lcam;et()Z
-
shouldDropLoot
protected boolean shouldDropLoot()- Mappings:
Namespace Name Mixin selector named shouldDropLoot
Lnet/minecraft/entity/LivingEntity;shouldDropLoot()Z
intermediary method_27071
Lnet/minecraft/class_1309;method_27071()Z
official eu
Lcam;eu()Z
-
getNextAirUnderwater
protected int getNextAirUnderwater(int air) - Mappings:
Namespace Name Mixin selector named getNextAirUnderwater
Lnet/minecraft/entity/LivingEntity;getNextAirUnderwater(I)I
intermediary method_6130
Lnet/minecraft/class_1309;method_6130(I)I
official l
Lcam;l(I)I
-
getNextAirOnLand
protected int getNextAirOnLand(int air) - Mappings:
Namespace Name Mixin selector named getNextAirOnLand
Lnet/minecraft/entity/LivingEntity;getNextAirOnLand(I)I
intermediary method_6064
Lnet/minecraft/class_1309;method_6064(I)I
official m
Lcam;m(I)I
-
getExperienceToDrop
- Mappings:
Namespace Name Mixin selector named getExperienceToDrop
Lnet/minecraft/entity/LivingEntity;getExperienceToDrop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)I
intermediary method_59923
Lnet/minecraft/class_1309;method_59923(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)I
official a
Lcam;a(Laub;Lbzm;)I
-
getExperienceToDrop
Called when this entity is killed and returns the amount of experience to drop.- See Also:
- Mappings:
Namespace Name Mixin selector named getExperienceToDrop
Lnet/minecraft/entity/LivingEntity;getExperienceToDrop(Lnet/minecraft/server/world/ServerWorld;)I
intermediary method_6110
Lnet/minecraft/class_1309;method_6110(Lnet/minecraft/class_3218;)I
official e
Lcam;e(Laub;)I
-
shouldAlwaysDropExperience
protected boolean shouldAlwaysDropExperience()Returns if this entity may always drop experience, skipping any other checks.- See Also:
- Mappings:
Namespace Name Mixin selector named shouldAlwaysDropExperience
Lnet/minecraft/entity/LivingEntity;shouldAlwaysDropExperience()Z
intermediary method_6071
Lnet/minecraft/class_1309;method_6071()Z
official ev
Lcam;ev()Z
-
getAttacker
- Mappings:
Namespace Name Mixin selector named getAttacker
Lnet/minecraft/entity/LivingEntity;getAttacker()Lnet/minecraft/entity/LivingEntity;
intermediary method_6065
Lnet/minecraft/class_1309;method_6065()Lnet/minecraft/class_1309;
official ew
Lcam;ew()Lcam;
-
getAttackingPlayer
- Mappings:
Namespace Name Mixin selector named getAttackingPlayer
Lnet/minecraft/entity/LivingEntity;getAttackingPlayer()Lnet/minecraft/entity/player/PlayerEntity;
intermediary method_66280
Lnet/minecraft/class_1309;method_66280()Lnet/minecraft/class_1657;
official ex
Lcam;ex()Lcut;
-
getLastAttacker
- Specified by:
getLastAttacker
in interfaceAttackable
- Mappings:
Namespace Name Mixin selector named getLastAttacker
Lnet/minecraft/entity/Attackable;getLastAttacker()Lnet/minecraft/entity/LivingEntity;
intermediary method_49107
Lnet/minecraft/class_8149;method_49107()Lnet/minecraft/class_1309;
official ak
Lbzf;ak()Lcam;
-
getLastAttackedTime
public int getLastAttackedTime()- Mappings:
Namespace Name Mixin selector named getLastAttackedTime
Lnet/minecraft/entity/LivingEntity;getLastAttackedTime()I
intermediary method_6117
Lnet/minecraft/class_1309;method_6117()I
official ey
Lcam;ey()I
-
setAttacking
- Mappings:
Namespace Name Mixin selector named setAttacking
Lnet/minecraft/entity/LivingEntity;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;I)V
intermediary method_66277
Lnet/minecraft/class_1309;method_66277(Lnet/minecraft/class_1657;I)V
official a
Lcam;a(Lcut;I)V
-
setAttacking
- Mappings:
Namespace Name Mixin selector named setAttacking
Lnet/minecraft/entity/LivingEntity;setAttacking(Ljava/util/UUID;I)V
intermediary method_66278
Lnet/minecraft/class_1309;method_66278(Ljava/util/UUID;I)V
official a
Lcam;a(Ljava/util/UUID;I)V
-
setAttacking
- Mappings:
Namespace Name Mixin selector named setAttacking
Lnet/minecraft/entity/LivingEntity;setAttacking(Lnet/minecraft/entity/LazyEntityReference;I)V
intermediary method_29505
Lnet/minecraft/class_1309;method_29505(Lnet/minecraft/class_10583;I)V
official a
Lcam;a(Lbzs;I)V
-
setAttacker
- Mappings:
Namespace Name Mixin selector named setAttacker
Lnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_6015
Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)V
official a
Lcam;a(Lcam;)V
-
getAttacking
- Mappings:
Namespace Name Mixin selector named getAttacking
Lnet/minecraft/entity/LivingEntity;getAttacking()Lnet/minecraft/entity/LivingEntity;
intermediary method_6052
Lnet/minecraft/class_1309;method_6052()Lnet/minecraft/class_1309;
official ez
Lcam;ez()Lcam;
-
getLastAttackTime
public int getLastAttackTime()- Mappings:
Namespace Name Mixin selector named getLastAttackTime
Lnet/minecraft/entity/LivingEntity;getLastAttackTime()I
intermediary method_6083
Lnet/minecraft/class_1309;method_6083()I
official eA
Lcam;eA()I
-
onAttacking
- Mappings:
Namespace Name Mixin selector named onAttacking
Lnet/minecraft/entity/LivingEntity;onAttacking(Lnet/minecraft/entity/Entity;)V
intermediary method_6114
Lnet/minecraft/class_1309;method_6114(Lnet/minecraft/class_1297;)V
official C
Lcam;C(Lbzm;)V
-
getDespawnCounter
public int getDespawnCounter()- Mappings:
Namespace Name Mixin selector named getDespawnCounter
Lnet/minecraft/entity/LivingEntity;getDespawnCounter()I
intermediary method_6131
Lnet/minecraft/class_1309;method_6131()I
official eB
Lcam;eB()I
-
setDespawnCounter
public void setDespawnCounter(int despawnCounter) - Mappings:
Namespace Name Mixin selector named setDespawnCounter
Lnet/minecraft/entity/LivingEntity;setDespawnCounter(I)V
intermediary method_16826
Lnet/minecraft/class_1309;method_16826(I)V
official n
Lcam;n(I)V
-
hasNoDrag
public boolean hasNoDrag()- Mappings:
Namespace Name Mixin selector named hasNoDrag
Lnet/minecraft/entity/LivingEntity;hasNoDrag()Z
intermediary method_35053
Lnet/minecraft/class_1309;method_35053()Z
official eC
Lcam;eC()Z
-
setNoDrag
public void setNoDrag(boolean noDrag) - Mappings:
Namespace Name Mixin selector named setNoDrag
Lnet/minecraft/entity/LivingEntity;setNoDrag(Z)V
intermediary method_35054
Lnet/minecraft/class_1309;method_35054(Z)V
official r
Lcam;r(Z)V
-
isArmorSlot
- Mappings:
Namespace Name Mixin selector named isArmorSlot
Lnet/minecraft/entity/LivingEntity;isArmorSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_44201
Lnet/minecraft/class_1309;method_44201(Lnet/minecraft/class_1304;)Z
official b
Lcam;b(Lbzw;)Z
-
onEquipStack
- Mappings:
Namespace Name Mixin selector named onEquipStack
Lnet/minecraft/entity/LivingEntity;onEquipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
intermediary method_6116
Lnet/minecraft/class_1309;method_6116(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
official a
Lcam;a(Lbzw;Ldcv;Ldcv;)V
-
getEquipSound
protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) - Mappings:
Namespace Name Mixin selector named getEquipSound
Lnet/minecraft/entity/LivingEntity;getEquipSound(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/EquippableComponent;)Lnet/minecraft/registry/entry/RegistryEntry;
intermediary method_66667
Lnet/minecraft/class_1309;method_66667(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_10192;)Lnet/minecraft/class_6880;
official a
Lcam;a(Lbzw;Ldcv;Ldle;)Ljl;
-
remove
Removes the entity.- Overrides:
remove
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
intermediary method_5650
Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)V
official a
Lbzm;a(Lbzm$e;)V
-
onRemove
Called when the entity is about to be removed.- Overrides:
onRemove
in classEntity
- Mappings:
Namespace Name Mixin selector named onRemove
Lnet/minecraft/entity/Entity;onRemove(Lnet/minecraft/entity/Entity$RemovalReason;)V
intermediary method_64615
Lnet/minecraft/class_1297;method_64615(Lnet/minecraft/class_1297$class_5529;)V
official b
Lbzm;b(Lbzm$e;)V
-
onRemoval
- Mappings:
Namespace Name Mixin selector named onRemoval
Lnet/minecraft/entity/LivingEntity;onRemoval(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity$RemovalReason;)V
intermediary method_60699
Lnet/minecraft/class_1309;method_60699(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297$class_5529;)V
official a
Lcam;a(Laub;Lbzm$e;)V
-
writeCustomData
- Specified by:
writeCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
dropItem
@Nullable public @Nullable ItemEntity dropItem(ItemStack stack, boolean dropAtSelf, boolean retainOwnership) - Mappings:
Namespace Name Mixin selector named dropItem
Lnet/minecraft/entity/LivingEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
intermediary method_7329
Lnet/minecraft/class_1309;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;
official a
Lcam;a(Ldcv;ZZ)Lcqz;
-
readCustomData
- Specified by:
readCustomData
in classEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
tickStatusEffects
protected void tickStatusEffects()- Mappings:
Namespace Name Mixin selector named tickStatusEffects
Lnet/minecraft/entity/LivingEntity;tickStatusEffects()V
intermediary method_6050
Lnet/minecraft/class_1309;method_6050()V
official eD
Lcam;eD()V
-
updatePotionVisibility
protected void updatePotionVisibility()- Mappings:
Namespace Name Mixin selector named updatePotionVisibility
Lnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
intermediary method_6027
Lnet/minecraft/class_1309;method_6027()V
official K
Lcam;K()V
-
updatePotionSwirls
private void updatePotionSwirls()- Mappings:
Namespace Name Mixin selector named updatePotionSwirls
Lnet/minecraft/entity/LivingEntity;updatePotionSwirls()V
intermediary method_58150
Lnet/minecraft/class_1309;method_58150()V
official l
Lcam;l()V
-
updateGlowing
private void updateGlowing()- Mappings:
Namespace Name Mixin selector named updateGlowing
Lnet/minecraft/entity/LivingEntity;updateGlowing()V
intermediary method_36362
Lnet/minecraft/class_1309;method_36362()V
official p
Lcam;p()V
-
getAttackDistanceScalingFactor
- Mappings:
Namespace Name Mixin selector named getAttackDistanceScalingFactor
Lnet/minecraft/entity/LivingEntity;getAttackDistanceScalingFactor(Lnet/minecraft/entity/Entity;)D
intermediary method_18390
Lnet/minecraft/class_1309;method_18390(Lnet/minecraft/class_1297;)D
official D
Lcam;D(Lbzm;)D
-
canTarget
- Mappings:
Namespace Name Mixin selector named canTarget
Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_18395
Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Z
official c
Lcam;c(Lcam;)Z
-
canTakeDamage
public boolean canTakeDamage()- Mappings:
Namespace Name Mixin selector named canTakeDamage
Lnet/minecraft/entity/LivingEntity;canTakeDamage()Z
intermediary method_33190
Lnet/minecraft/class_1309;method_33190()Z
official eE
Lcam;eE()Z
-
isPartOfGame
public boolean isPartOfGame()- Mappings:
Namespace Name Mixin selector named isPartOfGame
Lnet/minecraft/entity/LivingEntity;isPartOfGame()Z
intermediary method_36608
Lnet/minecraft/class_1309;method_36608()Z
official eF
Lcam;eF()Z
-
containsOnlyAmbientEffects
- Mappings:
Namespace Name Mixin selector named containsOnlyAmbientEffects
Lnet/minecraft/entity/LivingEntity;containsOnlyAmbientEffects(Ljava/util/Collection;)Z
intermediary method_6089
Lnet/minecraft/class_1309;method_6089(Ljava/util/Collection;)Z
official d
Lcam;d(Ljava/util/Collection;)Z
-
clearPotionSwirls
protected void clearPotionSwirls()- Mappings:
Namespace Name Mixin selector named clearPotionSwirls
Lnet/minecraft/entity/LivingEntity;clearPotionSwirls()V
intermediary method_6069
Lnet/minecraft/class_1309;method_6069()V
official eG
Lcam;eG()V
-
clearStatusEffects
public boolean clearStatusEffects()- Mappings:
Namespace Name Mixin selector named clearStatusEffects
Lnet/minecraft/entity/LivingEntity;clearStatusEffects()Z
intermediary method_6012
Lnet/minecraft/class_1309;method_6012()Z
official eH
Lcam;eH()Z
-
getStatusEffects
- Mappings:
Namespace Name Mixin selector named getStatusEffects
Lnet/minecraft/entity/LivingEntity;getStatusEffects()Ljava/util/Collection;
intermediary method_6026
Lnet/minecraft/class_1309;method_6026()Ljava/util/Collection;
official eI
Lcam;eI()Ljava/util/Collection;
-
getActiveStatusEffects
- Mappings:
Namespace Name Mixin selector named getActiveStatusEffects
Lnet/minecraft/entity/LivingEntity;getActiveStatusEffects()Ljava/util/Map;
intermediary method_6088
Lnet/minecraft/class_1309;method_6088()Ljava/util/Map;
official eJ
Lcam;eJ()Ljava/util/Map;
-
hasStatusEffect
- Mappings:
Namespace Name Mixin selector named hasStatusEffect
Lnet/minecraft/entity/LivingEntity;hasStatusEffect(Lnet/minecraft/registry/entry/RegistryEntry;)Z
intermediary method_6059
Lnet/minecraft/class_1309;method_6059(Lnet/minecraft/class_6880;)Z
official d
Lcam;d(Ljl;)Z
-
getStatusEffect
- Mappings:
Namespace Name Mixin selector named getStatusEffect
Lnet/minecraft/entity/LivingEntity;getStatusEffect(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/effect/StatusEffectInstance;
intermediary method_6112
Lnet/minecraft/class_1309;method_6112(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1293;
official e
Lcam;e(Ljl;)Lbyq;
-
getEffectFadeFactor
- Mappings:
Namespace Name Mixin selector named getEffectFadeFactor
Lnet/minecraft/entity/LivingEntity;getEffectFadeFactor(Lnet/minecraft/registry/entry/RegistryEntry;F)F
intermediary method_66279
Lnet/minecraft/class_1309;method_66279(Lnet/minecraft/class_6880;F)F
official a
Lcam;a(Ljl;F)F
-
addStatusEffect
Adds a status effect to this entity without specifying a source entity.Consider calling
addStatusEffect(StatusEffectInstance, Entity)
if theeffect
is 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 named addStatusEffect
Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
intermediary method_6092
Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Z
official a
Lcam;a(Lbyq;)Z
-
addStatusEffect
Adds a status effect to this entity.- Parameters:
effect
- the effect to addsource
- the source entity ornull
for 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 named addStatusEffect
Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
intermediary method_37222
Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Z
official b
Lcam;b(Lbyq;Lbzm;)Z
-
canHaveStatusEffect
- Mappings:
Namespace Name Mixin selector named canHaveStatusEffect
Lnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
intermediary method_6049
Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Z
official b
Lcam;b(Lbyq;)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 ornull
for 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 named setStatusEffect
Lnet/minecraft/entity/LivingEntity;setStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
intermediary method_26082
Lnet/minecraft/class_1309;method_26082(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
official c
Lcam;c(Lbyq;Lbzm;)V
-
hasInvertedHealingAndHarm
public boolean hasInvertedHealingAndHarm()- Mappings:
Namespace Name Mixin selector named hasInvertedHealingAndHarm
Lnet/minecraft/entity/LivingEntity;hasInvertedHealingAndHarm()Z
intermediary method_5999
Lnet/minecraft/class_1309;method_5999()Z
official eK
Lcam;eK()Z
-
removeStatusEffectInternal
@Nullable public final @Nullable StatusEffectInstance removeStatusEffectInternal(RegistryEntry<StatusEffect> effect) 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(RegistryEntry)
is highly preferable.- Returns:
- the status effect removed
- Mappings:
Namespace Name Mixin selector named removeStatusEffectInternal
Lnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/effect/StatusEffectInstance;
intermediary method_6111
Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1293;
official f
Lcam;f(Ljl;)Lbyq;
-
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 named removeStatusEffect
Lnet/minecraft/entity/LivingEntity;removeStatusEffect(Lnet/minecraft/registry/entry/RegistryEntry;)Z
intermediary method_6016
Lnet/minecraft/class_1309;method_6016(Lnet/minecraft/class_6880;)Z
official g
Lcam;g(Ljl;)Z
-
onStatusEffectApplied
protected void onStatusEffectApplied(StatusEffectInstance effect, @Nullable @Nullable Entity source) - Mappings:
Namespace Name Mixin selector named onStatusEffectApplied
Lnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
intermediary method_6020
Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
official a
Lcam;a(Lbyq;Lbzm;)V
-
sendEffectToControllingPlayer
- Mappings:
Namespace Name Mixin selector named sendEffectToControllingPlayer
Lnet/minecraft/entity/LivingEntity;sendEffectToControllingPlayer(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
intermediary method_52197
Lnet/minecraft/class_1309;method_52197(Lnet/minecraft/class_1293;)V
official c
Lcam;c(Lbyq;)V
-
onStatusEffectUpgraded
protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable @Nullable Entity source) - Mappings:
Namespace Name Mixin selector named onStatusEffectUpgraded
Lnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;ZLnet/minecraft/entity/Entity;)V
intermediary method_6009
Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)V
official a
Lcam;a(Lbyq;ZLbzm;)V
-
onStatusEffectsRemoved
- Mappings:
Namespace Name Mixin selector named onStatusEffectsRemoved
Lnet/minecraft/entity/LivingEntity;onStatusEffectsRemoved(Ljava/util/Collection;)V
intermediary method_6129
Lnet/minecraft/class_1309;method_6129(Ljava/util/Collection;)V
official c
Lcam;c(Ljava/util/Collection;)V
-
updateAttributes
private void updateAttributes()- Mappings:
Namespace Name Mixin selector named updateAttributes
Lnet/minecraft/entity/LivingEntity;updateAttributes()V
intermediary method_52543
Lnet/minecraft/class_1309;method_52543()V
official H
Lcam;H()V
-
updateAttribute
- Mappings:
Namespace Name Mixin selector named updateAttribute
Lnet/minecraft/entity/LivingEntity;updateAttribute(Lnet/minecraft/registry/entry/RegistryEntry;)V
intermediary method_52540
Lnet/minecraft/class_1309;method_52540(Lnet/minecraft/class_6880;)V
official a
Lcam;a(Ljl;)V
-
heal
public void heal(float amount) Heals this entity by the givenamount
of half-hearts.A dead entity cannot be healed.
- See Also:
- Mappings:
Namespace Name Mixin selector named heal
Lnet/minecraft/entity/LivingEntity;heal(F)V
intermediary method_6025
Lnet/minecraft/class_1309;method_6025(F)V
official d
Lcam;d(F)V
-
getHealth
public float getHealth()- Mappings:
Namespace Name Mixin selector named getHealth
Lnet/minecraft/entity/LivingEntity;getHealth()F
intermediary method_6032
Lnet/minecraft/class_1309;method_6032()F
official eL
Lcam;eL()F
-
setHealth
public void setHealth(float health) - Mappings:
Namespace Name Mixin selector named setHealth
Lnet/minecraft/entity/LivingEntity;setHealth(F)V
intermediary method_6033
Lnet/minecraft/class_1309;method_6033(F)V
official x
Lcam;x(F)V
-
isDead
public boolean isDead()- Mappings:
Namespace Name Mixin selector named isDead
Lnet/minecraft/entity/LivingEntity;isDead()Z
intermediary method_29504
Lnet/minecraft/class_1309;method_29504()Z
official eM
Lcam;eM()Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has 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
ItemEntity
also 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
isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)
and return early.- Specified by:
damage
in classEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
intermediary method_64397
Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
official a
Lbzm;a(Laub;Lbyb;F)Z
-
getDamageBlockedAmount
- Mappings:
Namespace Name Mixin selector named getDamageBlockedAmount
Lnet/minecraft/entity/LivingEntity;getDamageBlockedAmount(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)F
intermediary method_67346
Lnet/minecraft/class_1309;method_67346(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)F
official b
Lcam;b(Laub;Lbyb;F)F
-
playThornsSound
- Mappings:
Namespace Name Mixin selector named playThornsSound
Lnet/minecraft/entity/LivingEntity;playThornsSound(Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_66283
Lnet/minecraft/class_1309;method_66283(Lnet/minecraft/class_1282;)V
official i
Lcam;i(Lbyb;)V
-
becomeAngry
- Mappings:
Namespace Name Mixin selector named becomeAngry
Lnet/minecraft/entity/LivingEntity;becomeAngry(Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_65344
Lnet/minecraft/class_1309;method_65344(Lnet/minecraft/class_1282;)V
official f
Lcam;f(Lbyb;)V
-
setAttackingPlayer
- Mappings:
Namespace Name Mixin selector named setAttackingPlayer
Lnet/minecraft/entity/LivingEntity;setAttackingPlayer(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/entity/player/PlayerEntity;
intermediary method_65343
Lnet/minecraft/class_1309;method_65343(Lnet/minecraft/class_1282;)Lnet/minecraft/class_1657;
official g
Lcam;g(Lbyb;)Lcut;
-
takeShieldHit
- Mappings:
Namespace Name Mixin selector named takeShieldHit
Lnet/minecraft/entity/LivingEntity;takeShieldHit(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
intermediary method_6090
Lnet/minecraft/class_1309;method_6090(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
official b
Lcam;b(Laub;Lcam;)V
-
knockback
- Mappings:
Namespace Name Mixin selector named knockback
Lnet/minecraft/entity/LivingEntity;knockback(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_6060
Lnet/minecraft/class_1309;method_6060(Lnet/minecraft/class_1309;)V
official d
Lcam;d(Lcam;)V
-
tryUseDeathProtector
- Mappings:
Namespace Name Mixin selector named tryUseDeathProtector
Lnet/minecraft/entity/LivingEntity;tryUseDeathProtector(Lnet/minecraft/entity/damage/DamageSource;)Z
intermediary method_6095
Lnet/minecraft/class_1309;method_6095(Lnet/minecraft/class_1282;)Z
official j
Lcam;j(Lbyb;)Z
-
getRecentDamageSource
- Mappings:
Namespace Name Mixin selector named getRecentDamageSource
Lnet/minecraft/entity/LivingEntity;getRecentDamageSource()Lnet/minecraft/entity/damage/DamageSource;
intermediary method_6081
Lnet/minecraft/class_1309;method_6081()Lnet/minecraft/class_1282;
official eN
Lcam;eN()Lbyb;
-
playHurtSound
- Mappings:
Namespace Name Mixin selector named playHurtSound
Lnet/minecraft/entity/LivingEntity;playHurtSound(Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_6013
Lnet/minecraft/class_1309;method_6013(Lnet/minecraft/class_1282;)V
official h
Lcam;h(Lbyb;)V
-
playSound
- Mappings:
Namespace Name Mixin selector named playSound
Lnet/minecraft/entity/LivingEntity;playSound(Lnet/minecraft/sound/SoundEvent;)V
intermediary method_56078
Lnet/minecraft/class_1309;method_56078(Lnet/minecraft/class_3414;)V
official b
Lcam;b(Layy;)V
-
playEquipmentBreakEffects
- Mappings:
Namespace Name Mixin selector named playEquipmentBreakEffects
Lnet/minecraft/entity/LivingEntity;playEquipmentBreakEffects(Lnet/minecraft/item/ItemStack;)V
intermediary method_6045
Lnet/minecraft/class_1309;method_6045(Lnet/minecraft/class_1799;)V
official g
Lcam;g(Ldcv;)V
-
onDeath
- Mappings:
Namespace Name Mixin selector named onDeath
Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_6078
Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
official a
Lcam;a(Lbyb;)V
-
onKilledBy
Performs secondary effects after this mob has been killed.The default behavior spawns a wither rose if
adversary
is aWitherEntity
.- Parameters:
adversary
- the main adversary responsible for this entity's death- Mappings:
Namespace Name Mixin selector named onKilledBy
Lnet/minecraft/entity/LivingEntity;onKilledBy(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_23733
Lnet/minecraft/class_1309;method_23733(Lnet/minecraft/class_1309;)V
official e
Lcam;e(Lcam;)V
-
drop
- Mappings:
Namespace Name Mixin selector named drop
Lnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_16080
Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)V
official b
Lcam;b(Laub;Lbyb;)V
-
dropInventory
- Mappings:
Namespace Name Mixin selector named dropInventory
Lnet/minecraft/entity/LivingEntity;dropInventory(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_16078
Lnet/minecraft/class_1309;method_16078(Lnet/minecraft/class_3218;)V
official f
Lcam;f(Laub;)V
-
dropExperience
Drops experience when this entity is killed.To control the details of experience dropping, consider overriding
shouldAlwaysDropExperience()
,shouldDropExperience()
, andinvalid reference
#getExperienceToDrop()
- Mappings:
Namespace Name Mixin selector named dropExperience
Lnet/minecraft/entity/LivingEntity;dropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)V
intermediary method_23883
Lnet/minecraft/class_1309;method_23883(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)V
official b
Lcam;b(Laub;Lbzm;)V
-
dropEquipment
- Mappings:
Namespace Name Mixin selector named dropEquipment
Lnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;Z)V
intermediary method_6099
Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;Z)V
official a
Lcam;a(Laub;Lbyb;Z)V
-
getLootTableSeed
public long getLootTableSeed()- Mappings:
Namespace Name Mixin selector named getLootTableSeed
Lnet/minecraft/entity/LivingEntity;getLootTableSeed()J
intermediary method_51851
Lnet/minecraft/class_1309;method_51851()J
official eO
Lcam;eO()J
-
getAttackKnockbackAgainst
- Mappings:
Namespace Name Mixin selector named getAttackKnockbackAgainst
Lnet/minecraft/entity/LivingEntity;getAttackKnockbackAgainst(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)F
intermediary method_59924
Lnet/minecraft/class_1309;method_59924(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)F
official b
Lcam;b(Lbzm;Lbyb;)F
-
dropLoot
- Mappings:
Namespace Name Mixin selector named dropLoot
Lnet/minecraft/entity/LivingEntity;dropLoot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;Z)V
intermediary method_16077
Lnet/minecraft/class_1309;method_16077(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;Z)V
official b
Lcam;b(Laub;Lbyb;Z)V
-
forEachGiftedItem
public boolean forEachGiftedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, BiConsumer<ServerWorld, ItemStack> lootConsumer) - Mappings:
Namespace Name Mixin selector named forEachGiftedItem
Lnet/minecraft/entity/LivingEntity;forEachGiftedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Ljava/util/function/BiConsumer;)Z
intermediary method_64169
Lnet/minecraft/class_1309;method_64169(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Ljava/util/function/BiConsumer;)Z
official a
Lcam;a(Laub;Lamd;Ljava/util/function/BiConsumer;)Z
-
forEachShearedItem
protected void forEachShearedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, ItemStack tool, BiConsumer<ServerWorld, ItemStack> lootConsumer) - Mappings:
Namespace Name Mixin selector named forEachShearedItem
Lnet/minecraft/entity/LivingEntity;forEachShearedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/item/ItemStack;Ljava/util/function/BiConsumer;)V
intermediary method_61419
Lnet/minecraft/class_1309;method_61419(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Lnet/minecraft/class_1799;Ljava/util/function/BiConsumer;)V
official a
Lcam;a(Laub;Lamd;Ldcv;Ljava/util/function/BiConsumer;)V
-
forEachGeneratedItem
protected boolean forEachGeneratedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext.Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) - Mappings:
Namespace Name Mixin selector named forEachGeneratedItem
Lnet/minecraft/entity/LivingEntity;forEachGeneratedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Ljava/util/function/Function;Ljava/util/function/BiConsumer;)Z
intermediary method_64170
Lnet/minecraft/class_1309;method_64170(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Ljava/util/function/Function;Ljava/util/function/BiConsumer;)Z
official a
Lcam;a(Laub;Lamd;Ljava/util/function/Function;Ljava/util/function/BiConsumer;)Z
-
takeKnockback
public void takeKnockback(double strength, double x, double z) - Mappings:
Namespace Name Mixin selector named takeKnockback
Lnet/minecraft/entity/LivingEntity;takeKnockback(DDD)V
intermediary method_6005
Lnet/minecraft/class_1309;method_6005(DDD)V
official p
Lcam;p(DDD)V
-
tiltScreen
public void tiltScreen(double deltaX, double deltaZ) - Mappings:
Namespace Name Mixin selector named tiltScreen
Lnet/minecraft/entity/LivingEntity;tiltScreen(DD)V
intermediary method_48761
Lnet/minecraft/class_1309;method_48761(DD)V
official a
Lcam;a(DD)V
-
getHurtSound
- Mappings:
Namespace Name Mixin selector named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
official e
Lcam;e(Lbyb;)Layy;
-
getDeathSound
- Mappings:
Namespace Name Mixin selector named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
official f_
Lcam;f_()Layy;
-
getFallSound
- Mappings:
Namespace Name Mixin selector named getFallSound
Lnet/minecraft/entity/LivingEntity;getFallSound(I)Lnet/minecraft/sound/SoundEvent;
intermediary method_6041
Lnet/minecraft/class_1309;method_6041(I)Lnet/minecraft/class_3414;
official q
Lcam;q(I)Layy;
-
disableExperienceDropping
public void disableExperienceDropping()- Mappings:
Namespace Name Mixin selector named disableExperienceDropping
Lnet/minecraft/entity/LivingEntity;disableExperienceDropping()V
intermediary method_41329
Lnet/minecraft/class_1309;method_41329()V
official eP
Lcam;eP()V
-
isExperienceDroppingDisabled
public boolean isExperienceDroppingDisabled()- Mappings:
Namespace Name Mixin selector named isExperienceDroppingDisabled
Lnet/minecraft/entity/LivingEntity;isExperienceDroppingDisabled()Z
intermediary method_41330
Lnet/minecraft/class_1309;method_41330()Z
official eQ
Lcam;eQ()Z
-
getDamageTiltYaw
public float getDamageTiltYaw()- Mappings:
Namespace Name Mixin selector named getDamageTiltYaw
Lnet/minecraft/entity/LivingEntity;getDamageTiltYaw()F
intermediary method_48157
Lnet/minecraft/class_1309;method_48157()F
official eR
Lcam;eR()F
-
getHitbox
Gets the area in which this entity can be attacked by mobs whose attack box overlaps it.- See Also:
- Mappings:
Namespace Name Mixin selector named getHitbox
Lnet/minecraft/entity/LivingEntity;getHitbox()Lnet/minecraft/util/math/Box;
intermediary method_53510
Lnet/minecraft/class_1309;method_53510()Lnet/minecraft/class_238;
official eS
Lcam;eS()Lfin;
-
getLocationBasedEnchantmentEffects
public Map<Enchantment,Set<EnchantmentLocationBasedEffect>> getLocationBasedEnchantmentEffects(EquipmentSlot slot) - Mappings:
Namespace Name Mixin selector named getLocationBasedEnchantmentEffects
Lnet/minecraft/entity/LivingEntity;getLocationBasedEnchantmentEffects(Lnet/minecraft/entity/EquipmentSlot;)Ljava/util/Map;
intermediary method_59926
Lnet/minecraft/class_1309;method_59926(Lnet/minecraft/class_1304;)Ljava/util/Map;
official c
Lcam;c(Lbzw;)Ljava/util/Map;
-
getFallSounds
- Mappings:
Namespace Name Mixin selector named getFallSounds
Lnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
intermediary method_39760
Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;
official eT
Lcam;eT()Lcam$a;
-
getClimbingPos
- Mappings:
Namespace Name Mixin selector named getClimbingPos
Lnet/minecraft/entity/LivingEntity;getClimbingPos()Ljava/util/Optional;
intermediary method_24832
Lnet/minecraft/class_1309;method_24832()Ljava/util/Optional;
official eU
Lcam;eU()Ljava/util/Optional;
-
isClimbing
public boolean isClimbing()- Mappings:
Namespace Name Mixin selector named isClimbing
Lnet/minecraft/entity/LivingEntity;isClimbing()Z
intermediary method_6101
Lnet/minecraft/class_1309;method_6101()Z
official eV
Lcam;eV()Z
-
canEnterTrapdoor
- Mappings:
Namespace Name Mixin selector named canEnterTrapdoor
Lnet/minecraft/entity/LivingEntity;canEnterTrapdoor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
intermediary method_6077
Lnet/minecraft/class_1309;method_6077(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
official c
Lcam;c(Ljb;Leeb;)Z
-
isAlive
public boolean isAlive()Returns whether the entity is alive.For non-
LivingEntity
, this is the same as negatingEntity.isRemoved()
.LivingEntity
checks the entity's health in addition to the removal. -
isEntityLookingAtMe
public boolean isEntityLookingAtMe(LivingEntity entity, double double2, boolean bool, boolean visualShape, double[] checkedYs) - Mappings:
Namespace Name Mixin selector named isEntityLookingAtMe
Lnet/minecraft/entity/LivingEntity;isEntityLookingAtMe(Lnet/minecraft/entity/LivingEntity;DZZ[D)Z
intermediary method_64619
Lnet/minecraft/class_1309;method_64619(Lnet/minecraft/class_1309;DZZ[D)Z
official a
Lcam;a(Lcam;DZZ[D)Z
-
getSafeFallDistance
public int getSafeFallDistance()Returns the maximum height of a fall the entity takes during pathfinding.- Overrides:
getSafeFallDistance
in classEntity
- Returns:
- the maximum height of a fall the entity takes during pathfinding
- Mappings:
Namespace Name Mixin selector named getSafeFallDistance
Lnet/minecraft/entity/Entity;getSafeFallDistance()I
intermediary method_5850
Lnet/minecraft/class_1297;method_5850()I
official cI
Lbzm;cI()I
-
getSafeFallDistance
protected final int getSafeFallDistance(float health) - Mappings:
Namespace Name Mixin selector named getSafeFallDistance
Lnet/minecraft/entity/LivingEntity;getSafeFallDistance(F)I
intermediary method_56993
Lnet/minecraft/class_1309;method_56993(F)I
official y
Lcam;y(F)I
-
handleFallDamage
public boolean handleFallDamage(double fallDistance, float damagePerDistance, 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:
handleFallDamage
in classEntity
- Returns:
- whether to play the sound when falling on honey block;
false
for all entities except horses and llamas - Mappings:
Namespace Name Mixin selector named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(DFLnet/minecraft/entity/damage/DamageSource;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(DFLnet/minecraft/class_1282;)Z
official a
Lbzm;a(DFLbyb;)Z
-
computeFallDamage
protected int computeFallDamage(double fallDistance, float damagePerDistance) - Mappings:
Namespace Name Mixin selector named computeFallDamage
Lnet/minecraft/entity/LivingEntity;computeFallDamage(DF)I
intermediary method_23329
Lnet/minecraft/class_1309;method_23329(DF)I
official a
Lcam;a(DF)I
-
getUnsafeFallDistance
private double getUnsafeFallDistance(double fallDistance) - Mappings:
Namespace Name Mixin selector named getUnsafeFallDistance
Lnet/minecraft/entity/LivingEntity;getUnsafeFallDistance(D)D
intermediary method_66669
Lnet/minecraft/class_1309;method_66669(D)D
official h
Lcam;h(D)D
-
playBlockFallSound
protected void playBlockFallSound()- Mappings:
Namespace Name Mixin selector named playBlockFallSound
Lnet/minecraft/entity/LivingEntity;playBlockFallSound()V
intermediary method_23328
Lnet/minecraft/class_1309;method_23328()V
official eW
Lcam;eW()V
-
animateDamage
public void animateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).- Overrides:
animateDamage
in classEntity
- Mappings:
Namespace Name Mixin selector named animateDamage
Lnet/minecraft/entity/Entity;animateDamage(F)V
intermediary method_5879
Lnet/minecraft/class_1297;method_5879(F)V
official q
Lbzm;q(F)V
-
getArmor
public int getArmor()- Mappings:
Namespace Name Mixin selector named getArmor
Lnet/minecraft/entity/LivingEntity;getArmor()I
intermediary method_6096
Lnet/minecraft/class_1309;method_6096()I
official eX
Lcam;eX()I
-
damageArmor
- Mappings:
Namespace Name Mixin selector named damageArmor
Lnet/minecraft/entity/LivingEntity;damageArmor(Lnet/minecraft/entity/damage/DamageSource;F)V
intermediary method_6105
Lnet/minecraft/class_1309;method_6105(Lnet/minecraft/class_1282;F)V
official c
Lcam;c(Lbyb;F)V
-
damageHelmet
- Mappings:
Namespace Name Mixin selector named damageHelmet
Lnet/minecraft/entity/LivingEntity;damageHelmet(Lnet/minecraft/entity/damage/DamageSource;F)V
intermediary method_36977
Lnet/minecraft/class_1309;method_36977(Lnet/minecraft/class_1282;F)V
official d
Lcam;d(Lbyb;F)V
-
damageEquipment
- Mappings:
Namespace Name Mixin selector named damageEquipment
Lnet/minecraft/entity/LivingEntity;damageEquipment(Lnet/minecraft/entity/damage/DamageSource;F[Lnet/minecraft/entity/EquipmentSlot;)V
intermediary method_57292
Lnet/minecraft/class_1309;method_57292(Lnet/minecraft/class_1282;F[Lnet/minecraft/class_1304;)V
official a
Lcam;a(Lbyb;F[Lbzw;)V
-
applyArmorToDamage
- Mappings:
Namespace Name Mixin selector named applyArmorToDamage
Lnet/minecraft/entity/LivingEntity;applyArmorToDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
intermediary method_6132
Lnet/minecraft/class_1309;method_6132(Lnet/minecraft/class_1282;F)F
official e
Lcam;e(Lbyb;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 enchantments and the resistance effect.
WitchEntity
uses this to negate their own damage and reduce the applied status effect damage. - Mappings:
Namespace Name Mixin selector named modifyAppliedDamage
Lnet/minecraft/entity/LivingEntity;modifyAppliedDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
intermediary method_6036
Lnet/minecraft/class_1309;method_6036(Lnet/minecraft/class_1282;F)F
official f
Lcam;f(Lbyb;F)F
-
applyDamage
- Mappings:
Namespace Name Mixin selector named applyDamage
Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)V
intermediary method_6074
Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)V
official c
Lcam;c(Laub;Lbyb;F)V
-
getDamageTracker
- Mappings:
Namespace Name Mixin selector named getDamageTracker
Lnet/minecraft/entity/LivingEntity;getDamageTracker()Lnet/minecraft/entity/damage/DamageTracker;
intermediary method_6066
Lnet/minecraft/class_1309;method_6066()Lnet/minecraft/class_1283;
official eY
Lcam;eY()Lbxy;
-
getPrimeAdversary
- Mappings:
Namespace Name Mixin selector named getPrimeAdversary
Lnet/minecraft/entity/LivingEntity;getPrimeAdversary()Lnet/minecraft/entity/LivingEntity;
intermediary method_6124
Lnet/minecraft/class_1309;method_6124()Lnet/minecraft/class_1309;
official eZ
Lcam;eZ()Lcam;
-
getMaxHealth
public final float getMaxHealth()- Mappings:
Namespace Name Mixin selector named getMaxHealth
Lnet/minecraft/entity/LivingEntity;getMaxHealth()F
intermediary method_6063
Lnet/minecraft/class_1309;method_6063()F
official fa
Lcam;fa()F
-
getMaxAbsorption
public final float getMaxAbsorption()- Mappings:
Namespace Name Mixin selector named getMaxAbsorption
Lnet/minecraft/entity/LivingEntity;getMaxAbsorption()F
intermediary method_52541
Lnet/minecraft/class_1309;method_52541()F
official fb
Lcam;fb()F
-
getStuckArrowCount
public final int getStuckArrowCount()- Mappings:
Namespace Name Mixin selector named getStuckArrowCount
Lnet/minecraft/entity/LivingEntity;getStuckArrowCount()I
intermediary method_6022
Lnet/minecraft/class_1309;method_6022()I
official fc
Lcam;fc()I
-
setStuckArrowCount
public final void setStuckArrowCount(int stuckArrowCount) - Mappings:
Namespace Name Mixin selector named setStuckArrowCount
Lnet/minecraft/entity/LivingEntity;setStuckArrowCount(I)V
intermediary method_6097
Lnet/minecraft/class_1309;method_6097(I)V
official o
Lcam;o(I)V
-
getStingerCount
public final int getStingerCount()- Mappings:
Namespace Name Mixin selector named getStingerCount
Lnet/minecraft/entity/LivingEntity;getStingerCount()I
intermediary method_21753
Lnet/minecraft/class_1309;method_21753()I
official fd
Lcam;fd()I
-
setStingerCount
public final void setStingerCount(int stingerCount) - Mappings:
Namespace Name Mixin selector named setStingerCount
Lnet/minecraft/entity/LivingEntity;setStingerCount(I)V
intermediary method_21755
Lnet/minecraft/class_1309;method_21755(I)V
official p
Lcam;p(I)V
-
getHandSwingDuration
private int getHandSwingDuration()- Mappings:
Namespace Name Mixin selector named getHandSwingDuration
Lnet/minecraft/entity/LivingEntity;getHandSwingDuration()I
intermediary method_6028
Lnet/minecraft/class_1309;method_6028()I
official I
Lcam;I()I
-
swingHand
- Mappings:
Namespace Name Mixin selector named swingHand
Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
intermediary method_6104
Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)V
official a
Lcam;a(Lbxi;)V
-
swingHand
- Mappings:
Namespace Name Mixin selector named swingHand
Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;Z)V
intermediary method_23667
Lnet/minecraft/class_1309;method_23667(Lnet/minecraft/class_1268;Z)V
official a
Lcam;a(Lbxi;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:
handleStatus
in classEntity
- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte)
. - Mappings:
Namespace Name Mixin selector named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
official b
Lbzm;b(B)V
-
addDeathParticles
public void addDeathParticles()- Mappings:
Namespace Name Mixin selector named addDeathParticles
Lnet/minecraft/entity/LivingEntity;addDeathParticles()V
intermediary method_36549
Lnet/minecraft/class_1309;method_36549()V
official fe
Lcam;fe()V
-
addBubbleParticles
private void addBubbleParticles()- Mappings:
Namespace Name Mixin selector named addBubbleParticles
Lnet/minecraft/entity/LivingEntity;addBubbleParticles()V
intermediary method_66276
Lnet/minecraft/class_1309;method_66276()V
official J
Lcam;J()V
-
swapHandStacks
private void swapHandStacks()- Mappings:
Namespace Name Mixin selector named swapHandStacks
Lnet/minecraft/entity/LivingEntity;swapHandStacks()V
intermediary method_30127
Lnet/minecraft/class_1309;method_30127()V
official L
Lcam;L()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:
tickInVoid
in classEntity
- Mappings:
Namespace Name Mixin selector named tickInVoid
Lnet/minecraft/entity/Entity;tickInVoid()V
intermediary method_5825
Lnet/minecraft/class_1297;method_5825()V
official aJ
Lbzm;aJ()V
-
tickHandSwing
protected void tickHandSwing()- Mappings:
Namespace Name Mixin selector named tickHandSwing
Lnet/minecraft/entity/LivingEntity;tickHandSwing()V
intermediary method_6119
Lnet/minecraft/class_1309;method_6119()V
official ff
Lcam;ff()V
-
getAttributeInstance
@Nullable public @Nullable EntityAttributeInstance getAttributeInstance(RegistryEntry<EntityAttribute> attribute) - Mappings:
Namespace Name Mixin selector named getAttributeInstance
Lnet/minecraft/entity/LivingEntity;getAttributeInstance(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
intermediary method_5996
Lnet/minecraft/class_1309;method_5996(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;
official h
Lcam;h(Ljl;)Lcbo;
-
getAttributeValue
- Mappings:
Namespace Name Mixin selector named getAttributeValue
Lnet/minecraft/entity/LivingEntity;getAttributeValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
intermediary method_45325
Lnet/minecraft/class_1309;method_45325(Lnet/minecraft/class_6880;)D
official i
Lcam;i(Ljl;)D
-
getAttributeBaseValue
- Mappings:
Namespace Name Mixin selector named getAttributeBaseValue
Lnet/minecraft/entity/LivingEntity;getAttributeBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
intermediary method_45326
Lnet/minecraft/class_1309;method_45326(Lnet/minecraft/class_6880;)D
official j
Lcam;j(Ljl;)D
-
getAttributes
- Mappings:
Namespace Name Mixin selector named getAttributes
Lnet/minecraft/entity/LivingEntity;getAttributes()Lnet/minecraft/entity/attribute/AttributeContainer;
intermediary method_6127
Lnet/minecraft/class_1309;method_6127()Lnet/minecraft/class_5131;
official fg
Lcam;fg()Lcbp;
-
getMainHandStack
- Mappings:
Namespace Name Mixin selector named getMainHandStack
Lnet/minecraft/entity/LivingEntity;getMainHandStack()Lnet/minecraft/item/ItemStack;
intermediary method_6047
Lnet/minecraft/class_1309;method_6047()Lnet/minecraft/class_1799;
official fh
Lcam;fh()Ldcv;
-
getOffHandStack
- Mappings:
Namespace Name Mixin selector named getOffHandStack
Lnet/minecraft/entity/LivingEntity;getOffHandStack()Lnet/minecraft/item/ItemStack;
intermediary method_6079
Lnet/minecraft/class_1309;method_6079()Lnet/minecraft/class_1799;
official fi
Lcam;fi()Ldcv;
-
getStackInArm
- Mappings:
Namespace Name Mixin selector named getStackInArm
Lnet/minecraft/entity/LivingEntity;getStackInArm(Lnet/minecraft/util/Arm;)Lnet/minecraft/item/ItemStack;
intermediary method_61420
Lnet/minecraft/class_1309;method_61420(Lnet/minecraft/class_1306;)Lnet/minecraft/class_1799;
official a
Lcam;a(Lcad;)Ldcv;
-
getWeaponStack
- Overrides:
getWeaponStack
in classEntity
- Mappings:
Namespace Name Mixin selector named getWeaponStack
Lnet/minecraft/entity/Entity;getWeaponStack()Lnet/minecraft/item/ItemStack;
intermediary method_59958
Lnet/minecraft/class_1297;method_59958()Lnet/minecraft/class_1799;
official ed
Lbzm;ed()Ldcv;
-
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 named isHolding
Lnet/minecraft/entity/LivingEntity;isHolding(Lnet/minecraft/item/Item;)Z
intermediary method_24518
Lnet/minecraft/class_1309;method_24518(Lnet/minecraft/class_1792;)Z
official b
Lcam;b(Ldcr;)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 named isHolding
Lnet/minecraft/entity/LivingEntity;isHolding(Ljava/util/function/Predicate;)Z
intermediary method_24520
Lnet/minecraft/class_1309;method_24520(Ljava/util/function/Predicate;)Z
official b
Lcam;b(Ljava/util/function/Predicate;)Z
-
getStackInHand
- Mappings:
Namespace Name Mixin selector named getStackInHand
Lnet/minecraft/entity/LivingEntity;getStackInHand(Lnet/minecraft/util/Hand;)Lnet/minecraft/item/ItemStack;
intermediary method_5998
Lnet/minecraft/class_1309;method_5998(Lnet/minecraft/class_1268;)Lnet/minecraft/class_1799;
official b
Lcam;b(Lbxi;)Ldcv;
-
setStackInHand
- Mappings:
Namespace Name Mixin selector named setStackInHand
Lnet/minecraft/entity/LivingEntity;setStackInHand(Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)V
intermediary method_6122
Lnet/minecraft/class_1309;method_6122(Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)V
official a
Lcam;a(Lbxi;Ldcv;)V
-
hasStackEquipped
- Mappings:
Namespace Name Mixin selector named hasStackEquipped
Lnet/minecraft/entity/LivingEntity;hasStackEquipped(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_6084
Lnet/minecraft/class_1309;method_6084(Lnet/minecraft/class_1304;)Z
official d
Lcam;d(Lbzw;)Z
-
canUseSlot
- Mappings:
Namespace Name Mixin selector named canUseSlot
Lnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_56991
Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Z
official e
Lcam;e(Lbzw;)Z
-
getEquippedStack
- Mappings:
Namespace Name Mixin selector named getEquippedStack
Lnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
intermediary method_6118
Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
official a
Lcam;a(Lbzw;)Ldcv;
-
equipStack
- Mappings:
Namespace Name Mixin selector named equipStack
Lnet/minecraft/entity/LivingEntity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
intermediary method_5673
Lnet/minecraft/class_1309;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
official a
Lcam;a(Lbzw;Ldcv;)V
-
getArmorVisibility
public float getArmorVisibility()- Mappings:
Namespace Name Mixin selector named getArmorVisibility
Lnet/minecraft/entity/LivingEntity;getArmorVisibility()F
intermediary method_18396
Lnet/minecraft/class_1309;method_18396()F
official fj
Lcam;fj()F
-
setSprinting
public void setSprinting(boolean sprinting) Sets whether the entity is sprinting.- Overrides:
setSprinting
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named setSprinting
Lnet/minecraft/entity/Entity;setSprinting(Z)V
intermediary method_5728
Lnet/minecraft/class_1297;method_5728(Z)V
official i
Lbzm;i(Z)V
-
getSoundVolume
protected float getSoundVolume()- Mappings:
Namespace Name Mixin selector named getSoundVolume
Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
intermediary method_6107
Lnet/minecraft/class_1309;method_6107()F
official fk
Lcam;fk()F
-
getSoundPitch
public float getSoundPitch()- Mappings:
Namespace Name Mixin selector named getSoundPitch
Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
intermediary method_6017
Lnet/minecraft/class_1309;method_6017()F
official fl
Lcam;fl()F
-
isImmobile
protected boolean isImmobile()- Mappings:
Namespace Name Mixin selector named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
official fm
Lcam;fm()Z
-
pushAwayFrom
- Overrides:
pushAwayFrom
in classEntity
- Mappings:
Namespace Name Mixin selector named pushAwayFrom
Lnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
intermediary method_5697
Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)V
official h
Lbzm;h(Lbzm;)V
-
onDismounted
- Mappings:
Namespace Name Mixin selector named onDismounted
Lnet/minecraft/entity/LivingEntity;onDismounted(Lnet/minecraft/entity/Entity;)V
intermediary method_6038
Lnet/minecraft/class_1309;method_6038(Lnet/minecraft/class_1297;)V
official G
Lcam;G(Lbzm;)V
-
shouldRenderName
public boolean shouldRenderName()Returns whether to render the name of the entity.This returns
true
for players andEntity.isCustomNameVisible()
for other entities.- Overrides:
shouldRenderName
in classEntity
- Returns:
- whether to render the name of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named shouldRenderName
Lnet/minecraft/entity/Entity;shouldRenderName()Z
intermediary method_5733
Lnet/minecraft/class_1297;method_5733()Z
official cQ
Lbzm;cQ()Z
-
getJumpVelocity
protected float getJumpVelocity()- Mappings:
Namespace Name Mixin selector named getJumpVelocity
Lnet/minecraft/entity/LivingEntity;getJumpVelocity()F
intermediary method_6106
Lnet/minecraft/class_1309;method_6106()F
official fn
Lcam;fn()F
-
getJumpVelocity
protected float getJumpVelocity(float strength) - Mappings:
Namespace Name Mixin selector named getJumpVelocity
Lnet/minecraft/entity/LivingEntity;getJumpVelocity(F)F
intermediary method_56994
Lnet/minecraft/class_1309;method_56994(F)F
official z
Lcam;z(F)F
-
getJumpBoostVelocityModifier
public float getJumpBoostVelocityModifier()- Mappings:
Namespace Name Mixin selector named getJumpBoostVelocityModifier
Lnet/minecraft/entity/LivingEntity;getJumpBoostVelocityModifier()F
intermediary method_37416
Lnet/minecraft/class_1309;method_37416()F
official fo
Lcam;fo()F
-
jump
public void jump()- Mappings:
Namespace Name Mixin selector named jump
Lnet/minecraft/entity/LivingEntity;jump()V
intermediary method_6043
Lnet/minecraft/class_1309;method_6043()V
official s
Lcam;s()V
-
knockDownwards
protected void knockDownwards()- Mappings:
Namespace Name Mixin selector named knockDownwards
Lnet/minecraft/entity/LivingEntity;knockDownwards()V
intermediary method_6093
Lnet/minecraft/class_1309;method_6093()V
official fp
Lcam;fp()V
-
swimUpward
- Mappings:
Namespace Name Mixin selector named swimUpward
Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)V
intermediary method_6010
Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)V
official c
Lcam;c(Lbae;)V
-
getBaseWaterMovementSpeedMultiplier
protected float getBaseWaterMovementSpeedMultiplier()- Mappings:
Namespace Name Mixin selector named getBaseWaterMovementSpeedMultiplier
Lnet/minecraft/entity/LivingEntity;getBaseWaterMovementSpeedMultiplier()F
intermediary method_6120
Lnet/minecraft/class_1309;method_6120()F
official fq
Lcam;fq()F
-
canWalkOnFluid
- Mappings:
Namespace Name Mixin selector named canWalkOnFluid
Lnet/minecraft/entity/LivingEntity;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;)Z
intermediary method_26319
Lnet/minecraft/class_1309;method_26319(Lnet/minecraft/class_3610;)Z
official a
Lcam;a(Lfal;)Z
-
getGravity
protected double getGravity()- Overrides:
getGravity
in classEntity
- Mappings:
Namespace Name Mixin selector named getGravity
Lnet/minecraft/entity/Entity;getGravity()D
intermediary method_7490
Lnet/minecraft/class_1297;method_7490()D
official bg
Lbzm;bg()D
-
getEffectiveGravity
protected double getEffectiveGravity()- Mappings:
Namespace Name Mixin selector named getEffectiveGravity
Lnet/minecraft/entity/LivingEntity;getEffectiveGravity()D
intermediary method_61426
Lnet/minecraft/class_1309;method_61426()D
official fr
Lcam;fr()D
-
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
invalid reference
flying entities
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
official k
Lcam;k(Lfis;)V
-
travelFlying
- Mappings:
Namespace Name Mixin selector named travelFlying
Lnet/minecraft/entity/LivingEntity;travelFlying(Lnet/minecraft/util/math/Vec3d;F)V
intermediary method_70670
Lnet/minecraft/class_1309;method_70670(Lnet/minecraft/class_243;F)V
official a
Lcam;a(Lfis;F)V
-
travelFlying
protected void travelFlying(Vec3d movementInput, float inWaterSpeed, float inLavaSpeed, float regularSpeed) - Mappings:
Namespace Name Mixin selector named travelFlying
Lnet/minecraft/entity/LivingEntity;travelFlying(Lnet/minecraft/util/math/Vec3d;FFF)V
intermediary method_70671
Lnet/minecraft/class_1309;method_70671(Lnet/minecraft/class_243;FFF)V
official a
Lcam;a(Lfis;FFF)V
-
travelMidAir
- Mappings:
Namespace Name Mixin selector named travelMidAir
Lnet/minecraft/entity/LivingEntity;travelMidAir(Lnet/minecraft/util/math/Vec3d;)V
intermediary method_61428
Lnet/minecraft/class_1309;method_61428(Lnet/minecraft/class_243;)V
official a
Lcam;a(Lfis;)V
-
travelInFluid
- Mappings:
Namespace Name Mixin selector named travelInFluid
Lnet/minecraft/entity/LivingEntity;travelInFluid(Lnet/minecraft/util/math/Vec3d;)V
intermediary method_61429
Lnet/minecraft/class_1309;method_61429(Lnet/minecraft/class_243;)V
official m
Lcam;m(Lfis;)V
-
travelGliding
- Mappings:
Namespace Name Mixin selector named travelGliding
Lnet/minecraft/entity/LivingEntity;travelGliding(Lnet/minecraft/util/math/Vec3d;)V
intermediary method_61417
Lnet/minecraft/class_1309;method_61417(Lnet/minecraft/class_243;)V
official n
Lcam;n(Lfis;)V
-
stopGliding
public void stopGliding()- Mappings:
Namespace Name Mixin selector named stopGliding
Lnet/minecraft/entity/LivingEntity;stopGliding()V
intermediary method_66281
Lnet/minecraft/class_1309;method_66281()V
official fs
Lcam;fs()V
-
calcGlidingVelocity
- Mappings:
Namespace Name Mixin selector named calcGlidingVelocity
Lnet/minecraft/entity/LivingEntity;calcGlidingVelocity(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_61430
Lnet/minecraft/class_1309;method_61430(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official o
Lcam;o(Lfis;)Lfis;
-
checkGlidingCollision
private void checkGlidingCollision(double oldSpeed, double newSpeed) - Mappings:
Namespace Name Mixin selector named checkGlidingCollision
Lnet/minecraft/entity/LivingEntity;checkGlidingCollision(DD)V
intermediary method_61424
Lnet/minecraft/class_1309;method_61424(DD)V
official c
Lcam;c(DD)V
-
travelControlled
- Mappings:
Namespace Name Mixin selector named travelControlled
Lnet/minecraft/entity/LivingEntity;travelControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_49483
Lnet/minecraft/class_1309;method_49483(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
official c
Lcam;c(Lcut;Lfis;)V
-
tickControlled
- Mappings:
Namespace Name Mixin selector named tickControlled
Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_49481
Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
official a
Lcam;a(Lcut;Lfis;)V
-
getControlledMovementInput
- Mappings:
Namespace Name Mixin selector named getControlledMovementInput
Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_49482
Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official b
Lcam;b(Lcut;Lfis;)Lfis;
-
getSaddledSpeed
- Mappings:
Namespace Name Mixin selector named getSaddledSpeed
Lnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
intermediary method_49485
Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)F
official c
Lcam;c(Lcut;)F
-
updateLimbs
public void updateLimbs(boolean flutter) - Mappings:
Namespace Name Mixin selector named updateLimbs
Lnet/minecraft/entity/LivingEntity;updateLimbs(Z)V
intermediary method_29242
Lnet/minecraft/class_1309;method_29242(Z)V
official s
Lcam;s(Z)V
-
updateLimbs
protected void updateLimbs(float posDelta) - Mappings:
Namespace Name Mixin selector named updateLimbs
Lnet/minecraft/entity/LivingEntity;updateLimbs(F)V
intermediary method_48565
Lnet/minecraft/class_1309;method_48565(F)V
official A
Lcam;A(F)V
-
applyMovementInput
- Mappings:
Namespace Name Mixin selector named applyMovementInput
Lnet/minecraft/entity/LivingEntity;applyMovementInput(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
intermediary method_26318
Lnet/minecraft/class_1309;method_26318(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;
official b
Lcam;b(Lfis;F)Lfis;
-
applyFluidMovingSpeed
- Mappings:
Namespace Name Mixin selector named applyFluidMovingSpeed
Lnet/minecraft/entity/LivingEntity;applyFluidMovingSpeed(DZLnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_26317
Lnet/minecraft/class_1309;method_26317(DZLnet/minecraft/class_243;)Lnet/minecraft/class_243;
official a
Lcam;a(DZLfis;)Lfis;
-
applyClimbingSpeed
- Mappings:
Namespace Name Mixin selector named applyClimbingSpeed
Lnet/minecraft/entity/LivingEntity;applyClimbingSpeed(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_18801
Lnet/minecraft/class_1309;method_18801(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official p
Lcam;p(Lfis;)Lfis;
-
getMovementSpeed
private float getMovementSpeed(float slipperiness) - Mappings:
Namespace Name Mixin selector named getMovementSpeed
Lnet/minecraft/entity/LivingEntity;getMovementSpeed(F)F
intermediary method_18802
Lnet/minecraft/class_1309;method_18802(F)F
official G
Lcam;G(F)F
-
getOffGroundSpeed
protected float getOffGroundSpeed()- Mappings:
Namespace Name Mixin selector named getOffGroundSpeed
Lnet/minecraft/entity/LivingEntity;getOffGroundSpeed()F
intermediary method_49484
Lnet/minecraft/class_1309;method_49484()F
official ft
Lcam;ft()F
-
getMovementSpeed
public float getMovementSpeed()- Mappings:
Namespace Name Mixin selector named getMovementSpeed
Lnet/minecraft/entity/LivingEntity;getMovementSpeed()F
intermediary method_6029
Lnet/minecraft/class_1309;method_6029()F
official fu
Lcam;fu()F
-
setMovementSpeed
public void setMovementSpeed(float movementSpeed) - Mappings:
Namespace Name Mixin selector named setMovementSpeed
Lnet/minecraft/entity/LivingEntity;setMovementSpeed(F)V
intermediary method_6125
Lnet/minecraft/class_1309;method_6125(F)V
official B
Lcam;B(F)V
-
tryAttack
- Mappings:
Namespace Name Mixin selector named tryAttack
Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Z
intermediary method_6121
Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
official c
Lcam;c(Laub;Lbzm;)Z
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
sendEquipmentChanges
private void sendEquipmentChanges()Sends equipment changes to nearby players.- Mappings:
Namespace Name Mixin selector named sendEquipmentChanges
Lnet/minecraft/entity/LivingEntity;sendEquipmentChanges()V
intermediary method_30128
Lnet/minecraft/class_1309;method_30128()V
official N
Lcam;N()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 named getEquipmentChanges
Lnet/minecraft/entity/LivingEntity;getEquipmentChanges()Ljava/util/Map;
intermediary method_30129
Lnet/minecraft/class_1309;method_30129()Ljava/util/Map;
official O
Lcam;O()Ljava/util/Map;
-
areItemsDifferent
- Mappings:
Namespace Name Mixin selector named areItemsDifferent
Lnet/minecraft/entity/LivingEntity;areItemsDifferent(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
intermediary method_45324
Lnet/minecraft/class_1309;method_45324(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
official a
Lcam;a(Ldcv;Ldcv;)Z
-
checkHandStackSwap
Notifies nearby players if the stacks in the hands have been swapped.- Mappings:
Namespace Name Mixin selector named checkHandStackSwap
Lnet/minecraft/entity/LivingEntity;checkHandStackSwap(Ljava/util/Map;)V
intermediary method_30121
Lnet/minecraft/class_1309;method_30121(Ljava/util/Map;)V
official a
Lcam;a(Ljava/util/Map;)V
-
sendEquipmentChanges
Sends equipment changes to nearby players.- See Also:
- Mappings:
Namespace Name Mixin selector named sendEquipmentChanges
Lnet/minecraft/entity/LivingEntity;sendEquipmentChanges(Ljava/util/Map;)V
intermediary method_30123
Lnet/minecraft/class_1309;method_30123(Ljava/util/Map;)V
official b
Lcam;b(Ljava/util/Map;)V
-
turnHead
protected void turnHead(float bodyRotation) - Mappings:
Namespace Name Mixin selector named turnHead
Lnet/minecraft/entity/LivingEntity;turnHead(F)V
intermediary method_6031
Lnet/minecraft/class_1309;method_6031(F)V
official C
Lcam;C(F)V
-
getMaxRelativeHeadRotation
protected float getMaxRelativeHeadRotation()Returns the maximum rotation of the head relative to the body in degrees.- Returns:
- the maximum rotation of the head relative to the body in degrees
- Mappings:
Namespace Name Mixin selector named getMaxRelativeHeadRotation
Lnet/minecraft/entity/LivingEntity;getMaxRelativeHeadRotation()F
intermediary method_53964
Lnet/minecraft/class_1309;method_53964()F
official fv
Lcam;fv()F
-
tickMovement
public void tickMovement()- Mappings:
Namespace Name Mixin selector named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
official e_
Lcam;e_()V
-
tickMovementInput
protected void tickMovementInput()- Mappings:
Namespace Name Mixin selector named tickMovementInput
Lnet/minecraft/entity/LivingEntity;tickMovementInput()V
intermediary method_66282
Lnet/minecraft/class_1309;method_66282()V
official fw
Lcam;fw()V
-
hurtByWater
public boolean hurtByWater()- Mappings:
Namespace Name Mixin selector named hurtByWater
Lnet/minecraft/entity/LivingEntity;hurtByWater()Z
intermediary method_29503
Lnet/minecraft/class_1309;method_29503()Z
official fx
Lcam;fx()Z
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector named isJumping
Lnet/minecraft/entity/LivingEntity;isJumping()Z
intermediary method_70673
Lnet/minecraft/class_1309;method_70673()Z
official fy
Lcam;fy()Z
-
tickGliding
protected void tickGliding()- Mappings:
Namespace Name Mixin selector named tickGliding
Lnet/minecraft/entity/LivingEntity;tickGliding()V
intermediary method_6053
Lnet/minecraft/class_1309;method_6053()V
official fz
Lcam;fz()V
-
canGlide
protected boolean canGlide()- Mappings:
Namespace Name Mixin selector named canGlide
Lnet/minecraft/entity/LivingEntity;canGlide()Z
intermediary method_63628
Lnet/minecraft/class_1309;method_63628()Z
official fA
Lcam;fA()Z
-
tickNewAi
protected void tickNewAi()- Mappings:
Namespace Name Mixin selector named tickNewAi
Lnet/minecraft/entity/LivingEntity;tickNewAi()V
intermediary method_6023
Lnet/minecraft/class_1309;method_6023()V
official fB
Lcam;fB()V
-
tickCramming
protected void tickCramming()- Mappings:
Namespace Name Mixin selector named tickCramming
Lnet/minecraft/entity/LivingEntity;tickCramming()V
intermediary method_6070
Lnet/minecraft/class_1309;method_6070()V
official o
Lcam;o()V
-
tickRiptide
- Mappings:
Namespace Name Mixin selector named tickRiptide
Lnet/minecraft/entity/LivingEntity;tickRiptide(Lnet/minecraft/util/math/Box;Lnet/minecraft/util/math/Box;)V
intermediary method_6035
Lnet/minecraft/class_1309;method_6035(Lnet/minecraft/class_238;Lnet/minecraft/class_238;)V
official a
Lcam;a(Lfin;Lfin;)V
-
pushAway
- Mappings:
Namespace Name Mixin selector named pushAway
Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
intermediary method_6087
Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)V
official E
Lcam;E(Lbzm;)V
-
attackLivingEntity
- Mappings:
Namespace Name Mixin selector named attackLivingEntity
Lnet/minecraft/entity/LivingEntity;attackLivingEntity(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_5997
Lnet/minecraft/class_1309;method_5997(Lnet/minecraft/class_1309;)V
official f
Lcam;f(Lcam;)V
-
isUsingRiptide
public boolean isUsingRiptide()- Mappings:
Namespace Name Mixin selector named isUsingRiptide
Lnet/minecraft/entity/LivingEntity;isUsingRiptide()Z
intermediary method_6123
Lnet/minecraft/class_1309;method_6123()Z
official fC
Lcam;fC()Z
-
stopRiding
public void stopRiding()Stops riding the vehicle if present.For example, if
player
is riding on a horse,player.stopRiding()
will dismount that player from the horse.- Overrides:
stopRiding
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named stopRiding
Lnet/minecraft/entity/Entity;stopRiding()V
intermediary method_5848
Lnet/minecraft/class_1297;method_5848()V
official bS
Lbzm;bS()V
-
tickRiding
public void tickRiding()- Overrides:
tickRiding
in classEntity
- Mappings:
Namespace Name Mixin selector named tickRiding
Lnet/minecraft/entity/Entity;tickRiding()V
intermediary method_5842
Lnet/minecraft/class_1297;method_5842()V
official r
Lbzm;r()V
-
getInterpolator
- Overrides:
getInterpolator
in classEntity
- Mappings:
Namespace Name Mixin selector named getInterpolator
Lnet/minecraft/entity/Entity;getInterpolator()Lnet/minecraft/entity/PositionInterpolator;
intermediary method_66233
Lnet/minecraft/class_1297;method_66233()Lnet/minecraft/class_10584;
official l_
Lbzm;l_()Lcah;
-
updateTrackedHeadRotation
public void updateTrackedHeadRotation(float yaw, int interpolationSteps) - Overrides:
updateTrackedHeadRotation
in classEntity
- Mappings:
Namespace Name Mixin selector named updateTrackedHeadRotation
Lnet/minecraft/entity/Entity;updateTrackedHeadRotation(FI)V
intermediary method_5683
Lnet/minecraft/class_1297;method_5683(FI)V
official a
Lbzm;a(FI)V
-
setJumping
public void setJumping(boolean jumping) - Mappings:
Namespace Name Mixin selector named setJumping
Lnet/minecraft/entity/LivingEntity;setJumping(Z)V
intermediary method_6100
Lnet/minecraft/class_1309;method_6100(Z)V
official t
Lcam;t(Z)V
-
triggerItemPickedUpByEntityCriteria
Called to trigger advancement criteria when an entity picks up an item thrown by a player.- Mappings:
Namespace Name Mixin selector named triggerItemPickedUpByEntityCriteria
Lnet/minecraft/entity/LivingEntity;triggerItemPickedUpByEntityCriteria(Lnet/minecraft/entity/ItemEntity;)V
intermediary method_29499
Lnet/minecraft/class_1309;method_29499(Lnet/minecraft/class_1542;)V
official a
Lcam;a(Lcqz;)V
-
sendPickup
- Mappings:
Namespace Name Mixin selector named sendPickup
Lnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
intermediary method_6103
Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)V
official a
Lcam;a(Lbzm;I)V
-
canSee
- Mappings:
Namespace Name Mixin selector named canSee
Lnet/minecraft/entity/LivingEntity;canSee(Lnet/minecraft/entity/Entity;)Z
intermediary method_6057
Lnet/minecraft/class_1309;method_6057(Lnet/minecraft/class_1297;)Z
official F
Lcam;F(Lbzm;)Z
-
canSee
public boolean canSee(Entity entity, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, double entityY) - Mappings:
Namespace Name Mixin selector named canSee
Lnet/minecraft/entity/LivingEntity;canSee(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/RaycastContext$ShapeType;Lnet/minecraft/world/RaycastContext$FluidHandling;D)Z
intermediary method_64618
Lnet/minecraft/class_1309;method_64618(Lnet/minecraft/class_1297;Lnet/minecraft/class_3959$class_3960;Lnet/minecraft/class_3959$class_242;D)Z
official a
Lcam;a(Lbzm;Ldmb$a;Ldmb$b;D)Z
-
getYaw
public float getYaw(float tickProgress) -
getHandSwingProgress
public float getHandSwingProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getHandSwingProgress
Lnet/minecraft/entity/LivingEntity;getHandSwingProgress(F)F
intermediary method_6055
Lnet/minecraft/class_1309;method_6055(F)F
official D
Lcam;D(F)F
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHit
in classEntity
- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector named canHit
Lnet/minecraft/entity/Entity;canHit()Z
intermediary method_5863
Lnet/minecraft/class_1297;method_5863()Z
official bK
Lbzm;bK()Z
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushable
in classEntity
- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
official bL
Lbzm;bL()Z
-
getHeadYaw
public float getHeadYaw()Returns the head yaw of the entity.- Overrides:
getHeadYaw
in classEntity
- Returns:
- the head yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getHeadYaw
Lnet/minecraft/entity/Entity;getHeadYaw()F
intermediary method_5791
Lnet/minecraft/class_1297;method_5791()F
official cE
Lbzm;cE()F
-
setHeadYaw
public void setHeadYaw(float headYaw) Sets the head yaw of this entity.- Overrides:
setHeadYaw
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named setHeadYaw
Lnet/minecraft/entity/Entity;setHeadYaw(F)V
intermediary method_5847
Lnet/minecraft/class_1297;method_5847(F)V
official r
Lbzm;r(F)V
-
setBodyYaw
public void setBodyYaw(float bodyYaw) Sets the body yaw of this entity.- Overrides:
setBodyYaw
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named setBodyYaw
Lnet/minecraft/entity/Entity;setBodyYaw(F)V
intermediary method_5636
Lnet/minecraft/class_1297;method_5636(F)V
official s
Lbzm;s(F)V
-
positionInPortal
Returns the entity's position in the portal after teleportation.- Overrides:
positionInPortal
in classEntity
- Returns:
- the entity's position in the portal after teleportation
- See Also:
- Mappings:
Namespace Name Mixin selector named positionInPortal
Lnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;
intermediary method_30633
Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;
official a
Lbzm;a(Ljh$a;Lm$a;)Lfis;
-
positionInPortal
- Mappings:
Namespace Name Mixin selector named positionInPortal
Lnet/minecraft/entity/LivingEntity;positionInPortal(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
intermediary method_31079
Lnet/minecraft/class_1309;method_31079(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
official l
Lcam;l(Lfis;)Lfis;
-
getAbsorptionAmount
public float getAbsorptionAmount()- Mappings:
Namespace Name Mixin selector named getAbsorptionAmount
Lnet/minecraft/entity/LivingEntity;getAbsorptionAmount()F
intermediary method_6067
Lnet/minecraft/class_1309;method_6067()F
official fD
Lcam;fD()F
-
setAbsorptionAmount
public final void setAbsorptionAmount(float absorptionAmount) - Mappings:
Namespace Name Mixin selector named setAbsorptionAmount
Lnet/minecraft/entity/LivingEntity;setAbsorptionAmount(F)V
intermediary method_6073
Lnet/minecraft/class_1309;method_6073(F)V
official E
Lcam;E(F)V
-
setAbsorptionAmountUnclamped
protected void setAbsorptionAmountUnclamped(float absorptionAmount) - Mappings:
Namespace Name Mixin selector named setAbsorptionAmountUnclamped
Lnet/minecraft/entity/LivingEntity;setAbsorptionAmountUnclamped(F)V
intermediary method_52544
Lnet/minecraft/class_1309;method_52544(F)V
official F
Lcam;F(F)V
-
enterCombat
public void enterCombat()- Mappings:
Namespace Name Mixin selector named enterCombat
Lnet/minecraft/entity/LivingEntity;enterCombat()V
intermediary method_6000
Lnet/minecraft/class_1309;method_6000()V
official h_
Lcam;h_()V
-
endCombat
public void endCombat()- Mappings:
Namespace Name Mixin selector named endCombat
Lnet/minecraft/entity/LivingEntity;endCombat()V
intermediary method_6044
Lnet/minecraft/class_1309;method_6044()V
official P_
Lcam;P_()V
-
markEffectsDirty
protected void markEffectsDirty()- Mappings:
Namespace Name Mixin selector named markEffectsDirty
Lnet/minecraft/entity/LivingEntity;markEffectsDirty()V
intermediary method_6008
Lnet/minecraft/class_1309;method_6008()V
official fE
Lcam;fE()V
-
getMainArm
- Mappings:
Namespace Name Mixin selector named getMainArm
Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
intermediary method_6068
Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
official fF
Lcam;fF()Lcad;
-
isUsingItem
public boolean isUsingItem()- Mappings:
Namespace Name Mixin selector named isUsingItem
Lnet/minecraft/entity/LivingEntity;isUsingItem()Z
intermediary method_6115
Lnet/minecraft/class_1309;method_6115()Z
official fG
Lcam;fG()Z
-
getActiveHand
- Mappings:
Namespace Name Mixin selector named getActiveHand
Lnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
intermediary method_6058
Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;
official fH
Lcam;fH()Lbxi;
-
tickActiveItemStack
private void tickActiveItemStack()- Mappings:
Namespace Name Mixin selector named tickActiveItemStack
Lnet/minecraft/entity/LivingEntity;tickActiveItemStack()V
intermediary method_6076
Lnet/minecraft/class_1309;method_6076()V
official P
Lcam;P()V
-
createItemEntity
@Nullable private @Nullable ItemEntity createItemEntity(ItemStack stack, boolean atSelf, boolean retainOwnership) - Mappings:
Namespace Name Mixin selector named createItemEntity
Lnet/minecraft/entity/LivingEntity;createItemEntity(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
intermediary method_67517
Lnet/minecraft/class_1309;method_67517(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;
official b
Lcam;b(Ldcv;ZZ)Lcqz;
-
tickItemStackUsage
- Mappings:
Namespace Name Mixin selector named tickItemStackUsage
Lnet/minecraft/entity/LivingEntity;tickItemStackUsage(Lnet/minecraft/item/ItemStack;)V
intermediary method_37119
Lnet/minecraft/class_1309;method_37119(Lnet/minecraft/class_1799;)V
official a
Lcam;a(Ldcv;)V
-
updateLeaningPitch
private void updateLeaningPitch()- Mappings:
Namespace Name Mixin selector named updateLeaningPitch
Lnet/minecraft/entity/LivingEntity;updateLeaningPitch()V
intermediary method_6072
Lnet/minecraft/class_1309;method_6072()V
official Q
Lcam;Q()V
-
setLivingFlag
protected void setLivingFlag(int mask, boolean value) - Mappings:
Namespace Name Mixin selector named setLivingFlag
Lnet/minecraft/entity/LivingEntity;setLivingFlag(IZ)V
intermediary method_6085
Lnet/minecraft/class_1309;method_6085(IZ)V
official c
Lcam;c(IZ)V
-
setCurrentHand
- Mappings:
Namespace Name Mixin selector named setCurrentHand
Lnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
intermediary method_6019
Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)V
official c
Lcam;c(Lbxi;)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.
- Specified by:
onTrackedDataSet
in interfaceDataTracked
- Overrides:
onTrackedDataSet
in classEntity
- Mappings:
Namespace Name Mixin selector named onTrackedDataSet
Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
intermediary method_5674
Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
official a
Lalk;a(Lalh;)V
-
lookAt
Changes this entity's pitch and yaw to look attarget
.- Overrides:
lookAt
in classEntity
- Mappings:
Namespace Name Mixin selector named lookAt
Lnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_5702
Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)V
official a
Lbzm;a(Lex$a;Lfis;)V
-
lerpYaw
public float lerpYaw(float tickProgress) -
spawnItemParticles
- Mappings:
Namespace Name Mixin selector named spawnItemParticles
Lnet/minecraft/entity/LivingEntity;spawnItemParticles(Lnet/minecraft/item/ItemStack;I)V
intermediary method_6037
Lnet/minecraft/class_1309;method_6037(Lnet/minecraft/class_1799;I)V
official b
Lcam;b(Ldcv;I)V
-
consumeItem
protected void consumeItem()- Mappings:
Namespace Name Mixin selector named consumeItem
Lnet/minecraft/entity/LivingEntity;consumeItem()V
intermediary method_6040
Lnet/minecraft/class_1309;method_6040()V
official w
Lcam;w()V
-
giveOrDropStack
- Mappings:
Namespace Name Mixin selector named giveOrDropStack
Lnet/minecraft/entity/LivingEntity;giveOrDropStack(Lnet/minecraft/item/ItemStack;)V
intermediary method_64399
Lnet/minecraft/class_1309;method_64399(Lnet/minecraft/class_1799;)V
official b
Lcam;b(Ldcv;)V
-
getActiveItem
- Mappings:
Namespace Name Mixin selector named getActiveItem
Lnet/minecraft/entity/LivingEntity;getActiveItem()Lnet/minecraft/item/ItemStack;
intermediary method_6030
Lnet/minecraft/class_1309;method_6030()Lnet/minecraft/class_1799;
official fI
Lcam;fI()Ldcv;
-
getItemUseTimeLeft
public int getItemUseTimeLeft()- Mappings:
Namespace Name Mixin selector named getItemUseTimeLeft
Lnet/minecraft/entity/LivingEntity;getItemUseTimeLeft()I
intermediary method_6014
Lnet/minecraft/class_1309;method_6014()I
official fJ
Lcam;fJ()I
-
getItemUseTime
public int getItemUseTime()- Mappings:
Namespace Name Mixin selector named getItemUseTime
Lnet/minecraft/entity/LivingEntity;getItemUseTime()I
intermediary method_6048
Lnet/minecraft/class_1309;method_6048()I
official fK
Lcam;fK()I
-
stopUsingItem
public void stopUsingItem()- Mappings:
Namespace Name Mixin selector named stopUsingItem
Lnet/minecraft/entity/LivingEntity;stopUsingItem()V
intermediary method_6075
Lnet/minecraft/class_1309;method_6075()V
official fL
Lcam;fL()V
-
clearActiveItem
public void clearActiveItem()- Mappings:
Namespace Name Mixin selector named clearActiveItem
Lnet/minecraft/entity/LivingEntity;clearActiveItem()V
intermediary method_6021
Lnet/minecraft/class_1309;method_6021()V
official fM
Lcam;fM()V
-
isBlocking
public boolean isBlocking()- Mappings:
Namespace Name Mixin selector named isBlocking
Lnet/minecraft/entity/LivingEntity;isBlocking()Z
intermediary method_6039
Lnet/minecraft/class_1309;method_6039()Z
official fN
Lcam;fN()Z
-
getBlockingItem
Returns the item stack currently being used for blocking, such as shields.- Returns:
- the item stack currently being used for blocking, such as shields
- Mappings:
Namespace Name Mixin selector named getBlockingItem
Lnet/minecraft/entity/LivingEntity;getBlockingItem()Lnet/minecraft/item/ItemStack;
intermediary method_62821
Lnet/minecraft/class_1309;method_62821()Lnet/minecraft/class_1799;
official fO
Lcam;fO()Ldcv;
-
isHoldingOntoLadder
public boolean isHoldingOntoLadder()- Returns:
true
if this entity should not lose height while in a climbing state- See Also:
- Mappings:
Namespace Name Mixin selector named isHoldingOntoLadder
Lnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
intermediary method_21754
Lnet/minecraft/class_1309;method_21754()Z
official fP
Lcam;fP()Z
-
isGliding
public boolean isGliding()- Mappings:
Namespace Name Mixin selector named isGliding
Lnet/minecraft/entity/LivingEntity;isGliding()Z
intermediary method_6128
Lnet/minecraft/class_1309;method_6128()Z
official fQ
Lcam;fQ()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:
isInSwimmingPose
in classEntity
- Returns:
- whether the entity is in swimming pose
- See Also:
- Mappings:
Namespace Name Mixin selector named isInSwimmingPose
Lnet/minecraft/entity/Entity;isInSwimmingPose()Z
intermediary method_20232
Lnet/minecraft/class_1297;method_20232()Z
official co
Lbzm;co()Z
-
getGlidingTicks
public int getGlidingTicks()- Mappings:
Namespace Name Mixin selector named getGlidingTicks
Lnet/minecraft/entity/LivingEntity;getGlidingTicks()I
intermediary method_6003
Lnet/minecraft/class_1309;method_6003()I
official fR
Lcam;fR()I
-
teleport
public boolean teleport(double x, double y, double z, boolean particleEffects) - Mappings:
Namespace Name Mixin selector named teleport
Lnet/minecraft/entity/LivingEntity;teleport(DDDZ)Z
intermediary method_6082
Lnet/minecraft/class_1309;method_6082(DDDZ)Z
official b
Lcam;b(DDDZ)Z
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Mappings:
Namespace Name Mixin selector named isAffectedBySplashPotions
Lnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Z
intermediary method_6086
Lnet/minecraft/class_1309;method_6086()Z
official fS
Lcam;fS()Z
-
isMobOrPlayer
public boolean isMobOrPlayer()- Mappings:
Namespace Name Mixin selector named isMobOrPlayer
Lnet/minecraft/entity/LivingEntity;isMobOrPlayer()Z
intermediary method_6102
Lnet/minecraft/class_1309;method_6102()Z
official fT
Lcam;fT()Z
-
setNearbySongPlaying
- Mappings:
Namespace Name Mixin selector named setNearbySongPlaying
Lnet/minecraft/entity/LivingEntity;setNearbySongPlaying(Lnet/minecraft/util/math/BlockPos;Z)V
intermediary method_6006
Lnet/minecraft/class_1309;method_6006(Lnet/minecraft/class_2338;Z)V
official a
Lcam;a(Ljb;Z)V
-
canPickUpLoot
public boolean canPickUpLoot()- Mappings:
Namespace Name Mixin selector named canPickUpLoot
Lnet/minecraft/entity/LivingEntity;canPickUpLoot()Z
intermediary method_5936
Lnet/minecraft/class_1309;method_5936()Z
official fU
Lcam;fU()Z
-
getDimensions
Returns the dimensions of the entity with the givenpose
.- Overrides:
getDimensions
in classEntity
- Returns:
- the dimensions of the entity with the given
pose
- See Also:
- Mappings:
Namespace Name Mixin selector named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
official a
Lbzm;a(Lcay;)Lbzp;
-
getBaseDimensions
- Mappings:
Namespace Name Mixin selector named getBaseDimensions
Lnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
intermediary method_55694
Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
official e
Lcam;e(Lcay;)Lbzp;
-
getPoses
- Mappings:
Namespace Name Mixin selector named getPoses
Lnet/minecraft/entity/LivingEntity;getPoses()Lcom/google/common/collect/ImmutableList;
intermediary method_24831
Lnet/minecraft/class_1309;method_24831()Lcom/google/common/collect/ImmutableList;
official fV
Lcam;fV()Lcom/google/common/collect/ImmutableList;
-
getBoundingBox
- Mappings:
Namespace Name Mixin selector named getBoundingBox
Lnet/minecraft/entity/LivingEntity;getBoundingBox(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/util/math/Box;
intermediary method_24833
Lnet/minecraft/class_1309;method_24833(Lnet/minecraft/class_4050;)Lnet/minecraft/class_238;
official f
Lcam;f(Lcay;)Lfin;
-
wouldNotSuffocateInPose
- Mappings:
Namespace Name Mixin selector named wouldNotSuffocateInPose
Lnet/minecraft/entity/LivingEntity;wouldNotSuffocateInPose(Lnet/minecraft/entity/EntityPose;)Z
intermediary method_52542
Lnet/minecraft/class_1309;method_52542(Lnet/minecraft/class_4050;)Z
official g
Lcam;g(Lcay;)Z
-
canUsePortals
public boolean canUsePortals(boolean allowVehicles) Returns whether the entity can use nether portals and end portals.EnderDragonEntity
,WitherEntity
, andFishingBobberEntity
cannot use portals.- Overrides:
canUsePortals
in classEntity
- Returns:
- whether the entity can use nether portals and end portals
- Mappings:
Namespace Name Mixin selector named canUsePortals
Lnet/minecraft/entity/Entity;canUsePortals(Z)Z
intermediary method_5822
Lnet/minecraft/class_1297;method_5822(Z)Z
official o
Lbzm;o(Z)Z
-
getSleepingPosition
- Mappings:
Namespace Name Mixin selector named getSleepingPosition
Lnet/minecraft/entity/LivingEntity;getSleepingPosition()Ljava/util/Optional;
intermediary method_18398
Lnet/minecraft/class_1309;method_18398()Ljava/util/Optional;
official fW
Lcam;fW()Ljava/util/Optional;
-
setSleepingPosition
- Mappings:
Namespace Name Mixin selector named setSleepingPosition
Lnet/minecraft/entity/LivingEntity;setSleepingPosition(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_18402
Lnet/minecraft/class_1309;method_18402(Lnet/minecraft/class_2338;)V
official g
Lcam;g(Ljb;)V
-
clearSleepingPosition
public void clearSleepingPosition()- Mappings:
Namespace Name Mixin selector named clearSleepingPosition
Lnet/minecraft/entity/LivingEntity;clearSleepingPosition()V
intermediary method_18399
Lnet/minecraft/class_1309;method_18399()V
official fX
Lcam;fX()V
-
isSleeping
public boolean isSleeping()- Mappings:
Namespace Name Mixin selector named isSleeping
Lnet/minecraft/entity/LivingEntity;isSleeping()Z
intermediary method_6113
Lnet/minecraft/class_1309;method_6113()Z
official fY
Lcam;fY()Z
-
sleep
- Mappings:
Namespace Name Mixin selector named sleep
Lnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_18403
Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)V
official b
Lcam;b(Ljb;)V
-
setPositionInBed
- Mappings:
Namespace Name Mixin selector named setPositionInBed
Lnet/minecraft/entity/LivingEntity;setPositionInBed(Lnet/minecraft/util/math/BlockPos;)V
intermediary method_18392
Lnet/minecraft/class_1309;method_18392(Lnet/minecraft/class_2338;)V
official a
Lcam;a(Ljb;)V
-
isSleepingInBed
private boolean isSleepingInBed()- Mappings:
Namespace Name Mixin selector named isSleepingInBed
Lnet/minecraft/entity/LivingEntity;isSleepingInBed()Z
intermediary method_18406
Lnet/minecraft/class_1309;method_18406()Z
official R
Lcam;R()Z
-
wakeUp
public void wakeUp()Wakes this entity up.- See Also:
- Mappings:
Namespace Name Mixin selector named wakeUp
Lnet/minecraft/entity/LivingEntity;wakeUp()V
intermediary method_18400
Lnet/minecraft/class_1309;method_18400()V
official fZ
Lcam;fZ()V
-
getSleepingDirection
- Mappings:
Namespace Name Mixin selector named getSleepingDirection
Lnet/minecraft/entity/LivingEntity;getSleepingDirection()Lnet/minecraft/util/math/Direction;
intermediary method_18401
Lnet/minecraft/class_1309;method_18401()Lnet/minecraft/class_2350;
official ga
Lcam;ga()Ljh;
-
isInsideWall
public boolean isInsideWall()Returns whether the entity is in a wall and should suffocate.This returns
false
ifEntity.noClip
istrue
; otherwise, this returnstrue
if the eye position is occupied by a block that can suffocate.- Overrides:
isInsideWall
in classEntity
- Returns:
- whether the entity is in a wall and should suffocate
- Mappings:
Namespace Name Mixin selector named isInsideWall
Lnet/minecraft/entity/Entity;isInsideWall()Z
intermediary method_5757
Lnet/minecraft/class_1297;method_5757()Z
official bP
Lbzm;bP()Z
-
getProjectileType
- Mappings:
Namespace Name Mixin selector named getProjectileType
Lnet/minecraft/entity/LivingEntity;getProjectileType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
intermediary method_18808
Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
official d
Lcam;d(Ldcv;)Ldcv;
-
getEquipmentBreakStatus
- Mappings:
Namespace Name Mixin selector named getEquipmentBreakStatus
Lnet/minecraft/entity/LivingEntity;getEquipmentBreakStatus(Lnet/minecraft/entity/EquipmentSlot;)B
intermediary method_20237
Lnet/minecraft/class_1309;method_20237(Lnet/minecraft/class_1304;)B
official g
Lcam;g(Lbzw;)B
-
sendEquipmentBreakStatus
- Mappings:
Namespace Name Mixin selector named sendEquipmentBreakStatus
Lnet/minecraft/entity/LivingEntity;sendEquipmentBreakStatus(Lnet/minecraft/item/Item;Lnet/minecraft/entity/EquipmentSlot;)V
intermediary method_20235
Lnet/minecraft/class_1309;method_20235(Lnet/minecraft/class_1792;Lnet/minecraft/class_1304;)V
official a
Lcam;a(Ldcr;Lbzw;)V
-
onEquipmentRemoved
private void onEquipmentRemoved(ItemStack removedEquipment, EquipmentSlot slot, AttributeContainer container) - Mappings:
Namespace Name Mixin selector named onEquipmentRemoved
Lnet/minecraft/entity/LivingEntity;onEquipmentRemoved(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/entity/attribute/AttributeContainer;)V
intermediary method_61422
Lnet/minecraft/class_1309;method_61422(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;Lnet/minecraft/class_5131;)V
official a
Lcam;a(Ldcv;Lbzw;Lcbp;)V
-
getSlotForHand
- Mappings:
Namespace Name Mixin selector named getSlotForHand
Lnet/minecraft/entity/LivingEntity;getSlotForHand(Lnet/minecraft/util/Hand;)Lnet/minecraft/entity/EquipmentSlot;
intermediary method_56079
Lnet/minecraft/class_1309;method_56079(Lnet/minecraft/class_1268;)Lnet/minecraft/class_1304;
official d
Lcam;d(Lbxi;)Lbzw;
-
canEquipFromDispenser
- Mappings:
Namespace Name Mixin selector named canEquipFromDispenser
Lnet/minecraft/entity/LivingEntity;canEquipFromDispenser(Lnet/minecraft/item/ItemStack;)Z
intermediary method_63625
Lnet/minecraft/class_1309;method_63625(Lnet/minecraft/class_1799;)Z
official e
Lcam;e(Ldcv;)Z
-
canDispenserEquipSlot
- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlot
Lnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_63626
Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Z
official f
Lcam;f(Lbzw;)Z
-
getPreferredEquipmentSlot
- Mappings:
Namespace Name Mixin selector named getPreferredEquipmentSlot
Lnet/minecraft/entity/LivingEntity;getPreferredEquipmentSlot(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/EquipmentSlot;
intermediary method_32326
Lnet/minecraft/class_1309;method_32326(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1304;
official f
Lcam;f(Ldcv;)Lbzw;
-
canEquip
- Mappings:
Namespace Name Mixin selector named canEquip
Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_63623
Lnet/minecraft/class_1309;method_63623(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Z
official a
Lcam;a(Ldcv;Lbzw;)Z
-
getStackReference
- Mappings:
Namespace Name Mixin selector named getStackReference
Lnet/minecraft/entity/LivingEntity;getStackReference(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/inventory/StackReference;
intermediary method_32321
Lnet/minecraft/class_1309;method_32321(Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;)Lnet/minecraft/class_5630;
official a
Lcam;a(Lcam;Lbzw;)Lcbd;
-
getEquipmentSlot
- Mappings:
Namespace Name Mixin selector named getEquipmentSlot
Lnet/minecraft/entity/LivingEntity;getEquipmentSlot(I)Lnet/minecraft/entity/EquipmentSlot;
intermediary method_32322
Lnet/minecraft/class_1309;method_32322(I)Lnet/minecraft/class_1304;
official r
Lcam;r(I)Lbzw;
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/loot
or/item
.- Overrides:
getStackReference
in classEntity
- Parameters:
mappedIndex
- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector named getStackReference
Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
intermediary method_32318
Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
official a_
Lbzm;a_(I)Lcbd;
-
canFreeze
public boolean canFreeze()Returns whether the entity can freeze.- Overrides:
canFreeze
in classEntity
- Returns:
- whether the entity can freeze
- Implementation Note:
- Entities cannot be frozen if they are in the
EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPES
tag. In addition to this,LivingEntity
cannot be frozen if they are spectator or if they wear an item insideItemTags.FREEZE_IMMUNE_WEARABLES
tag. - Mappings:
Namespace Name Mixin selector named canFreeze
Lnet/minecraft/entity/Entity;canFreeze()Z
intermediary method_32316
Lnet/minecraft/class_1297;method_32316()Z
official dN
Lbzm;dN()Z
-
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:
isGlowing
in classEntity
- Returns:
- whether the entity is glowing, checking the entity flags on the client
- See Also:
- Mappings:
Namespace Name Mixin selector named isGlowing
Lnet/minecraft/entity/Entity;isGlowing()Z
intermediary method_5851
Lnet/minecraft/class_1297;method_5851()Z
official cr
Lbzm;cr()Z
-
getBodyYaw
public float getBodyYaw()Returns the body yaw of the entity.- Overrides:
getBodyYaw
in classEntity
- Returns:
- the body yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getBodyYaw
Lnet/minecraft/entity/Entity;getBodyYaw()F
intermediary method_43078
Lnet/minecraft/class_1297;method_43078()F
official dQ
Lbzm;dQ()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:
onSpawnPacket
in classEntity
- Mappings:
Namespace Name Mixin selector named onSpawnPacket
Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
intermediary method_31471
Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
official a
Lbzm;a(Lacr;)V
-
getWeaponDisableBlockingForSeconds
public float getWeaponDisableBlockingForSeconds()- Mappings:
Namespace Name Mixin selector named getWeaponDisableBlockingForSeconds
Lnet/minecraft/entity/LivingEntity;getWeaponDisableBlockingForSeconds()F
intermediary method_67125
Lnet/minecraft/class_1309;method_67125()F
official gb
Lcam;gb()F
-
getStepHeight
public float getStepHeight()- Overrides:
getStepHeight
in classEntity
- Mappings:
Namespace Name Mixin selector named getStepHeight
Lnet/minecraft/entity/Entity;getStepHeight()F
intermediary method_49476
Lnet/minecraft/class_1297;method_49476()F
official dT
Lbzm;dT()F
-
getPassengerRidingPos
- Overrides:
getPassengerRidingPos
in classEntity
- Mappings:
Namespace Name Mixin selector named getPassengerRidingPos
Lnet/minecraft/entity/Entity;getPassengerRidingPos(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
intermediary method_52538
Lnet/minecraft/class_1297;method_52538(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;
official n
Lbzm;n(Lbzm;)Lfis;
-
lerpHeadYaw
protected void lerpHeadYaw(int headTrackingIncrements, double serverHeadYaw) - Mappings:
Namespace Name Mixin selector named lerpHeadYaw
Lnet/minecraft/entity/LivingEntity;lerpHeadYaw(ID)V
intermediary method_52539
Lnet/minecraft/class_1309;method_52539(ID)V
official a
Lcam;a(ID)V
-
setOnFireForTicks
public void setOnFireForTicks(int ticks) - Overrides:
setOnFireForTicks
in classEntity
- Mappings:
Namespace Name Mixin selector named setOnFireForTicks
Lnet/minecraft/entity/Entity;setOnFireForTicks(I)V
intermediary method_56073
Lnet/minecraft/class_1297;method_56073(I)V
official g
Lbzm;g(I)V
-
isInCreativeMode
public boolean isInCreativeMode()- Mappings:
Namespace Name Mixin selector named isInCreativeMode
Lnet/minecraft/entity/LivingEntity;isInCreativeMode()Z
intermediary method_56992
Lnet/minecraft/class_1309;method_56992()Z
official gc
Lcam;gc()Z
-
isInvulnerableTo
- Mappings:
Namespace Name Mixin selector named isInvulnerableTo
Lnet/minecraft/entity/LivingEntity;isInvulnerableTo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Z
intermediary method_5679
Lnet/minecraft/class_1309;method_5679(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Z
official a
Lcam;a(Laub;Lbyb;)Z
-
canGlideWith
- Mappings:
Namespace Name Mixin selector named canGlideWith
Lnet/minecraft/entity/LivingEntity;canGlideWith(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;)Z
intermediary method_63624
Lnet/minecraft/class_1309;method_63624(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Z
official b
Lcam;b(Ldcv;Lbzw;)Z
-
getPlayerHitTimer
public int getPlayerHitTimer()- Mappings:
Namespace Name Mixin selector named getPlayerHitTimer
Lnet/minecraft/entity/LivingEntity;getPlayerHitTimer()I
intermediary method_63627
Lnet/minecraft/class_1309;method_63627()I
official gd
Lcam;gd()I
-
hasWaypoint
public boolean hasWaypoint()- Specified by:
hasWaypoint
in interfaceServerWaypoint
- Mappings:
Namespace Name Mixin selector named hasWaypoint
Lnet/minecraft/world/waypoint/ServerWaypoint;hasWaypoint()Z
intermediary method_70674
Lnet/minecraft/class_11212;method_70674()Z
official ge
Lfkx;ge()Z
-
createTracker
- Specified by:
createTracker
in interfaceServerWaypoint
- Mappings:
Namespace Name Mixin selector named createTracker
Lnet/minecraft/world/waypoint/ServerWaypoint;createTracker(Lnet/minecraft/server/network/ServerPlayerEntity;)Ljava/util/Optional;
intermediary method_70672
Lnet/minecraft/class_11212;method_70672(Lnet/minecraft/class_3222;)Ljava/util/Optional;
official f
Lfkx;f(Lauc;)Ljava/util/Optional;
-
getWaypointConfig
- Specified by:
getWaypointConfig
in interfaceServerWaypoint
- Mappings:
Namespace Name Mixin selector named getWaypointConfig
Lnet/minecraft/world/waypoint/ServerWaypoint;getWaypointConfig()Lnet/minecraft/world/waypoint/Waypoint$Config;
intermediary method_70675
Lnet/minecraft/class_11212;method_70675()Lnet/minecraft/class_11208$class_11209;
official gf
Lfkx;gf()Lfkt$a;
-