Class LivingEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,StackReferenceGetter,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Direct Known Subclasses:
ArmorStandEntity,MobEntity,PlayerLikeEntity
- Mappings:
Namespace Name named net/minecraft/entity/LivingEntityintermediary net/minecraft/class_1309official chl
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.OffsetNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate static final Stringprotected ItemStackprivate final Map<RegistryEntry<StatusEffect>, StatusEffectInstance> private @Nullable LazyEntityReference<LivingEntity> private LivingEntityprotected @Nullable LazyEntityReference<PlayerEntity> private final AttributeContainerstatic final Stringstatic final floatfloatprotected Brain<?> private static final com.mojang.serialization.Dynamic<?> static final Stringprivate final DamageTrackerprotected booleanstatic final intstatic final Stringintprotected intprivate booleanfinal ElytraFlightControllerprotected final EntityEquipmentstatic final Stringstatic final intprivate booleanstatic final Stringstatic final intstatic final intstatic final doubleprivate static final intprivate static final intprivate static final intstatic final floatstatic final floatstatic final intprivate static final intstatic final intprotected static final floatprotected static final floatprotected static final intprivate static final floatfloatprotected intstatic final doublebooleanfloatintprotected intfloatprivate static final TrackedData<Float> static final Stringstatic final Stringstatic final Stringintprotected PositionInterpolatorprotected intprotected booleanprivate intprivate intprivate intprivate BlockPosfloatprivate DamageSourceprotected floatprivate longprivate final Map<EquipmentSlot, ItemStack> floatfloatprivate longprivate floatprivate floatfinal LimbAnimatorprotected static final TrackedData<Byte> private final EnumMap<EquipmentSlot, it.unimi.dsi.fastutil.objects.Reference2ObjectMap<Enchantment, Set<EnchantmentLocationBasedEffect>>> private static final Loggerprivate static final doubleintprivate floatprivate booleanstatic final Predicate<LivingEntity> protected static final intprotected @Nullable it.unimi.dsi.fastutil.objects.Object2LongMap<Entity> protected intprivate static final TrackedData<List<ParticleEffect>> private static final TrackedData<Boolean> private static final Identifierprotected floatprotected ItemStackprotected intprotected doublefloatprotected static final EntityDimensionsstatic final Stringprivate static final TrackedData<Optional<BlockPos>> private static final EntityAttributeModifierprivate static final Identifierprivate static final TrackedData<Integer> private static final TrackedData<Integer> intintprotected intprotected intfloatprotected static final intprotected static final intprivate Waypoint.ConfigFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_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, knockedBack, 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, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLivingEntity(EntityType<? extends LivingEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidprotected voidfinal booleanaddStatusEffect(StatusEffectInstance effect) Adds a status effect to this entity without specifying a source entity.booleanaddStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.voidanimateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).protected floatapplyArmorToDamage(DamageSource source, float amount) private Vec3dapplyClimbingSpeed(Vec3d motion) protected voidapplyDamage(ServerWorld world, DamageSource source, float amount) applyFluidMovingSpeed(double gravity, boolean falling, Vec3d motion) protected voidapplyMovementEffects(ServerWorld world, BlockPos pos) private Vec3dapplyMovementInput(Vec3d movementInput, float slipperiness) booleanareItemsDifferent(ItemStack stack, ItemStack stack2) protected voidattackLivingEntity(LivingEntity target) voidbaseTick()protected voidbecomeAngry(DamageSource damageSource) voidvoidprivate Vec3dcalcGlidingVelocity(Vec3d oldVelocity) booleanprotected booleanprivate booleancanEnterTrapdoor(BlockPos pos, BlockState state) final booleancanEquip(ItemStack stack, EquipmentSlot slot) final booleancanEquipFromDispenser(ItemStack stack) booleanReturns whether the entity can freeze.protected booleancanGlide()static booleancanGlideWith(ItemStack stack, EquipmentSlot slot) booleanbooleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.booleanbooleanbooleancanSee(Entity entity, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, double entityY) booleanbooleancanTarget(EntityType<?> type) booleancanTarget(LivingEntity target) booleancanUsePortals(boolean allowVehicles) Returns whether the entity can use nether portals and end portals.booleancanUseSlot(EquipmentSlot slot) booleancanWalkOnFluid(FluidState state) private voidcheckGlidingCollision(double oldSpeed, double newSpeed) private voidcheckHandStackSwap(Map<EquipmentSlot, ItemStack> equipmentChanges) Notifies nearby players if the stacks in the hands have been swapped.protected floatclampScale(float scale) voidprotected voidvoidbooleanprotected intcomputeFallDamage(double fallDistance, float damagePerDistance) protected voidstatic booleanprotected Brain.Profile<?> protected EntityEquipmentprivate @Nullable ItemEntitycreateItemEntity(ItemStack stack, boolean atSelf, boolean retainOwnership) createTracker(ServerPlayerEntity receiver) booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected voiddamageArmor(DamageSource source, float amount) protected voiddamageEquipment(DamageSource source, float amount, EquipmentSlot[] slots) protected voiddamageHelmet(DamageSource source, float amount) protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) voidprotected voiddrop(ServerWorld world, DamageSource damageSource) protected voiddropEquipment(ServerWorld world, DamageSource source, boolean causedByPlayer) protected voiddropExperience(ServerWorld world, @Nullable Entity attacker) Drops experience when this entity is killed.protected voiddropInventory(ServerWorld world) @Nullable ItemEntityprotected voiddropLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer) voiddropLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer, RegistryKey<LootTable> lootTableKey) voidvoidvoidequipStack(EquipmentSlot slot, ItemStack stack) protected voidfall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition) Called when the entity falls.private voidbooleanforEachBrushedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, @Nullable Entity interactingEntity, ItemStack tool, BiConsumer<ServerWorld, ItemStack> lootConsumer) protected booleanforEachGeneratedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, Function<LootWorldContext.Builder, LootWorldContext> lootContextParametersFactory, BiConsumer<ServerWorld, ItemStack> lootConsumer) booleanforEachGiftedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, BiConsumer<ServerWorld, ItemStack> lootConsumer) protected voidforEachShearedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, ItemStack tool, BiConsumer<ServerWorld, ItemStack> lootConsumer) voidgenerateLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer, RegistryKey<LootTable> lootTableKey, Consumer<ItemStack> lootConsumer) floatintgetArmor()floatdoublegetAttackDistanceScalingFactor(@Nullable Entity entity) @Nullable LivingEntity@Nullable LivingEntity@Nullable PlayerEntityprotected floatgetAttackKnockbackAgainst(Entity target, DamageSource damageSource) doublegetAttributeBaseValue(RegistryEntry<EntityAttribute> attribute) @Nullable EntityAttributeInstancegetAttributeInstance(RegistryEntry<EntityAttribute> attribute) doublegetAttributeValue(RegistryEntry<EntityAttribute> attribute) protected EntityDimensionsgetBaseDimensions(EntityPose pose) protected float@Nullable ItemStackReturns the item stack currently being used for blocking, such as shields.floatgetBoundingBox(EntityPose pose) Brain<?> getBrain()protected Vec3dgetControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput) floatgetDamageBlockedAmount(ServerWorld world, DamageSource source, float amount) floatprotected @Nullable SoundEventintfinal EntityDimensionsgetDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.floatgetEffectFadeFactor(RegistryEntry<StatusEffect> effect, float tickProgress) protected double@Nullable LivingEntityprivate static byteprivate @Nullable Map<EquipmentSlot, ItemStack> Returns the difference between the last sent equipment set and the current one.private static @Nullable EquipmentSlotgetEquipmentSlot(int slotId) protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) protected intgetExperienceToDrop(ServerWorld world) Called when this entity is killed and returns the amount of experience to drop.final intgetExperienceToDrop(ServerWorld world, @Nullable Entity attacker) private SoundEventgetFallSound(int distance) intprotected doubleprivate intfloatgetHandSwingProgress(float tickProgress) floatReturns the head yaw of the entity.floatprotected BoxGets the area in which this entity can be attacked by mobs whose attack box overlaps it.protected @Nullable SoundEventgetHurtSound(DamageSource source) intfloatgetItemUseTime(float baseTime) intfloatprotected floatprotected floatgetJumpVelocity(float strength) intintfloatgetLeaningPitch(float tickProgress) longfloatgetLuck()abstract Armfinal floatfinal floatprotected floatReturns the maximum rotation of the head relative to the body in degrees.floatprivate floatgetMovementSpeed(float slipperiness) protected intgetNextAirOnLand(int air) protected intgetNextAirUnderwater(int air) protected floatgetPassengerRidingPos(Entity passenger) intgetPiercedEntityCount(Predicate<Entity> predicate) intgetPoses()final EquipmentSlot@Nullable LivingEntitygetProjectileType(ItemStack stack) @Nullable DamageSourceprotected floatgetSaddledSpeed(PlayerEntity controllingPlayer) intReturns the maximum height of a fall the entity takes during pathfinding.protected final intgetSafeFallDistance(float health) final floatgetScale()float@Nullable Directionfloatprotected floatgetStackInArm(Arm arm) getStackInHand(Hand hand) @Nullable StackReferencegetStackReference(int slot) private static StackReferencegetStackReference(LivingEntity entity, EquipmentSlot slot) @Nullable StatusEffectInstancegetStatusEffect(RegistryEntry<StatusEffect> effect) floatfinal intfinal intfloatgetTimeSinceLastKineticAttack(float tickProgress) private doublegetUnsafeFallDistance(double fallDistance) protected floatfloatfloatgetYaw(float tickProgress) voidgiveOrDropStack(ItemStack stack) private voidbooleanhandleFallDamage(double fallDistance, float damagePerDistance, DamageSource damageSource) Called when an entity falls.voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.booleanbooleanbooleanbooleanbooleanhasStatusEffect(RegistryEntry<StatusEffect> effect) booleanvoidheal(float amount) Heals this entity by the givenamountof half-hearts.booleanprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.booleanbooleanisAlive()Returns whether the entity is alive.protected booleanisArmorSlot(EquipmentSlot slot) booleanisBaby()booleanbooleanbooleanisDead()booleanisEntityLookingAtMe(LivingEntity entity, double double2, boolean bool, boolean visualShape, double[] checkedYs) booleanbooleanbooleanReturns whether the entity is glowing, checking the entity flags on the client.booleanChecks if this entity is holding a certain item.booleanChecks if this entity is holding a certain item.booleanprotected booleanbooleanbooleanisInPiercingCooldown(Entity target, int cooldownTicks) booleanReturns whether the entity is in a wall and should suffocate.booleanReturns whether the entity is in swimming pose.booleanisInvulnerableTo(ServerWorld world, DamageSource source) booleanbooleanbooleanbooleanReturns whether the entity can be pushed by other entities.booleanprivate booleanprotected booleanisTravellingInFluid(FluidState state) booleanbooleanvoidjump()voidkill(ServerWorld world) Kills the entity.protected voidknockback(LivingEntity target) voidknockbackTarget(Entity target, float strength, Vec3d playerTargetVelocity) protected voidprotected voidlerpHeadYaw(int headTrackingIncrements, double serverHeadYaw) floatlerpYaw(float tickProgress) voidlookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target) Changes this entity's pitch and yaw to look attarget.protected voidprotected floatmodifyAppliedDamage(DamageSource source, float amount) Returns the modified damage value for the applieddamage.voidonAttacking(Entity target) voidonDamaged(DamageSource damageSource) voidonDeath(DamageSource damageSource) private voidonDismounted(Entity vehicle) private voidonEquipmentRemoved(ItemStack removedEquipment, EquipmentSlot slot, AttributeContainer container) voidonEquipStack(EquipmentSlot slot, ItemStack oldStack, ItemStack newStack) protected voidonKilledBy(@Nullable LivingEntity adversary) Performs secondary effects after this mob has been killed.protected voidonRemoval(ServerWorld world, Entity.RemovalReason reason) voidonRemove(Entity.RemovalReason reason) Called when the entity is about to be removed.voidonSpawnPacket(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.protected voidonStatusEffectApplied(StatusEffectInstance effect, @Nullable Entity source) protected voidprotected voidonStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.booleanpierce(EquipmentSlot slot, Entity target, float damage, boolean dealDamage, boolean knockback, boolean dismount) protected voidprotected voidprivate voidprotected voidplayHurtSound(DamageSource damageSource) private voidvoidplaySound(@Nullable SoundEvent sound) private voidplayThornsSound(DamageSource damageSource) positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect) Returns the entity's position in the portal after teleportation.static Vec3dpositionInPortal(Vec3d pos) protected voidvoidpushAwayFrom(Entity entity) protected voidreadCustomData(ReadView view) voidremove(Entity.RemovalReason reason) Removes the entity.protected voidbooleanremoveStatusEffect(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity.final @Nullable StatusEffectInstanceRemoves a status effect from this entity without calling any listener.private voidresetVerticalVelocityInFluid(double y) voidvoidsendEquipmentBreakStatus(Item item, EquipmentSlot slot) private voidSends equipment changes to nearby players.private voidsendEquipmentChanges(Map<EquipmentSlot, ItemStack> equipmentChanges) Sends equipment changes to nearby players.voidsendPickup(Entity item, int count) final voidsetAbsorptionAmount(float absorptionAmount) protected voidsetAbsorptionAmountUnclamped(float absorptionAmount) voidsetAttacker(@Nullable LivingEntity attacker) voidsetAttacking(UUID attackingPlayer, int playerHitTimer) private voidsetAttacking(LazyEntityReference<PlayerEntity> attackingPlayer, int playerHitTimer) voidsetAttacking(PlayerEntity attackingPlayer, int playerHitTimer) protected @Nullable PlayerEntitysetAttackingPlayer(DamageSource damageSource) voidsetBodyYaw(float bodyYaw) Sets the body yaw of this entity.voidsetCurrentHand(Hand hand) voidsetDespawnCounter(int despawnCounter) voidsetHeadYaw(float headYaw) Sets the head yaw of this entity.voidsetHealth(float health) voidsetJumping(boolean jumping) protected voidsetLivingFlag(int mask, boolean value) voidsetMovementSpeed(float movementSpeed) voidsetNearbySongPlaying(BlockPos songPosition, boolean playing) voidsetNoDrag(boolean noDrag) voidsetOnFireForTicks(int ticks) private voidsetPositionInBed(BlockPos pos) voidvoidsetSprinting(boolean sprinting) Sets whether the entity is sprinting.voidsetStackInHand(Hand hand, ItemStack stack) voidsetStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Sets a status effect in this entity.final voidsetStingerCount(int stingerCount) final voidsetStuckArrowCount(int stuckArrowCount) protected booleanReturns if this entity may always drop experience, skipping any other checks.booleanReturns if this entity should drop experience on death when thegame rule is enabled and has been attacked by a player.invalid reference
doMobLoot
protected booleanshouldDropLoot(ServerWorld world) protected booleanbooleanReturns whether to render the name of the entity.booleanvoidvoidspawnItemParticles(ItemStack stack, int count) voidstartPiercingCooldown(Entity target) voidvoidStops riding the vehicle if present.voidprivate voidprotected voidswimUpward(TagKey<Fluid> fluid) voidvoidvoidtakeKnockback(double strength, double x, double z) protected voidtakeShieldHit(ServerWorld world, LivingEntity attacker) booleanteleport(double x, double y, double z, boolean particleEffects) voidtick()Ticks this entity.private voidprotected voidtickControlled(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidprotected voidprotected voidprotected voidCalled when the entity is 64 blocks below the world's minimum Y position.protected voidtickItemStackUsage(ItemStack stack) voidprotected voidprotected voidvoidprotected voidtickRiptide(Box a, Box b) protected voidvoidtiltScreen(double deltaX, double deltaZ) voidAllows you to do certain speed and velocity calculations.private voidtravelControlled(PlayerEntity controllingPlayer, Vec3d movementInput) protected voidtravelFlying(Vec3d movementInput, float speed) protected voidtravelFlying(Vec3d movementInput, float inWaterSpeed, float inLavaSpeed, float regularSpeed) private voidtravelGliding(Vec3d movementInput) private voidtravelInFluid(Vec3d movementInput) private voidtravelInLava(Vec3d movementInput, double gravity, boolean falling, double y) protected voidtravelInWater(Vec3d movementInput, double gravity, boolean falling, double y) private voidtravelMidAir(Vec3d movementInput) voidCalled to trigger advancement criteria when an entity picks up an item thrown by a player.booleantryAttack(ServerWorld world, Entity target) private booleantryUseDeathProtector(DamageSource source) protected voidturnHead(float bodyRotation) protected voidupdateAttribute(RegistryEntry<EntityAttribute> attribute) private voidprivate voidprivate voidvoidupdateLimbs(boolean flutter) protected voidupdateLimbs(float posDelta) protected voidprivate voidprotected voidvoidupdateTrackedHeadRotation(float yaw, int interpolationSteps) voidvoidwakeUp()Wakes this entity up.protected booleanprotected voidwriteCustomData(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, calcDistanceFromBottomCollision, 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, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, 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, getEntityPos, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadRotationVector, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getKineticAttackMovement, 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, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, 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, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, method_76798, 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, registerTracking, 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, 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, tickLastPos, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.util.Nameable
getStringifiedNameMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayNameMethods inherited from interface net.minecraft.inventory.StackReferenceGetter
getStackReferences
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/entity/LivingEntity;LOGGER:Lorg/slf4j/Logger;intermediary field_36332Lnet/minecraft/class_1309;field_36332:Lorg/slf4j/Logger;official aLchl;a:Lorg/slf4j/Logger;
-
ACTIVE_EFFECTS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ACTIVE_EFFECTS_KEYLnet/minecraft/entity/LivingEntity;ACTIVE_EFFECTS_KEY:Ljava/lang/String;intermediary field_45740Lnet/minecraft/class_1309;field_45740:Ljava/lang/String;official bLchl;b:Ljava/lang/String;
-
ATTRIBUTES_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named ATTRIBUTES_KEYLnet/minecraft/entity/LivingEntity;ATTRIBUTES_KEY:Ljava/lang/String;intermediary field_51995Lnet/minecraft/class_1309;field_51995:Ljava/lang/String;official uLchl;u:Ljava/lang/String;
-
SLEEPING_POS_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named SLEEPING_POS_KEYLnet/minecraft/entity/LivingEntity;SLEEPING_POS_KEY:Ljava/lang/String;intermediary field_60537Lnet/minecraft/class_1309;field_60537:Ljava/lang/String;official aNLchl;aN:Ljava/lang/String;
-
EQUIPMENT_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIPMENT_KEYLnet/minecraft/entity/LivingEntity;EQUIPMENT_KEY:Ljava/lang/String;intermediary field_60538Lnet/minecraft/class_1309;field_60538:Ljava/lang/String;official aOLchl;aO:Ljava/lang/String;
-
BRAIN_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named BRAIN_KEYLnet/minecraft/entity/LivingEntity;BRAIN_KEY:Ljava/lang/String;intermediary field_60539Lnet/minecraft/class_1309;field_60539:Ljava/lang/String;official aPLchl;aP:Ljava/lang/String;
-
FALL_FLYING_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named FALL_FLYING_KEYLnet/minecraft/entity/LivingEntity;FALL_FLYING_KEY:Ljava/lang/String;intermediary field_60540Lnet/minecraft/class_1309;field_60540:Ljava/lang/String;official aQLchl;aQ:Ljava/lang/String;
-
HURT_TIME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HURT_TIME_KEYLnet/minecraft/entity/LivingEntity;HURT_TIME_KEY:Ljava/lang/String;intermediary field_60541Lnet/minecraft/class_1309;field_60541:Ljava/lang/String;official aRLchl;aR:Ljava/lang/String;
-
DEATH_TIME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named DEATH_TIME_KEYLnet/minecraft/entity/LivingEntity;DEATH_TIME_KEY:Ljava/lang/String;intermediary field_60542Lnet/minecraft/class_1309;field_60542:Ljava/lang/String;official aSLchl;aS:Ljava/lang/String;
-
HURT_BY_TIMESTAMP_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HURT_BY_TIMESTAMP_KEYLnet/minecraft/entity/LivingEntity;HURT_BY_TIMESTAMP_KEY:Ljava/lang/String;intermediary field_60543Lnet/minecraft/class_1309;field_60543:Ljava/lang/String;official aTLchl;aT:Ljava/lang/String;
-
HEALTH_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named HEALTH_KEYLnet/minecraft/entity/LivingEntity;HEALTH_KEY:Ljava/lang/String;intermediary field_60544Lnet/minecraft/class_1309;field_60544:Ljava/lang/String;official aULchl;aU:Ljava/lang/String;
-
POWDER_SNOW_SPEED_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector named POWDER_SNOW_SPEED_MODIFIER_IDLnet/minecraft/entity/LivingEntity;POWDER_SNOW_SPEED_MODIFIER_ID:Lnet/minecraft/util/Identifier;intermediary field_27859Lnet/minecraft/class_1309;field_27859:Lnet/minecraft/class_2960;official cLchl;c:Lamo;
-
SPRINTING_SPEED_MODIFIER_ID
- Mappings:
Namespace Name Mixin selector named SPRINTING_SPEED_MODIFIER_IDLnet/minecraft/entity/LivingEntity;SPRINTING_SPEED_MODIFIER_ID:Lnet/minecraft/util/Identifier;intermediary field_51996Lnet/minecraft/class_1309;field_51996:Lnet/minecraft/class_2960;official dLchl;d:Lamo;
-
SPRINTING_SPEED_BOOST
- Mappings:
Namespace Name Mixin selector named SPRINTING_SPEED_BOOSTLnet/minecraft/entity/LivingEntity;SPRINTING_SPEED_BOOST:Lnet/minecraft/entity/attribute/EntityAttributeModifier;intermediary field_6231Lnet/minecraft/class_1309;field_6231:Lnet/minecraft/class_1322;official eLchl;e:Lciq;
-
EQUIPMENT_SLOT_ID
public static final int EQUIPMENT_SLOT_ID- See Also:
- Mappings:
Namespace Name Mixin selector named EQUIPMENT_SLOT_IDLnet/minecraft/entity/LivingEntity;EQUIPMENT_SLOT_ID:Iintermediary field_30071Lnet/minecraft/class_1309;field_30071:Iofficial aVLchl;aV:I
-
field_30072
public static final int field_30072- See Also:
- Mappings:
Namespace Name Mixin selector named field_30072Lnet/minecraft/entity/LivingEntity;field_30072:Iintermediary field_30072Lnet/minecraft/class_1309;field_30072:Iofficial aWLchl;aW:I
-
field_48827
public static final int field_48827- See Also:
- Mappings:
Namespace Name Mixin selector named field_48827Lnet/minecraft/entity/LivingEntity;field_48827:Iintermediary field_48827Lnet/minecraft/class_1309;field_48827:Iofficial aXLchl;aX:I
-
field_55952
public static final int field_55952- See Also:
- Mappings:
Namespace Name Mixin selector named field_55952Lnet/minecraft/entity/LivingEntity;field_55952:Iintermediary field_55952Lnet/minecraft/class_1309;field_55952:Iofficial aYLchl;aY:I
-
field_30074
public static final int field_30074- See Also:
- Mappings:
Namespace Name Mixin selector named field_30074Lnet/minecraft/entity/LivingEntity;field_30074:Iintermediary field_30074Lnet/minecraft/class_1309;field_30074:Iofficial aZLchl;aZ:I
-
field_30078
private static final int field_30078- See Also:
- Mappings:
Namespace Name Mixin selector named field_30078Lnet/minecraft/entity/LivingEntity;field_30078:Iintermediary field_30078Lnet/minecraft/class_1309;field_30078:Iofficial rLchl;r:I
-
field_30075
public static final double field_30075- See Also:
- Mappings:
Namespace Name Mixin selector named field_30075Lnet/minecraft/entity/LivingEntity;field_30075:Dintermediary field_30075Lnet/minecraft/class_1309;field_30075:Dofficial baLchl;ba:D
-
GRAVITY
public static final double GRAVITY- See Also:
- Mappings:
Namespace Name Mixin selector named GRAVITYLnet/minecraft/entity/LivingEntity;GRAVITY:Dintermediary field_30076Lnet/minecraft/class_1309;field_30076:Dofficial bbLchl;bb:D
-
DEATH_TICKS
public static final int DEATH_TICKS- See Also:
- Mappings:
Namespace Name Mixin selector named DEATH_TICKSLnet/minecraft/entity/LivingEntity;DEATH_TICKS:Iintermediary field_30077Lnet/minecraft/class_1309;field_30077:Iofficial bcLchl;bc:I
-
field_56256
protected static final float field_56256- See Also:
- Mappings:
Namespace Name Mixin selector named field_56256Lnet/minecraft/entity/LivingEntity;field_56256:Fintermediary field_56256Lnet/minecraft/class_1309;field_56256:Fofficial bdLchl;bd:F
-
field_30080
private static final int field_30080- See Also:
- Mappings:
Namespace Name Mixin selector named field_30080Lnet/minecraft/entity/LivingEntity;field_30080:Iintermediary field_30080Lnet/minecraft/class_1309;field_30080:Iofficial sLchl;s:I
-
field_30081
private static final int field_30081- See Also:
- Mappings:
Namespace Name Mixin selector named field_30081Lnet/minecraft/entity/LivingEntity;field_30081:Iintermediary field_30081Lnet/minecraft/class_1309;field_30081:Iofficial tLchl;t:I
-
field_44874
public static final float field_44874- See Also:
- Mappings:
Namespace Name Mixin selector named field_44874Lnet/minecraft/entity/LivingEntity;field_44874:Fintermediary field_44874Lnet/minecraft/class_1309;field_44874:Fofficial beLchl;be:F
-
field_63293
protected static final float field_63293- See Also:
- Mappings:
Namespace Name Mixin selector named field_63293Lnet/minecraft/entity/LivingEntity;field_63293:Fintermediary field_63293Lnet/minecraft/class_1309;field_63293:Fofficial bfLchl;bf:F
-
field_63294
protected static final int field_63294- See Also:
- Mappings:
Namespace Name Mixin selector named field_63294Lnet/minecraft/entity/LivingEntity;field_63294:Iintermediary field_63294Lnet/minecraft/class_1309;field_63294:Iofficial bgLchl;bg:I
-
MAX_ENTITY_VIEWING_DISTANCE
private static final double MAX_ENTITY_VIEWING_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_ENTITY_VIEWING_DISTANCELnet/minecraft/entity/LivingEntity;MAX_ENTITY_VIEWING_DISTANCE:Dintermediary field_33908Lnet/minecraft/class_1309;field_33908:Dofficial ccLchl;cc:D
-
USING_ITEM_FLAG
protected static final int USING_ITEM_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named USING_ITEM_FLAGLnet/minecraft/entity/LivingEntity;USING_ITEM_FLAG:Iintermediary field_30064Lnet/minecraft/class_1309;field_30064:Iofficial bhLchl;bh:I
-
OFF_HAND_ACTIVE_FLAG
protected static final int OFF_HAND_ACTIVE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named OFF_HAND_ACTIVE_FLAGLnet/minecraft/entity/LivingEntity;OFF_HAND_ACTIVE_FLAG:Iintermediary field_30065Lnet/minecraft/class_1309;field_30065:Iofficial biLchl;bi:I
-
USING_RIPTIDE_FLAG
protected static final int USING_RIPTIDE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named USING_RIPTIDE_FLAGLnet/minecraft/entity/LivingEntity;USING_RIPTIDE_FLAG:Iintermediary field_30066Lnet/minecraft/class_1309;field_30066:Iofficial bjLchl;bj:I
-
LIVING_FLAGS
- Mappings:
Namespace Name Mixin selector named LIVING_FLAGSLnet/minecraft/entity/LivingEntity;LIVING_FLAGS:Lnet/minecraft/entity/data/TrackedData;intermediary field_6257Lnet/minecraft/class_1309;field_6257:Lnet/minecraft/class_2940;official bkLchl;bk:Lalw;
-
HEALTH
- Mappings:
Namespace Name Mixin selector named HEALTHLnet/minecraft/entity/LivingEntity;HEALTH:Lnet/minecraft/entity/data/TrackedData;intermediary field_6247Lnet/minecraft/class_1309;field_6247:Lnet/minecraft/class_2940;official cdLchl;cd:Lalw;
-
POTION_SWIRLS
- Mappings:
Namespace Name Mixin selector named POTION_SWIRLSLnet/minecraft/entity/LivingEntity;POTION_SWIRLS:Lnet/minecraft/entity/data/TrackedData;intermediary field_49792Lnet/minecraft/class_1309;field_49792:Lnet/minecraft/class_2940;official ceLchl;ce:Lalw;
-
POTION_SWIRLS_AMBIENT
- Mappings:
Namespace Name Mixin selector named POTION_SWIRLS_AMBIENTLnet/minecraft/entity/LivingEntity;POTION_SWIRLS_AMBIENT:Lnet/minecraft/entity/data/TrackedData;intermediary field_6214Lnet/minecraft/class_1309;field_6214:Lnet/minecraft/class_2940;official cfLchl;cf:Lalw;
-
STUCK_ARROW_COUNT
- Mappings:
Namespace Name Mixin selector named STUCK_ARROW_COUNTLnet/minecraft/entity/LivingEntity;STUCK_ARROW_COUNT:Lnet/minecraft/entity/data/TrackedData;intermediary field_6219Lnet/minecraft/class_1309;field_6219:Lnet/minecraft/class_2940;official cgLchl;cg:Lalw;
-
STINGER_COUNT
- Mappings:
Namespace Name Mixin selector named STINGER_COUNTLnet/minecraft/entity/LivingEntity;STINGER_COUNT:Lnet/minecraft/entity/data/TrackedData;intermediary field_20348Lnet/minecraft/class_1309;field_20348:Lnet/minecraft/class_2940;official chLchl;ch:Lalw;
-
SLEEPING_POSITION
- Mappings:
Namespace Name Mixin selector named SLEEPING_POSITIONLnet/minecraft/entity/LivingEntity;SLEEPING_POSITION:Lnet/minecraft/entity/data/TrackedData;intermediary field_18073Lnet/minecraft/class_1309;field_18073:Lnet/minecraft/class_2940;official ciLchl;ci:Lalw;
-
field_49793
private static final int field_49793- See Also:
- Mappings:
Namespace Name Mixin selector named field_49793Lnet/minecraft/entity/LivingEntity;field_49793:Iintermediary field_49793Lnet/minecraft/class_1309;field_49793:Iofficial cjLchl;cj:I
-
SLEEPING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named SLEEPING_DIMENSIONSLnet/minecraft/entity/LivingEntity;SLEEPING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;intermediary field_18072Lnet/minecraft/class_1309;field_18072:Lnet/minecraft/class_4048;official blLchl;bl:Lcgn;
-
BABY_SCALE_FACTOR
public static final float BABY_SCALE_FACTOR- See Also:
- Mappings:
Namespace Name Mixin selector named BABY_SCALE_FACTORLnet/minecraft/entity/LivingEntity;BABY_SCALE_FACTOR:Fintermediary field_30068Lnet/minecraft/class_1309;field_30068:Fofficial bmLchl;bm:F
-
field_47756
public static final float field_47756- See Also:
- Mappings:
Namespace Name Mixin selector named field_47756Lnet/minecraft/entity/LivingEntity;field_47756:Fintermediary field_47756Lnet/minecraft/class_1309;field_47756:Fofficial bnLchl;bn:F
-
field_64133
private static final float field_64133- See Also:
- Mappings:
Namespace Name Mixin selector named field_64133Lnet/minecraft/entity/LivingEntity;field_64133:Fintermediary field_64133Lnet/minecraft/class_1309;field_64133:Fofficial ckLchl;ck:F
-
NOT_WEARING_GAZE_DISGUISE_PREDICATE
- Mappings:
Namespace Name Mixin selector named NOT_WEARING_GAZE_DISGUISE_PREDICATELnet/minecraft/entity/LivingEntity;NOT_WEARING_GAZE_DISGUISE_PREDICATE:Ljava/util/function/Predicate;intermediary field_54564Lnet/minecraft/class_1309;field_54564:Ljava/util/function/Predicate;official boLchl;bo:Ljava/util/function/Predicate;
-
BRAIN
private static final com.mojang.serialization.Dynamic<?> BRAIN- Mappings:
Namespace Name Mixin selector named BRAINLnet/minecraft/entity/LivingEntity;BRAIN:Lcom/mojang/serialization/Dynamic;intermediary field_60356Lnet/minecraft/class_1309;field_60356:Lcom/mojang/serialization/Dynamic;official clLchl;cl:Lcom/mojang/serialization/Dynamic;
-
attributes
- Mappings:
Namespace Name Mixin selector named attributesLnet/minecraft/entity/LivingEntity;attributes:Lnet/minecraft/entity/attribute/AttributeContainer;intermediary field_6260Lnet/minecraft/class_1309;field_6260:Lnet/minecraft/class_5131;official cmLchl;cm:Lcip;
-
damageTracker
- Mappings:
Namespace Name Mixin selector named damageTrackerLnet/minecraft/entity/LivingEntity;damageTracker:Lnet/minecraft/entity/damage/DamageTracker;intermediary field_6256Lnet/minecraft/class_1309;field_6256:Lnet/minecraft/class_1283;official cnLchl;cn:Lceu;
-
activeStatusEffects
- Mappings:
Namespace Name Mixin selector named activeStatusEffectsLnet/minecraft/entity/LivingEntity;activeStatusEffects:Ljava/util/Map;intermediary field_6280Lnet/minecraft/class_1309;field_6280:Ljava/util/Map;official coLchl;co:Ljava/util/Map;
-
lastEquipmentStacks
- Mappings:
Namespace Name Mixin selector named lastEquipmentStacksLnet/minecraft/entity/LivingEntity;lastEquipmentStacks:Ljava/util/Map;intermediary field_55951Lnet/minecraft/class_1309;field_55951:Ljava/util/Map;official cpLchl;cp:Ljava/util/Map;
-
handSwinging
public boolean handSwinging- Mappings:
Namespace Name Mixin selector named handSwingingLnet/minecraft/entity/LivingEntity;handSwinging:Zintermediary field_6252Lnet/minecraft/class_1309;field_6252:Zofficial bpLchl;bp:Z
-
noDrag
private boolean noDrag- Mappings:
Namespace Name Mixin selector named noDragLnet/minecraft/entity/LivingEntity;noDrag:Zintermediary field_30082Lnet/minecraft/class_1309;field_30082:Zofficial cqLchl;cq:Z
-
preferredHand
- Mappings:
Namespace Name Mixin selector named preferredHandLnet/minecraft/entity/LivingEntity;preferredHand:Lnet/minecraft/util/Hand;intermediary field_6266Lnet/minecraft/class_1309;field_6266:Lnet/minecraft/class_1268;official bqLchl;bq:Lcdb;
-
handSwingTicks
public int handSwingTicks- Mappings:
Namespace Name Mixin selector named handSwingTicksLnet/minecraft/entity/LivingEntity;handSwingTicks:Iintermediary field_6279Lnet/minecraft/class_1309;field_6279:Iofficial brLchl;br:I
-
stuckArrowTimer
public int stuckArrowTimer- Mappings:
Namespace Name Mixin selector named stuckArrowTimerLnet/minecraft/entity/LivingEntity;stuckArrowTimer:Iintermediary field_6218Lnet/minecraft/class_1309;field_6218:Iofficial bsLchl;bs:I
-
stuckStingerTimer
public int stuckStingerTimer- Mappings:
Namespace Name Mixin selector named stuckStingerTimerLnet/minecraft/entity/LivingEntity;stuckStingerTimer:Iintermediary field_20347Lnet/minecraft/class_1309;field_20347:Iofficial btLchl;bt:I
-
hurtTime
public int hurtTime- Mappings:
Namespace Name Mixin selector named hurtTimeLnet/minecraft/entity/LivingEntity;hurtTime:Iintermediary field_6235Lnet/minecraft/class_1309;field_6235:Iofficial buLchl;bu:I
-
maxHurtTime
public int maxHurtTime- Mappings:
Namespace Name Mixin selector named maxHurtTimeLnet/minecraft/entity/LivingEntity;maxHurtTime:Iintermediary field_6254Lnet/minecraft/class_1309;field_6254:Iofficial bvLchl;bv:I
-
deathTime
public int deathTime- Mappings:
Namespace Name Mixin selector named deathTimeLnet/minecraft/entity/LivingEntity;deathTime:Iintermediary field_6213Lnet/minecraft/class_1309;field_6213:Iofficial bwLchl;bw:I
-
lastHandSwingProgress
public float lastHandSwingProgress- Mappings:
Namespace Name Mixin selector named lastHandSwingProgressLnet/minecraft/entity/LivingEntity;lastHandSwingProgress:Fintermediary field_6229Lnet/minecraft/class_1309;field_6229:Fofficial bxLchl;bx:F
-
handSwingProgress
public float handSwingProgress- Mappings:
Namespace Name Mixin selector named handSwingProgressLnet/minecraft/entity/LivingEntity;handSwingProgress:Fintermediary field_6251Lnet/minecraft/class_1309;field_6251:Fofficial byLchl;by:F
-
ticksSinceLastAttack
protected int ticksSinceLastAttack- Mappings:
Namespace Name Mixin selector named ticksSinceLastAttackLnet/minecraft/entity/LivingEntity;ticksSinceLastAttack:Iintermediary field_6273Lnet/minecraft/class_1309;field_6273:Iofficial bzLchl;bz:I
-
ticksSinceHandEquipping
protected int ticksSinceHandEquipping- Mappings:
Namespace Name Mixin selector named ticksSinceHandEquippingLnet/minecraft/entity/LivingEntity;ticksSinceHandEquipping:Iintermediary field_63291Lnet/minecraft/class_1309;field_63291:Iofficial bALchl;bA:I
-
limbAnimator
- Mappings:
Namespace Name Mixin selector named limbAnimatorLnet/minecraft/entity/LivingEntity;limbAnimator:Lnet/minecraft/entity/LimbAnimator;intermediary field_42108Lnet/minecraft/class_1309;field_42108:Lnet/minecraft/class_8080;official bBLchl;bB:Lcil;
-
bodyYaw
public float bodyYaw- Mappings:
Namespace Name Mixin selector named bodyYawLnet/minecraft/entity/LivingEntity;bodyYaw:Fintermediary field_6283Lnet/minecraft/class_1309;field_6283:Fofficial bCLchl;bC:F
-
lastBodyYaw
public float lastBodyYaw- Mappings:
Namespace Name Mixin selector named lastBodyYawLnet/minecraft/entity/LivingEntity;lastBodyYaw:Fintermediary field_6220Lnet/minecraft/class_1309;field_6220:Fofficial bDLchl;bD:F
-
headYaw
public float headYaw- Mappings:
Namespace Name Mixin selector named headYawLnet/minecraft/entity/LivingEntity;headYaw:Fintermediary field_6241Lnet/minecraft/class_1309;field_6241:Fofficial bELchl;bE:F
-
lastHeadYaw
public float lastHeadYaw- Mappings:
Namespace Name Mixin selector named lastHeadYawLnet/minecraft/entity/LivingEntity;lastHeadYaw:Fintermediary field_6259Lnet/minecraft/class_1309;field_6259:Fofficial bFLchl;bF:F
-
elytraFlightController
- Mappings:
Namespace Name Mixin selector named elytraFlightControllerLnet/minecraft/entity/LivingEntity;elytraFlightController:Lnet/minecraft/entity/mob/ElytraFlightController;intermediary field_52447Lnet/minecraft/class_1309;field_52447:Lnet/minecraft/class_9863;official bGLchl;bG:Lcgj;
-
attackingPlayer
- Mappings:
Namespace Name Mixin selector named attackingPlayerLnet/minecraft/entity/LivingEntity;attackingPlayer:Lnet/minecraft/entity/LazyEntityReference;intermediary field_6258Lnet/minecraft/class_1309;field_6258:Lnet/minecraft/class_10583;official bHLchl;bH:Lcgr;
-
playerHitTimer
protected int playerHitTimer- Mappings:
Namespace Name Mixin selector named playerHitTimerLnet/minecraft/entity/LivingEntity;playerHitTimer:Iintermediary field_6238Lnet/minecraft/class_1309;field_6238:Iofficial bILchl;bI:I
-
dead
protected boolean dead- Mappings:
Namespace Name Mixin selector named deadLnet/minecraft/entity/LivingEntity;dead:Zintermediary field_6272Lnet/minecraft/class_1309;field_6272:Zofficial bJLchl;bJ:Z
-
despawnCounter
protected int despawnCounter- Mappings:
Namespace Name Mixin selector named despawnCounterLnet/minecraft/entity/LivingEntity;despawnCounter:Iintermediary field_6278Lnet/minecraft/class_1309;field_6278:Iofficial bKLchl;bK:I
-
lastDamageTaken
protected float lastDamageTaken- Mappings:
Namespace Name Mixin selector named lastDamageTakenLnet/minecraft/entity/LivingEntity;lastDamageTaken:Fintermediary field_6253Lnet/minecraft/class_1309;field_6253:Fofficial bLLchl;bL:F
-
jumping
protected boolean jumping- Mappings:
Namespace Name Mixin selector named jumpingLnet/minecraft/entity/LivingEntity;jumping:Zintermediary field_6282Lnet/minecraft/class_1309;field_6282:Zofficial bMLchl;bM:Z
-
sidewaysSpeed
public float sidewaysSpeed- Mappings:
Namespace Name Mixin selector named sidewaysSpeedLnet/minecraft/entity/LivingEntity;sidewaysSpeed:Fintermediary field_6212Lnet/minecraft/class_1309;field_6212:Fofficial bNLchl;bN:F
-
upwardSpeed
public float upwardSpeed- Mappings:
Namespace Name Mixin selector named upwardSpeedLnet/minecraft/entity/LivingEntity;upwardSpeed:Fintermediary field_6227Lnet/minecraft/class_1309;field_6227:Fofficial bOLchl;bO:F
-
forwardSpeed
public float forwardSpeed- Mappings:
Namespace Name Mixin selector named forwardSpeedLnet/minecraft/entity/LivingEntity;forwardSpeed:Fintermediary field_6250Lnet/minecraft/class_1309;field_6250:Fofficial bPLchl;bP:F
-
interpolator
- Mappings:
Namespace Name Mixin selector named interpolatorLnet/minecraft/entity/LivingEntity;interpolator:Lnet/minecraft/entity/PositionInterpolator;intermediary field_55675Lnet/minecraft/class_1309;field_55675:Lnet/minecraft/class_10584;official bQLchl;bQ:Lchf;
-
serverHeadYaw
protected double serverHeadYaw- Mappings:
Namespace Name Mixin selector named serverHeadYawLnet/minecraft/entity/LivingEntity;serverHeadYaw:Dintermediary field_45123Lnet/minecraft/class_1309;field_45123:Dofficial bRLchl;bR:D
-
headTrackingIncrements
protected int headTrackingIncrements- Mappings:
Namespace Name Mixin selector named headTrackingIncrementsLnet/minecraft/entity/LivingEntity;headTrackingIncrements:Iintermediary field_6265Lnet/minecraft/class_1309;field_6265:Iofficial bSLchl;bS:I
-
effectsChanged
private boolean effectsChanged- Mappings:
Namespace Name Mixin selector named effectsChangedLnet/minecraft/entity/LivingEntity;effectsChanged:Zintermediary field_6285Lnet/minecraft/class_1309;field_6285:Zofficial crLchl;cr:Z
-
attackerReference
- Mappings:
Namespace Name Mixin selector named attackerReferenceLnet/minecraft/entity/LivingEntity;attackerReference:Lnet/minecraft/entity/LazyEntityReference;intermediary field_55674Lnet/minecraft/class_1309;field_55674:Lnet/minecraft/class_10583;official csLchl;cs:Lcgr;
-
lastAttackedTime
private int lastAttackedTime- Mappings:
Namespace Name Mixin selector named lastAttackedTimeLnet/minecraft/entity/LivingEntity;lastAttackedTime:Iintermediary field_6230Lnet/minecraft/class_1309;field_6230:Iofficial ctLchl;ct:I
-
attacking
- Mappings:
Namespace Name Mixin selector named attackingLnet/minecraft/entity/LivingEntity;attacking:Lnet/minecraft/entity/LivingEntity;intermediary field_6236Lnet/minecraft/class_1309;field_6236:Lnet/minecraft/class_1309;official cuLchl;cu:Lchl;
-
lastAttackTime
private int lastAttackTime- Mappings:
Namespace Name Mixin selector named lastAttackTimeLnet/minecraft/entity/LivingEntity;lastAttackTime:Iintermediary field_6270Lnet/minecraft/class_1309;field_6270:Iofficial cvLchl;cv:I
-
movementSpeed
private float movementSpeed- Mappings:
Namespace Name Mixin selector named movementSpeedLnet/minecraft/entity/LivingEntity;movementSpeed:Fintermediary field_6287Lnet/minecraft/class_1309;field_6287:Fofficial cwLchl;cw:F
-
jumpingCooldown
private int jumpingCooldown- Mappings:
Namespace Name Mixin selector named jumpingCooldownLnet/minecraft/entity/LivingEntity;jumpingCooldown:Iintermediary field_6228Lnet/minecraft/class_1309;field_6228:Iofficial cxLchl;cx:I
-
absorptionAmount
private float absorptionAmount- Mappings:
Namespace Name Mixin selector named absorptionAmountLnet/minecraft/entity/LivingEntity;absorptionAmount:Fintermediary field_6246Lnet/minecraft/class_1309;field_6246:Fofficial cyLchl;cy:F
-
activeItemStack
- Mappings:
Namespace Name Mixin selector named activeItemStackLnet/minecraft/entity/LivingEntity;activeItemStack:Lnet/minecraft/item/ItemStack;intermediary field_6277Lnet/minecraft/class_1309;field_6277:Lnet/minecraft/class_1799;official bTLchl;bT:Ldlt;
-
itemUseTimeLeft
protected int itemUseTimeLeft- Mappings:
Namespace Name Mixin selector named itemUseTimeLeftLnet/minecraft/entity/LivingEntity;itemUseTimeLeft:Iintermediary field_6222Lnet/minecraft/class_1309;field_6222:Iofficial bULchl;bU:I
-
glidingTicks
protected int glidingTicks- Mappings:
Namespace Name Mixin selector named glidingTicksLnet/minecraft/entity/LivingEntity;glidingTicks:Iintermediary field_6239Lnet/minecraft/class_1309;field_6239:Iofficial bVLchl;bV:I
-
lastKineticAttackTime
private long lastKineticAttackTime- Mappings:
Namespace Name Mixin selector named lastKineticAttackTimeLnet/minecraft/entity/LivingEntity;lastKineticAttackTime:Jintermediary field_63950Lnet/minecraft/class_1309;field_63950:Jofficial czLchl;cz:J
-
lastBlockPos
- Mappings:
Namespace Name Mixin selector named lastBlockPosLnet/minecraft/entity/LivingEntity;lastBlockPos:Lnet/minecraft/util/math/BlockPos;intermediary field_6268Lnet/minecraft/class_1309;field_6268:Lnet/minecraft/class_2338;official cALchl;cA:Lis;
-
climbingPos
- Mappings:
Namespace Name Mixin selector named climbingPosLnet/minecraft/entity/LivingEntity;climbingPos:Ljava/util/Optional;intermediary field_22418Lnet/minecraft/class_1309;field_22418:Ljava/util/Optional;official cBLchl;cB:Ljava/util/Optional;
-
lastDamageSource
- Mappings:
Namespace Name Mixin selector named lastDamageSourceLnet/minecraft/entity/LivingEntity;lastDamageSource:Lnet/minecraft/entity/damage/DamageSource;intermediary field_6276Lnet/minecraft/class_1309;field_6276:Lnet/minecraft/class_1282;official cCLchl;cC:Lcex;
-
lastDamageTime
private long lastDamageTime- Mappings:
Namespace Name Mixin selector named lastDamageTimeLnet/minecraft/entity/LivingEntity;lastDamageTime:Jintermediary field_6226Lnet/minecraft/class_1309;field_6226:Jofficial cDLchl;cD:J
-
riptideTicks
protected int riptideTicks- Mappings:
Namespace Name Mixin selector named riptideTicksLnet/minecraft/entity/LivingEntity;riptideTicks:Iintermediary field_6261Lnet/minecraft/class_1309;field_6261:Iofficial bWLchl;bW:I
-
riptideAttackDamage
protected float riptideAttackDamage- Mappings:
Namespace Name Mixin selector named riptideAttackDamageLnet/minecraft/entity/LivingEntity;riptideAttackDamage:Fintermediary field_51569Lnet/minecraft/class_1309;field_51569:Fofficial bXLchl;bX:F
-
riptideStack
- Mappings:
Namespace Name Mixin selector named riptideStackLnet/minecraft/entity/LivingEntity;riptideStack:Lnet/minecraft/item/ItemStack;intermediary field_51570Lnet/minecraft/class_1309;field_51570:Lnet/minecraft/class_1799;official bYLchl;bY:Ldlt;
-
piercingCooldowns
- Mappings:
Namespace Name Mixin selector named piercingCooldownsLnet/minecraft/entity/LivingEntity;piercingCooldowns:Lit/unimi/dsi/fastutil/objects/Object2LongMap;intermediary field_63292Lnet/minecraft/class_1309;field_63292:Lit/unimi/dsi/fastutil/objects/Object2LongMap;official bZLchl;bZ:Lit/unimi/dsi/fastutil/objects/Object2LongMap;
-
leaningPitch
private float leaningPitch- Mappings:
Namespace Name Mixin selector named leaningPitchLnet/minecraft/entity/LivingEntity;leaningPitch:Fintermediary field_6243Lnet/minecraft/class_1309;field_6243:Fofficial cELchl;cE:F
-
lastLeaningPitch
private float lastLeaningPitch- Mappings:
Namespace Name Mixin selector named lastLeaningPitchLnet/minecraft/entity/LivingEntity;lastLeaningPitch:Fintermediary field_6264Lnet/minecraft/class_1309;field_6264:Fofficial cFLchl;cF:F
-
brain
- Mappings:
Namespace Name Mixin selector named brainLnet/minecraft/entity/LivingEntity;brain:Lnet/minecraft/entity/ai/brain/Brain;intermediary field_18321Lnet/minecraft/class_1309;field_18321:Lnet/minecraft/class_4095;official caLchl;ca:Lcim;
-
experienceDroppingDisabled
private boolean experienceDroppingDisabled- Mappings:
Namespace Name Mixin selector named experienceDroppingDisabledLnet/minecraft/entity/LivingEntity;experienceDroppingDisabled:Zintermediary field_37421Lnet/minecraft/class_1309;field_37421:Zofficial cGLchl;cG:Z
-
locationBasedEnchantmentEffects
private final EnumMap<EquipmentSlot,it.unimi.dsi.fastutil.objects.Reference2ObjectMap<Enchantment, locationBasedEnchantmentEffectsSet<EnchantmentLocationBasedEffect>>> - Mappings:
Namespace Name Mixin selector named locationBasedEnchantmentEffectsLnet/minecraft/entity/LivingEntity;locationBasedEnchantmentEffects:Ljava/util/EnumMap;intermediary field_51571Lnet/minecraft/class_1309;field_51571:Ljava/util/EnumMap;official cHLchl;cH:Ljava/util/EnumMap;
-
equipment
- Mappings:
Namespace Name Mixin selector named equipmentLnet/minecraft/entity/LivingEntity;equipment:Lnet/minecraft/entity/EntityEquipment;intermediary field_56535Lnet/minecraft/class_1309;field_56535:Lnet/minecraft/class_10630;official cbLchl;cb:Lcgo;
-
waypointConfig
- Mappings:
Namespace Name Mixin selector named waypointConfigLnet/minecraft/entity/LivingEntity;waypointConfig:Lnet/minecraft/world/waypoint/Waypoint$Config;intermediary field_59669Lnet/minecraft/class_1309;field_59669:Lnet/minecraft/class_11208$class_11209;official cILchl;cI:Lfvt$a;
-
-
Constructor Details
-
LivingEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lcgk;<init>(Lcgu;Ldwo;)V
-
-
Method Details
-
getEntity
- Specified by:
getEntityin interfaceHeldItemContext- Mappings:
Namespace Name Mixin selector named getEntityLnet/minecraft/util/HeldItemContext;getEntity()Lnet/minecraft/entity/LivingEntity;intermediary method_72393Lnet/minecraft/class_11566;method_72393()Lnet/minecraft/class_1309;official etLchh;et()Lchl;
-
createEquipment
- Mappings:
Namespace Name Mixin selector named createEquipmentLnet/minecraft/entity/LivingEntity;createEquipment()Lnet/minecraft/entity/EntityEquipment;intermediary method_67518Lnet/minecraft/class_1309;method_67518()Lnet/minecraft/class_10630;official euLchl;eu()Lcgo;
-
getBrain
- Mappings:
Namespace Name Mixin selector named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;official evLchl;ev()Lcim;
-
createBrainProfile
- Mappings:
Namespace Name Mixin selector named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;official ewLchl;ew()Lcim$b;
-
deserializeBrain
- Mappings:
Namespace Name Mixin selector named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;official aLchl;a(Lcom/mojang/serialization/Dynamic;)Lcim;
-
kill
Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIEgame event. -
canTarget
- Mappings:
Namespace Name Mixin selector named canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Zintermediary method_5973Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Zofficial aLchl;a(Lcgu;)Z
-
initDataTracker
Initializes data tracker.- Specified by:
initDataTrackerin 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 initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLcgk;a(Lama$a;)V
-
createLivingAttributes
- Mappings:
Namespace Name Mixin selector named createLivingAttributesLnet/minecraft/entity/LivingEntity;createLivingAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_26827Lnet/minecraft/class_1309;method_26827()Lnet/minecraft/class_5132$class_5133;official exLchl;ex()Lcir$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:
fallin 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, ifheightDifferenceis negative, it subtracts that value fromEntity.fallDistance. - Mappings:
Namespace Name Mixin selector named fallLnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_5623Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)Vofficial aLcgk;a(DZLeoh;Lis;)V
-
canBreatheInWater
public boolean canBreatheInWater()- Mappings:
Namespace Name Mixin selector named canBreatheInWaterLnet/minecraft/entity/LivingEntity;canBreatheInWater()Zintermediary method_6094Lnet/minecraft/class_1309;method_6094()Zofficial eyLchl;ey()Z
-
getLeaningPitch
public float getLeaningPitch(float tickProgress) - Mappings:
Namespace Name Mixin selector named getLeaningPitchLnet/minecraft/entity/LivingEntity;getLeaningPitch(F)Fintermediary method_6024Lnet/minecraft/class_1309;method_6024(F)Fofficial bLchl;b(F)F
-
hasLandedInFluid
public boolean hasLandedInFluid()- Mappings:
Namespace Name Mixin selector named hasLandedInFluidLnet/minecraft/entity/LivingEntity;hasLandedInFluid()Zintermediary method_59925Lnet/minecraft/class_1309;method_59925()Zofficial ezLchl;ez()Z
-
baseTick
public void baseTick() -
shouldDrown
protected boolean shouldDrown()- Mappings:
Namespace Name Mixin selector named shouldDrownLnet/minecraft/entity/LivingEntity;shouldDrown()Zintermediary method_74092Lnet/minecraft/class_1309;method_74092()Zofficial eALchl;eA()Z
-
getVelocityMultiplier
protected float getVelocityMultiplier()- Overrides:
getVelocityMultiplierin classEntity- Mappings:
Namespace Name Mixin selector named getVelocityMultiplierLnet/minecraft/entity/Entity;getVelocityMultiplier()Fintermediary method_23326Lnet/minecraft/class_1297;method_23326()Fofficial biLcgk;bi()F
-
getLuck
public float getLuck()- Mappings:
Namespace Name Mixin selector named getLuckLnet/minecraft/entity/LivingEntity;getLuck()Fintermediary method_7292Lnet/minecraft/class_1309;method_7292()Fofficial eBLchl;eB()F
-
removePowderSnowSlow
protected void removePowderSnowSlow()- Mappings:
Namespace Name Mixin selector named removePowderSnowSlowLnet/minecraft/entity/LivingEntity;removePowderSnowSlow()Vintermediary method_32324Lnet/minecraft/class_1309;method_32324()Vofficial eCLchl;eC()V
-
addPowderSnowSlowIfNeeded
protected void addPowderSnowSlowIfNeeded()- Mappings:
Namespace Name Mixin selector named addPowderSnowSlowIfNeededLnet/minecraft/entity/LivingEntity;addPowderSnowSlowIfNeeded()Vintermediary method_32325Lnet/minecraft/class_1309;method_32325()Vofficial eDLchl;eD()V
-
applyMovementEffects
- Mappings:
Namespace Name Mixin selector named applyMovementEffectsLnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Vintermediary method_6126Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Vofficial bLchl;b(Laxf;Lis;)V
-
isBaby
public boolean isBaby()- Mappings:
Namespace Name Mixin selector named isBabyLnet/minecraft/entity/LivingEntity;isBaby()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Zofficial e_Lchl;e_()Z
-
getScaleFactor
public float getScaleFactor()- Mappings:
Namespace Name Mixin selector named getScaleFactorLnet/minecraft/entity/LivingEntity;getScaleFactor()Fintermediary method_17825Lnet/minecraft/class_1309;method_17825()Fofficial eELchl;eE()F
-
getScale
public final float getScale()- Mappings:
Namespace Name Mixin selector named getScaleLnet/minecraft/entity/LivingEntity;getScale()Fintermediary method_55693Lnet/minecraft/class_1309;method_55693()Fofficial eFLchl;eF()F
-
clampScale
protected float clampScale(float scale) - Mappings:
Namespace Name Mixin selector named clampScaleLnet/minecraft/entity/LivingEntity;clampScale(F)Fintermediary method_56077Lnet/minecraft/class_1309;method_56077(F)Fofficial cLchl;c(F)F
-
shouldSwimInFluids
public boolean shouldSwimInFluids()- Mappings:
Namespace Name Mixin selector named shouldSwimInFluidsLnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Zintermediary method_29920Lnet/minecraft/class_1309;method_29920()Zofficial eGLchl;eG()Z
-
updatePostDeath
protected void updatePostDeath()- Mappings:
Namespace Name Mixin selector named updatePostDeathLnet/minecraft/entity/LivingEntity;updatePostDeath()Vintermediary method_6108Lnet/minecraft/class_1309;method_6108()Vofficial eHLchl;eH()V
-
shouldDropExperience
public boolean shouldDropExperience()Returns if this entity should drop experience on death when thegame rule is enabled and has been attacked by a player.invalid reference
doMobLoot
If
shouldAlwaysDropExperience()returnstrue, this check is disregarded.- See Also:
- Mappings:
Namespace Name Mixin selector named shouldDropExperienceLnet/minecraft/entity/LivingEntity;shouldDropExperience()Zintermediary method_6054Lnet/minecraft/class_1309;method_6054()Zofficial eILchl;eI()Z
-
shouldDropLoot
- Mappings:
Namespace Name Mixin selector named shouldDropLootLnet/minecraft/entity/LivingEntity;shouldDropLoot(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_27071Lnet/minecraft/class_1309;method_27071(Lnet/minecraft/class_3218;)Zofficial eLchl;e(Laxf;)Z
-
getNextAirUnderwater
protected int getNextAirUnderwater(int air) - Mappings:
Namespace Name Mixin selector named getNextAirUnderwaterLnet/minecraft/entity/LivingEntity;getNextAirUnderwater(I)Iintermediary method_6130Lnet/minecraft/class_1309;method_6130(I)Iofficial lLchl;l(I)I
-
getNextAirOnLand
protected int getNextAirOnLand(int air) - Mappings:
Namespace Name Mixin selector named getNextAirOnLandLnet/minecraft/entity/LivingEntity;getNextAirOnLand(I)Iintermediary method_6064Lnet/minecraft/class_1309;method_6064(I)Iofficial mLchl;m(I)I
-
getExperienceToDrop
- Mappings:
Namespace Name Mixin selector named getExperienceToDropLnet/minecraft/entity/LivingEntity;getExperienceToDrop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Iintermediary method_59923Lnet/minecraft/class_1309;method_59923(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Iofficial aLchl;a(Laxf;Lcgk;)I
-
getExperienceToDrop
Called when this entity is killed and returns the amount of experience to drop.- See Also:
- Mappings:
Namespace Name Mixin selector named getExperienceToDropLnet/minecraft/entity/LivingEntity;getExperienceToDrop(Lnet/minecraft/server/world/ServerWorld;)Iintermediary method_6110Lnet/minecraft/class_1309;method_6110(Lnet/minecraft/class_3218;)Iofficial fLchl;f(Laxf;)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 shouldAlwaysDropExperienceLnet/minecraft/entity/LivingEntity;shouldAlwaysDropExperience()Zintermediary method_6071Lnet/minecraft/class_1309;method_6071()Zofficial eJLchl;eJ()Z
-
getAttacker
- Mappings:
Namespace Name Mixin selector named getAttackerLnet/minecraft/entity/LivingEntity;getAttacker()Lnet/minecraft/entity/LivingEntity;intermediary method_6065Lnet/minecraft/class_1309;method_6065()Lnet/minecraft/class_1309;official eKLchl;eK()Lchl;
-
getAttackingPlayer
- Mappings:
Namespace Name Mixin selector named getAttackingPlayerLnet/minecraft/entity/LivingEntity;getAttackingPlayer()Lnet/minecraft/entity/player/PlayerEntity;intermediary method_66280Lnet/minecraft/class_1309;method_66280()Lnet/minecraft/class_1657;official eLLchl;eL()Lddm;
-
getLastAttacker
- Specified by:
getLastAttackerin interfaceAttackable- Mappings:
Namespace Name Mixin selector named getLastAttackerLnet/minecraft/entity/Attackable;getLastAttacker()Lnet/minecraft/entity/LivingEntity;intermediary method_49107Lnet/minecraft/class_8149;method_49107()Lnet/minecraft/class_1309;official f_Lcgb;f_()Lchl;
-
getLastAttackedTime
public int getLastAttackedTime()- Mappings:
Namespace Name Mixin selector named getLastAttackedTimeLnet/minecraft/entity/LivingEntity;getLastAttackedTime()Iintermediary method_6117Lnet/minecraft/class_1309;method_6117()Iofficial eMLchl;eM()I
-
setAttacking
- Mappings:
Namespace Name Mixin selector named setAttackingLnet/minecraft/entity/LivingEntity;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;I)Vintermediary method_66277Lnet/minecraft/class_1309;method_66277(Lnet/minecraft/class_1657;I)Vofficial aLchl;a(Lddm;I)V
-
setAttacking
- Mappings:
Namespace Name Mixin selector named setAttackingLnet/minecraft/entity/LivingEntity;setAttacking(Ljava/util/UUID;I)Vintermediary method_66278Lnet/minecraft/class_1309;method_66278(Ljava/util/UUID;I)Vofficial aLchl;a(Ljava/util/UUID;I)V
-
setAttacking
- Mappings:
Namespace Name Mixin selector named setAttackingLnet/minecraft/entity/LivingEntity;setAttacking(Lnet/minecraft/entity/LazyEntityReference;I)Vintermediary method_29505Lnet/minecraft/class_1309;method_29505(Lnet/minecraft/class_10583;I)Vofficial aLchl;a(Lcgr;I)V
-
setAttacker
- Mappings:
Namespace Name Mixin selector named setAttackerLnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_6015Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)Vofficial aLchl;a(Lchl;)V
-
getAttacking
- Mappings:
Namespace Name Mixin selector named getAttackingLnet/minecraft/entity/LivingEntity;getAttacking()Lnet/minecraft/entity/LivingEntity;intermediary method_6052Lnet/minecraft/class_1309;method_6052()Lnet/minecraft/class_1309;official eNLchl;eN()Lchl;
-
getLastAttackTime
public int getLastAttackTime()- Mappings:
Namespace Name Mixin selector named getLastAttackTimeLnet/minecraft/entity/LivingEntity;getLastAttackTime()Iintermediary method_6083Lnet/minecraft/class_1309;method_6083()Iofficial eOLchl;eO()I
-
onAttacking
- Mappings:
Namespace Name Mixin selector named onAttackingLnet/minecraft/entity/LivingEntity;onAttacking(Lnet/minecraft/entity/Entity;)Vintermediary method_6114Lnet/minecraft/class_1309;method_6114(Lnet/minecraft/class_1297;)Vofficial CLchl;C(Lcgk;)V
-
getDespawnCounter
public int getDespawnCounter()- Mappings:
Namespace Name Mixin selector named getDespawnCounterLnet/minecraft/entity/LivingEntity;getDespawnCounter()Iintermediary method_6131Lnet/minecraft/class_1309;method_6131()Iofficial ePLchl;eP()I
-
setDespawnCounter
public void setDespawnCounter(int despawnCounter) - Mappings:
Namespace Name Mixin selector named setDespawnCounterLnet/minecraft/entity/LivingEntity;setDespawnCounter(I)Vintermediary method_16826Lnet/minecraft/class_1309;method_16826(I)Vofficial nLchl;n(I)V
-
hasNoDrag
public boolean hasNoDrag()- Mappings:
Namespace Name Mixin selector named hasNoDragLnet/minecraft/entity/LivingEntity;hasNoDrag()Zintermediary method_35053Lnet/minecraft/class_1309;method_35053()Zofficial eQLchl;eQ()Z
-
setNoDrag
public void setNoDrag(boolean noDrag) - Mappings:
Namespace Name Mixin selector named setNoDragLnet/minecraft/entity/LivingEntity;setNoDrag(Z)Vintermediary method_35054Lnet/minecraft/class_1309;method_35054(Z)Vofficial rLchl;r(Z)V
-
isArmorSlot
- Mappings:
Namespace Name Mixin selector named isArmorSlotLnet/minecraft/entity/LivingEntity;isArmorSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_44201Lnet/minecraft/class_1309;method_44201(Lnet/minecraft/class_1304;)Zofficial bLchl;b(Lcgv;)Z
-
onEquipStack
- Mappings:
Namespace Name Mixin selector named onEquipStackLnet/minecraft/entity/LivingEntity;onEquipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Vintermediary method_6116Lnet/minecraft/class_1309;method_6116(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Vofficial aLchl;a(Lcgv;Ldlt;Ldlt;)V
-
getEquipSound
protected RegistryEntry<SoundEvent> getEquipSound(EquipmentSlot slot, ItemStack stack, EquippableComponent equippableComponent) - Mappings:
Namespace Name Mixin selector named getEquipSoundLnet/minecraft/entity/LivingEntity;getEquipSound(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/component/type/EquippableComponent;)Lnet/minecraft/registry/entry/RegistryEntry;intermediary method_66667Lnet/minecraft/class_1309;method_66667(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_10192;)Lnet/minecraft/class_6880;official aLchl;a(Lcgv;Ldlt;Ldun;)Ljd;
-
remove
Removes the entity.- Overrides:
removein classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named removeLnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_5650Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)Vofficial aLcgk;a(Lcgk$e;)V
-
onRemove
Called when the entity is about to be removed.- Overrides:
onRemovein classEntity- Mappings:
Namespace Name Mixin selector named onRemoveLnet/minecraft/entity/Entity;onRemove(Lnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_64615Lnet/minecraft/class_1297;method_64615(Lnet/minecraft/class_1297$class_5529;)Vofficial bLcgk;b(Lcgk$e;)V
-
onRemoval
- Mappings:
Namespace Name Mixin selector named onRemovalLnet/minecraft/entity/LivingEntity;onRemoval(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity$RemovalReason;)Vintermediary method_60699Lnet/minecraft/class_1309;method_60699(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297$class_5529;)Vofficial aLchl;a(Laxf;Lcgk$e;)V
-
writeCustomData
- Specified by:
writeCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named writeCustomDataLnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)Vofficial aLcgk;a(Lfns;)V
-
dropItem
- Mappings:
Namespace Name Mixin selector named dropItemLnet/minecraft/entity/LivingEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;intermediary method_7329Lnet/minecraft/class_1309;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;official aLchl;a(Ldlt;ZZ)Lczl;
-
readCustomData
- Specified by:
readCustomDatain classEntity- Mappings:
Namespace Name Mixin selector named readCustomDataLnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)Vofficial aLcgk;a(Lfnq;)V
-
beforePacketsSent
public void beforePacketsSent()- Overrides:
beforePacketsSentin classEntity- Mappings:
Namespace Name Mixin selector named beforePacketsSentLnet/minecraft/entity/Entity;beforePacketsSent()Vintermediary method_75725Lnet/minecraft/class_1297;method_75725()Vofficial aILcgk;aI()V
-
tickStatusEffects
protected void tickStatusEffects()- Mappings:
Namespace Name Mixin selector named tickStatusEffectsLnet/minecraft/entity/LivingEntity;tickStatusEffects()Vintermediary method_6050Lnet/minecraft/class_1309;method_6050()Vofficial eRLchl;eR()V
-
handleEffectsChanged
private void handleEffectsChanged()- Mappings:
Namespace Name Mixin selector named handleEffectsChangedLnet/minecraft/entity/LivingEntity;handleEffectsChanged()Vintermediary method_75126Lnet/minecraft/class_1309;method_75126()Vofficial kLchl;k()V
-
updatePotionVisibility
protected void updatePotionVisibility()- Mappings:
Namespace Name Mixin selector named updatePotionVisibilityLnet/minecraft/entity/LivingEntity;updatePotionVisibility()Vintermediary method_6027Lnet/minecraft/class_1309;method_6027()Vofficial MLchl;M()V
-
updatePotionSwirls
private void updatePotionSwirls()- Mappings:
Namespace Name Mixin selector named updatePotionSwirlsLnet/minecraft/entity/LivingEntity;updatePotionSwirls()Vintermediary method_58150Lnet/minecraft/class_1309;method_58150()Vofficial pLchl;p()V
-
updateGlowing
private void updateGlowing()- Mappings:
Namespace Name Mixin selector named updateGlowingLnet/minecraft/entity/LivingEntity;updateGlowing()Vintermediary method_36362Lnet/minecraft/class_1309;method_36362()Vofficial DLchl;D()V
-
getAttackDistanceScalingFactor
- Mappings:
Namespace Name Mixin selector named getAttackDistanceScalingFactorLnet/minecraft/entity/LivingEntity;getAttackDistanceScalingFactor(Lnet/minecraft/entity/Entity;)Dintermediary method_18390Lnet/minecraft/class_1309;method_18390(Lnet/minecraft/class_1297;)Dofficial DLchl;D(Lcgk;)D
-
canTarget
- Mappings:
Namespace Name Mixin selector named canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Zintermediary method_18395Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Zofficial cLchl;c(Lchl;)Z
-
canTakeDamage
public boolean canTakeDamage()- Mappings:
Namespace Name Mixin selector named canTakeDamageLnet/minecraft/entity/LivingEntity;canTakeDamage()Zintermediary method_33190Lnet/minecraft/class_1309;method_33190()Zofficial eSLchl;eS()Z
-
isPartOfGame
public boolean isPartOfGame()- Mappings:
Namespace Name Mixin selector named isPartOfGameLnet/minecraft/entity/LivingEntity;isPartOfGame()Zintermediary method_36608Lnet/minecraft/class_1309;method_36608()Zofficial eTLchl;eT()Z
-
containsOnlyAmbientEffects
- Mappings:
Namespace Name Mixin selector named containsOnlyAmbientEffectsLnet/minecraft/entity/LivingEntity;containsOnlyAmbientEffects(Ljava/util/Collection;)Zintermediary method_6089Lnet/minecraft/class_1309;method_6089(Ljava/util/Collection;)Zofficial dLchl;d(Ljava/util/Collection;)Z
-
clearPotionSwirls
protected void clearPotionSwirls()- Mappings:
Namespace Name Mixin selector named clearPotionSwirlsLnet/minecraft/entity/LivingEntity;clearPotionSwirls()Vintermediary method_6069Lnet/minecraft/class_1309;method_6069()Vofficial eULchl;eU()V
-
clearStatusEffects
public boolean clearStatusEffects()- Mappings:
Namespace Name Mixin selector named clearStatusEffectsLnet/minecraft/entity/LivingEntity;clearStatusEffects()Zintermediary method_6012Lnet/minecraft/class_1309;method_6012()Zofficial eVLchl;eV()Z
-
getStatusEffects
- Mappings:
Namespace Name Mixin selector named getStatusEffectsLnet/minecraft/entity/LivingEntity;getStatusEffects()Ljava/util/Collection;intermediary method_6026Lnet/minecraft/class_1309;method_6026()Ljava/util/Collection;official eWLchl;eW()Ljava/util/Collection;
-
getActiveStatusEffects
- Mappings:
Namespace Name Mixin selector named getActiveStatusEffectsLnet/minecraft/entity/LivingEntity;getActiveStatusEffects()Ljava/util/Map;intermediary method_6088Lnet/minecraft/class_1309;method_6088()Ljava/util/Map;official eXLchl;eX()Ljava/util/Map;
-
hasStatusEffect
- Mappings:
Namespace Name Mixin selector named hasStatusEffectLnet/minecraft/entity/LivingEntity;hasStatusEffect(Lnet/minecraft/registry/entry/RegistryEntry;)Zintermediary method_6059Lnet/minecraft/class_1309;method_6059(Lnet/minecraft/class_6880;)Zofficial dLchl;d(Ljd;)Z
-
getStatusEffect
- Mappings:
Namespace Name Mixin selector named getStatusEffectLnet/minecraft/entity/LivingEntity;getStatusEffect(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/effect/StatusEffectInstance;intermediary method_6112Lnet/minecraft/class_1309;method_6112(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1293;official eLchl;e(Ljd;)Lcfm;
-
getEffectFadeFactor
- Mappings:
Namespace Name Mixin selector named getEffectFadeFactorLnet/minecraft/entity/LivingEntity;getEffectFadeFactor(Lnet/minecraft/registry/entry/RegistryEntry;F)Fintermediary method_66279Lnet/minecraft/class_1309;method_66279(Lnet/minecraft/class_6880;F)Fofficial aLchl;a(Ljd;F)F
-
addStatusEffect
Adds a status effect to this entity without specifying a source entity.Consider calling
addStatusEffect(StatusEffectInstance, Entity)if theeffectis caused by or from an entity.- Parameters:
effect- the effect to add- Returns:
- whether the active status effects of this entity has been modified
- See Also:
- Mappings:
Namespace Name Mixin selector named addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Zintermediary method_6092Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Zofficial aLchl;a(Lcfm;)Z
-
addStatusEffect
Adds a status effect to this entity.- Parameters:
effect- the effect to addsource- the source entity ornullfor non-entity sources- Returns:
- whether the active status effects of this entity has been modified
- Implementation Note:
- A status effect may fail to be added due to getting overridden by existing effects or the effect being incompatible with this entity.
- Mappings:
Namespace Name Mixin selector named addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Zintermediary method_37222Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Zofficial bLchl;b(Lcfm;Lcgk;)Z
-
canHaveStatusEffect
- Mappings:
Namespace Name Mixin selector named canHaveStatusEffectLnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Zintermediary method_6049Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Zofficial bLchl;b(Lcfm;)Z
-
setStatusEffect
Sets a status effect in this entity.The preexistent status effect of the same type on this entity, if there is one, is cleared. To actually add a status effect and undergo effect combination logic, call
addStatusEffect(StatusEffectInstance, Entity).- Parameters:
effect- the effect to setsource- the source entity ornullfor non-entity sources- API Note:
- In vanilla, this is exclusively used by the client to set a status effect on the player upon reception of the status effect packet.
- Mappings:
Namespace Name Mixin selector named setStatusEffectLnet/minecraft/entity/LivingEntity;setStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Vintermediary method_26082Lnet/minecraft/class_1309;method_26082(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Vofficial cLchl;c(Lcfm;Lcgk;)V
-
hasInvertedHealingAndHarm
public boolean hasInvertedHealingAndHarm()- Mappings:
Namespace Name Mixin selector named hasInvertedHealingAndHarmLnet/minecraft/entity/LivingEntity;hasInvertedHealingAndHarm()Zintermediary method_5999Lnet/minecraft/class_1309;method_5999()Zofficial eYLchl;eY()Z
-
removeStatusEffectInternal
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 removeStatusEffectInternalLnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/effect/StatusEffectInstance;intermediary method_6111Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1293;official fLchl;f(Ljd;)Lcfm;
-
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 removeStatusEffectLnet/minecraft/entity/LivingEntity;removeStatusEffect(Lnet/minecraft/registry/entry/RegistryEntry;)Zintermediary method_6016Lnet/minecraft/class_1309;method_6016(Lnet/minecraft/class_6880;)Zofficial gLchl;g(Ljd;)Z
-
onStatusEffectApplied
- Mappings:
Namespace Name Mixin selector named onStatusEffectAppliedLnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Vintermediary method_6020Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Vofficial aLchl;a(Lcfm;Lcgk;)V
-
sendEffectToControllingPlayer
- Mappings:
Namespace Name Mixin selector named sendEffectToControllingPlayerLnet/minecraft/entity/LivingEntity;sendEffectToControllingPlayer(Lnet/minecraft/entity/effect/StatusEffectInstance;)Vintermediary method_52197Lnet/minecraft/class_1309;method_52197(Lnet/minecraft/class_1293;)Vofficial cLchl;c(Lcfm;)V
-
onStatusEffectUpgraded
protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable Entity source) - Mappings:
Namespace Name Mixin selector named onStatusEffectUpgradedLnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;ZLnet/minecraft/entity/Entity;)Vintermediary method_6009Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)Vofficial aLchl;a(Lcfm;ZLcgk;)V
-
onStatusEffectsRemoved
- Mappings:
Namespace Name Mixin selector named onStatusEffectsRemovedLnet/minecraft/entity/LivingEntity;onStatusEffectsRemoved(Ljava/util/Collection;)Vintermediary method_6129Lnet/minecraft/class_1309;method_6129(Ljava/util/Collection;)Vofficial cLchl;c(Ljava/util/Collection;)V
-
updateAttributes
private void updateAttributes()- Mappings:
Namespace Name Mixin selector named updateAttributesLnet/minecraft/entity/LivingEntity;updateAttributes()Vintermediary method_52543Lnet/minecraft/class_1309;method_52543()Vofficial ELchl;E()V
-
updateAttribute
- Mappings:
Namespace Name Mixin selector named updateAttributeLnet/minecraft/entity/LivingEntity;updateAttribute(Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_52540Lnet/minecraft/class_1309;method_52540(Lnet/minecraft/class_6880;)Vofficial aLchl;a(Ljd;)V
-
heal
public void heal(float amount) Heals this entity by the givenamountof half-hearts.A dead entity cannot be healed.
- See Also:
- Mappings:
Namespace Name Mixin selector named healLnet/minecraft/entity/LivingEntity;heal(F)Vintermediary method_6025Lnet/minecraft/class_1309;method_6025(F)Vofficial dLchl;d(F)V
-
getHealth
public float getHealth()- Mappings:
Namespace Name Mixin selector named getHealthLnet/minecraft/entity/LivingEntity;getHealth()Fintermediary method_6032Lnet/minecraft/class_1309;method_6032()Fofficial eZLchl;eZ()F
-
setHealth
public void setHealth(float health) - Mappings:
Namespace Name Mixin selector named setHealthLnet/minecraft/entity/LivingEntity;setHealth(F)Vintermediary method_6033Lnet/minecraft/class_1309;method_6033(F)Vofficial xLchl;x(F)V
-
isDead
public boolean isDead()- Mappings:
Namespace Name Mixin selector named isDeadLnet/minecraft/entity/LivingEntity;isDead()Zintermediary method_29504Lnet/minecraft/class_1309;method_29504()Zofficial faLchl;fa()Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Specified by:
damagein classEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLcgk;a(Laxf;Lcex;F)Z
-
getDamageBlockedAmount
- Mappings:
Namespace Name Mixin selector named getDamageBlockedAmountLnet/minecraft/entity/LivingEntity;getDamageBlockedAmount(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Fintermediary method_67346Lnet/minecraft/class_1309;method_67346(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Fofficial bLchl;b(Laxf;Lcex;F)F
-
playThornsSound
- Mappings:
Namespace Name Mixin selector named playThornsSoundLnet/minecraft/entity/LivingEntity;playThornsSound(Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_66283Lnet/minecraft/class_1309;method_66283(Lnet/minecraft/class_1282;)Vofficial iLchl;i(Lcex;)V
-
becomeAngry
- Mappings:
Namespace Name Mixin selector named becomeAngryLnet/minecraft/entity/LivingEntity;becomeAngry(Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_65344Lnet/minecraft/class_1309;method_65344(Lnet/minecraft/class_1282;)Vofficial eLchl;e(Lcex;)V
-
setAttackingPlayer
- Mappings:
Namespace Name Mixin selector named setAttackingPlayerLnet/minecraft/entity/LivingEntity;setAttackingPlayer(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/entity/player/PlayerEntity;intermediary method_65343Lnet/minecraft/class_1309;method_65343(Lnet/minecraft/class_1282;)Lnet/minecraft/class_1657;official fLchl;f(Lcex;)Lddm;
-
takeShieldHit
- Mappings:
Namespace Name Mixin selector named takeShieldHitLnet/minecraft/entity/LivingEntity;takeShieldHit(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Vintermediary method_6090Lnet/minecraft/class_1309;method_6090(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Vofficial aLchl;a(Laxf;Lchl;)V
-
knockback
- Mappings:
Namespace Name Mixin selector named knockbackLnet/minecraft/entity/LivingEntity;knockback(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_6060Lnet/minecraft/class_1309;method_6060(Lnet/minecraft/class_1309;)Vofficial dLchl;d(Lchl;)V
-
tryUseDeathProtector
- Mappings:
Namespace Name Mixin selector named tryUseDeathProtectorLnet/minecraft/entity/LivingEntity;tryUseDeathProtector(Lnet/minecraft/entity/damage/DamageSource;)Zintermediary method_6095Lnet/minecraft/class_1309;method_6095(Lnet/minecraft/class_1282;)Zofficial jLchl;j(Lcex;)Z
-
getRecentDamageSource
- Mappings:
Namespace Name Mixin selector named getRecentDamageSourceLnet/minecraft/entity/LivingEntity;getRecentDamageSource()Lnet/minecraft/entity/damage/DamageSource;intermediary method_6081Lnet/minecraft/class_1309;method_6081()Lnet/minecraft/class_1282;official fbLchl;fb()Lcex;
-
playHurtSound
- Mappings:
Namespace Name Mixin selector named playHurtSoundLnet/minecraft/entity/LivingEntity;playHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_6013Lnet/minecraft/class_1309;method_6013(Lnet/minecraft/class_1282;)Vofficial gLchl;g(Lcex;)V
-
playSound
- Mappings:
Namespace Name Mixin selector named playSoundLnet/minecraft/entity/LivingEntity;playSound(Lnet/minecraft/sound/SoundEvent;)Vintermediary method_56078Lnet/minecraft/class_1309;method_56078(Lnet/minecraft/class_3414;)Vofficial bLchl;b(Lbcz;)V
-
playEquipmentBreakEffects
- Mappings:
Namespace Name Mixin selector named playEquipmentBreakEffectsLnet/minecraft/entity/LivingEntity;playEquipmentBreakEffects(Lnet/minecraft/item/ItemStack;)Vintermediary method_6045Lnet/minecraft/class_1309;method_6045(Lnet/minecraft/class_1799;)Vofficial gLchl;g(Ldlt;)V
-
onDeath
- Mappings:
Namespace Name Mixin selector named onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vofficial aLchl;a(Lcex;)V
-
onKilledBy
Performs secondary effects after this mob has been killed.The default behavior spawns a wither rose if
adversaryis aWitherEntity.- Parameters:
adversary- the main adversary responsible for this entity's death- Mappings:
Namespace Name Mixin selector named onKilledByLnet/minecraft/entity/LivingEntity;onKilledBy(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_23733Lnet/minecraft/class_1309;method_23733(Lnet/minecraft/class_1309;)Vofficial eLchl;e(Lchl;)V
-
drop
- Mappings:
Namespace Name Mixin selector named dropLnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_16080Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Vofficial bLchl;b(Laxf;Lcex;)V
-
dropInventory
- Mappings:
Namespace Name Mixin selector named dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_16078Lnet/minecraft/class_1309;method_16078(Lnet/minecraft/class_3218;)Vofficial gLchl;g(Laxf;)V
-
dropExperience
Drops experience when this entity is killed.To control the details of experience dropping, consider overriding
shouldAlwaysDropExperience(),shouldDropExperience(), and.invalid reference
#getExperienceToDrop()- Mappings:
Namespace Name Mixin selector named dropExperienceLnet/minecraft/entity/LivingEntity;dropExperience(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Vintermediary method_23883Lnet/minecraft/class_1309;method_23883(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Vofficial bLchl;b(Laxf;Lcgk;)V
-
dropEquipment
- Mappings:
Namespace Name Mixin selector named dropEquipmentLnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;Z)Vintermediary method_6099Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;Z)Vofficial aLchl;a(Laxf;Lcex;Z)V
-
getLootTableSeed
public long getLootTableSeed()- Mappings:
Namespace Name Mixin selector named getLootTableSeedLnet/minecraft/entity/LivingEntity;getLootTableSeed()Jintermediary method_51851Lnet/minecraft/class_1309;method_51851()Jofficial fcLchl;fc()J
-
getAttackKnockbackAgainst
- Mappings:
Namespace Name Mixin selector named getAttackKnockbackAgainstLnet/minecraft/entity/LivingEntity;getAttackKnockbackAgainst(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/damage/DamageSource;)Fintermediary method_59924Lnet/minecraft/class_1309;method_59924(Lnet/minecraft/class_1297;Lnet/minecraft/class_1282;)Fofficial bLchl;b(Lcgk;Lcex;)F
-
dropLoot
- Mappings:
Namespace Name Mixin selector named dropLootLnet/minecraft/entity/LivingEntity;dropLoot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;Z)Vintermediary method_16077Lnet/minecraft/class_1309;method_16077(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;Z)Vofficial bLchl;b(Laxf;Lcex;Z)V
-
dropLoot
public void dropLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer, RegistryKey<LootTable> lootTableKey) - Mappings:
Namespace Name Mixin selector named dropLootLnet/minecraft/entity/LivingEntity;dropLoot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;ZLnet/minecraft/registry/RegistryKey;)Vintermediary method_72395Lnet/minecraft/class_1309;method_72395(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;ZLnet/minecraft/class_5321;)Vofficial aLchl;a(Laxf;Lcex;ZLamt;)V
-
generateLoot
public void generateLoot(ServerWorld world, DamageSource damageSource, boolean causedByPlayer, RegistryKey<LootTable> lootTableKey, Consumer<ItemStack> lootConsumer) - Mappings:
Namespace Name Mixin selector named generateLootLnet/minecraft/entity/LivingEntity;generateLoot(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;ZLnet/minecraft/registry/RegistryKey;Ljava/util/function/Consumer;)Vintermediary method_72396Lnet/minecraft/class_1309;method_72396(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;ZLnet/minecraft/class_5321;Ljava/util/function/Consumer;)Vofficial aLchl;a(Laxf;Lcex;ZLamt;Ljava/util/function/Consumer;)V
-
forEachBrushedItem
public boolean forEachBrushedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, @Nullable Entity interactingEntity, ItemStack tool, BiConsumer<ServerWorld, ItemStack> lootConsumer) - Mappings:
Namespace Name Mixin selector named forEachBrushedItemLnet/minecraft/entity/LivingEntity;forEachBrushedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/entity/Entity;Lnet/minecraft/item/ItemStack;Ljava/util/function/BiConsumer;)Zintermediary method_72394Lnet/minecraft/class_1309;method_72394(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Lnet/minecraft/class_1297;Lnet/minecraft/class_1799;Ljava/util/function/BiConsumer;)Zofficial aLchl;a(Laxf;Lamt;Lcgk;Ldlt;Ljava/util/function/BiConsumer;)Z
-
forEachGiftedItem
public boolean forEachGiftedItem(ServerWorld world, RegistryKey<LootTable> lootTableKey, BiConsumer<ServerWorld, ItemStack> lootConsumer) - Mappings:
Namespace Name Mixin selector named forEachGiftedItemLnet/minecraft/entity/LivingEntity;forEachGiftedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Ljava/util/function/BiConsumer;)Zintermediary method_64169Lnet/minecraft/class_1309;method_64169(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Ljava/util/function/BiConsumer;)Zofficial aLchl;a(Laxf;Lamt;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 forEachShearedItemLnet/minecraft/entity/LivingEntity;forEachShearedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/item/ItemStack;Ljava/util/function/BiConsumer;)Vintermediary method_61419Lnet/minecraft/class_1309;method_61419(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Lnet/minecraft/class_1799;Ljava/util/function/BiConsumer;)Vofficial aLchl;a(Laxf;Lamt;Ldlt;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 forEachGeneratedItemLnet/minecraft/entity/LivingEntity;forEachGeneratedItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/registry/RegistryKey;Ljava/util/function/Function;Ljava/util/function/BiConsumer;)Zintermediary method_64170Lnet/minecraft/class_1309;method_64170(Lnet/minecraft/class_3218;Lnet/minecraft/class_5321;Ljava/util/function/Function;Ljava/util/function/BiConsumer;)Zofficial aLchl;a(Laxf;Lamt;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 takeKnockbackLnet/minecraft/entity/LivingEntity;takeKnockback(DDD)Vintermediary method_6005Lnet/minecraft/class_1309;method_6005(DDD)Vofficial oLchl;o(DDD)V
-
tiltScreen
public void tiltScreen(double deltaX, double deltaZ) - Mappings:
Namespace Name Mixin selector named tiltScreenLnet/minecraft/entity/LivingEntity;tiltScreen(DD)Vintermediary method_48761Lnet/minecraft/class_1309;method_48761(DD)Vofficial aLchl;a(DD)V
-
getHurtSound
- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official hLchl;h(Lcex;)Lbcz;
-
getDeathSound
- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official fdLchl;fd()Lbcz;
-
getFallSound
- Mappings:
Namespace Name Mixin selector named getFallSoundLnet/minecraft/entity/LivingEntity;getFallSound(I)Lnet/minecraft/sound/SoundEvent;intermediary method_6041Lnet/minecraft/class_1309;method_6041(I)Lnet/minecraft/class_3414;official qLchl;q(I)Lbcz;
-
disableExperienceDropping
public void disableExperienceDropping()- Mappings:
Namespace Name Mixin selector named disableExperienceDroppingLnet/minecraft/entity/LivingEntity;disableExperienceDropping()Vintermediary method_41329Lnet/minecraft/class_1309;method_41329()Vofficial feLchl;fe()V
-
isExperienceDroppingDisabled
public boolean isExperienceDroppingDisabled()- Mappings:
Namespace Name Mixin selector named isExperienceDroppingDisabledLnet/minecraft/entity/LivingEntity;isExperienceDroppingDisabled()Zintermediary method_41330Lnet/minecraft/class_1309;method_41330()Zofficial ffLchl;ff()Z
-
getDamageTiltYaw
public float getDamageTiltYaw()- Mappings:
Namespace Name Mixin selector named getDamageTiltYawLnet/minecraft/entity/LivingEntity;getDamageTiltYaw()Fintermediary method_48157Lnet/minecraft/class_1309;method_48157()Fofficial fgLchl;fg()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 getHitboxLnet/minecraft/entity/LivingEntity;getHitbox()Lnet/minecraft/util/math/Box;intermediary method_53510Lnet/minecraft/class_1309;method_53510()Lnet/minecraft/class_238;official fhLchl;fh()Lfth;
-
getLocationBasedEnchantmentEffects
public Map<Enchantment,Set<EnchantmentLocationBasedEffect>> getLocationBasedEnchantmentEffects(EquipmentSlot slot) - Mappings:
Namespace Name Mixin selector named getLocationBasedEnchantmentEffectsLnet/minecraft/entity/LivingEntity;getLocationBasedEnchantmentEffects(Lnet/minecraft/entity/EquipmentSlot;)Ljava/util/Map;intermediary method_59926Lnet/minecraft/class_1309;method_59926(Lnet/minecraft/class_1304;)Ljava/util/Map;official cLchl;c(Lcgv;)Ljava/util/Map;
-
useAttackEnchantmentEffects
public void useAttackEnchantmentEffects()- Mappings:
Namespace Name Mixin selector named useAttackEnchantmentEffectsLnet/minecraft/entity/LivingEntity;useAttackEnchantmentEffects()Vintermediary method_75125Lnet/minecraft/class_1309;method_75125()Vofficial fiLchl;fi()V
-
getFallSounds
- Mappings:
Namespace Name Mixin selector named getFallSoundsLnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;intermediary method_39760Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;official fjLchl;fj()Lchl$a;
-
getClimbingPos
- Mappings:
Namespace Name Mixin selector named getClimbingPosLnet/minecraft/entity/LivingEntity;getClimbingPos()Ljava/util/Optional;intermediary method_24832Lnet/minecraft/class_1309;method_24832()Ljava/util/Optional;official fkLchl;fk()Ljava/util/Optional;
-
isClimbing
public boolean isClimbing()- Mappings:
Namespace Name Mixin selector named isClimbingLnet/minecraft/entity/LivingEntity;isClimbing()Zintermediary method_6101Lnet/minecraft/class_1309;method_6101()Zofficial flLchl;fl()Z
-
canEnterTrapdoor
- Mappings:
Namespace Name Mixin selector named canEnterTrapdoorLnet/minecraft/entity/LivingEntity;canEnterTrapdoor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Zintermediary method_6077Lnet/minecraft/class_1309;method_6077(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Zofficial cLchl;c(Lis;Leoh;)Z
-
isAlive
public boolean isAlive()Returns whether the entity is alive.For non-
LivingEntity, this is the same as negatingEntity.isRemoved().LivingEntitychecks the entity's health in addition to the removal. -
isEntityLookingAtMe
public boolean isEntityLookingAtMe(LivingEntity entity, double double2, boolean bool, boolean visualShape, double[] checkedYs) - Mappings:
Namespace Name Mixin selector named isEntityLookingAtMeLnet/minecraft/entity/LivingEntity;isEntityLookingAtMe(Lnet/minecraft/entity/LivingEntity;DZZ[D)Zintermediary method_64619Lnet/minecraft/class_1309;method_64619(Lnet/minecraft/class_1309;DZZ[D)Zofficial aLchl;a(Lchl;DZZ[D)Z
-
getSafeFallDistance
public int getSafeFallDistance()Returns the maximum height of a fall the entity takes during pathfinding.- Overrides:
getSafeFallDistancein classEntity- Returns:
- the maximum height of a fall the entity takes during pathfinding
- Mappings:
Namespace Name Mixin selector named getSafeFallDistanceLnet/minecraft/entity/Entity;getSafeFallDistance()Iintermediary method_5850Lnet/minecraft/class_1297;method_5850()Iofficial cWLcgk;cW()I
-
getSafeFallDistance
protected final int getSafeFallDistance(float health) - Mappings:
Namespace Name Mixin selector named getSafeFallDistanceLnet/minecraft/entity/LivingEntity;getSafeFallDistance(F)Iintermediary method_56993Lnet/minecraft/class_1309;method_56993(F)Iofficial yLchl;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:
handleFallDamagein classEntity- Returns:
- whether to play the sound when falling on honey block;
falsefor all entities except horses and llamas - Mappings:
Namespace Name Mixin selector named handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(DFLnet/minecraft/entity/damage/DamageSource;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(DFLnet/minecraft/class_1282;)Zofficial aLcgk;a(DFLcex;)Z
-
computeFallDamage
protected int computeFallDamage(double fallDistance, float damagePerDistance) - Mappings:
Namespace Name Mixin selector named computeFallDamageLnet/minecraft/entity/LivingEntity;computeFallDamage(DF)Iintermediary method_23329Lnet/minecraft/class_1309;method_23329(DF)Iofficial aLchl;a(DF)I
-
getUnsafeFallDistance
private double getUnsafeFallDistance(double fallDistance) - Mappings:
Namespace Name Mixin selector named getUnsafeFallDistanceLnet/minecraft/entity/LivingEntity;getUnsafeFallDistance(D)Dintermediary method_66669Lnet/minecraft/class_1309;method_66669(D)Dofficial iLchl;i(D)D
-
playBlockFallSound
protected void playBlockFallSound()- Mappings:
Namespace Name Mixin selector named playBlockFallSoundLnet/minecraft/entity/LivingEntity;playBlockFallSound()Vintermediary method_23328Lnet/minecraft/class_1309;method_23328()Vofficial fmLchl;fm()V
-
animateDamage
public void animateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).- Overrides:
animateDamagein classEntity- Mappings:
Namespace Name Mixin selector named animateDamageLnet/minecraft/entity/Entity;animateDamage(F)Vintermediary method_5879Lnet/minecraft/class_1297;method_5879(F)Vofficial qLcgk;q(F)V
-
getArmor
public int getArmor()- Mappings:
Namespace Name Mixin selector named getArmorLnet/minecraft/entity/LivingEntity;getArmor()Iintermediary method_6096Lnet/minecraft/class_1309;method_6096()Iofficial fnLchl;fn()I
-
damageArmor
- Mappings:
Namespace Name Mixin selector named damageArmorLnet/minecraft/entity/LivingEntity;damageArmor(Lnet/minecraft/entity/damage/DamageSource;F)Vintermediary method_6105Lnet/minecraft/class_1309;method_6105(Lnet/minecraft/class_1282;F)Vofficial cLchl;c(Lcex;F)V
-
damageHelmet
- Mappings:
Namespace Name Mixin selector named damageHelmetLnet/minecraft/entity/LivingEntity;damageHelmet(Lnet/minecraft/entity/damage/DamageSource;F)Vintermediary method_36977Lnet/minecraft/class_1309;method_36977(Lnet/minecraft/class_1282;F)Vofficial dLchl;d(Lcex;F)V
-
damageEquipment
- Mappings:
Namespace Name Mixin selector named damageEquipmentLnet/minecraft/entity/LivingEntity;damageEquipment(Lnet/minecraft/entity/damage/DamageSource;F[Lnet/minecraft/entity/EquipmentSlot;)Vintermediary method_57292Lnet/minecraft/class_1309;method_57292(Lnet/minecraft/class_1282;F[Lnet/minecraft/class_1304;)Vofficial aLchl;a(Lcex;F[Lcgv;)V
-
applyArmorToDamage
- Mappings:
Namespace Name Mixin selector named applyArmorToDamageLnet/minecraft/entity/LivingEntity;applyArmorToDamage(Lnet/minecraft/entity/damage/DamageSource;F)Fintermediary method_6132Lnet/minecraft/class_1309;method_6132(Lnet/minecraft/class_1282;F)Fofficial eLchl;e(Lcex;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.
WitchEntityuses this to negate their own damage and reduce the applied status effect damage. - Mappings:
Namespace Name Mixin selector named modifyAppliedDamageLnet/minecraft/entity/LivingEntity;modifyAppliedDamage(Lnet/minecraft/entity/damage/DamageSource;F)Fintermediary method_6036Lnet/minecraft/class_1309;method_6036(Lnet/minecraft/class_1282;F)Fofficial fLchl;f(Lcex;F)F
-
applyDamage
- Mappings:
Namespace Name Mixin selector named applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Vofficial cLchl;c(Laxf;Lcex;F)V
-
getDamageTracker
- Mappings:
Namespace Name Mixin selector named getDamageTrackerLnet/minecraft/entity/LivingEntity;getDamageTracker()Lnet/minecraft/entity/damage/DamageTracker;intermediary method_6066Lnet/minecraft/class_1309;method_6066()Lnet/minecraft/class_1283;official foLchl;fo()Lceu;
-
getPrimeAdversary
- Mappings:
Namespace Name Mixin selector named getPrimeAdversaryLnet/minecraft/entity/LivingEntity;getPrimeAdversary()Lnet/minecraft/entity/LivingEntity;intermediary method_6124Lnet/minecraft/class_1309;method_6124()Lnet/minecraft/class_1309;official fpLchl;fp()Lchl;
-
getMaxHealth
public final float getMaxHealth()- Mappings:
Namespace Name Mixin selector named getMaxHealthLnet/minecraft/entity/LivingEntity;getMaxHealth()Fintermediary method_6063Lnet/minecraft/class_1309;method_6063()Fofficial fqLchl;fq()F
-
getMaxAbsorption
public final float getMaxAbsorption()- Mappings:
Namespace Name Mixin selector named getMaxAbsorptionLnet/minecraft/entity/LivingEntity;getMaxAbsorption()Fintermediary method_52541Lnet/minecraft/class_1309;method_52541()Fofficial frLchl;fr()F
-
getStuckArrowCount
public final int getStuckArrowCount()- Mappings:
Namespace Name Mixin selector named getStuckArrowCountLnet/minecraft/entity/LivingEntity;getStuckArrowCount()Iintermediary method_6022Lnet/minecraft/class_1309;method_6022()Iofficial fsLchl;fs()I
-
setStuckArrowCount
public final void setStuckArrowCount(int stuckArrowCount) - Mappings:
Namespace Name Mixin selector named setStuckArrowCountLnet/minecraft/entity/LivingEntity;setStuckArrowCount(I)Vintermediary method_6097Lnet/minecraft/class_1309;method_6097(I)Vofficial oLchl;o(I)V
-
getStingerCount
public final int getStingerCount()- Mappings:
Namespace Name Mixin selector named getStingerCountLnet/minecraft/entity/LivingEntity;getStingerCount()Iintermediary method_21753Lnet/minecraft/class_1309;method_21753()Iofficial ftLchl;ft()I
-
setStingerCount
public final void setStingerCount(int stingerCount) - Mappings:
Namespace Name Mixin selector named setStingerCountLnet/minecraft/entity/LivingEntity;setStingerCount(I)Vintermediary method_21755Lnet/minecraft/class_1309;method_21755(I)Vofficial pLchl;p(I)V
-
getHandSwingDuration
private int getHandSwingDuration()- Mappings:
Namespace Name Mixin selector named getHandSwingDurationLnet/minecraft/entity/LivingEntity;getHandSwingDuration()Iintermediary method_6028Lnet/minecraft/class_1309;method_6028()Iofficial FLchl;F()I
-
swingHand
- Mappings:
Namespace Name Mixin selector named swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)Vintermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vofficial aLchl;a(Lcdb;)V
-
swingHand
- Mappings:
Namespace Name Mixin selector named swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;Z)Vintermediary method_23667Lnet/minecraft/class_1309;method_23667(Lnet/minecraft/class_1268;Z)Vofficial aLchl;a(Lcdb;Z)V
-
onDamaged
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatusin classEntity- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte). - Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/entity/Entity;handleStatus(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLcgk;b(B)V
-
getTimeSinceLastKineticAttack
public float getTimeSinceLastKineticAttack(float tickProgress) - Mappings:
Namespace Name Mixin selector named getTimeSinceLastKineticAttackLnet/minecraft/entity/LivingEntity;getTimeSinceLastKineticAttack(F)Fintermediary method_75879Lnet/minecraft/class_1309;method_75879(F)Fofficial zLchl;z(F)F
-
addDeathParticles
public void addDeathParticles()- Mappings:
Namespace Name Mixin selector named addDeathParticlesLnet/minecraft/entity/LivingEntity;addDeathParticles()Vintermediary method_36549Lnet/minecraft/class_1309;method_36549()Vofficial fuLchl;fu()V
-
addBubbleParticles
private void addBubbleParticles()- Mappings:
Namespace Name Mixin selector named addBubbleParticlesLnet/minecraft/entity/LivingEntity;addBubbleParticles()Vintermediary method_66276Lnet/minecraft/class_1309;method_66276()Vofficial GLchl;G()V
-
playKineticHitSound
private void playKineticHitSound()- Mappings:
Namespace Name Mixin selector named playKineticHitSoundLnet/minecraft/entity/LivingEntity;playKineticHitSound()Vintermediary method_76773Lnet/minecraft/class_1309;method_76773()Vofficial HLchl;H()V
-
swapHandStacks
private void swapHandStacks()- Mappings:
Namespace Name Mixin selector named swapHandStacksLnet/minecraft/entity/LivingEntity;swapHandStacks()Vintermediary method_30127Lnet/minecraft/class_1309;method_30127()Vofficial ILchl;I()V
-
tickInVoid
protected void tickInVoid()Called when the entity is 64 blocks below the world's minimum Y position.Living entities use this to deal out of world damage.
- Overrides:
tickInVoidin classEntity- Mappings:
Namespace Name Mixin selector named tickInVoidLnet/minecraft/entity/Entity;tickInVoid()Vintermediary method_5825Lnet/minecraft/class_1297;method_5825()Vofficial aULcgk;aU()V
-
tickHandSwing
protected void tickHandSwing()- Mappings:
Namespace Name Mixin selector named tickHandSwingLnet/minecraft/entity/LivingEntity;tickHandSwing()Vintermediary method_6119Lnet/minecraft/class_1309;method_6119()Vofficial fvLchl;fv()V
-
getAttributeInstance
public @Nullable EntityAttributeInstance getAttributeInstance(RegistryEntry<EntityAttribute> attribute) - Mappings:
Namespace Name Mixin selector named getAttributeInstanceLnet/minecraft/entity/LivingEntity;getAttributeInstance(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;intermediary method_5996Lnet/minecraft/class_1309;method_5996(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1324;official hLchl;h(Ljd;)Lcio;
-
getAttributeValue
- Mappings:
Namespace Name Mixin selector named getAttributeValueLnet/minecraft/entity/LivingEntity;getAttributeValue(Lnet/minecraft/registry/entry/RegistryEntry;)Dintermediary method_45325Lnet/minecraft/class_1309;method_45325(Lnet/minecraft/class_6880;)Dofficial iLchl;i(Ljd;)D
-
getAttributeBaseValue
- Mappings:
Namespace Name Mixin selector named getAttributeBaseValueLnet/minecraft/entity/LivingEntity;getAttributeBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)Dintermediary method_45326Lnet/minecraft/class_1309;method_45326(Lnet/minecraft/class_6880;)Dofficial jLchl;j(Ljd;)D
-
getAttributes
- Mappings:
Namespace Name Mixin selector named getAttributesLnet/minecraft/entity/LivingEntity;getAttributes()Lnet/minecraft/entity/attribute/AttributeContainer;intermediary method_6127Lnet/minecraft/class_1309;method_6127()Lnet/minecraft/class_5131;official fwLchl;fw()Lcip;
-
getMainHandStack
- Mappings:
Namespace Name Mixin selector named getMainHandStackLnet/minecraft/entity/LivingEntity;getMainHandStack()Lnet/minecraft/item/ItemStack;intermediary method_6047Lnet/minecraft/class_1309;method_6047()Lnet/minecraft/class_1799;official fxLchl;fx()Ldlt;
-
getOffHandStack
- Mappings:
Namespace Name Mixin selector named getOffHandStackLnet/minecraft/entity/LivingEntity;getOffHandStack()Lnet/minecraft/item/ItemStack;intermediary method_6079Lnet/minecraft/class_1309;method_6079()Lnet/minecraft/class_1799;official fyLchl;fy()Ldlt;
-
getStackInArm
- Mappings:
Namespace Name Mixin selector named getStackInArmLnet/minecraft/entity/LivingEntity;getStackInArm(Lnet/minecraft/util/Arm;)Lnet/minecraft/item/ItemStack;intermediary method_61420Lnet/minecraft/class_1309;method_61420(Lnet/minecraft/class_1306;)Lnet/minecraft/class_1799;official bLchl;b(Lchb;)Ldlt;
-
getWeaponStack
- Overrides:
getWeaponStackin classEntity- Mappings:
Namespace Name Mixin selector named getWeaponStackLnet/minecraft/entity/Entity;getWeaponStack()Lnet/minecraft/item/ItemStack;intermediary method_59958Lnet/minecraft/class_1297;method_59958()Lnet/minecraft/class_1799;official eqLcgk;eq()Ldlt;
-
getAttackRange
- Mappings:
Namespace Name Mixin selector named getAttackRangeLnet/minecraft/entity/LivingEntity;getAttackRange()Lnet/minecraft/component/type/AttackRangeComponent;intermediary method_76693Lnet/minecraft/class_1309;method_76693()Lnet/minecraft/class_12392;official fzLchl;fz()Ldnu;
-
getActiveOrMainHandStack
- Mappings:
Namespace Name Mixin selector named getActiveOrMainHandStackLnet/minecraft/entity/LivingEntity;getActiveOrMainHandStack()Lnet/minecraft/item/ItemStack;intermediary method_76694Lnet/minecraft/class_1309;method_76694()Lnet/minecraft/class_1799;official fALchl;fA()Ldlt;
-
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 isHoldingLnet/minecraft/entity/LivingEntity;isHolding(Lnet/minecraft/item/Item;)Zintermediary method_24518Lnet/minecraft/class_1309;method_24518(Lnet/minecraft/class_1792;)Zofficial bLchl;b(Ldlp;)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 isHoldingLnet/minecraft/entity/LivingEntity;isHolding(Ljava/util/function/Predicate;)Zintermediary method_24520Lnet/minecraft/class_1309;method_24520(Ljava/util/function/Predicate;)Zofficial bLchl;b(Ljava/util/function/Predicate;)Z
-
getStackInHand
- Mappings:
Namespace Name Mixin selector named getStackInHandLnet/minecraft/entity/LivingEntity;getStackInHand(Lnet/minecraft/util/Hand;)Lnet/minecraft/item/ItemStack;intermediary method_5998Lnet/minecraft/class_1309;method_5998(Lnet/minecraft/class_1268;)Lnet/minecraft/class_1799;official bLchl;b(Lcdb;)Ldlt;
-
setStackInHand
- Mappings:
Namespace Name Mixin selector named setStackInHandLnet/minecraft/entity/LivingEntity;setStackInHand(Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)Vintermediary method_6122Lnet/minecraft/class_1309;method_6122(Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)Vofficial aLchl;a(Lcdb;Ldlt;)V
-
hasStackEquipped
- Mappings:
Namespace Name Mixin selector named hasStackEquippedLnet/minecraft/entity/LivingEntity;hasStackEquipped(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_6084Lnet/minecraft/class_1309;method_6084(Lnet/minecraft/class_1304;)Zofficial dLchl;d(Lcgv;)Z
-
canUseSlot
- Mappings:
Namespace Name Mixin selector named canUseSlotLnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_56991Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Zofficial eLchl;e(Lcgv;)Z
-
getEquippedStack
- Mappings:
Namespace Name Mixin selector named getEquippedStackLnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;intermediary method_6118Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;official aLchl;a(Lcgv;)Ldlt;
-
equipStack
- Mappings:
Namespace Name Mixin selector named equipStackLnet/minecraft/entity/LivingEntity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)Vintermediary method_5673Lnet/minecraft/class_1309;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vofficial aLchl;a(Lcgv;Ldlt;)V
-
getArmorVisibility
public float getArmorVisibility()- Mappings:
Namespace Name Mixin selector named getArmorVisibilityLnet/minecraft/entity/LivingEntity;getArmorVisibility()Fintermediary method_18396Lnet/minecraft/class_1309;method_18396()Fofficial fBLchl;fB()F
-
setSprinting
public void setSprinting(boolean sprinting) Sets whether the entity is sprinting.- Overrides:
setSprintingin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setSprintingLnet/minecraft/entity/Entity;setSprinting(Z)Vintermediary method_5728Lnet/minecraft/class_1297;method_5728(Z)Vofficial iLcgk;i(Z)V
-
getSoundVolume
protected float getSoundVolume()- Mappings:
Namespace Name Mixin selector named getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fofficial fCLchl;fC()F
-
getSoundPitch
public float getSoundPitch()- Mappings:
Namespace Name Mixin selector named getSoundPitchLnet/minecraft/entity/LivingEntity;getSoundPitch()Fintermediary method_6017Lnet/minecraft/class_1309;method_6017()Fofficial fDLchl;fD()F
-
isImmobile
protected boolean isImmobile()- Mappings:
Namespace Name Mixin selector named isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Zofficial fELchl;fE()Z
-
pushAwayFrom
- Overrides:
pushAwayFromin classEntity- Mappings:
Namespace Name Mixin selector named pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)Vintermediary method_5697Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)Vofficial hLcgk;h(Lcgk;)V
-
onDismounted
- Mappings:
Namespace Name Mixin selector named onDismountedLnet/minecraft/entity/LivingEntity;onDismounted(Lnet/minecraft/entity/Entity;)Vintermediary method_6038Lnet/minecraft/class_1309;method_6038(Lnet/minecraft/class_1297;)Vofficial HLchl;H(Lcgk;)V
-
shouldRenderName
public boolean shouldRenderName()Returns whether to render the name of the entity.This returns
truefor players andEntity.isCustomNameVisible()for other entities.- Overrides:
shouldRenderNamein classEntity- Returns:
- whether to render the name of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named shouldRenderNameLnet/minecraft/entity/Entity;shouldRenderName()Zintermediary method_5733Lnet/minecraft/class_1297;method_5733()Zofficial deLcgk;de()Z
-
getJumpVelocity
protected float getJumpVelocity()- Mappings:
Namespace Name Mixin selector named getJumpVelocityLnet/minecraft/entity/LivingEntity;getJumpVelocity()Fintermediary method_6106Lnet/minecraft/class_1309;method_6106()Fofficial fFLchl;fF()F
-
getJumpVelocity
protected float getJumpVelocity(float strength) - Mappings:
Namespace Name Mixin selector named getJumpVelocityLnet/minecraft/entity/LivingEntity;getJumpVelocity(F)Fintermediary method_56994Lnet/minecraft/class_1309;method_56994(F)Fofficial ALchl;A(F)F
-
getJumpBoostVelocityModifier
public float getJumpBoostVelocityModifier()- Mappings:
Namespace Name Mixin selector named getJumpBoostVelocityModifierLnet/minecraft/entity/LivingEntity;getJumpBoostVelocityModifier()Fintermediary method_37416Lnet/minecraft/class_1309;method_37416()Fofficial fGLchl;fG()F
-
jump
public void jump()- Mappings:
Namespace Name Mixin selector named jumpLnet/minecraft/entity/LivingEntity;jump()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vofficial uLchl;u()V
-
knockDownwards
protected void knockDownwards()- Mappings:
Namespace Name Mixin selector named knockDownwardsLnet/minecraft/entity/LivingEntity;knockDownwards()Vintermediary method_6093Lnet/minecraft/class_1309;method_6093()Vofficial fHLchl;fH()V
-
swimUpward
- Mappings:
Namespace Name Mixin selector named swimUpwardLnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)Vintermediary method_6010Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)Vofficial cLchl;c(Lbef;)V
-
getBaseWaterMovementSpeedMultiplier
protected float getBaseWaterMovementSpeedMultiplier()- Mappings:
Namespace Name Mixin selector named getBaseWaterMovementSpeedMultiplierLnet/minecraft/entity/LivingEntity;getBaseWaterMovementSpeedMultiplier()Fintermediary method_6120Lnet/minecraft/class_1309;method_6120()Fofficial fILchl;fI()F
-
canWalkOnFluid
- Mappings:
Namespace Name Mixin selector named canWalkOnFluidLnet/minecraft/entity/LivingEntity;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;)Zintermediary method_26319Lnet/minecraft/class_1309;method_26319(Lnet/minecraft/class_3610;)Zofficial aLchl;a(Lflb;)Z
-
getGravity
protected double getGravity()- Overrides:
getGravityin classEntity- Mappings:
Namespace Name Mixin selector named getGravityLnet/minecraft/entity/Entity;getGravity()Dintermediary method_7490Lnet/minecraft/class_1297;method_7490()Dofficial bsLcgk;bs()D
-
getEffectiveGravity
protected double getEffectiveGravity()- Mappings:
Namespace Name Mixin selector named getEffectiveGravityLnet/minecraft/entity/LivingEntity;getEffectiveGravity()Dintermediary method_61426Lnet/minecraft/class_1309;method_61426()Dofficial fJLchl;fJ()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 travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vofficial mLchl;m(Lftm;)V
-
isTravellingInFluid
- Mappings:
Namespace Name Mixin selector named isTravellingInFluidLnet/minecraft/entity/LivingEntity;isTravellingInFluid(Lnet/minecraft/fluid/FluidState;)Zintermediary method_76088Lnet/minecraft/class_1309;method_76088(Lnet/minecraft/class_3610;)Zofficial bLchl;b(Lflb;)Z
-
travelFlying
- Mappings:
Namespace Name Mixin selector named travelFlyingLnet/minecraft/entity/LivingEntity;travelFlying(Lnet/minecraft/util/math/Vec3d;F)Vintermediary method_70670Lnet/minecraft/class_1309;method_70670(Lnet/minecraft/class_243;F)Vofficial aLchl;a(Lftm;F)V
-
travelFlying
protected void travelFlying(Vec3d movementInput, float inWaterSpeed, float inLavaSpeed, float regularSpeed) - Mappings:
Namespace Name Mixin selector named travelFlyingLnet/minecraft/entity/LivingEntity;travelFlying(Lnet/minecraft/util/math/Vec3d;FFF)Vintermediary method_70671Lnet/minecraft/class_1309;method_70671(Lnet/minecraft/class_243;FFF)Vofficial aLchl;a(Lftm;FFF)V
-
travelMidAir
- Mappings:
Namespace Name Mixin selector named travelMidAirLnet/minecraft/entity/LivingEntity;travelMidAir(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_61428Lnet/minecraft/class_1309;method_61428(Lnet/minecraft/class_243;)Vofficial aLchl;a(Lftm;)V
-
travelInFluid
- Mappings:
Namespace Name Mixin selector named travelInFluidLnet/minecraft/entity/LivingEntity;travelInFluid(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_61429Lnet/minecraft/class_1309;method_61429(Lnet/minecraft/class_243;)Vofficial oLchl;o(Lftm;)V
-
travelInWater
- Mappings:
Namespace Name Mixin selector named travelInWaterLnet/minecraft/entity/LivingEntity;travelInWater(Lnet/minecraft/util/math/Vec3d;DZD)Vintermediary method_76087Lnet/minecraft/class_1309;method_76087(Lnet/minecraft/class_243;DZD)Vofficial aLchl;a(Lftm;DZD)V
-
travelInLava
- Mappings:
Namespace Name Mixin selector named travelInLavaLnet/minecraft/entity/LivingEntity;travelInLava(Lnet/minecraft/util/math/Vec3d;DZD)Vintermediary method_76089Lnet/minecraft/class_1309;method_76089(Lnet/minecraft/class_243;DZD)Vofficial bLchl;b(Lftm;DZD)V
-
resetVerticalVelocityInFluid
private void resetVerticalVelocityInFluid(double y) - Mappings:
Namespace Name Mixin selector named resetVerticalVelocityInFluidLnet/minecraft/entity/LivingEntity;resetVerticalVelocityInFluid(D)Vintermediary method_76090Lnet/minecraft/class_1309;method_76090(D)Vofficial jLchl;j(D)V
-
floatIfRidden
private void floatIfRidden()- Mappings:
Namespace Name Mixin selector named floatIfRiddenLnet/minecraft/entity/LivingEntity;floatIfRidden()Vintermediary method_76086Lnet/minecraft/class_1309;method_76086()Vofficial JLchl;J()V
-
travelGliding
- Mappings:
Namespace Name Mixin selector named travelGlidingLnet/minecraft/entity/LivingEntity;travelGliding(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_61417Lnet/minecraft/class_1309;method_61417(Lnet/minecraft/class_243;)Vofficial pLchl;p(Lftm;)V
-
stopGliding
public void stopGliding()- Mappings:
Namespace Name Mixin selector named stopGlidingLnet/minecraft/entity/LivingEntity;stopGliding()Vintermediary method_66281Lnet/minecraft/class_1309;method_66281()Vofficial fKLchl;fK()V
-
calcGlidingVelocity
- Mappings:
Namespace Name Mixin selector named calcGlidingVelocityLnet/minecraft/entity/LivingEntity;calcGlidingVelocity(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_61430Lnet/minecraft/class_1309;method_61430(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official qLchl;q(Lftm;)Lftm;
-
checkGlidingCollision
private void checkGlidingCollision(double oldSpeed, double newSpeed) - Mappings:
Namespace Name Mixin selector named checkGlidingCollisionLnet/minecraft/entity/LivingEntity;checkGlidingCollision(DD)Vintermediary method_61424Lnet/minecraft/class_1309;method_61424(DD)Vofficial cLchl;c(DD)V
-
travelControlled
- Mappings:
Namespace Name Mixin selector named travelControlledLnet/minecraft/entity/LivingEntity;travelControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_49483Lnet/minecraft/class_1309;method_49483(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial cLchl;c(Lddm;Lftm;)V
-
tickControlled
- Mappings:
Namespace Name Mixin selector named tickControlledLnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_49481Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Vofficial aLchl;a(Lddm;Lftm;)V
-
getControlledMovementInput
- Mappings:
Namespace Name Mixin selector named getControlledMovementInputLnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_49482Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official bLchl;b(Lddm;Lftm;)Lftm;
-
getSaddledSpeed
- Mappings:
Namespace Name Mixin selector named getSaddledSpeedLnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)Fintermediary method_49485Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)Fofficial fLchl;f(Lddm;)F
-
updateLimbs
public void updateLimbs(boolean flutter) - Mappings:
Namespace Name Mixin selector named updateLimbsLnet/minecraft/entity/LivingEntity;updateLimbs(Z)Vintermediary method_29242Lnet/minecraft/class_1309;method_29242(Z)Vofficial sLchl;s(Z)V
-
updateLimbs
protected void updateLimbs(float posDelta) - Mappings:
Namespace Name Mixin selector named updateLimbsLnet/minecraft/entity/LivingEntity;updateLimbs(F)Vintermediary method_48565Lnet/minecraft/class_1309;method_48565(F)Vofficial BLchl;B(F)V
-
applyMovementInput
- Mappings:
Namespace Name Mixin selector named applyMovementInputLnet/minecraft/entity/LivingEntity;applyMovementInput(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;intermediary method_26318Lnet/minecraft/class_1309;method_26318(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;official bLchl;b(Lftm;F)Lftm;
-
applyFluidMovingSpeed
- Mappings:
Namespace Name Mixin selector named applyFluidMovingSpeedLnet/minecraft/entity/LivingEntity;applyFluidMovingSpeed(DZLnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_26317Lnet/minecraft/class_1309;method_26317(DZLnet/minecraft/class_243;)Lnet/minecraft/class_243;official aLchl;a(DZLftm;)Lftm;
-
applyClimbingSpeed
- Mappings:
Namespace Name Mixin selector named applyClimbingSpeedLnet/minecraft/entity/LivingEntity;applyClimbingSpeed(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_18801Lnet/minecraft/class_1309;method_18801(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official rLchl;r(Lftm;)Lftm;
-
getMovementSpeed
private float getMovementSpeed(float slipperiness) - Mappings:
Namespace Name Mixin selector named getMovementSpeedLnet/minecraft/entity/LivingEntity;getMovementSpeed(F)Fintermediary method_18802Lnet/minecraft/class_1309;method_18802(F)Fofficial ILchl;I(F)F
-
getOffGroundSpeed
protected float getOffGroundSpeed()- Mappings:
Namespace Name Mixin selector named getOffGroundSpeedLnet/minecraft/entity/LivingEntity;getOffGroundSpeed()Fintermediary method_49484Lnet/minecraft/class_1309;method_49484()Fofficial fLLchl;fL()F
-
getMovementSpeed
public float getMovementSpeed()- Mappings:
Namespace Name Mixin selector named getMovementSpeedLnet/minecraft/entity/LivingEntity;getMovementSpeed()Fintermediary method_6029Lnet/minecraft/class_1309;method_6029()Fofficial fMLchl;fM()F
-
setMovementSpeed
public void setMovementSpeed(float movementSpeed) - Mappings:
Namespace Name Mixin selector named setMovementSpeedLnet/minecraft/entity/LivingEntity;setMovementSpeed(F)Vintermediary method_6125Lnet/minecraft/class_1309;method_6125(F)Vofficial CLchl;C(F)V
-
tryAttack
- Mappings:
Namespace Name Mixin selector named tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Zintermediary method_6121Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Zofficial cLchl;c(Laxf;Lcgk;)Z
-
knockbackTarget
- Mappings:
Namespace Name Mixin selector named knockbackTargetLnet/minecraft/entity/LivingEntity;knockbackTarget(Lnet/minecraft/entity/Entity;FLnet/minecraft/util/math/Vec3d;)Vintermediary method_75122Lnet/minecraft/class_1309;method_75122(Lnet/minecraft/class_1297;FLnet/minecraft/class_243;)Vofficial aLchl;a(Lcgk;FLftm;)V
-
playAttackSound
protected void playAttackSound()- Mappings:
Namespace Name Mixin selector named playAttackSoundLnet/minecraft/entity/LivingEntity;playAttackSound()Vintermediary method_59928Lnet/minecraft/class_1309;method_59928()Vofficial fNLchl;fN()V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin 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 tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcgk;g()V
-
isInPiercingCooldown
- Mappings:
Namespace Name Mixin selector named isInPiercingCooldownLnet/minecraft/entity/LivingEntity;isInPiercingCooldown(Lnet/minecraft/entity/Entity;I)Zintermediary method_75118Lnet/minecraft/class_1309;method_75118(Lnet/minecraft/class_1297;I)Zofficial bLchl;b(Lcgk;I)Z
-
startPiercingCooldown
- Mappings:
Namespace Name Mixin selector named startPiercingCooldownLnet/minecraft/entity/LivingEntity;startPiercingCooldown(Lnet/minecraft/entity/Entity;)Vintermediary method_75119Lnet/minecraft/class_1309;method_75119(Lnet/minecraft/class_1297;)Vofficial ELchl;E(Lcgk;)V
-
getPiercedEntityCount
- Mappings:
Namespace Name Mixin selector named getPiercedEntityCountLnet/minecraft/entity/LivingEntity;getPiercedEntityCount(Ljava/util/function/Predicate;)Iintermediary method_76444Lnet/minecraft/class_1309;method_76444(Ljava/util/function/Predicate;)Iofficial cLchl;c(Ljava/util/function/Predicate;)I
-
pierce
public boolean pierce(EquipmentSlot slot, Entity target, float damage, boolean dealDamage, boolean knockback, boolean dismount) - Mappings:
Namespace Name Mixin selector named pierceLnet/minecraft/entity/LivingEntity;pierce(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/entity/Entity;FZZZ)Zintermediary method_75123Lnet/minecraft/class_1309;method_75123(Lnet/minecraft/class_1304;Lnet/minecraft/class_1297;FZZZ)Zofficial aLchl;a(Lcgv;Lcgk;FZZZ)Z
-
beforePlayerAttack
public void beforePlayerAttack()- Mappings:
Namespace Name Mixin selector named beforePlayerAttackLnet/minecraft/entity/LivingEntity;beforePlayerAttack()Vintermediary method_75124Lnet/minecraft/class_1309;method_75124()Vofficial fOLchl;fO()V
-
sendEquipmentChanges
private void sendEquipmentChanges()Sends equipment changes to nearby players.- Mappings:
Namespace Name Mixin selector named sendEquipmentChangesLnet/minecraft/entity/LivingEntity;sendEquipmentChanges()Vintermediary method_30128Lnet/minecraft/class_1309;method_30128()Vofficial KLchl;K()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 getEquipmentChangesLnet/minecraft/entity/LivingEntity;getEquipmentChanges()Ljava/util/Map;intermediary method_30129Lnet/minecraft/class_1309;method_30129()Ljava/util/Map;official LLchl;L()Ljava/util/Map;
-
areItemsDifferent
- Mappings:
Namespace Name Mixin selector named areItemsDifferentLnet/minecraft/entity/LivingEntity;areItemsDifferent(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Zintermediary method_45324Lnet/minecraft/class_1309;method_45324(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Zofficial aLchl;a(Ldlt;Ldlt;)Z
-
checkHandStackSwap
Notifies nearby players if the stacks in the hands have been swapped.- Mappings:
Namespace Name Mixin selector named checkHandStackSwapLnet/minecraft/entity/LivingEntity;checkHandStackSwap(Ljava/util/Map;)Vintermediary method_30121Lnet/minecraft/class_1309;method_30121(Ljava/util/Map;)Vofficial aLchl;a(Ljava/util/Map;)V
-
sendEquipmentChanges
Sends equipment changes to nearby players.- See Also:
- Mappings:
Namespace Name Mixin selector named sendEquipmentChangesLnet/minecraft/entity/LivingEntity;sendEquipmentChanges(Ljava/util/Map;)Vintermediary method_30123Lnet/minecraft/class_1309;method_30123(Ljava/util/Map;)Vofficial bLchl;b(Ljava/util/Map;)V
-
turnHead
protected void turnHead(float bodyRotation) - Mappings:
Namespace Name Mixin selector named turnHeadLnet/minecraft/entity/LivingEntity;turnHead(F)Vintermediary method_6031Lnet/minecraft/class_1309;method_6031(F)Vofficial DLchl;D(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 getMaxRelativeHeadRotationLnet/minecraft/entity/LivingEntity;getMaxRelativeHeadRotation()Fintermediary method_53964Lnet/minecraft/class_1309;method_53964()Fofficial fPLchl;fP()F
-
tickMovement
public void tickMovement()- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial d_Lchl;d_()V
-
tickMovementInput
protected void tickMovementInput()- Mappings:
Namespace Name Mixin selector named tickMovementInputLnet/minecraft/entity/LivingEntity;tickMovementInput()Vintermediary method_66282Lnet/minecraft/class_1309;method_66282()Vofficial fQLchl;fQ()V
-
hurtByWater
public boolean hurtByWater()- Mappings:
Namespace Name Mixin selector named hurtByWaterLnet/minecraft/entity/LivingEntity;hurtByWater()Zintermediary method_29503Lnet/minecraft/class_1309;method_29503()Zofficial fRLchl;fR()Z
-
isJumping
public boolean isJumping()- Mappings:
Namespace Name Mixin selector named isJumpingLnet/minecraft/entity/LivingEntity;isJumping()Zintermediary method_70673Lnet/minecraft/class_1309;method_70673()Zofficial fSLchl;fS()Z
-
tickGliding
protected void tickGliding()- Mappings:
Namespace Name Mixin selector named tickGlidingLnet/minecraft/entity/LivingEntity;tickGliding()Vintermediary method_6053Lnet/minecraft/class_1309;method_6053()Vofficial fTLchl;fT()V
-
canGlide
protected boolean canGlide()- Mappings:
Namespace Name Mixin selector named canGlideLnet/minecraft/entity/LivingEntity;canGlide()Zintermediary method_63628Lnet/minecraft/class_1309;method_63628()Zofficial fULchl;fU()Z
-
tickNewAi
protected void tickNewAi()- Mappings:
Namespace Name Mixin selector named tickNewAiLnet/minecraft/entity/LivingEntity;tickNewAi()Vintermediary method_6023Lnet/minecraft/class_1309;method_6023()Vofficial fVLchl;fV()V
-
tickCramming
protected void tickCramming()- Mappings:
Namespace Name Mixin selector named tickCrammingLnet/minecraft/entity/LivingEntity;tickCramming()Vintermediary method_6070Lnet/minecraft/class_1309;method_6070()Vofficial qLchl;q()V
-
tickRiptide
- Mappings:
Namespace Name Mixin selector named tickRiptideLnet/minecraft/entity/LivingEntity;tickRiptide(Lnet/minecraft/util/math/Box;Lnet/minecraft/util/math/Box;)Vintermediary method_6035Lnet/minecraft/class_1309;method_6035(Lnet/minecraft/class_238;Lnet/minecraft/class_238;)Vofficial aLchl;a(Lfth;Lfth;)V
-
pushAway
- Mappings:
Namespace Name Mixin selector named pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)Vintermediary method_6087Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)Vofficial FLchl;F(Lcgk;)V
-
attackLivingEntity
- Mappings:
Namespace Name Mixin selector named attackLivingEntityLnet/minecraft/entity/LivingEntity;attackLivingEntity(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_5997Lnet/minecraft/class_1309;method_5997(Lnet/minecraft/class_1309;)Vofficial fLchl;f(Lchl;)V
-
isUsingRiptide
public boolean isUsingRiptide()- Mappings:
Namespace Name Mixin selector named isUsingRiptideLnet/minecraft/entity/LivingEntity;isUsingRiptide()Zintermediary method_6123Lnet/minecraft/class_1309;method_6123()Zofficial fWLchl;fW()Z
-
stopRiding
public void stopRiding()Stops riding the vehicle if present.For example, if
playeris riding on a horse,player.stopRiding()will dismount that player from the horse.- Overrides:
stopRidingin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named stopRidingLnet/minecraft/entity/Entity;stopRiding()Vintermediary method_5848Lnet/minecraft/class_1297;method_5848()Vofficial cfLcgk;cf()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classEntity- Mappings:
Namespace Name Mixin selector named tickRidingLnet/minecraft/entity/Entity;tickRiding()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vofficial tLcgk;t()V
-
getInterpolator
- Overrides:
getInterpolatorin classEntity- Mappings:
Namespace Name Mixin selector named getInterpolatorLnet/minecraft/entity/Entity;getInterpolator()Lnet/minecraft/entity/PositionInterpolator;intermediary method_66233Lnet/minecraft/class_1297;method_66233()Lnet/minecraft/class_10584;official l_Lcgk;l_()Lchf;
-
updateTrackedHeadRotation
public void updateTrackedHeadRotation(float yaw, int interpolationSteps) - Overrides:
updateTrackedHeadRotationin classEntity- Mappings:
Namespace Name Mixin selector named updateTrackedHeadRotationLnet/minecraft/entity/Entity;updateTrackedHeadRotation(FI)Vintermediary method_5683Lnet/minecraft/class_1297;method_5683(FI)Vofficial aLcgk;a(FI)V
-
setJumping
public void setJumping(boolean jumping) - Mappings:
Namespace Name Mixin selector named setJumpingLnet/minecraft/entity/LivingEntity;setJumping(Z)Vintermediary method_6100Lnet/minecraft/class_1309;method_6100(Z)Vofficial tLchl;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 triggerItemPickedUpByEntityCriteriaLnet/minecraft/entity/LivingEntity;triggerItemPickedUpByEntityCriteria(Lnet/minecraft/entity/ItemEntity;)Vintermediary method_29499Lnet/minecraft/class_1309;method_29499(Lnet/minecraft/class_1542;)Vofficial aLchl;a(Lczl;)V
-
sendPickup
- Mappings:
Namespace Name Mixin selector named sendPickupLnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)Vintermediary method_6103Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)Vofficial aLchl;a(Lcgk;I)V
-
canSee
- Mappings:
Namespace Name Mixin selector named canSeeLnet/minecraft/entity/LivingEntity;canSee(Lnet/minecraft/entity/Entity;)Zintermediary method_6057Lnet/minecraft/class_1309;method_6057(Lnet/minecraft/class_1297;)Zofficial GLchl;G(Lcgk;)Z
-
canSee
public boolean canSee(Entity entity, RaycastContext.ShapeType shapeType, RaycastContext.FluidHandling fluidHandling, double entityY) - Mappings:
Namespace Name Mixin selector named canSeeLnet/minecraft/entity/LivingEntity;canSee(Lnet/minecraft/entity/Entity;Lnet/minecraft/world/RaycastContext$ShapeType;Lnet/minecraft/world/RaycastContext$FluidHandling;D)Zintermediary method_64618Lnet/minecraft/class_1309;method_64618(Lnet/minecraft/class_1297;Lnet/minecraft/class_3959$class_3960;Lnet/minecraft/class_3959$class_242;D)Zofficial aLchl;a(Lcgk;Ldvw$a;Ldvw$b;D)Z
-
getYaw
public float getYaw(float tickProgress) -
getHandSwingProgress
public float getHandSwingProgress(float tickProgress) - Mappings:
Namespace Name Mixin selector named getHandSwingProgressLnet/minecraft/entity/LivingEntity;getHandSwingProgress(F)Fintermediary method_6055Lnet/minecraft/class_1309;method_6055(F)Fofficial ELchl;E(F)F
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHitin classEntity- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector named canHitLnet/minecraft/entity/Entity;canHit()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Zofficial bXLcgk;bX()Z
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushablein classEntity- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushableLnet/minecraft/entity/Entity;isPushable()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Zofficial bYLcgk;bY()Z
-
getHeadYaw
public float getHeadYaw()Returns the head yaw of the entity.- Overrides:
getHeadYawin classEntity- Returns:
- the head yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getHeadYawLnet/minecraft/entity/Entity;getHeadYaw()Fintermediary method_5791Lnet/minecraft/class_1297;method_5791()Fofficial cSLcgk;cS()F
-
setHeadYaw
public void setHeadYaw(float headYaw) Sets the head yaw of this entity.- Overrides:
setHeadYawin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setHeadYawLnet/minecraft/entity/Entity;setHeadYaw(F)Vintermediary method_5847Lnet/minecraft/class_1297;method_5847(F)Vofficial rLcgk;r(F)V
-
setBodyYaw
public void setBodyYaw(float bodyYaw) Sets the body yaw of this entity.- Overrides:
setBodyYawin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setBodyYawLnet/minecraft/entity/Entity;setBodyYaw(F)Vintermediary method_5636Lnet/minecraft/class_1297;method_5636(F)Vofficial sLcgk;s(F)V
-
positionInPortal
Returns the entity's position in the portal after teleportation.- Overrides:
positionInPortalin classEntity- Returns:
- the entity's position in the portal after teleportation
- See Also:
- Mappings:
Namespace Name Mixin selector named positionInPortalLnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;intermediary method_30633Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;official aLcgk;a(Liz$a;Lber$a;)Lftm;
-
positionInPortal
- Mappings:
Namespace Name Mixin selector named positionInPortalLnet/minecraft/entity/LivingEntity;positionInPortal(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;intermediary method_31079Lnet/minecraft/class_1309;method_31079(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;official nLchl;n(Lftm;)Lftm;
-
getAbsorptionAmount
public float getAbsorptionAmount()- Mappings:
Namespace Name Mixin selector named getAbsorptionAmountLnet/minecraft/entity/LivingEntity;getAbsorptionAmount()Fintermediary method_6067Lnet/minecraft/class_1309;method_6067()Fofficial fXLchl;fX()F
-
setAbsorptionAmount
public final void setAbsorptionAmount(float absorptionAmount) - Mappings:
Namespace Name Mixin selector named setAbsorptionAmountLnet/minecraft/entity/LivingEntity;setAbsorptionAmount(F)Vintermediary method_6073Lnet/minecraft/class_1309;method_6073(F)Vofficial FLchl;F(F)V
-
setAbsorptionAmountUnclamped
protected void setAbsorptionAmountUnclamped(float absorptionAmount) - Mappings:
Namespace Name Mixin selector named setAbsorptionAmountUnclampedLnet/minecraft/entity/LivingEntity;setAbsorptionAmountUnclamped(F)Vintermediary method_52544Lnet/minecraft/class_1309;method_52544(F)Vofficial GLchl;G(F)V
-
enterCombat
public void enterCombat()- Mappings:
Namespace Name Mixin selector named enterCombatLnet/minecraft/entity/LivingEntity;enterCombat()Vintermediary method_6000Lnet/minecraft/class_1309;method_6000()Vofficial g_Lchl;g_()V
-
endCombat
public void endCombat()- Mappings:
Namespace Name Mixin selector named endCombatLnet/minecraft/entity/LivingEntity;endCombat()Vintermediary method_6044Lnet/minecraft/class_1309;method_6044()Vofficial P_Lchl;P_()V
-
markEffectsDirty
protected void markEffectsDirty()- Mappings:
Namespace Name Mixin selector named markEffectsDirtyLnet/minecraft/entity/LivingEntity;markEffectsDirty()Vintermediary method_6008Lnet/minecraft/class_1309;method_6008()Vofficial fYLchl;fY()V
-
getMainArm
- Mappings:
Namespace Name Mixin selector named getMainArmLnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;intermediary method_6068Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;official atLchl;at()Lchb;
-
isUsingItem
public boolean isUsingItem()- Mappings:
Namespace Name Mixin selector named isUsingItemLnet/minecraft/entity/LivingEntity;isUsingItem()Zintermediary method_6115Lnet/minecraft/class_1309;method_6115()Zofficial fZLchl;fZ()Z
-
getActiveHand
- Mappings:
Namespace Name Mixin selector named getActiveHandLnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;intermediary method_6058Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;official gaLchl;ga()Lcdb;
-
tickActiveItemStack
private void tickActiveItemStack()- Mappings:
Namespace Name Mixin selector named tickActiveItemStackLnet/minecraft/entity/LivingEntity;tickActiveItemStack()Vintermediary method_6076Lnet/minecraft/class_1309;method_6076()Vofficial NLchl;N()V
-
createItemEntity
private @Nullable ItemEntity createItemEntity(ItemStack stack, boolean atSelf, boolean retainOwnership) - Mappings:
Namespace Name Mixin selector named createItemEntityLnet/minecraft/entity/LivingEntity;createItemEntity(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;intermediary method_67517Lnet/minecraft/class_1309;method_67517(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;official bLchl;b(Ldlt;ZZ)Lczl;
-
tickItemStackUsage
- Mappings:
Namespace Name Mixin selector named tickItemStackUsageLnet/minecraft/entity/LivingEntity;tickItemStackUsage(Lnet/minecraft/item/ItemStack;)Vintermediary method_37119Lnet/minecraft/class_1309;method_37119(Lnet/minecraft/class_1799;)Vofficial a_Lchl;a_(Ldlt;)V
-
updateLeaningPitch
private void updateLeaningPitch()- Mappings:
Namespace Name Mixin selector named updateLeaningPitchLnet/minecraft/entity/LivingEntity;updateLeaningPitch()Vintermediary method_6072Lnet/minecraft/class_1309;method_6072()Vofficial PLchl;P()V
-
setLivingFlag
protected void setLivingFlag(int mask, boolean value) - Mappings:
Namespace Name Mixin selector named setLivingFlagLnet/minecraft/entity/LivingEntity;setLivingFlag(IZ)Vintermediary method_6085Lnet/minecraft/class_1309;method_6085(IZ)Vofficial cLchl;c(IZ)V
-
setCurrentHand
- Mappings:
Namespace Name Mixin selector named setCurrentHandLnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)Vintermediary method_6019Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)Vofficial cLchl;c(Lcdb;)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:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLalz;a(Lalw;)V
-
lookAt
Changes this entity's pitch and yaw to look attarget.- Overrides:
lookAtin classEntity- Mappings:
Namespace Name Mixin selector named lookAtLnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_5702Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)Vofficial aLcgk;a(Lep$a;Lftm;)V
-
lerpYaw
public float lerpYaw(float tickProgress) -
spawnItemParticles
- Mappings:
Namespace Name Mixin selector named spawnItemParticlesLnet/minecraft/entity/LivingEntity;spawnItemParticles(Lnet/minecraft/item/ItemStack;I)Vintermediary method_6037Lnet/minecraft/class_1309;method_6037(Lnet/minecraft/class_1799;I)Vofficial bLchl;b(Ldlt;I)V
-
consumeItem
protected void consumeItem()- Mappings:
Namespace Name Mixin selector named consumeItemLnet/minecraft/entity/LivingEntity;consumeItem()Vintermediary method_6040Lnet/minecraft/class_1309;method_6040()Vofficial Q_Lchl;Q_()V
-
giveOrDropStack
- Mappings:
Namespace Name Mixin selector named giveOrDropStackLnet/minecraft/entity/LivingEntity;giveOrDropStack(Lnet/minecraft/item/ItemStack;)Vintermediary method_64399Lnet/minecraft/class_1309;method_64399(Lnet/minecraft/class_1799;)Vofficial bLchl;b(Ldlt;)V
-
getActiveItem
- Mappings:
Namespace Name Mixin selector named getActiveItemLnet/minecraft/entity/LivingEntity;getActiveItem()Lnet/minecraft/item/ItemStack;intermediary method_6030Lnet/minecraft/class_1309;method_6030()Lnet/minecraft/class_1799;official gbLchl;gb()Ldlt;
-
getItemUseTimeLeft
public int getItemUseTimeLeft()- Mappings:
Namespace Name Mixin selector named getItemUseTimeLeftLnet/minecraft/entity/LivingEntity;getItemUseTimeLeft()Iintermediary method_6014Lnet/minecraft/class_1309;method_6014()Iofficial gcLchl;gc()I
-
getItemUseTime
public int getItemUseTime()- Mappings:
Namespace Name Mixin selector named getItemUseTimeLnet/minecraft/entity/LivingEntity;getItemUseTime()Iintermediary method_6048Lnet/minecraft/class_1309;method_6048()Iofficial gdLchl;gd()I
-
getItemUseTime
public float getItemUseTime(float baseTime) - Mappings:
Namespace Name Mixin selector named getItemUseTimeLnet/minecraft/entity/LivingEntity;getItemUseTime(F)Fintermediary method_75120Lnet/minecraft/class_1309;method_75120(F)Fofficial HLchl;H(F)F
-
stopUsingItem
public void stopUsingItem()- Mappings:
Namespace Name Mixin selector named stopUsingItemLnet/minecraft/entity/LivingEntity;stopUsingItem()Vintermediary method_6075Lnet/minecraft/class_1309;method_6075()Vofficial geLchl;ge()V
-
clearActiveItem
public void clearActiveItem()- Mappings:
Namespace Name Mixin selector named clearActiveItemLnet/minecraft/entity/LivingEntity;clearActiveItem()Vintermediary method_6021Lnet/minecraft/class_1309;method_6021()Vofficial gfLchl;gf()V
-
isBlocking
public boolean isBlocking()- Mappings:
Namespace Name Mixin selector named isBlockingLnet/minecraft/entity/LivingEntity;isBlocking()Zintermediary method_6039Lnet/minecraft/class_1309;method_6039()Zofficial ggLchl;gg()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 getBlockingItemLnet/minecraft/entity/LivingEntity;getBlockingItem()Lnet/minecraft/item/ItemStack;intermediary method_62821Lnet/minecraft/class_1309;method_62821()Lnet/minecraft/class_1799;official ghLchl;gh()Ldlt;
-
isHoldingOntoLadder
public boolean isHoldingOntoLadder()- Returns:
trueif this entity should not lose height while in a climbing state- See Also:
- Mappings:
Namespace Name Mixin selector named isHoldingOntoLadderLnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Zintermediary method_21754Lnet/minecraft/class_1309;method_21754()Zofficial giLchl;gi()Z
-
isGliding
public boolean isGliding()- Mappings:
Namespace Name Mixin selector named isGlidingLnet/minecraft/entity/LivingEntity;isGliding()Zintermediary method_6128Lnet/minecraft/class_1309;method_6128()Zofficial gjLchl;gj()Z
-
isInSwimmingPose
public boolean isInSwimmingPose()Returns whether the entity is in swimming pose.This includes crawling entities and entities using elytra that aren't fall-flying. Players start crawling if they would otherwise collide with blocks (for example, when the player is in a 1 block tall tunnel).
- Overrides:
isInSwimmingPosein classEntity- Returns:
- whether the entity is in swimming pose
- See Also:
- Mappings:
Namespace Name Mixin selector named isInSwimmingPoseLnet/minecraft/entity/Entity;isInSwimmingPose()Zintermediary method_20232Lnet/minecraft/class_1297;method_20232()Zofficial cCLcgk;cC()Z
-
getGlidingTicks
public int getGlidingTicks()- Mappings:
Namespace Name Mixin selector named getGlidingTicksLnet/minecraft/entity/LivingEntity;getGlidingTicks()Iintermediary method_6003Lnet/minecraft/class_1309;method_6003()Iofficial gkLchl;gk()I
-
teleport
public boolean teleport(double x, double y, double z, boolean particleEffects) - Mappings:
Namespace Name Mixin selector named teleportLnet/minecraft/entity/LivingEntity;teleport(DDDZ)Zintermediary method_6082Lnet/minecraft/class_1309;method_6082(DDDZ)Zofficial bLchl;b(DDDZ)Z
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Mappings:
Namespace Name Mixin selector named isAffectedBySplashPotionsLnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Zintermediary method_6086Lnet/minecraft/class_1309;method_6086()Zofficial glLchl;gl()Z
-
isMobOrPlayer
public boolean isMobOrPlayer()- Mappings:
Namespace Name Mixin selector named isMobOrPlayerLnet/minecraft/entity/LivingEntity;isMobOrPlayer()Zintermediary method_6102Lnet/minecraft/class_1309;method_6102()Zofficial gmLchl;gm()Z
-
setNearbySongPlaying
- Mappings:
Namespace Name Mixin selector named setNearbySongPlayingLnet/minecraft/entity/LivingEntity;setNearbySongPlaying(Lnet/minecraft/util/math/BlockPos;Z)Vintermediary method_6006Lnet/minecraft/class_1309;method_6006(Lnet/minecraft/class_2338;Z)Vofficial aLchl;a(Lis;Z)V
-
canPickUpLoot
public boolean canPickUpLoot()- Mappings:
Namespace Name Mixin selector named canPickUpLootLnet/minecraft/entity/LivingEntity;canPickUpLoot()Zintermediary method_5936Lnet/minecraft/class_1309;method_5936()Zofficial gnLchl;gn()Z
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official aLcgk;a(Lchx;)Lcgn;
-
getBaseDimensions
- Mappings:
Namespace Name Mixin selector named getBaseDimensionsLnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_55694Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official bLchl;b(Lchx;)Lcgn;
-
getPoses
- Mappings:
Namespace Name Mixin selector named getPosesLnet/minecraft/entity/LivingEntity;getPoses()Lcom/google/common/collect/ImmutableList;intermediary method_24831Lnet/minecraft/class_1309;method_24831()Lcom/google/common/collect/ImmutableList;official goLchl;go()Lcom/google/common/collect/ImmutableList;
-
getBoundingBox
- Mappings:
Namespace Name Mixin selector named getBoundingBoxLnet/minecraft/entity/LivingEntity;getBoundingBox(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/util/math/Box;intermediary method_24833Lnet/minecraft/class_1309;method_24833(Lnet/minecraft/class_4050;)Lnet/minecraft/class_238;official fLchl;f(Lchx;)Lfth;
-
wouldNotSuffocateInPose
- Mappings:
Namespace Name Mixin selector named wouldNotSuffocateInPoseLnet/minecraft/entity/LivingEntity;wouldNotSuffocateInPose(Lnet/minecraft/entity/EntityPose;)Zintermediary method_52542Lnet/minecraft/class_1309;method_52542(Lnet/minecraft/class_4050;)Zofficial gLchl;g(Lchx;)Z
-
canUsePortals
public boolean canUsePortals(boolean allowVehicles) Returns whether the entity can use nether portals and end portals.EnderDragonEntity,WitherEntity, andFishingBobberEntitycannot use portals.- Overrides:
canUsePortalsin classEntity- Returns:
- whether the entity can use nether portals and end portals
- Mappings:
Namespace Name Mixin selector named canUsePortalsLnet/minecraft/entity/Entity;canUsePortals(Z)Zintermediary method_5822Lnet/minecraft/class_1297;method_5822(Z)Zofficial oLcgk;o(Z)Z
-
getSleepingPosition
- Mappings:
Namespace Name Mixin selector named getSleepingPositionLnet/minecraft/entity/LivingEntity;getSleepingPosition()Ljava/util/Optional;intermediary method_18398Lnet/minecraft/class_1309;method_18398()Ljava/util/Optional;official gpLchl;gp()Ljava/util/Optional;
-
setSleepingPosition
- Mappings:
Namespace Name Mixin selector named setSleepingPositionLnet/minecraft/entity/LivingEntity;setSleepingPosition(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_18402Lnet/minecraft/class_1309;method_18402(Lnet/minecraft/class_2338;)Vofficial gLchl;g(Lis;)V
-
clearSleepingPosition
public void clearSleepingPosition()- Mappings:
Namespace Name Mixin selector named clearSleepingPositionLnet/minecraft/entity/LivingEntity;clearSleepingPosition()Vintermediary method_18399Lnet/minecraft/class_1309;method_18399()Vofficial gqLchl;gq()V
-
isSleeping
public boolean isSleeping()- Mappings:
Namespace Name Mixin selector named isSleepingLnet/minecraft/entity/LivingEntity;isSleeping()Zintermediary method_6113Lnet/minecraft/class_1309;method_6113()Zofficial grLchl;gr()Z
-
sleep
- Mappings:
Namespace Name Mixin selector named sleepLnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_18403Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)Vofficial bLchl;b(Lis;)V
-
setPositionInBed
- Mappings:
Namespace Name Mixin selector named setPositionInBedLnet/minecraft/entity/LivingEntity;setPositionInBed(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_18392Lnet/minecraft/class_1309;method_18392(Lnet/minecraft/class_2338;)Vofficial aLchl;a(Lis;)V
-
isSleepingInBed
private boolean isSleepingInBed()- Mappings:
Namespace Name Mixin selector named isSleepingInBedLnet/minecraft/entity/LivingEntity;isSleepingInBed()Zintermediary method_18406Lnet/minecraft/class_1309;method_18406()Zofficial QLchl;Q()Z
-
wakeUp
public void wakeUp()Wakes this entity up.- See Also:
- Mappings:
Namespace Name Mixin selector named wakeUpLnet/minecraft/entity/LivingEntity;wakeUp()Vintermediary method_18400Lnet/minecraft/class_1309;method_18400()Vofficial gsLchl;gs()V
-
getSleepingDirection
- Mappings:
Namespace Name Mixin selector named getSleepingDirectionLnet/minecraft/entity/LivingEntity;getSleepingDirection()Lnet/minecraft/util/math/Direction;intermediary method_18401Lnet/minecraft/class_1309;method_18401()Lnet/minecraft/class_2350;official gtLchl;gt()Liz;
-
isInsideWall
public boolean isInsideWall()Returns whether the entity is in a wall and should suffocate.This returns
falseifEntity.noClipistrue; otherwise, this returnstrueif the eye position is occupied by a block that can suffocate.- Overrides:
isInsideWallin classEntity- Returns:
- whether the entity is in a wall and should suffocate
- Mappings:
Namespace Name Mixin selector named isInsideWallLnet/minecraft/entity/Entity;isInsideWall()Zintermediary method_5757Lnet/minecraft/class_1297;method_5757()Zofficial ccLcgk;cc()Z
-
getProjectileType
- Mappings:
Namespace Name Mixin selector named getProjectileTypeLnet/minecraft/entity/LivingEntity;getProjectileType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;intermediary method_18808Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;official dLchl;d(Ldlt;)Ldlt;
-
getEquipmentBreakStatus
- Mappings:
Namespace Name Mixin selector named getEquipmentBreakStatusLnet/minecraft/entity/LivingEntity;getEquipmentBreakStatus(Lnet/minecraft/entity/EquipmentSlot;)Bintermediary method_20237Lnet/minecraft/class_1309;method_20237(Lnet/minecraft/class_1304;)Bofficial gLchl;g(Lcgv;)B
-
sendEquipmentBreakStatus
- Mappings:
Namespace Name Mixin selector named sendEquipmentBreakStatusLnet/minecraft/entity/LivingEntity;sendEquipmentBreakStatus(Lnet/minecraft/item/Item;Lnet/minecraft/entity/EquipmentSlot;)Vintermediary method_20235Lnet/minecraft/class_1309;method_20235(Lnet/minecraft/class_1792;Lnet/minecraft/class_1304;)Vofficial aLchl;a(Ldlp;Lcgv;)V
-
onEquipmentRemoved
private void onEquipmentRemoved(ItemStack removedEquipment, EquipmentSlot slot, AttributeContainer container) - Mappings:
Namespace Name Mixin selector named onEquipmentRemovedLnet/minecraft/entity/LivingEntity;onEquipmentRemoved(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/entity/attribute/AttributeContainer;)Vintermediary method_61422Lnet/minecraft/class_1309;method_61422(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;Lnet/minecraft/class_5131;)Vofficial aLchl;a(Ldlt;Lcgv;Lcip;)V
-
canEquipFromDispenser
- Mappings:
Namespace Name Mixin selector named canEquipFromDispenserLnet/minecraft/entity/LivingEntity;canEquipFromDispenser(Lnet/minecraft/item/ItemStack;)Zintermediary method_63625Lnet/minecraft/class_1309;method_63625(Lnet/minecraft/class_1799;)Zofficial eLchl;e(Ldlt;)Z
-
canDispenserEquipSlot
- Mappings:
Namespace Name Mixin selector named canDispenserEquipSlotLnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63626Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Zofficial fLchl;f(Lcgv;)Z
-
getPreferredEquipmentSlot
- Mappings:
Namespace Name Mixin selector named getPreferredEquipmentSlotLnet/minecraft/entity/LivingEntity;getPreferredEquipmentSlot(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/EquipmentSlot;intermediary method_32326Lnet/minecraft/class_1309;method_32326(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1304;official fLchl;f(Ldlt;)Lcgv;
-
canEquip
- Mappings:
Namespace Name Mixin selector named canEquipLnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63623Lnet/minecraft/class_1309;method_63623(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Zofficial aLchl;a(Ldlt;Lcgv;)Z
-
getStackReference
- Mappings:
Namespace Name Mixin selector named getStackReferenceLnet/minecraft/entity/LivingEntity;getStackReference(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/inventory/StackReference;intermediary method_32321Lnet/minecraft/class_1309;method_32321(Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;)Lnet/minecraft/class_5630;official aLchl;a(Lchl;Lcgv;)Lcic;
-
getEquipmentSlot
- Mappings:
Namespace Name Mixin selector named getEquipmentSlotLnet/minecraft/entity/LivingEntity;getEquipmentSlot(I)Lnet/minecraft/entity/EquipmentSlot;intermediary method_32322Lnet/minecraft/class_1309;method_32322(I)Lnet/minecraft/class_1304;official rLchl;r(I)Lcgv;
-
getStackReference
- Specified by:
getStackReferencein interfaceStackReferenceGetter- Overrides:
getStackReferencein classEntity- Mappings:
Namespace Name Mixin selector named getStackReferenceLnet/minecraft/inventory/StackReferenceGetter;getStackReference(I)Lnet/minecraft/inventory/StackReference;intermediary method_32318Lnet/minecraft/class_12260;method_32318(I)Lnet/minecraft/class_5630;official a_Lcid;a_(I)Lcic;
-
canFreeze
public boolean canFreeze()Returns whether the entity can freeze.- Overrides:
canFreezein classEntity- Returns:
- whether the entity can freeze
- Implementation Note:
- Entities cannot be frozen if they are in the
EntityTypeTags.FREEZE_IMMUNE_ENTITY_TYPEStag. In addition to this,LivingEntitycannot be frozen if they are spectator or if they wear an item insideItemTags.FREEZE_IMMUNE_WEARABLEStag. - Mappings:
Namespace Name Mixin selector named canFreezeLnet/minecraft/entity/Entity;canFreeze()Zintermediary method_32316Lnet/minecraft/class_1297;method_32316()Zofficial eaLcgk;ea()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:
isGlowingin classEntity- Returns:
- whether the entity is glowing, checking the entity flags on the client
- See Also:
- Mappings:
Namespace Name Mixin selector named isGlowingLnet/minecraft/entity/Entity;isGlowing()Zintermediary method_5851Lnet/minecraft/class_1297;method_5851()Zofficial cFLcgk;cF()Z
-
getBodyYaw
public float getBodyYaw()- Specified by:
getBodyYawin interfaceHeldItemContext- Overrides:
getBodyYawin classEntity- Mappings:
Namespace Name Mixin selector named getBodyYawLnet/minecraft/util/HeldItemContext;getBodyYaw()Fintermediary method_73188Lnet/minecraft/class_11566;method_73188()Fofficial edLchh;ed()F
-
onSpawnPacket
Called on the client when the entity receives a spawn packet.This sets the entity's position, angles, ID, and UUID. Subclasses can override this to initialize additional fields.
- Overrides:
onSpawnPacketin classEntity- Mappings:
Namespace Name Mixin selector named onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vofficial aLcgk;a(Ladc;)V
-
getWeaponDisableBlockingForSeconds
public float getWeaponDisableBlockingForSeconds()- Mappings:
Namespace Name Mixin selector named getWeaponDisableBlockingForSecondsLnet/minecraft/entity/LivingEntity;getWeaponDisableBlockingForSeconds()Fintermediary method_67125Lnet/minecraft/class_1309;method_67125()Fofficial guLchl;gu()F
-
getStepHeight
public float getStepHeight()- Overrides:
getStepHeightin classEntity- Mappings:
Namespace Name Mixin selector named getStepHeightLnet/minecraft/entity/Entity;getStepHeight()Fintermediary method_49476Lnet/minecraft/class_1297;method_49476()Fofficial egLcgk;eg()F
-
getPassengerRidingPos
- Overrides:
getPassengerRidingPosin classEntity- Mappings:
Namespace Name Mixin selector named getPassengerRidingPosLnet/minecraft/entity/Entity;getPassengerRidingPos(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;intermediary method_52538Lnet/minecraft/class_1297;method_52538(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;official nLcgk;n(Lcgk;)Lftm;
-
lerpHeadYaw
protected void lerpHeadYaw(int headTrackingIncrements, double serverHeadYaw) - Mappings:
Namespace Name Mixin selector named lerpHeadYawLnet/minecraft/entity/LivingEntity;lerpHeadYaw(ID)Vintermediary method_52539Lnet/minecraft/class_1309;method_52539(ID)Vofficial aLchl;a(ID)V
-
setOnFireForTicks
public void setOnFireForTicks(int ticks) - Overrides:
setOnFireForTicksin classEntity- Mappings:
Namespace Name Mixin selector named setOnFireForTicksLnet/minecraft/entity/Entity;setOnFireForTicks(I)Vintermediary method_56073Lnet/minecraft/class_1297;method_56073(I)Vofficial gLcgk;g(I)V
-
isInCreativeMode
public boolean isInCreativeMode()- Mappings:
Namespace Name Mixin selector named isInCreativeModeLnet/minecraft/entity/LivingEntity;isInCreativeMode()Zintermediary method_56992Lnet/minecraft/class_1309;method_56992()Zofficial gvLchl;gv()Z
-
isInvulnerableTo
- Mappings:
Namespace Name Mixin selector named isInvulnerableToLnet/minecraft/entity/LivingEntity;isInvulnerableTo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Zintermediary method_5679Lnet/minecraft/class_1309;method_5679(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Zofficial aLchl;a(Laxf;Lcex;)Z
-
canGlideWith
- Mappings:
Namespace Name Mixin selector named canGlideWithLnet/minecraft/entity/LivingEntity;canGlideWith(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_63624Lnet/minecraft/class_1309;method_63624(Lnet/minecraft/class_1799;Lnet/minecraft/class_1304;)Zofficial bLchl;b(Ldlt;Lcgv;)Z
-
getPlayerHitTimer
public int getPlayerHitTimer()- Mappings:
Namespace Name Mixin selector named getPlayerHitTimerLnet/minecraft/entity/LivingEntity;getPlayerHitTimer()Iintermediary method_63627Lnet/minecraft/class_1309;method_63627()Iofficial gwLchl;gw()I
-
hasWaypoint
public boolean hasWaypoint()- Specified by:
hasWaypointin interfaceServerWaypoint- Mappings:
Namespace Name Mixin selector named hasWaypointLnet/minecraft/world/waypoint/ServerWaypoint;hasWaypoint()Zintermediary method_70674Lnet/minecraft/class_11212;method_70674()Zofficial gxLfvx;gx()Z
-
createTracker
- Specified by:
createTrackerin interfaceServerWaypoint- Mappings:
Namespace Name Mixin selector named createTrackerLnet/minecraft/world/waypoint/ServerWaypoint;createTracker(Lnet/minecraft/server/network/ServerPlayerEntity;)Ljava/util/Optional;intermediary method_70672Lnet/minecraft/class_11212;method_70672(Lnet/minecraft/class_3222;)Ljava/util/Optional;official fLfvx;f(Laxg;)Ljava/util/Optional;
-
getWaypointConfig
- Specified by:
getWaypointConfigin interfaceServerWaypoint- Mappings:
Namespace Name Mixin selector named getWaypointConfigLnet/minecraft/world/waypoint/ServerWaypoint;getWaypointConfig()Lnet/minecraft/world/waypoint/Waypoint$Config;intermediary method_70675Lnet/minecraft/class_11212;method_70675()Lnet/minecraft/class_11208$class_11209;official gyLfvx;gy()Lfvt$a;
-