Class PlayerEntity
- All Implemented Interfaces:
Attackable,DataTracked,ScoreHolder,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
AbstractClientPlayerEntity,ServerPlayerEntity
- Mappings:
Namespace Name official clyintermediary net/minecraft/class_1657named net/minecraft/entity/player/PlayerEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumA reason why a player cannot start sleeping.Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_9494, Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerAbilitiesprotected intprivate static final TrackedData<Float> doubledoubledoubleprotected floatstatic final floatstatic final Armprotected intprotected EnderChestInventoryintintfloatstatic final intstatic final intstatic final intstatic final intstatic final floatstatic final floatstatic final floatstatic final intstatic final floatstatic final floatstatic final intstatic final intprivate static final Stringprivate static final Object2IntMap<String> protected static final TrackedData<String> protected static final TrackedData<Optional<BlockPos>> protected static final TrackedData<Optional<BlockPos>> static final TrackedData<Boolean> intprotected final floatprivate final com.mojang.authlib.GameProfileprotected HungerManagerboolean(package private) final PlayerInventoryprotected booleanprivate final ItemCooldownManagerprivate intprotected static final TrackedData<NbtCompound> private static final Loggerprotected static final TrackedData<Byte> protected static final TrackedData<Byte> final PlayerScreenHandlerprivate static final Map<EntityPose, EntityDimensions> doubledoubledoublefloatprivate booleanprotected static final TrackedData<NbtCompound> private static final TrackedData<Integer> private ItemStackprivate longprivate intstatic final EntityDimensionsfloatintstatic final Vec3dFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, fallFlyingTicks, field_30063, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_50407, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, field_50386, field_50387, field_50388, field_50389, field_50390, field_50391, field_50392, field_50393, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCritParticles(Entity target) voidaddEnchantedHitParticles(Entity target) voidaddExhaustion(float exhaustion) voidaddExperience(int experience) voidaddExperienceLevels(int levels) voidaddScore(int score) booleanaddShoulderEntity(NbtCompound entityNbt) private MutableTextaddTellClickEvent(MutableText component) protected Vec3dadjustMovementForSneaking(Vec3d movement, MovementType type) voidanimateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).protected voidapplyDamage(DamageSource source, float amount) voidapplyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels) voidprotected voidattackLivingEntity(LivingEntity target) booleanprotected booleancanChangeIntoPose(EntityPose pose) booleancanConsume(boolean ignoreHunger) booleanbooleanbooleancanHarvest(BlockState state) Determines whether the player is able to harvest drops from the specified block state.booleancanInteractWithBlockAt(BlockPos pos, double additionalRange) Returns whether the player can interact with block atpos.booleancanInteractWithEntity(Entity entity, double additionalRange) Returns whether the player can interact withentity.booleancanInteractWithEntityIn(Box box, double additionalRange) Returns whether the player can interact with entity whose bounding box isbox.booleanbooleancanPlaceOn(BlockPos pos, Direction facing, ItemStack stack) booleanReturns whether this player has been sleeping long enough to count towards resetting the time of day and weather of the server.booleanbooleanbooleancanUseSlot(EquipmentSlot slot) booleanvoidprotected booleanprotected voidCloses the currently open handled screen.private voidcollideWithEntity(Entity entity) protected ItemCooldownManagerbooleandamage(DamageSource source, float amount) Applies a damage to this entity.protected voiddamageArmor(DamageSource source, float amount) protected voiddamageHelmet(DamageSource source, float amount) protected voiddamageShield(float amount) voidvoidDismounts the vehicle if present.protected booleandoesNotSuffocate(BlockPos pos) protected voidprotected voidprivate voiddropShoulderEntity(NbtCompound entityNbt) voidequipStack(EquipmentSlot slot, ItemStack stack) findRespawnPosition(ServerWorld world, BlockPos pos, float angle, boolean forced, boolean alive) Finds the precise respawn position from aBlockPosin a world.floatfloatgetAttackCooldownProgress(float baseTime) floatgetBaseDimensions(EntityPose pose) floatgetBlockBreakingSpeed(BlockState block) doubleprotected intfloatprotected SoundEventintReturns the entity's default portal cooldown.Returns the display name of this object.intdoublecom.mojang.authlib.GameProfileprotected SoundEventprotected SoundEventgetHurtSound(DamageSource source) getLeashPos(float delta) Returns the position of the leash this entity holds.floatgetLuck()intReturns how long entities can be inside the nether portal without teleporting, in ticks.protected floatReturns the maximum rotation of the head relative to the body in degrees.protected Entity.MoveEffectReturns the possible effect(s) of an entity moving.floatgetName()Returns the name of this object.Returns the name uniquely identifying the score holder.intprotected floatgetPoses()getProjectileType(ItemStack stack) intgetScore()intReturns the sound category for sounds from this entity.protected SoundEventgetStackReference(int mappedIndex) Obtains a stack reference to be modified.protected SoundEventprotected floatintCalled when this entity is killed and returns the amount of experience to drop.booleangiveItemStack(ItemStack stack) booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.booleanvoidincreaseStat(Stat<?> stat, int amount) voidincreaseStat(Identifier stat, int amount) voidincrementStat(Stat<?> stat) voidincrementStat(Identifier stat) protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.protected booleanisArmorSlot(EquipmentSlot slot) booleanisBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode) abstract booleanReturns whether this player is in creative mode.booleanprotected booleanbooleanbooleanisInvulnerableTo(DamageSource damageSource) Returns whether the entity is invulnerable todamageSource.booleanprotected booleanbooleanisPartVisible(PlayerModelPart modelPart) booleanisPlayer()booleanReturns whether the entity is pushed by fluids.abstract booleanReturns whether the entity is a spectator.booleanReturns whether the entity is swimming.booleanvoidjump()intlockRecipes(Collection<RecipeEntry<?>> recipes) private booleanprotected booleanprotected voidmethod_58864(Vec3d vec3d, double double2, float float2) private floatmethod_58929(ItemStack itemStack, Entity entity) booleanmethod_58930(String string, int int2) booleanmethod_58931(String string, int int2) voidmethod_58932(String string) voidmethod_58933(String string, int int2) booleanmethod_58934(String string) booleanvoidonDeath(DamageSource damageSource) protected voidRuns closing tasks for the current screen handler and sets it to theplayerScreenHandler.booleanonKilledOther(ServerWorld world, LivingEntity other) Called when this entity killsother.voidonPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler.voidonRecipeCrafted(RecipeEntry<?> recipe, List<ItemStack> ingredients) protected voidvoidopenCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor) voidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock) voidopenEditSignScreen(SignBlockEntity sign, boolean front) voidopenHorseInventory(AbstractHorseEntity horse, Inventory inventory) voidopenJigsawScreen(JigsawBlockEntity jigsaw) voidopenStructureBlockScreen(StructureBlockBlockEntity structureBlock) voidplaySound(SoundEvent sound, float volume, float pitch) voidplaySoundToPlayer(SoundEvent sound, SoundCategory category, float volume, float pitch) Playssoundto this player only.protected voidplayStepSound(BlockPos pos, BlockState state) voidReads custom data fromnbt.voidremove(Entity.RemovalReason reason) Removes the entity.voidvoidvoidvoidvoidsendMessage(Text message, boolean overlay) Adds a message to this player's HUD.voidsendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) protected voidsetAbsorptionAmountUnclamped(float absorptionAmount) voidsetFireTicks(int fireTicks) Sets the entity on fire forticksticks.voidsetLastDeathPos(Optional<GlobalPos> lastDeathPos) voidsetMainArm(Arm arm) voidsetReducedDebugInfo(boolean reducedDebugInfo) voidsetScore(int score) protected voidsetShoulderEntityLeft(NbtCompound entityNbt) protected voidsetShoulderEntityRight(NbtCompound entityNbt) protected booleanReturns if this entity may always drop experience, skipping any other checks.booleanbooleanbooleanshouldDamagePlayer(PlayerEntity player) protected booleanbooleanprotected booleanshouldRemoveSoulSpeedBoost(BlockState landingState) booleanReturns whether to render the name of the entity.booleanbooleanvoidslowMovement(BlockState state, Vec3d multiplier) CallsEntity.onLanding()and slows this entity.private voidspawnParticles(ParticleEffect parameters) voidvoidvoidprotected voidtakeShieldHit(LivingEntity attacker) voidtick()Ticks this entity.voidprotected voidvoidvoidAllows you to do certain speed and velocity calculations.com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason, Unit> Tries to start sleeping on a block.intunlockRecipes(Collection<RecipeEntry<?>> recipes) voidunlockRecipes(List<Identifier> recipes) private voidprotected voidprivate voidupdateShoulderEntity(@Nullable NbtCompound entityNbt) voidprivate voidprotected booleanvoidCalled when the player uses (defaults to right click) a writable or written book item.voiduseRiptide(int riptideTicks) protected voidvoidwakeUp()Wakes this entity up.voidwakeUp(boolean skipSleepTimer, boolean updateSleepingPlayers) Wakes this player up.voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, baseTick, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTarget, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageEquipment, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropEquipment, dropItem, dropLoot, dropXp, endCombat, enterCombat, fall, getActiveHand, getActiveItem, getActiveStatusEffects, getAllArmorItems, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEquippedItems, getFallFlyingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLootTable, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPassengerRidingPos, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, getYaw, hasInvertedHealingAndHarm, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, interact, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isTarget, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lerpHeadYaw, lookAt, markEffectsDirty, method_58831, method_58862, method_58866, method_58867, method_58868, method_58869, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canStartRiding, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflector, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, method_58832, method_58833, method_58837, method_58842, method_58843, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLcly;b:Lorg/slf4j/Logger;intermediary field_38197Lnet/minecraft/class_1657;field_38197:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/entity/player/PlayerEntity;LOGGER:Lorg/slf4j/Logger;
-
DEFAULT_MAIN_ARM
- Mappings:
Namespace Name Mixin selector official bQLcly;bQ:Lbsi;intermediary field_46174Lnet/minecraft/class_1657;field_46174:Lnet/minecraft/class_1306;named DEFAULT_MAIN_ARMLnet/minecraft/entity/player/PlayerEntity;DEFAULT_MAIN_ARM:Lnet/minecraft/util/Arm;
-
field_46175
public static final int field_46175- See Also:
- Mappings:
Namespace Name Mixin selector official bRLcly;bR:Iintermediary field_46175Lnet/minecraft/class_1657;field_46175:Inamed field_46175Lnet/minecraft/entity/player/PlayerEntity;field_46175:I
-
field_30644
public static final int field_30644- See Also:
- Mappings:
Namespace Name Mixin selector official bSLcly;bS:Iintermediary field_30644Lnet/minecraft/class_1657;field_30644:Inamed field_30644Lnet/minecraft/entity/player/PlayerEntity;field_30644:I
-
field_30645
public static final int field_30645- See Also:
- Mappings:
Namespace Name Mixin selector official bTLcly;bT:Iintermediary field_30645Lnet/minecraft/class_1657;field_30645:Inamed field_30645Lnet/minecraft/entity/player/PlayerEntity;field_30645:I
-
field_30646
public static final int field_30646- See Also:
- Mappings:
Namespace Name Mixin selector official bULcly;bU:Iintermediary field_30646Lnet/minecraft/class_1657;field_30646:Inamed field_30646Lnet/minecraft/entity/player/PlayerEntity;field_30646:I
-
field_30647
public static final int field_30647- See Also:
- Mappings:
Namespace Name Mixin selector official bVLcly;bV:Iintermediary field_30647Lnet/minecraft/class_1657;field_30647:Inamed field_30647Lnet/minecraft/entity/player/PlayerEntity;field_30647:I
-
field_49734
public static final int field_49734- See Also:
- Mappings:
Namespace Name Mixin selector official bWLcly;bW:Iintermediary field_49734Lnet/minecraft/class_1657;field_49734:Inamed field_49734Lnet/minecraft/entity/player/PlayerEntity;field_49734:I
-
field_49735
public static final int field_49735- See Also:
- Mappings:
Namespace Name Mixin selector official bXLcly;bX:Iintermediary field_49735Lnet/minecraft/class_1657;field_49735:Inamed field_49735Lnet/minecraft/entity/player/PlayerEntity;field_49735:I
-
field_47819
public static final float field_47819- See Also:
- Mappings:
Namespace Name Mixin selector official bYLcly;bY:Fintermediary field_47819Lnet/minecraft/class_1657;field_47819:Fnamed field_47819Lnet/minecraft/entity/player/PlayerEntity;field_47819:F
-
field_47820
public static final float field_47820- See Also:
- Mappings:
Namespace Name Mixin selector official bZLcly;bZ:Fintermediary field_47820Lnet/minecraft/class_1657;field_47820:Fnamed field_47820Lnet/minecraft/entity/player/PlayerEntity;field_47820:F
-
field_30648
public static final float field_30648- See Also:
- Mappings:
Namespace Name Mixin selector official caLcly;ca:Fintermediary field_30648Lnet/minecraft/class_1657;field_30648:Fnamed field_30648Lnet/minecraft/entity/player/PlayerEntity;field_30648:F
-
field_30649
public static final float field_30649- See Also:
- Mappings:
Namespace Name Mixin selector official cbLcly;cb:Fintermediary field_30649Lnet/minecraft/class_1657;field_30649:Fnamed field_30649Lnet/minecraft/entity/player/PlayerEntity;field_30649:F
-
field_30650
public static final float field_30650- See Also:
- Mappings:
Namespace Name Mixin selector official ccLcly;cc:Fintermediary field_30650Lnet/minecraft/class_1657;field_30650:Fnamed field_30650Lnet/minecraft/entity/player/PlayerEntity;field_30650:F
-
DEFAULT_EYE_HEIGHT
public static final float DEFAULT_EYE_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official cdLcly;cd:Fintermediary field_30651Lnet/minecraft/class_1657;field_30651:Fnamed DEFAULT_EYE_HEIGHTLnet/minecraft/entity/player/PlayerEntity;DEFAULT_EYE_HEIGHT:F
-
field_50476
- See Also:
- Mappings:
Namespace Name Mixin selector official cLcly;c:Ljava/lang/String;intermediary field_50476Lnet/minecraft/class_1657;field_50476:Ljava/lang/String;named field_50476Lnet/minecraft/entity/player/PlayerEntity;field_50476:Ljava/lang/String;
-
VEHICLE_ATTACHMENT_POS
- Mappings:
Namespace Name Mixin selector official ceLcly;ce:Lewu;intermediary field_47821Lnet/minecraft/class_1657;field_47821:Lnet/minecraft/class_243;named VEHICLE_ATTACHMENT_POSLnet/minecraft/entity/player/PlayerEntity;VEHICLE_ATTACHMENT_POS:Lnet/minecraft/util/math/Vec3d;
-
STANDING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official cfLcly;cf:Lbry;intermediary field_18135Lnet/minecraft/class_1657;field_18135:Lnet/minecraft/class_4048;named STANDING_DIMENSIONSLnet/minecraft/entity/player/PlayerEntity;STANDING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
POSE_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official dLcly;d:Ljava/util/Map;intermediary field_18134Lnet/minecraft/class_1657;field_18134:Ljava/util/Map;named POSE_DIMENSIONSLnet/minecraft/entity/player/PlayerEntity;POSE_DIMENSIONS:Ljava/util/Map;
-
ABSORPTION_AMOUNT
- Mappings:
Namespace Name Mixin selector official eLcly;e:Lajy;intermediary field_7491Lnet/minecraft/class_1657;field_7491:Lnet/minecraft/class_2940;named ABSORPTION_AMOUNTLnet/minecraft/entity/player/PlayerEntity;ABSORPTION_AMOUNT:Lnet/minecraft/entity/data/TrackedData;
-
SCORE
- Mappings:
Namespace Name Mixin selector official fLcly;f:Lajy;intermediary field_7511Lnet/minecraft/class_1657;field_7511:Lnet/minecraft/class_2940;named SCORELnet/minecraft/entity/player/PlayerEntity;SCORE:Lnet/minecraft/entity/data/TrackedData;
-
PLAYER_MODEL_PARTS
- Mappings:
Namespace Name Mixin selector official cgLcly;cg:Lajy;intermediary field_7518Lnet/minecraft/class_1657;field_7518:Lnet/minecraft/class_2940;named PLAYER_MODEL_PARTSLnet/minecraft/entity/player/PlayerEntity;PLAYER_MODEL_PARTS:Lnet/minecraft/entity/data/TrackedData;
-
MAIN_ARM
- Mappings:
Namespace Name Mixin selector official chLcly;ch:Lajy;intermediary field_7488Lnet/minecraft/class_1657;field_7488:Lnet/minecraft/class_2940;named MAIN_ARMLnet/minecraft/entity/player/PlayerEntity;MAIN_ARM:Lnet/minecraft/entity/data/TrackedData;
-
LEFT_SHOULDER_ENTITY
- Mappings:
Namespace Name Mixin selector official ciLcly;ci:Lajy;intermediary field_7496Lnet/minecraft/class_1657;field_7496:Lnet/minecraft/class_2940;named LEFT_SHOULDER_ENTITYLnet/minecraft/entity/player/PlayerEntity;LEFT_SHOULDER_ENTITY:Lnet/minecraft/entity/data/TrackedData;
-
RIGHT_SHOULDER_ENTITY
- Mappings:
Namespace Name Mixin selector official cjLcly;cj:Lajy;intermediary field_7506Lnet/minecraft/class_1657;field_7506:Lnet/minecraft/class_2940;named RIGHT_SHOULDER_ENTITYLnet/minecraft/entity/player/PlayerEntity;RIGHT_SHOULDER_ENTITY:Lnet/minecraft/entity/data/TrackedData;
-
field_50479
- Mappings:
Namespace Name Mixin selector official ckLcly;ck:Lajy;intermediary field_50479Lnet/minecraft/class_1657;field_50479:Lnet/minecraft/class_2940;named field_50479Lnet/minecraft/entity/player/PlayerEntity;field_50479:Lnet/minecraft/entity/data/TrackedData;
-
field_50480
- Mappings:
Namespace Name Mixin selector official clLcly;cl:Lajy;intermediary field_50480Lnet/minecraft/class_1657;field_50480:Lnet/minecraft/class_2940;named field_50480Lnet/minecraft/entity/player/PlayerEntity;field_50480:Lnet/minecraft/entity/data/TrackedData;
-
field_50481
- Mappings:
Namespace Name Mixin selector official cmLcly;cm:Lajy;intermediary field_50481Lnet/minecraft/class_1657;field_50481:Lnet/minecraft/class_2940;named field_50481Lnet/minecraft/entity/player/PlayerEntity;field_50481:Lnet/minecraft/entity/data/TrackedData;
-
field_50482
- Mappings:
Namespace Name Mixin selector official cnLcly;cn:Lajy;intermediary field_50482Lnet/minecraft/class_1657;field_50482:Lnet/minecraft/class_2940;named field_50482Lnet/minecraft/entity/player/PlayerEntity;field_50482:Lnet/minecraft/entity/data/TrackedData;
-
field_50478
- Mappings:
Namespace Name Mixin selector official cXLcly;cX:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_50478Lnet/minecraft/class_1657;field_50478:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named field_50478Lnet/minecraft/entity/player/PlayerEntity;field_50478:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
shoulderEntityAddedTime
private long shoulderEntityAddedTime- Mappings:
Namespace Name Mixin selector official gLcly;g:Jintermediary field_19428Lnet/minecraft/class_1657;field_19428:Jnamed shoulderEntityAddedTimeLnet/minecraft/entity/player/PlayerEntity;shoulderEntityAddedTime:J
-
inventory
- Mappings:
Namespace Name Mixin selector official hLcly;h:Lclx;intermediary field_7514Lnet/minecraft/class_1657;field_7514:Lnet/minecraft/class_1661;named inventoryLnet/minecraft/entity/player/PlayerEntity;inventory:Lnet/minecraft/entity/player/PlayerInventory;
-
enderChestInventory
- Mappings:
Namespace Name Mixin selector official coLcly;co:Lcqt;intermediary field_7486Lnet/minecraft/class_1657;field_7486:Lnet/minecraft/class_1730;named enderChestInventoryLnet/minecraft/entity/player/PlayerEntity;enderChestInventory:Lnet/minecraft/inventory/EnderChestInventory;
-
playerScreenHandler
- Mappings:
Namespace Name Mixin selector official cpLcly;cp:Lcqi;intermediary field_7498Lnet/minecraft/class_1657;field_7498:Lnet/minecraft/class_1723;named playerScreenHandlerLnet/minecraft/entity/player/PlayerEntity;playerScreenHandler:Lnet/minecraft/screen/PlayerScreenHandler;
-
currentScreenHandler
- Mappings:
Namespace Name Mixin selector official cqLcly;cq:Lcpg;intermediary field_7512Lnet/minecraft/class_1657;field_7512:Lnet/minecraft/class_1703;named currentScreenHandlerLnet/minecraft/entity/player/PlayerEntity;currentScreenHandler:Lnet/minecraft/screen/ScreenHandler;
-
hungerManager
- Mappings:
Namespace Name Mixin selector official crLcly;cr:Lcou;intermediary field_7493Lnet/minecraft/class_1657;field_7493:Lnet/minecraft/class_1702;named hungerManagerLnet/minecraft/entity/player/PlayerEntity;hungerManager:Lnet/minecraft/entity/player/HungerManager;
-
abilityResyncCountdown
protected int abilityResyncCountdown- Mappings:
Namespace Name Mixin selector official csLcly;cs:Iintermediary field_7489Lnet/minecraft/class_1657;field_7489:Inamed abilityResyncCountdownLnet/minecraft/entity/player/PlayerEntity;abilityResyncCountdown:I
-
prevStrideDistance
public float prevStrideDistance- Mappings:
Namespace Name Mixin selector official ctLcly;ct:Fintermediary field_7505Lnet/minecraft/class_1657;field_7505:Fnamed prevStrideDistanceLnet/minecraft/entity/player/PlayerEntity;prevStrideDistance:F
-
strideDistance
public float strideDistance- Mappings:
Namespace Name Mixin selector official cuLcly;cu:Fintermediary field_7483Lnet/minecraft/class_1657;field_7483:Fnamed strideDistanceLnet/minecraft/entity/player/PlayerEntity;strideDistance:F
-
experiencePickUpDelay
public int experiencePickUpDelay- Mappings:
Namespace Name Mixin selector official cvLcly;cv:Iintermediary field_7504Lnet/minecraft/class_1657;field_7504:Inamed experiencePickUpDelayLnet/minecraft/entity/player/PlayerEntity;experiencePickUpDelay:I
-
field_50483
public int field_50483- Mappings:
Namespace Name Mixin selector official cwLcly;cw:Iintermediary field_50483Lnet/minecraft/class_1657;field_50483:Inamed field_50483Lnet/minecraft/entity/player/PlayerEntity;field_50483:I
-
prevCapeX
public double prevCapeX- Mappings:
Namespace Name Mixin selector official cxLcly;cx:Dintermediary field_7524Lnet/minecraft/class_1657;field_7524:Dnamed prevCapeXLnet/minecraft/entity/player/PlayerEntity;prevCapeX:D
-
prevCapeY
public double prevCapeY- Mappings:
Namespace Name Mixin selector official cyLcly;cy:Dintermediary field_7502Lnet/minecraft/class_1657;field_7502:Dnamed prevCapeYLnet/minecraft/entity/player/PlayerEntity;prevCapeY:D
-
prevCapeZ
public double prevCapeZ- Mappings:
Namespace Name Mixin selector official czLcly;cz:Dintermediary field_7522Lnet/minecraft/class_1657;field_7522:Dnamed prevCapeZLnet/minecraft/entity/player/PlayerEntity;prevCapeZ:D
-
capeX
public double capeX- Mappings:
Namespace Name Mixin selector official cALcly;cA:Dintermediary field_7500Lnet/minecraft/class_1657;field_7500:Dnamed capeXLnet/minecraft/entity/player/PlayerEntity;capeX:D
-
capeY
public double capeY- Mappings:
Namespace Name Mixin selector official cBLcly;cB:Dintermediary field_7521Lnet/minecraft/class_1657;field_7521:Dnamed capeYLnet/minecraft/entity/player/PlayerEntity;capeY:D
-
capeZ
public double capeZ- Mappings:
Namespace Name Mixin selector official cCLcly;cC:Dintermediary field_7499Lnet/minecraft/class_1657;field_7499:Dnamed capeZLnet/minecraft/entity/player/PlayerEntity;capeZ:D
-
sleepTimer
private int sleepTimer- Mappings:
Namespace Name Mixin selector official iLcly;i:Iintermediary field_7487Lnet/minecraft/class_1657;field_7487:Inamed sleepTimerLnet/minecraft/entity/player/PlayerEntity;sleepTimer:I
-
isSubmergedInWater
protected boolean isSubmergedInWater- Mappings:
Namespace Name Mixin selector official cDLcly;cD:Zintermediary field_7490Lnet/minecraft/class_1657;field_7490:Znamed isSubmergedInWaterLnet/minecraft/entity/player/PlayerEntity;isSubmergedInWater:Z
-
abilities
- Mappings:
Namespace Name Mixin selector official cQLcly;cQ:Lclv;intermediary field_7503Lnet/minecraft/class_1657;field_7503:Lnet/minecraft/class_1656;named abilitiesLnet/minecraft/entity/player/PlayerEntity;abilities:Lnet/minecraft/entity/player/PlayerAbilities;
-
experienceLevel
public int experienceLevel- Mappings:
Namespace Name Mixin selector official cELcly;cE:Iintermediary field_7520Lnet/minecraft/class_1657;field_7520:Inamed experienceLevelLnet/minecraft/entity/player/PlayerEntity;experienceLevel:I
-
totalExperience
public int totalExperience- Mappings:
Namespace Name Mixin selector official cFLcly;cF:Iintermediary field_7495Lnet/minecraft/class_1657;field_7495:Inamed totalExperienceLnet/minecraft/entity/player/PlayerEntity;totalExperience:I
-
experienceProgress
public float experienceProgress- Mappings:
Namespace Name Mixin selector official cGLcly;cG:Fintermediary field_7510Lnet/minecraft/class_1657;field_7510:Fnamed experienceProgressLnet/minecraft/entity/player/PlayerEntity;experienceProgress:F
-
enchantmentTableSeed
protected int enchantmentTableSeed- Mappings:
Namespace Name Mixin selector official cHLcly;cH:Iintermediary field_7494Lnet/minecraft/class_1657;field_7494:Inamed enchantmentTableSeedLnet/minecraft/entity/player/PlayerEntity;enchantmentTableSeed:I
-
field_7509
protected final float field_7509- See Also:
- Mappings:
Namespace Name Mixin selector official cILcly;cI:Fintermediary field_7509Lnet/minecraft/class_1657;field_7509:Fnamed field_7509Lnet/minecraft/entity/player/PlayerEntity;field_7509:F
-
lastPlayedLevelUpSoundTime
private int lastPlayedLevelUpSoundTime- Mappings:
Namespace Name Mixin selector official cRLcly;cR:Iintermediary field_7508Lnet/minecraft/class_1657;field_7508:Inamed lastPlayedLevelUpSoundTimeLnet/minecraft/entity/player/PlayerEntity;lastPlayedLevelUpSoundTime:I
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfile- Mappings:
Namespace Name Mixin selector official cSLcly;cS:Lcom/mojang/authlib/GameProfile;intermediary field_7507Lnet/minecraft/class_1657;field_7507:Lcom/mojang/authlib/GameProfile;named gameProfileLnet/minecraft/entity/player/PlayerEntity;gameProfile:Lcom/mojang/authlib/GameProfile;
-
reducedDebugInfo
private boolean reducedDebugInfo- Mappings:
Namespace Name Mixin selector official cTLcly;cT:Zintermediary field_7523Lnet/minecraft/class_1657;field_7523:Znamed reducedDebugInfoLnet/minecraft/entity/player/PlayerEntity;reducedDebugInfo:Z
-
selectedItem
- Mappings:
Namespace Name Mixin selector official cULcly;cU:Lcuh;intermediary field_7525Lnet/minecraft/class_1657;field_7525:Lnet/minecraft/class_1799;named selectedItemLnet/minecraft/entity/player/PlayerEntity;selectedItem:Lnet/minecraft/item/ItemStack;
-
itemCooldownManager
- Mappings:
Namespace Name Mixin selector official cVLcly;cV:Lcud;intermediary field_7484Lnet/minecraft/class_1657;field_7484:Lnet/minecraft/class_1796;named itemCooldownManagerLnet/minecraft/entity/player/PlayerEntity;itemCooldownManager:Lnet/minecraft/entity/player/ItemCooldownManager;
-
lastDeathPos
- Mappings:
Namespace Name Mixin selector official cWLcly;cW:Ljava/util/Optional;intermediary field_39445Lnet/minecraft/class_1657;field_39445:Ljava/util/Optional;named lastDeathPosLnet/minecraft/entity/player/PlayerEntity;lastDeathPos:Ljava/util/Optional;
-
fishHook
- Mappings:
Namespace Name Mixin selector official cJLcly;cJ:Lcmn;intermediary field_7513Lnet/minecraft/class_1657;field_7513:Lnet/minecraft/class_1536;named fishHookLnet/minecraft/entity/player/PlayerEntity;fishHook:Lnet/minecraft/entity/projectile/FishingBobberEntity;
-
field_50477
- Mappings:
Namespace Name Mixin selector official cKLcly;cK:Lcmq;intermediary field_50477Lnet/minecraft/class_1657;field_50477:Lnet/minecraft/class_9508;named field_50477Lnet/minecraft/entity/player/PlayerEntity;field_50477:Lnet/minecraft/class_9508;
-
damageTiltYaw
protected float damageTiltYaw- Mappings:
Namespace Name Mixin selector official cLLcly;cL:Fintermediary field_41765Lnet/minecraft/class_1657;field_41765:Fnamed damageTiltYawLnet/minecraft/entity/player/PlayerEntity;damageTiltYaw:F
-
currentExplosionImpactPos
- Mappings:
Namespace Name Mixin selector official cMLcly;cM:Lewu;intermediary field_49989Lnet/minecraft/class_1657;field_49989:Lnet/minecraft/class_243;named currentExplosionImpactPosLnet/minecraft/entity/player/PlayerEntity;currentExplosionImpactPos:Lnet/minecraft/util/math/Vec3d;
-
explodedBy
- Mappings:
Namespace Name Mixin selector official cNLcly;cN:Lbrv;intermediary field_49990Lnet/minecraft/class_1657;field_49990:Lnet/minecraft/class_1297;named explodedByLnet/minecraft/entity/player/PlayerEntity;explodedBy:Lnet/minecraft/entity/Entity;
-
ignoreFallDamageFromCurrentExplosion
public boolean ignoreFallDamageFromCurrentExplosion- Mappings:
Namespace Name Mixin selector official cOLcly;cO:Zintermediary field_49991Lnet/minecraft/class_1657;field_49991:Znamed ignoreFallDamageFromCurrentExplosionLnet/minecraft/entity/player/PlayerEntity;ignoreFallDamageFromCurrentExplosion:Z
-
-
Constructor Details
-
PlayerEntity
public PlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile) - Mappings:
Namespace Name Mixin selector official <init>Lcly;<init>(Ldca;Lir;FLcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_1657;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;FLcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/entity/player/PlayerEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FLcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
isBlockBreakingRestricted
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ldca;Lir;Ldbx;)Zintermediary method_21701Lnet/minecraft/class_1657;method_21701(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1934;)Znamed isBlockBreakingRestrictedLnet/minecraft/entity/player/PlayerEntity;isBlockBreakingRestricted(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/GameMode;)Z
-
createPlayerAttributes
- Mappings:
Namespace Name Mixin selector official fZLcly;fZ()Lbtu$a;intermediary method_26956Lnet/minecraft/class_1657;method_26956()Lnet/minecraft/class_5132$class_5133;named createPlayerAttributesLnet/minecraft/entity/player/PlayerEntity;createPlayerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lakc$a;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official lLbrv;l()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
method_58930
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ljava/lang/String;I)Zintermediary method_58930Lnet/minecraft/class_1657;method_58930(Ljava/lang/String;I)Znamed method_58930Lnet/minecraft/entity/player/PlayerEntity;method_58930(Ljava/lang/String;I)Z
-
method_58931
- Mappings:
Namespace Name Mixin selector official bLcly;b(Ljava/lang/String;I)Zintermediary method_58931Lnet/minecraft/class_1657;method_58931(Ljava/lang/String;I)Znamed method_58931Lnet/minecraft/entity/player/PlayerEntity;method_58931(Ljava/lang/String;I)Z
-
getMaxRelativeHeadRotation
protected float getMaxRelativeHeadRotation()Returns the maximum rotation of the head relative to the body in degrees.- Overrides:
getMaxRelativeHeadRotationin classLivingEntity- Returns:
- the maximum rotation of the head relative to the body in degrees
- Mappings:
Namespace Name Mixin selector official fxLbso;fx()Fintermediary method_53964Lnet/minecraft/class_1309;method_53964()Fnamed getMaxRelativeHeadRotationLnet/minecraft/entity/LivingEntity;getMaxRelativeHeadRotation()F
-
shouldCancelInteraction
public boolean shouldCancelInteraction()- Mappings:
Namespace Name Mixin selector official gaLcly;ga()Zintermediary method_21823Lnet/minecraft/class_1657;method_21823()Znamed shouldCancelInteractionLnet/minecraft/entity/player/PlayerEntity;shouldCancelInteraction()Z
-
shouldDismount
protected boolean shouldDismount()- Mappings:
Namespace Name Mixin selector official gbLcly;gb()Zintermediary method_21824Lnet/minecraft/class_1657;method_21824()Znamed shouldDismountLnet/minecraft/entity/player/PlayerEntity;shouldDismount()Z
-
clipAtLedge
protected boolean clipAtLedge()- Mappings:
Namespace Name Mixin selector official gcLcly;gc()Zintermediary method_21825Lnet/minecraft/class_1657;method_21825()Znamed clipAtLedgeLnet/minecraft/entity/player/PlayerEntity;clipAtLedge()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Mappings:
Namespace Name Mixin selector official gdLcly;gd()Zintermediary method_7295Lnet/minecraft/class_1657;method_7295()Znamed updateWaterSubmersionStateLnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()Z
-
updateTurtleHelmet
private void updateTurtleHelmet()- Mappings:
Namespace Name Mixin selector official rLcly;r()Vintermediary method_7330Lnet/minecraft/class_1657;method_7330()Vnamed updateTurtleHelmetLnet/minecraft/entity/player/PlayerEntity;updateTurtleHelmet()V
-
createCooldownManager
- Mappings:
Namespace Name Mixin selector official kLcly;k()Lcud;intermediary method_7265Lnet/minecraft/class_1657;method_7265()Lnet/minecraft/class_1796;named createCooldownManagerLnet/minecraft/entity/player/PlayerEntity;createCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
-
updateCapeAngles
private void updateCapeAngles()- Mappings:
Namespace Name Mixin selector official xLcly;x()Vintermediary method_7313Lnet/minecraft/class_1657;method_7313()Vnamed updateCapeAnglesLnet/minecraft/entity/player/PlayerEntity;updateCapeAngles()V
-
updatePose
protected void updatePose()- Mappings:
Namespace Name Mixin selector official geLcly;ge()Vintermediary method_7318Lnet/minecraft/class_1657;method_7318()Vnamed updatePoseLnet/minecraft/entity/player/PlayerEntity;updatePose()V
-
canChangeIntoPose
- Mappings:
Namespace Name Mixin selector official hLcly;h(Lbsz;)Zintermediary method_52558Lnet/minecraft/class_1657;method_52558(Lnet/minecraft/class_4050;)Znamed canChangeIntoPoseLnet/minecraft/entity/player/PlayerEntity;canChangeIntoPose(Lnet/minecraft/entity/EntityPose;)Z
-
getMaxNetherPortalTime
public int getMaxNetherPortalTime()Returns how long entities can be inside the nether portal without teleporting, in ticks.- Overrides:
getMaxNetherPortalTimein classEntity- Returns:
- how long entities can be inside the nether portal without teleporting, in ticks
- Mappings:
Namespace Name Mixin selector official azLbrv;az()Iintermediary method_5741Lnet/minecraft/class_1297;method_5741()Inamed getMaxNetherPortalTimeLnet/minecraft/entity/Entity;getMaxNetherPortalTime()I
-
getSwimSound
- Overrides:
getSwimSoundin classEntity- Mappings:
Namespace Name Mixin selector official aTLbrv;aT()Lavn;intermediary method_5737Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;named getSwimSoundLnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
-
getSplashSound
- Overrides:
getSplashSoundin classEntity- Mappings:
Namespace Name Mixin selector official aULbrv;aU()Lavn;intermediary method_5625Lnet/minecraft/class_1297;method_5625()Lnet/minecraft/class_3414;named getSplashSoundLnet/minecraft/entity/Entity;getSplashSound()Lnet/minecraft/sound/SoundEvent;
-
getHighSpeedSplashSound
- Overrides:
getHighSpeedSplashSoundin classEntity- Mappings:
Namespace Name Mixin selector official aVLbrv;aV()Lavn;intermediary method_5672Lnet/minecraft/class_1297;method_5672()Lnet/minecraft/class_3414;named getHighSpeedSplashSoundLnet/minecraft/entity/Entity;getHighSpeedSplashSound()Lnet/minecraft/sound/SoundEvent;
-
getDefaultPortalCooldown
public int getDefaultPortalCooldown()Returns the entity's default portal cooldown.This is 300 ticks by default, or 10 ticks for players.
- Overrides:
getDefaultPortalCooldownin classEntity- Returns:
- the entity's default portal cooldown
- See Also:
- Mappings:
Namespace Name Mixin selector official bULbrv;bU()Iintermediary method_5806Lnet/minecraft/class_1297;method_5806()Inamed getDefaultPortalCooldownLnet/minecraft/entity/Entity;getDefaultPortalCooldown()I
-
playSound
-
playSoundToPlayer
Playssoundto this player only.Use
playSound(SoundEvent, float, float)to play sound that can be heard by nearby players. Unlike that method, this method should be called on only one side (i.e. either the server or the client, alone).- Mappings:
Namespace Name Mixin selector official aLcly;a(Lavn;Lavq;FF)Vintermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundToPlayerLnet/minecraft/entity/player/PlayerEntity;playSoundToPlayer(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
getSoundCategory
Returns the sound category for sounds from this entity.This is used by
Entity.playSound(SoundEvent, float, float)and defaults toSoundCategory.NEUTRAL. Hostile entities should override this to returnSoundCategory.HOSTILE.- Overrides:
getSoundCategoryin classEntity- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector official djLbrv;dj()Lavq;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
getBurningDuration
protected int getBurningDuration()- Overrides:
getBurningDurationin classEntity- Mappings:
Namespace Name Mixin selector official dkLbrv;dk()Iintermediary method_5676Lnet/minecraft/class_1297;method_5676()Inamed getBurningDurationLnet/minecraft/entity/Entity;getBurningDuration()I
-
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 classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbrv;b(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
spawnParticles
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lkz;)Vintermediary method_16475Lnet/minecraft/class_1657;method_16475(Lnet/minecraft/class_2394;)Vnamed spawnParticlesLnet/minecraft/entity/player/PlayerEntity;spawnParticles(Lnet/minecraft/particle/ParticleEffect;)V
-
closeHandledScreen
protected void closeHandledScreen()Closes the currently open handled screen.This method can be called on either logical side, and it will synchronize the closing automatically to the other.
- Mappings:
Namespace Name Mixin selector official tLcly;t()Vintermediary method_7346Lnet/minecraft/class_1657;method_7346()Vnamed closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
onHandledScreenClosed
protected void onHandledScreenClosed()Runs closing tasks for the current screen handler and sets it to theplayerScreenHandler.- Mappings:
Namespace Name Mixin selector official uLcly;u()Vintermediary method_14247Lnet/minecraft/class_1657;method_14247()Vnamed onHandledScreenClosedLnet/minecraft/entity/player/PlayerEntity;onHandledScreenClosed()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classLivingEntity- Mappings:
Namespace Name Mixin selector official vLbrv;v()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vnamed tickRidingLnet/minecraft/entity/Entity;tickRiding()V
-
tickNewAi
protected void tickNewAi()- Overrides:
tickNewAiin classLivingEntity- Mappings:
Namespace Name Mixin selector official fzLbso;fz()Vintermediary method_6023Lnet/minecraft/class_1309;method_6023()Vnamed tickNewAiLnet/minecraft/entity/LivingEntity;tickNewAi()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classLivingEntity- Mappings:
Namespace Name Mixin selector official m_Lbso;m_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
method_58864
- Overrides:
method_58864in classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbso;a(Lewu;DF)Vintermediary method_58864Lnet/minecraft/class_1309;method_58864(Lnet/minecraft/class_243;DF)Vnamed method_58864Lnet/minecraft/entity/LivingEntity;method_58864(Lnet/minecraft/util/math/Vec3d;DF)V
-
updateShoulderEntity
- Mappings:
Namespace Name Mixin selector official cLcly;c(Luk;)Vintermediary method_7267Lnet/minecraft/class_1657;method_7267(Lnet/minecraft/class_2487;)Vnamed updateShoulderEntityLnet/minecraft/entity/player/PlayerEntity;updateShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)V
-
collideWithEntity
- Mappings:
Namespace Name Mixin selector official dLcly;d(Lbrv;)Vintermediary method_7341Lnet/minecraft/class_1657;method_7341(Lnet/minecraft/class_1297;)Vnamed collideWithEntityLnet/minecraft/entity/player/PlayerEntity;collideWithEntity(Lnet/minecraft/entity/Entity;)V
-
getScore
public int getScore()- Mappings:
Namespace Name Mixin selector official gfLcly;gf()Iintermediary method_7272Lnet/minecraft/class_1657;method_7272()Inamed getScoreLnet/minecraft/entity/player/PlayerEntity;getScore()I
-
setScore
public void setScore(int score) - Mappings:
Namespace Name Mixin selector official tLcly;t(I)Vintermediary method_7320Lnet/minecraft/class_1657;method_7320(I)Vnamed setScoreLnet/minecraft/entity/player/PlayerEntity;setScore(I)V
-
addScore
public void addScore(int score) - Mappings:
Namespace Name Mixin selector official uLcly;u(I)Vintermediary method_7285Lnet/minecraft/class_1657;method_7285(I)Vnamed addScoreLnet/minecraft/entity/player/PlayerEntity;addScore(I)V
-
useRiptide
public void useRiptide(int riptideTicks) - Mappings:
Namespace Name Mixin selector official vLcly;v(I)Vintermediary method_40126Lnet/minecraft/class_1657;method_40126(I)Vnamed useRiptideLnet/minecraft/entity/player/PlayerEntity;useRiptide(I)V
-
onDeath
- Overrides:
onDeathin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbso;a(Lbqt;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vnamed onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
dropInventory
protected void dropInventory()- Overrides:
dropInventoryin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLLbso;eL()Vintermediary method_16078Lnet/minecraft/class_1309;method_16078()Vnamed dropInventoryLnet/minecraft/entity/LivingEntity;dropInventory()V
-
vanishCursedItems
protected void vanishCursedItems()- Mappings:
Namespace Name Mixin selector official ggLcly;gg()Vintermediary method_7293Lnet/minecraft/class_1657;method_7293()Vnamed vanishCursedItemsLnet/minecraft/entity/player/PlayerEntity;vanishCursedItems()V
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbso;d(Lbqt;)Lavn;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official n_Lbso;n_()Lavn;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getBlockBreakingSpeed
- Mappings:
Namespace Name Mixin selector official dLcly;d(Ldtc;)Fintermediary method_7351Lnet/minecraft/class_1657;method_7351(Lnet/minecraft/class_2680;)Fnamed getBlockBreakingSpeedLnet/minecraft/entity/player/PlayerEntity;getBlockBreakingSpeed(Lnet/minecraft/block/BlockState;)F
-
canHarvest
Determines whether the player is able to harvest drops from the specified block state. If a block requires a special tool, it will check whether the held item is effective for that block, otherwise it returnstrue.- See Also:
- Mappings:
Namespace Name Mixin selector official eLcly;e(Ldtc;)Zintermediary method_7305Lnet/minecraft/class_1657;method_7305(Lnet/minecraft/class_2680;)Znamed canHarvestLnet/minecraft/entity/player/PlayerEntity;canHarvest(Lnet/minecraft/block/BlockState;)Z
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Luk;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbrv;b(Luk;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isInvulnerableTo
Returns whether the entity is invulnerable todamageSource.This can be overridden to make the entity invulnerable to some damages, but
super.isInvulnerableTo()should be called in this case.- Overrides:
isInvulnerableToin classEntity- Returns:
- whether the entity is invulnerable to
damageSource - See Also:
- Mappings:
Namespace Name Mixin selector official bLbrv;b(Lbqt;)Zintermediary method_5679Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Znamed isInvulnerableToLnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbqt;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
takeShieldHit
- Overrides:
takeShieldHitin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbso;d(Lbso;)Vintermediary method_6090Lnet/minecraft/class_1309;method_6090(Lnet/minecraft/class_1309;)Vnamed takeShieldHitLnet/minecraft/entity/LivingEntity;takeShieldHit(Lnet/minecraft/entity/LivingEntity;)V
-
canTakeDamage
public boolean canTakeDamage()- Overrides:
canTakeDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official eBLbso;eB()Zintermediary method_33190Lnet/minecraft/class_1309;method_33190()Znamed canTakeDamageLnet/minecraft/entity/LivingEntity;canTakeDamage()Z
-
shouldDamagePlayer
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lcly;)Zintermediary method_7256Lnet/minecraft/class_1657;method_7256(Lnet/minecraft/class_1657;)Znamed shouldDamagePlayerLnet/minecraft/entity/player/PlayerEntity;shouldDamagePlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
damageArmor
- Overrides:
damageArmorin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLbso;b(Lbqt;F)Vintermediary method_6105Lnet/minecraft/class_1309;method_6105(Lnet/minecraft/class_1282;F)Vnamed damageArmorLnet/minecraft/entity/LivingEntity;damageArmor(Lnet/minecraft/entity/damage/DamageSource;F)V
-
damageHelmet
- Overrides:
damageHelmetin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbso;c(Lbqt;F)Vintermediary method_36977Lnet/minecraft/class_1309;method_36977(Lnet/minecraft/class_1282;F)Vnamed damageHelmetLnet/minecraft/entity/LivingEntity;damageHelmet(Lnet/minecraft/entity/damage/DamageSource;F)V
-
damageShield
protected void damageShield(float amount) - Overrides:
damageShieldin classLivingEntity- Mappings:
Namespace Name Mixin selector official vLbso;v(F)Vintermediary method_6056Lnet/minecraft/class_1309;method_6056(F)Vnamed damageShieldLnet/minecraft/entity/LivingEntity;damageShield(F)V
-
applyDamage
- Overrides:
applyDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official fLbso;f(Lbqt;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
isOnSoulSpeedBlock
protected boolean isOnSoulSpeedBlock()- Overrides:
isOnSoulSpeedBlockin classLivingEntity- Mappings:
Namespace Name Mixin selector official egLbso;eg()Zintermediary method_27303Lnet/minecraft/class_1309;method_27303()Znamed isOnSoulSpeedBlockLnet/minecraft/entity/LivingEntity;isOnSoulSpeedBlock()Z
-
shouldFilterText
public boolean shouldFilterText()- Mappings:
Namespace Name Mixin selector official aaLcly;aa()Zintermediary method_33793Lnet/minecraft/class_1657;method_33793()Znamed shouldFilterTextLnet/minecraft/entity/player/PlayerEntity;shouldFilterText()Z
-
openEditSignScreen
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ldrr;Z)Vintermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;Z)Vnamed openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;Z)V
-
openCommandBlockMinecartScreen
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ldbb;)Vintermediary method_7257Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1918;)Vnamed openCommandBlockMinecartScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/world/CommandBlockExecutor;)V
-
openCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ldqm;)Vintermediary method_7323Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)Vnamed openCommandBlockScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
openStructureBlockScreen
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ldrw;)Vintermediary method_7303Lnet/minecraft/class_1657;method_7303(Lnet/minecraft/class_2633;)Vnamed openStructureBlockScreenLnet/minecraft/entity/player/PlayerEntity;openStructureBlockScreen(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
-
openJigsawScreen
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ldre;)Vintermediary method_16354Lnet/minecraft/class_1657;method_16354(Lnet/minecraft/class_3751;)Vnamed openJigsawScreenLnet/minecraft/entity/player/PlayerEntity;openJigsawScreen(Lnet/minecraft/block/entity/JigsawBlockEntity;)V
-
openHorseInventory
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lcgi;Lbpt;)Vintermediary method_7291Lnet/minecraft/class_1657;method_7291(Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)Vnamed openHorseInventoryLnet/minecraft/entity/player/PlayerEntity;openHorseInventory(Lnet/minecraft/entity/passive/AbstractHorseEntity;Lnet/minecraft/inventory/Inventory;)V
-
openHandledScreen
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lbqe;)Ljava/util/OptionalInt;intermediary method_17355Lnet/minecraft/class_1657;method_17355(Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;named openHandledScreenLnet/minecraft/entity/player/PlayerEntity;openHandledScreen(Lnet/minecraft/screen/NamedScreenHandlerFactory;)Ljava/util/OptionalInt;
-
sendTradeOffers
public void sendTradeOffers(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) - Mappings:
Namespace Name Mixin selector official aLcly;a(ILdaz;IIZZ)Vintermediary method_17354Lnet/minecraft/class_1657;method_17354(ILnet/minecraft/class_1916;IIZZ)Vnamed sendTradeOffersLnet/minecraft/entity/player/PlayerEntity;sendTradeOffers(ILnet/minecraft/village/TradeOfferList;IIZZ)V
-
useBook
Called when the player uses (defaults to right click) a writable or written book item.This can be called either on the client or the server player. Check
bookfor whether this is a written or a writable book.- Parameters:
book- the bookhand- the hand holding the book- Implementation Note:
- The writing of a writable book in vanilla is totally controlled by
the client; the server cannot make the client open a book edit screen by
making a server player use a writable book. Only when the client finishes
writing a book it will send a book update C2S packet.
Meanwhile, the reading of a written book is totally controlled and initiated by the server.
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lcuh;Lbpz;)Vintermediary method_7315Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Vnamed useBookLnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
interact
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lbrv;Lbpz;)Lbqa;intermediary method_7287Lnet/minecraft/class_1657;method_7287(Lnet/minecraft/class_1297;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactLnet/minecraft/entity/player/PlayerEntity;interact(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
dismountVehicle
public void dismountVehicle()Dismounts the vehicle if present.For players, will not trigger any networking changes. Use
Entity.stopRiding()instead.- Overrides:
dismountVehiclein classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bNLbrv;bN()Vintermediary method_29239Lnet/minecraft/class_1297;method_29239()Vnamed dismountVehicleLnet/minecraft/entity/Entity;dismountVehicle()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobilein classLivingEntity- Mappings:
Namespace Name Mixin selector official fpLbso;fp()Zintermediary method_6062Lnet/minecraft/class_1309;method_6062()Znamed isImmobileLnet/minecraft/entity/LivingEntity;isImmobile()Z
-
shouldSwimInFluids
public boolean shouldSwimInFluids()- Overrides:
shouldSwimInFluidsin classLivingEntity- Mappings:
Namespace Name Mixin selector official enLbso;en()Zintermediary method_29920Lnet/minecraft/class_1309;method_29920()Znamed shouldSwimInFluidsLnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Z
-
method_58830
protected boolean method_58830()- Overrides:
method_58830in classEntity- Mappings:
Namespace Name Mixin selector official aFLbrv;aF()Zintermediary method_58830Lnet/minecraft/class_1297;method_58830()Znamed method_58830Lnet/minecraft/entity/Entity;method_58830()Z
-
adjustMovementForSneaking
- Overrides:
adjustMovementForSneakingin classEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lewu;Lbst;)Lewu;intermediary method_18796Lnet/minecraft/class_1297;method_18796(Lnet/minecraft/class_243;Lnet/minecraft/class_1313;)Lnet/minecraft/class_243;named adjustMovementForSneakingLnet/minecraft/entity/Entity;adjustMovementForSneaking(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/MovementType;)Lnet/minecraft/util/math/Vec3d;
-
method_30263
private boolean method_30263()- Mappings:
Namespace Name Mixin selector official yLcly;y()Zintermediary method_30263Lnet/minecraft/class_1657;method_30263()Znamed method_30263Lnet/minecraft/entity/player/PlayerEntity;method_30263()Z
-
attack
- Mappings:
Namespace Name Mixin selector official eLcly;e(Lbrv;)Vintermediary method_7324Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)Vnamed attackLnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
-
method_58929
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lcuh;Lbrv;)Fintermediary method_58929Lnet/minecraft/class_1657;method_58929(Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;)Fnamed method_58929Lnet/minecraft/entity/player/PlayerEntity;method_58929(Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)F
-
attackLivingEntity
- Overrides:
attackLivingEntityin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLbso;g(Lbso;)Vintermediary method_5997Lnet/minecraft/class_1309;method_5997(Lnet/minecraft/class_1309;)Vnamed attackLivingEntityLnet/minecraft/entity/LivingEntity;attackLivingEntity(Lnet/minecraft/entity/LivingEntity;)V
-
disableShield
public void disableShield()- Mappings:
Namespace Name Mixin selector official ghLcly;gh()Vintermediary method_7284Lnet/minecraft/class_1657;method_7284()Vnamed disableShieldLnet/minecraft/entity/player/PlayerEntity;disableShield()V
-
addCritParticles
- Mappings:
Namespace Name Mixin selector official bLcly;b(Lbrv;)Vintermediary method_7277Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)Vnamed addCritParticlesLnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
-
addEnchantedHitParticles
- Mappings:
Namespace Name Mixin selector official cLcly;c(Lbrv;)Vintermediary method_7304Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)Vnamed addEnchantedHitParticlesLnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
-
spawnSweepAttackParticles
public void spawnSweepAttackParticles()- Mappings:
Namespace Name Mixin selector official giLcly;gi()Vintermediary method_7263Lnet/minecraft/class_1657;method_7263()Vnamed spawnSweepAttackParticlesLnet/minecraft/entity/player/PlayerEntity;spawnSweepAttackParticles()V
-
requestRespawn
public void requestRespawn()- Mappings:
Namespace Name Mixin selector official gjLcly;gj()Vintermediary method_7331Lnet/minecraft/class_1657;method_7331()Vnamed requestRespawnLnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
-
remove
Removes the entity.- Overrides:
removein classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Lbrv$d;)Vintermediary method_5650Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)Vnamed removeLnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
-
isMainPlayer
public boolean isMainPlayer()- Mappings:
Namespace Name Mixin selector official gLcly;g()Zintermediary method_7340Lnet/minecraft/class_1657;method_7340()Znamed isMainPlayerLnet/minecraft/entity/player/PlayerEntity;isMainPlayer()Z
-
getGameProfile
public com.mojang.authlib.GameProfile getGameProfile()- Mappings:
Namespace Name Mixin selector official gkLcly;gk()Lcom/mojang/authlib/GameProfile;intermediary method_7334Lnet/minecraft/class_1657;method_7334()Lcom/mojang/authlib/GameProfile;named getGameProfileLnet/minecraft/entity/player/PlayerEntity;getGameProfile()Lcom/mojang/authlib/GameProfile;
-
getInventory
- Mappings:
Namespace Name Mixin selector official glLcly;gl()Lclx;intermediary method_31548Lnet/minecraft/class_1657;method_31548()Lnet/minecraft/class_1661;named getInventoryLnet/minecraft/entity/player/PlayerEntity;getInventory()Lnet/minecraft/entity/player/PlayerInventory;
-
getAbilities
- Mappings:
Namespace Name Mixin selector official gmLcly;gm()Lclv;intermediary method_31549Lnet/minecraft/class_1657;method_31549()Lnet/minecraft/class_1656;named getAbilitiesLnet/minecraft/entity/player/PlayerEntity;getAbilities()Lnet/minecraft/entity/player/PlayerAbilities;
-
isInCreativeMode
public boolean isInCreativeMode()- Overrides:
isInCreativeModein classLivingEntity- Mappings:
Namespace Name Mixin selector official fYLbso;fY()Zintermediary method_56992Lnet/minecraft/class_1309;method_56992()Znamed isInCreativeModeLnet/minecraft/entity/LivingEntity;isInCreativeMode()Z
-
onPickupSlotClick
Called when a player performs apickup slot actionin a screen handler.- Parameters:
cursorStack- the item stack on the player's cursorslotStack- the item stack in the clicked slotclickType- the click type (mouse button used)- Implementation Note:
- This is used by the client player to trigger bundle tutorials.
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lcuh;Lcuh;Lcpo;)Vintermediary method_33592Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)Vnamed onPickupSlotClickLnet/minecraft/entity/player/PlayerEntity;onPickupSlotClick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)V
-
shouldCloseHandledScreenOnRespawn
public boolean shouldCloseHandledScreenOnRespawn()- Mappings:
Namespace Name Mixin selector official gnLcly;gn()Zintermediary method_45015Lnet/minecraft/class_1657;method_45015()Znamed shouldCloseHandledScreenOnRespawnLnet/minecraft/entity/player/PlayerEntity;shouldCloseHandledScreenOnRespawn()Z
-
trySleep
public com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,Unit> trySleep(BlockPos pos) Tries to start sleeping on a block.- Parameters:
pos- the position of the bed block- Returns:
- an
Either.Rightif successful, otherwise anEither.Leftcontaining the failure reason - Mappings:
Namespace Name Mixin selector official aLcly;a(Lir;)Lcom/mojang/datafixers/util/Either;intermediary method_7269Lnet/minecraft/class_1657;method_7269(Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either;named trySleepLnet/minecraft/entity/player/PlayerEntity;trySleep(Lnet/minecraft/util/math/BlockPos;)Lcom/mojang/datafixers/util/Either;
-
wakeUp
public void wakeUp(boolean skipSleepTimer, boolean updateSleepingPlayers) Wakes this player up.- Parameters:
skipSleepTimer- iftrue, the sleep timer will be set straight to 0 instead of 100updateSleepingPlayers- iftrueand called on the logical server, sends sleeping status updates to all players- Mappings:
Namespace Name Mixin selector official aLcly;a(ZZ)Vintermediary method_7358Lnet/minecraft/class_1657;method_7358(ZZ)Vnamed wakeUpLnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZ)V
-
wakeUp
public void wakeUp()Wakes this entity up.- Overrides:
wakeUpin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official fVLbso;fV()Vintermediary method_18400Lnet/minecraft/class_1309;method_18400()Vnamed wakeUpLnet/minecraft/entity/LivingEntity;wakeUp()V
-
findRespawnPosition
public static Optional<Vec3d> findRespawnPosition(ServerWorld world, BlockPos pos, float angle, boolean forced, boolean alive) Finds the precise respawn position from aBlockPosin a world. Also applies respawning effects on the spawn point blocks such as decreasing respawn anchor charges.If
forcedisfalse, this method will only apply to respawn anchors and beds. If it'strue, a respawn point can be anywhere as long as the player can spawn inside the necessary blocks.- Parameters:
world- the world where the spawn point is locatedpos- the spawn point as aBlockPosforced-trueif the spawn point is forced,falseotherwisealive- iftrue, the player is alive, otherwise respawning after a death- Mappings:
Namespace Name Mixin selector official aLcly;a(Laqt;Lir;FZZ)Ljava/util/Optional;intermediary method_26091Lnet/minecraft/class_1657;method_26091(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;FZZ)Ljava/util/Optional;named findRespawnPositionLnet/minecraft/entity/player/PlayerEntity;findRespawnPosition(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;FZZ)Ljava/util/Optional;
-
canResetTimeBySleeping
public boolean canResetTimeBySleeping()Returns whether this player has been sleeping long enough to count towards resetting the time of day and weather of the server.- Returns:
- whether this player has been sleeping long enough to count towards resetting the time of day and weather of the server
- Mappings:
Namespace Name Mixin selector official goLcly;go()Zintermediary method_7276Lnet/minecraft/class_1657;method_7276()Znamed canResetTimeBySleepingLnet/minecraft/entity/player/PlayerEntity;canResetTimeBySleeping()Z
-
getSleepTimer
public int getSleepTimer()- Mappings:
Namespace Name Mixin selector official gpLcly;gp()Iintermediary method_7297Lnet/minecraft/class_1657;method_7297()Inamed getSleepTimerLnet/minecraft/entity/player/PlayerEntity;getSleepTimer()I
-
sendMessage
Adds a message to this player's HUD.If it's called on
ServerPlayerEntity, it sends a message to the client corresponding to this player so that the client can add a message to their HUD. If it's called onClientPlayerEntity, it just adds a message to their HUD.- Parameters:
message- the message to add- See Also:
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lxe;Z)Vintermediary method_7353Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)Vnamed sendMessageLnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
-
incrementStat
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lakt;)Vintermediary method_7281Lnet/minecraft/class_1657;method_7281(Lnet/minecraft/class_2960;)Vnamed incrementStatLnet/minecraft/entity/player/PlayerEntity;incrementStat(Lnet/minecraft/util/Identifier;)V
-
increaseStat
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lakt;I)Vintermediary method_7339Lnet/minecraft/class_1657;method_7339(Lnet/minecraft/class_2960;I)Vnamed increaseStatLnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/util/Identifier;I)V
-
incrementStat
- Mappings:
Namespace Name Mixin selector official bLcly;b(Lavw;)Vintermediary method_7259Lnet/minecraft/class_1657;method_7259(Lnet/minecraft/class_3445;)Vnamed incrementStatLnet/minecraft/entity/player/PlayerEntity;incrementStat(Lnet/minecraft/stat/Stat;)V
-
increaseStat
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lavw;I)Vintermediary method_7342Lnet/minecraft/class_1657;method_7342(Lnet/minecraft/class_3445;I)Vnamed increaseStatLnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)V
-
resetStat
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lavw;)Vintermediary method_7266Lnet/minecraft/class_1657;method_7266(Lnet/minecraft/class_3445;)Vnamed resetStatLnet/minecraft/entity/player/PlayerEntity;resetStat(Lnet/minecraft/stat/Stat;)V
-
unlockRecipes
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ljava/util/Collection;)Iintermediary method_7254Lnet/minecraft/class_1657;method_7254(Ljava/util/Collection;)Inamed unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/Collection;)I
-
onRecipeCrafted
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lczc;Ljava/util/List;)Vintermediary method_51283Lnet/minecraft/class_1657;method_51283(Lnet/minecraft/class_8786;Ljava/util/List;)Vnamed onRecipeCraftedLnet/minecraft/entity/player/PlayerEntity;onRecipeCrafted(Lnet/minecraft/recipe/RecipeEntry;Ljava/util/List;)V
-
unlockRecipes
- Mappings:
Namespace Name Mixin selector official bLcly;b(Ljava/util/List;)Vintermediary method_7335Lnet/minecraft/class_1657;method_7335(Ljava/util/List;)Vnamed unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/List;)V
-
lockRecipes
- Mappings:
Namespace Name Mixin selector official bLcly;b(Ljava/util/Collection;)Iintermediary method_7333Lnet/minecraft/class_1657;method_7333(Ljava/util/Collection;)Inamed lockRecipesLnet/minecraft/entity/player/PlayerEntity;lockRecipes(Ljava/util/Collection;)I
-
jump
public void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector official fsLbso;fs()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
method_58935
public boolean method_58935()- Mappings:
Namespace Name Mixin selector official gqLcly;gq()Zintermediary method_58935Lnet/minecraft/class_1657;method_58935()Znamed method_58935Lnet/minecraft/entity/player/PlayerEntity;method_58935()Z
-
method_58932
- Mappings:
Namespace Name Mixin selector official cLcly;c(Ljava/lang/String;)Vintermediary method_58932Lnet/minecraft/class_1657;method_58932(Ljava/lang/String;)Vnamed method_58932Lnet/minecraft/entity/player/PlayerEntity;method_58932(Ljava/lang/String;)V
-
method_58933
- Mappings:
Namespace Name Mixin selector official cLcly;c(Ljava/lang/String;I)Vintermediary method_58933Lnet/minecraft/class_1657;method_58933(Ljava/lang/String;I)Vnamed method_58933Lnet/minecraft/entity/player/PlayerEntity;method_58933(Ljava/lang/String;I)V
-
method_58934
- Mappings:
Namespace Name Mixin selector official dLcly;d(Ljava/lang/String;)Zintermediary method_58934Lnet/minecraft/class_1657;method_58934(Ljava/lang/String;)Znamed method_58934Lnet/minecraft/entity/player/PlayerEntity;method_58934(Ljava/lang/String;)Z
-
method_58936
- Mappings:
Namespace Name Mixin selector official grLcly;gr()Lcom/mojang/datafixers/util/Pair;intermediary method_58936Lnet/minecraft/class_1657;method_58936()Lcom/mojang/datafixers/util/Pair;named method_58936Lnet/minecraft/entity/player/PlayerEntity;method_58936()Lcom/mojang/datafixers/util/Pair;
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official aLbso;a(Lewu;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
updateSwimming
public void updateSwimming()- Overrides:
updateSwimmingin classEntity- Mappings:
Namespace Name Mixin selector official boLbrv;bo()Vintermediary method_5790Lnet/minecraft/class_1297;method_5790()Vnamed updateSwimmingLnet/minecraft/entity/Entity;updateSwimming()V
-
doesNotSuffocate
- Mappings:
Namespace Name Mixin selector official jLcly;j(Lir;)Zintermediary method_7326Lnet/minecraft/class_1657;method_7326(Lnet/minecraft/class_2338;)Znamed doesNotSuffocateLnet/minecraft/entity/player/PlayerEntity;doesNotSuffocate(Lnet/minecraft/util/math/BlockPos;)Z
-
getMovementSpeed
public float getMovementSpeed()- Overrides:
getMovementSpeedin classLivingEntity- Mappings:
Namespace Name Mixin selector official fwLbso;fw()Fintermediary method_6029Lnet/minecraft/class_1309;method_6029()Fnamed getMovementSpeedLnet/minecraft/entity/LivingEntity;getMovementSpeed()F
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) Called when an entity falls.Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like
TntMinecartEntity.- Overrides:
handleFallDamagein classLivingEntity- Returns:
- whether to play the sound when falling on honey block;
falsefor all entities except horses and llamas - Mappings:
Namespace Name Mixin selector official aLbrv;a(FFLbqt;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
checkFallFlying
public boolean checkFallFlying()- Mappings:
Namespace Name Mixin selector official gsLcly;gs()Zintermediary method_23668Lnet/minecraft/class_1657;method_23668()Znamed checkFallFlyingLnet/minecraft/entity/player/PlayerEntity;checkFallFlying()Z
-
startFallFlying
public void startFallFlying()- Mappings:
Namespace Name Mixin selector official gtLcly;gt()Vintermediary method_23669Lnet/minecraft/class_1657;method_23669()Vnamed startFallFlyingLnet/minecraft/entity/player/PlayerEntity;startFallFlying()V
-
stopFallFlying
public void stopFallFlying()- Mappings:
Namespace Name Mixin selector official guLcly;gu()Vintermediary method_23670Lnet/minecraft/class_1657;method_23670()Vnamed stopFallFlyingLnet/minecraft/entity/player/PlayerEntity;stopFallFlying()V
-
onSwimmingStart
protected void onSwimmingStart()- Overrides:
onSwimmingStartin classEntity- Mappings:
Namespace Name Mixin selector official brLbrv;br()Vintermediary method_5746Lnet/minecraft/class_1297;method_5746()Vnamed onSwimmingStartLnet/minecraft/entity/Entity;onSwimmingStart()V
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbrv;b(Lir;Ldtc;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getFallSounds
- Overrides:
getFallSoundsin classLivingEntity- Mappings:
Namespace Name Mixin selector official eTLbso;eT()Lbso$a;intermediary method_39760Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;named getFallSoundsLnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
-
onKilledOther
Called when this entity killsother.- Overrides:
onKilledOtherin classEntity- Returns:
- whether the entity died (and not converted to another entity)
- Mappings:
Namespace Name Mixin selector official aLbrv;a(Laqt;Lbso;)Zintermediary method_5874Lnet/minecraft/class_1297;method_5874(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Znamed onKilledOtherLnet/minecraft/entity/Entity;onKilledOther(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
-
slowMovement
CallsEntity.onLanding()and slows this entity.This means that the entity will avoid taking fall damage.
- Overrides:
slowMovementin classEntity- Mappings:
Namespace Name Mixin selector official aLbrv;a(Ldtc;Lewu;)Vintermediary method_5844Lnet/minecraft/class_1297;method_5844(Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)Vnamed slowMovementLnet/minecraft/entity/Entity;slowMovement(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Vec3d;)V
-
addExperience
public void addExperience(int experience) - Mappings:
Namespace Name Mixin selector official dLcly;d(I)Vintermediary method_7255Lnet/minecraft/class_1657;method_7255(I)Vnamed addExperienceLnet/minecraft/entity/player/PlayerEntity;addExperience(I)V
-
getEnchantmentTableSeed
public int getEnchantmentTableSeed()- Mappings:
Namespace Name Mixin selector official gvLcly;gv()Iintermediary method_7278Lnet/minecraft/class_1657;method_7278()Inamed getEnchantmentTableSeedLnet/minecraft/entity/player/PlayerEntity;getEnchantmentTableSeed()I
-
applyEnchantmentCosts
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lcuh;I)Vintermediary method_7286Lnet/minecraft/class_1657;method_7286(Lnet/minecraft/class_1799;I)Vnamed applyEnchantmentCostsLnet/minecraft/entity/player/PlayerEntity;applyEnchantmentCosts(Lnet/minecraft/item/ItemStack;I)V
-
addExperienceLevels
public void addExperienceLevels(int levels) - Mappings:
Namespace Name Mixin selector official cLcly;c(I)Vintermediary method_7316Lnet/minecraft/class_1657;method_7316(I)Vnamed addExperienceLevelsLnet/minecraft/entity/player/PlayerEntity;addExperienceLevels(I)V
-
getNextLevelExperience
public int getNextLevelExperience()- Mappings:
Namespace Name Mixin selector official gwLcly;gw()Iintermediary method_7349Lnet/minecraft/class_1657;method_7349()Inamed getNextLevelExperienceLnet/minecraft/entity/player/PlayerEntity;getNextLevelExperience()I
-
addExhaustion
public void addExhaustion(float exhaustion) - Mappings:
Namespace Name Mixin selector official CLcly;C(F)Vintermediary method_7322Lnet/minecraft/class_1657;method_7322(F)Vnamed addExhaustionLnet/minecraft/entity/player/PlayerEntity;addExhaustion(F)V
-
getSculkShriekerWarningManager
- Mappings:
Namespace Name Mixin selector official acLcly;ac()Ljava/util/Optional;intermediary method_42272Lnet/minecraft/class_1657;method_42272()Ljava/util/Optional;named getSculkShriekerWarningManagerLnet/minecraft/entity/player/PlayerEntity;getSculkShriekerWarningManager()Ljava/util/Optional;
-
getHungerManager
- Mappings:
Namespace Name Mixin selector official gxLcly;gx()Lcou;intermediary method_7344Lnet/minecraft/class_1657;method_7344()Lnet/minecraft/class_1702;named getHungerManagerLnet/minecraft/entity/player/PlayerEntity;getHungerManager()Lnet/minecraft/entity/player/HungerManager;
-
canConsume
public boolean canConsume(boolean ignoreHunger) - Mappings:
Namespace Name Mixin selector official tLcly;t(Z)Zintermediary method_7332Lnet/minecraft/class_1657;method_7332(Z)Znamed canConsumeLnet/minecraft/entity/player/PlayerEntity;canConsume(Z)Z
-
canFoodHeal
public boolean canFoodHeal()- Mappings:
Namespace Name Mixin selector official gyLcly;gy()Zintermediary method_7317Lnet/minecraft/class_1657;method_7317()Znamed canFoodHealLnet/minecraft/entity/player/PlayerEntity;canFoodHeal()Z
-
canModifyBlocks
public boolean canModifyBlocks()- Mappings:
Namespace Name Mixin selector official gzLcly;gz()Zintermediary method_7294Lnet/minecraft/class_1657;method_7294()Znamed canModifyBlocksLnet/minecraft/entity/player/PlayerEntity;canModifyBlocks()Z
-
canPlaceOn
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lir;Liw;Lcuh;)Zintermediary method_7343Lnet/minecraft/class_1657;method_7343(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_1799;)Znamed canPlaceOnLnet/minecraft/entity/player/PlayerEntity;canPlaceOn(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;Lnet/minecraft/item/ItemStack;)Z
-
getXpToDrop
public int getXpToDrop()Called when this entity is killed and returns the amount of experience to drop.- Overrides:
getXpToDropin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official erLbso;er()Iintermediary method_6110Lnet/minecraft/class_1309;method_6110()Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop()I
-
shouldAlwaysDropXp
protected boolean shouldAlwaysDropXp()Returns if this entity may always drop experience, skipping any other checks.- Overrides:
shouldAlwaysDropXpin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official esLbso;es()Zintermediary method_6071Lnet/minecraft/class_1309;method_6071()Znamed shouldAlwaysDropXpLnet/minecraft/entity/LivingEntity;shouldAlwaysDropXp()Z
-
shouldRenderName
public boolean shouldRenderName()Returns whether to render the name of the entity.This returns
truefor players andEntity.isCustomNameVisible()for other entities.- Overrides:
shouldRenderNamein classLivingEntity- Returns:
- whether to render the name of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector official cKLbrv;cK()Zintermediary method_5733Lnet/minecraft/class_1297;method_5733()Znamed shouldRenderNameLnet/minecraft/entity/Entity;shouldRenderName()Z
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffectin classEntity- Mappings:
Namespace Name Mixin selector official bfLbrv;bf()Lbrv$c;intermediary method_33570Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;named getMoveEffectLnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Mappings:
Namespace Name Mixin selector official ALcly;A()Vintermediary method_7355Lnet/minecraft/class_1657;method_7355()Vnamed sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
getName
Returns the name of this object.This should return the custom name if it exists, otherwise the default name. This should not have styling applied.
- Specified by:
getNamein interfaceNameable- Overrides:
getNamein classEntity- Returns:
- the name of this object
- Mappings:
Namespace Name Mixin selector official afLbqf;af()Lxe;intermediary method_5477Lnet/minecraft/class_1275;method_5477()Lnet/minecraft/class_2561;named getNameLnet/minecraft/util/Nameable;getName()Lnet/minecraft/text/Text;
-
getEnderChestInventory
- Mappings:
Namespace Name Mixin selector official gALcly;gA()Lcqt;intermediary method_7274Lnet/minecraft/class_1657;method_7274()Lnet/minecraft/class_1730;named getEnderChestInventoryLnet/minecraft/entity/player/PlayerEntity;getEnderChestInventory()Lnet/minecraft/inventory/EnderChestInventory;
-
getEquippedStack
- Specified by:
getEquippedStackin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLbso;d(Lbsc;)Lcuh;intermediary method_6118Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;named getEquippedStackLnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
isArmorSlot
- Overrides:
isArmorSlotin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbso;a(Lbsc;)Zintermediary method_44201Lnet/minecraft/class_1309;method_44201(Lnet/minecraft/class_1304;)Znamed isArmorSlotLnet/minecraft/entity/LivingEntity;isArmorSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
-
equipStack
- Specified by:
equipStackin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbso;a(Lbsc;Lcuh;)Vintermediary method_5673Lnet/minecraft/class_1309;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vnamed equipStackLnet/minecraft/entity/LivingEntity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
giveItemStack
- Mappings:
Namespace Name Mixin selector official iLcly;i(Lcuh;)Zintermediary method_7270Lnet/minecraft/class_1657;method_7270(Lnet/minecraft/class_1799;)Znamed giveItemStackLnet/minecraft/entity/player/PlayerEntity;giveItemStack(Lnet/minecraft/item/ItemStack;)Z
-
getHandItems
- Overrides:
getHandItemsin classLivingEntity- Mappings:
Namespace Name Mixin selector official fjLbso;fj()Ljava/lang/Iterable;intermediary method_5877Lnet/minecraft/class_1309;method_5877()Ljava/lang/Iterable;named getHandItemsLnet/minecraft/entity/LivingEntity;getHandItems()Ljava/lang/Iterable;
-
getArmorItems
- Specified by:
getArmorItemsin classLivingEntity- Mappings:
Namespace Name Mixin selector official fiLbso;fi()Ljava/lang/Iterable;intermediary method_5661Lnet/minecraft/class_1309;method_5661()Ljava/lang/Iterable;named getArmorItemsLnet/minecraft/entity/LivingEntity;getArmorItems()Ljava/lang/Iterable;
-
canUseSlot
- Overrides:
canUseSlotin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbso;c(Lbsc;)Zintermediary method_56991Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Znamed canUseSlotLnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
-
addShoulderEntity
- Mappings:
Namespace Name Mixin selector official hLcly;h(Luk;)Zintermediary method_7298Lnet/minecraft/class_1657;method_7298(Lnet/minecraft/class_2487;)Znamed addShoulderEntityLnet/minecraft/entity/player/PlayerEntity;addShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)Z
-
dropShoulderEntities
protected void dropShoulderEntities()- Mappings:
Namespace Name Mixin selector official gBLcly;gB()Vintermediary method_7262Lnet/minecraft/class_1657;method_7262()Vnamed dropShoulderEntitiesLnet/minecraft/entity/player/PlayerEntity;dropShoulderEntities()V
-
dropShoulderEntity
- Mappings:
Namespace Name Mixin selector official kLcly;k(Luk;)Vintermediary method_7296Lnet/minecraft/class_1657;method_7296(Lnet/minecraft/class_2487;)Vnamed dropShoulderEntityLnet/minecraft/entity/player/PlayerEntity;dropShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)V
-
isSpectator
public abstract boolean isSpectator()Returns whether the entity is a spectator.This returns
falseunless the entity is a player in spectator game mode.- Overrides:
isSpectatorin classEntity- Returns:
- whether the entity is a spectator
- Mappings:
Namespace Name Mixin selector official O_Lbrv;O_()Zintermediary method_7325Lnet/minecraft/class_1297;method_7325()Znamed isSpectatorLnet/minecraft/entity/Entity;isSpectator()Z
-
canBeHitByProjectile
public boolean canBeHitByProjectile()- Overrides:
canBeHitByProjectilein classEntity- Mappings:
Namespace Name Mixin selector official bDLbrv;bD()Zintermediary method_49108Lnet/minecraft/class_1297;method_49108()Znamed canBeHitByProjectileLnet/minecraft/entity/Entity;canBeHitByProjectile()Z
-
isSwimming
public boolean isSwimming()Returns whether the entity is swimming.An entity is swimming if it is touching water, not riding any entities, and is sprinting. Note that to start swimming, the entity must first be submerged in water.
- Overrides:
isSwimmingin classEntity- Returns:
- whether the entity is swimming
- See Also:
- Mappings:
Namespace Name Mixin selector official chLbrv;ch()Zintermediary method_5681Lnet/minecraft/class_1297;method_5681()Znamed isSwimmingLnet/minecraft/entity/Entity;isSwimming()Z
-
isCreative
public abstract boolean isCreative()Returns whether this player is in creative mode.- Mappings:
Namespace Name Mixin selector official fLcly;f()Zintermediary method_7337Lnet/minecraft/class_1657;method_7337()Znamed isCreativeLnet/minecraft/entity/player/PlayerEntity;isCreative()Z
-
isPushedByFluids
public boolean isPushedByFluids()Returns whether the entity is pushed by fluids.- Overrides:
isPushedByFluidsin classEntity- Returns:
- whether the entity is pushed by fluids
- Mappings:
Namespace Name Mixin selector official cHLbrv;cH()Zintermediary method_5675Lnet/minecraft/class_1297;method_5675()Znamed isPushedByFluidsLnet/minecraft/entity/Entity;isPushedByFluids()Z
-
getScoreboard
- Mappings:
Namespace Name Mixin selector official gCLcly;gC()Lexy;intermediary method_7327Lnet/minecraft/class_1657;method_7327()Lnet/minecraft/class_269;named getScoreboardLnet/minecraft/entity/player/PlayerEntity;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
getDisplayName
Returns the display name of this object.By default, this returns the result of
Nameable.getName(). The return value can have styling applied.- Specified by:
getDisplayNamein interfaceNameable- Specified by:
getDisplayNamein interfaceScoreHolder- Overrides:
getDisplayNamein classEntity- Returns:
- the display name of this object
- Mappings:
Namespace Name Mixin selector official P_Lbqf;P_()Lxe;intermediary method_5476Lnet/minecraft/class_1275;method_5476()Lnet/minecraft/class_2561;named getDisplayNameLnet/minecraft/util/Nameable;getDisplayName()Lnet/minecraft/text/Text;
-
addTellClickEvent
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lxs;)Lxs;intermediary method_7299Lnet/minecraft/class_1657;method_7299(Lnet/minecraft/class_5250;)Lnet/minecraft/class_5250;named addTellClickEventLnet/minecraft/entity/player/PlayerEntity;addTellClickEvent(Lnet/minecraft/text/MutableText;)Lnet/minecraft/text/MutableText;
-
getNameForScoreboard
Returns the name uniquely identifying the score holder.Unlike
Entity.getName(), this is guaranteed to be unique. This is the UUID for all entities except players (which use the player's username).- Specified by:
getNameForScoreboardin interfaceScoreHolder- Overrides:
getNameForScoreboardin classEntity- Returns:
- the name uniquely identifying the score holder
- See Also:
- Mappings:
Namespace Name Mixin selector official cGLexx;cG()Ljava/lang/String;intermediary method_5820Lnet/minecraft/class_9015;method_5820()Ljava/lang/String;named getNameForScoreboardLnet/minecraft/scoreboard/ScoreHolder;getNameForScoreboard()Ljava/lang/String;
-
setAbsorptionAmountUnclamped
protected void setAbsorptionAmountUnclamped(float absorptionAmount) - Overrides:
setAbsorptionAmountUnclampedin classLivingEntity- Mappings:
Namespace Name Mixin selector official BLbso;B(F)Vintermediary method_52544Lnet/minecraft/class_1309;method_52544(F)Vnamed setAbsorptionAmountUnclampedLnet/minecraft/entity/LivingEntity;setAbsorptionAmountUnclamped(F)V
-
getAbsorptionAmount
public float getAbsorptionAmount()- Overrides:
getAbsorptionAmountin classLivingEntity- Mappings:
Namespace Name Mixin selector official fBLbso;fB()Fintermediary method_6067Lnet/minecraft/class_1309;method_6067()Fnamed getAbsorptionAmountLnet/minecraft/entity/LivingEntity;getAbsorptionAmount()F
-
isPartVisible
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lclz;)Zintermediary method_7348Lnet/minecraft/class_1657;method_7348(Lnet/minecraft/class_1664;)Znamed isPartVisibleLnet/minecraft/entity/player/PlayerEntity;isPartVisible(Lnet/minecraft/client/render/entity/PlayerModelPart;)Z
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/lootor/item.- Overrides:
getStackReferencein classLivingEntity- Parameters:
mappedIndex- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector official a_Lbrv;a_(I)Lbtf;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getStackReferenceLnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
hasReducedDebugInfo
public boolean hasReducedDebugInfo()- Mappings:
Namespace Name Mixin selector official gDLcly;gD()Zintermediary method_7302Lnet/minecraft/class_1657;method_7302()Znamed hasReducedDebugInfoLnet/minecraft/entity/player/PlayerEntity;hasReducedDebugInfo()Z
-
setReducedDebugInfo
public void setReducedDebugInfo(boolean reducedDebugInfo) - Mappings:
Namespace Name Mixin selector official uLcly;u(Z)Vintermediary method_7268Lnet/minecraft/class_1657;method_7268(Z)Vnamed setReducedDebugInfoLnet/minecraft/entity/player/PlayerEntity;setReducedDebugInfo(Z)V
-
setFireTicks
public void setFireTicks(int fireTicks) Sets the entity on fire forticksticks.- Overrides:
setFireTicksin classEntity- See Also:
- Mappings:
Namespace Name Mixin selector official iLbrv;i(I)Vintermediary method_20803Lnet/minecraft/class_1297;method_20803(I)Vnamed setFireTicksLnet/minecraft/entity/Entity;setFireTicks(I)V
-
getMainArm
- Specified by:
getMainArmin classLivingEntity- Mappings:
Namespace Name Mixin selector official fDLbso;fD()Lbsi;intermediary method_6068Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;named getMainArmLnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
-
setMainArm
- Mappings:
Namespace Name Mixin selector official aLcly;a(Lbsi;)Vintermediary method_7283Lnet/minecraft/class_1657;method_7283(Lnet/minecraft/class_1306;)Vnamed setMainArmLnet/minecraft/entity/player/PlayerEntity;setMainArm(Lnet/minecraft/util/Arm;)V
-
getShoulderEntityLeft
- Mappings:
Namespace Name Mixin selector official gELcly;gE()Luk;intermediary method_7356Lnet/minecraft/class_1657;method_7356()Lnet/minecraft/class_2487;named getShoulderEntityLeftLnet/minecraft/entity/player/PlayerEntity;getShoulderEntityLeft()Lnet/minecraft/nbt/NbtCompound;
-
setShoulderEntityLeft
- Mappings:
Namespace Name Mixin selector official iLcly;i(Luk;)Vintermediary method_7273Lnet/minecraft/class_1657;method_7273(Lnet/minecraft/class_2487;)Vnamed setShoulderEntityLeftLnet/minecraft/entity/player/PlayerEntity;setShoulderEntityLeft(Lnet/minecraft/nbt/NbtCompound;)V
-
getShoulderEntityRight
- Mappings:
Namespace Name Mixin selector official gFLcly;gF()Luk;intermediary method_7308Lnet/minecraft/class_1657;method_7308()Lnet/minecraft/class_2487;named getShoulderEntityRightLnet/minecraft/entity/player/PlayerEntity;getShoulderEntityRight()Lnet/minecraft/nbt/NbtCompound;
-
setShoulderEntityRight
- Mappings:
Namespace Name Mixin selector official jLcly;j(Luk;)Vintermediary method_7345Lnet/minecraft/class_1657;method_7345(Lnet/minecraft/class_2487;)Vnamed setShoulderEntityRightLnet/minecraft/entity/player/PlayerEntity;setShoulderEntityRight(Lnet/minecraft/nbt/NbtCompound;)V
-
getAttackCooldownProgressPerTick
public float getAttackCooldownProgressPerTick()- Mappings:
Namespace Name Mixin selector official gGLcly;gG()Fintermediary method_7279Lnet/minecraft/class_1657;method_7279()Fnamed getAttackCooldownProgressPerTickLnet/minecraft/entity/player/PlayerEntity;getAttackCooldownProgressPerTick()F
-
getAttackCooldownProgress
public float getAttackCooldownProgress(float baseTime) - Mappings:
Namespace Name Mixin selector official DLcly;D(F)Fintermediary method_7261Lnet/minecraft/class_1657;method_7261(F)Fnamed getAttackCooldownProgressLnet/minecraft/entity/player/PlayerEntity;getAttackCooldownProgress(F)F
-
resetLastAttackedTicks
public void resetLastAttackedTicks()- Mappings:
Namespace Name Mixin selector official gHLcly;gH()Vintermediary method_7350Lnet/minecraft/class_1657;method_7350()Vnamed resetLastAttackedTicksLnet/minecraft/entity/player/PlayerEntity;resetLastAttackedTicks()V
-
getItemCooldownManager
- Mappings:
Namespace Name Mixin selector official gILcly;gI()Lcud;intermediary method_7357Lnet/minecraft/class_1657;method_7357()Lnet/minecraft/class_1796;named getItemCooldownManagerLnet/minecraft/entity/player/PlayerEntity;getItemCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
-
getVelocityMultiplier
protected float getVelocityMultiplier()- Overrides:
getVelocityMultiplierin classLivingEntity- Mappings:
Namespace Name Mixin selector official aQLbrv;aQ()Fintermediary method_23326Lnet/minecraft/class_1297;method_23326()Fnamed getVelocityMultiplierLnet/minecraft/entity/Entity;getVelocityMultiplier()F
-
getLuck
public float getLuck()- Mappings:
Namespace Name Mixin selector official gJLcly;gJ()Fintermediary method_7292Lnet/minecraft/class_1657;method_7292()Fnamed getLuckLnet/minecraft/entity/player/PlayerEntity;getLuck()F
-
isCreativeLevelTwoOp
public boolean isCreativeLevelTwoOp()- Mappings:
Namespace Name Mixin selector official gKLcly;gK()Zintermediary method_7338Lnet/minecraft/class_1657;method_7338()Znamed isCreativeLevelTwoOpLnet/minecraft/entity/player/PlayerEntity;isCreativeLevelTwoOp()Z
-
canEquip
- Overrides:
canEquipin classLivingEntity- Mappings:
Namespace Name Mixin selector official fLbso;f(Lcuh;)Zintermediary method_18397Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Znamed canEquipLnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
getBaseDimensions
- Overrides:
getBaseDimensionsin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLbso;e(Lbsz;)Lbry;intermediary method_55694Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;named getBaseDimensionsLnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getPoses
- Overrides:
getPosesin classLivingEntity- Mappings:
Namespace Name Mixin selector official fRLbso;fR()Lcom/google/common/collect/ImmutableList;intermediary method_24831Lnet/minecraft/class_1309;method_24831()Lcom/google/common/collect/ImmutableList;named getPosesLnet/minecraft/entity/LivingEntity;getPoses()Lcom/google/common/collect/ImmutableList;
-
getProjectileType
- Overrides:
getProjectileTypein classLivingEntity- Mappings:
Namespace Name Mixin selector official gLbso;g(Lcuh;)Lcuh;intermediary method_18808Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;named getProjectileTypeLnet/minecraft/entity/LivingEntity;getProjectileType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
eatFood
- Overrides:
eatFoodin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbso;a(Ldca;Lcuh;)Lcuh;intermediary method_18866Lnet/minecraft/class_1309;method_18866(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;named eatFoodLnet/minecraft/entity/LivingEntity;eatFood(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
shouldRemoveSoulSpeedBoost
- Overrides:
shouldRemoveSoulSpeedBoostin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbso;c(Ldtc;)Zintermediary method_29500Lnet/minecraft/class_1309;method_29500(Lnet/minecraft/class_2680;)Znamed shouldRemoveSoulSpeedBoostLnet/minecraft/entity/LivingEntity;shouldRemoveSoulSpeedBoost(Lnet/minecraft/block/BlockState;)Z
-
getLeashPos
Returns the position of the leash this entity holds.This is different from
Entity.getLeashOffset(float); this method is called on the entity that holds the leash.- Overrides:
getLeashPosin classEntity- Returns:
- the position of the leash this entity holds
- See Also:
- Mappings:
Namespace Name Mixin selector official qLbrv;q(F)Lewu;intermediary method_30951Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;named getLeashPosLnet/minecraft/entity/Entity;getLeashPos(F)Lnet/minecraft/util/math/Vec3d;
-
isPlayer
public boolean isPlayer()- Specified by:
isPlayerin interfaceEntityLike- Overrides:
isPlayerin classEntity- Mappings:
Namespace Name Mixin selector official dTLdxc;dT()Zintermediary method_31747Lnet/minecraft/class_5568;method_31747()Znamed isPlayerLnet/minecraft/world/entity/EntityLike;isPlayer()Z
-
isUsingSpyglass
public boolean isUsingSpyglass()- Mappings:
Namespace Name Mixin selector official gLLcly;gL()Zintermediary method_31550Lnet/minecraft/class_1657;method_31550()Znamed isUsingSpyglassLnet/minecraft/entity/player/PlayerEntity;isUsingSpyglass()Z
-
shouldSave
public boolean shouldSave()- Specified by:
shouldSavein interfaceEntityLike- Overrides:
shouldSavein classEntity- Mappings:
Namespace Name Mixin selector official dSLdxc;dS()Zintermediary method_31746Lnet/minecraft/class_5568;method_31746()Znamed shouldSaveLnet/minecraft/world/entity/EntityLike;shouldSave()Z
-
getLastDeathPos
- Mappings:
Namespace Name Mixin selector official gMLcly;gM()Ljava/util/Optional;intermediary method_43122Lnet/minecraft/class_1657;method_43122()Ljava/util/Optional;named getLastDeathPosLnet/minecraft/entity/player/PlayerEntity;getLastDeathPos()Ljava/util/Optional;
-
setLastDeathPos
- Mappings:
Namespace Name Mixin selector official aLcly;a(Ljava/util/Optional;)Vintermediary method_43120Lnet/minecraft/class_1657;method_43120(Ljava/util/Optional;)Vnamed setLastDeathPosLnet/minecraft/entity/player/PlayerEntity;setLastDeathPos(Ljava/util/Optional;)V
-
getDamageTiltYaw
public float getDamageTiltYaw()- Overrides:
getDamageTiltYawin classLivingEntity- Mappings:
Namespace Name Mixin selector official eQLbso;eQ()Fintermediary method_48157Lnet/minecraft/class_1309;method_48157()Fnamed getDamageTiltYawLnet/minecraft/entity/LivingEntity;getDamageTiltYaw()F
-
animateDamage
public void animateDamage(float yaw) Called on the client to animate the entity's damage (the wobble).- Overrides:
animateDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official mLbrv;m(F)Vintermediary method_5879Lnet/minecraft/class_1297;method_5879(F)Vnamed animateDamageLnet/minecraft/entity/Entity;animateDamage(F)V
-
canSprintAsVehicle
public boolean canSprintAsVehicle()- Overrides:
canSprintAsVehiclein classEntity- Mappings:
Namespace Name Mixin selector official dNLbrv;dN()Zintermediary method_48155Lnet/minecraft/class_1297;method_48155()Znamed canSprintAsVehicleLnet/minecraft/entity/Entity;canSprintAsVehicle()Z
-
getOffGroundSpeed
protected float getOffGroundSpeed()- Overrides:
getOffGroundSpeedin classLivingEntity- Mappings:
Namespace Name Mixin selector official fvLbso;fv()Fintermediary method_49484Lnet/minecraft/class_1309;method_49484()Fnamed getOffGroundSpeedLnet/minecraft/entity/LivingEntity;getOffGroundSpeed()F
-
getBlockInteractionRange
public double getBlockInteractionRange()- Mappings:
Namespace Name Mixin selector official gNLcly;gN()Dintermediary method_55754Lnet/minecraft/class_1657;method_55754()Dnamed getBlockInteractionRangeLnet/minecraft/entity/player/PlayerEntity;getBlockInteractionRange()D
-
getEntityInteractionRange
public double getEntityInteractionRange()- Mappings:
Namespace Name Mixin selector official gOLcly;gO()Dintermediary method_55755Lnet/minecraft/class_1657;method_55755()Dnamed getEntityInteractionRangeLnet/minecraft/entity/player/PlayerEntity;getEntityInteractionRange()D
-
canInteractWithEntity
Returns whether the player can interact withentity.This returns
falsefor removed entities.- Parameters:
additionalRange- the player's additional interaction range added to the default range- Returns:
- whether the player can interact with
entity - Mappings:
Namespace Name Mixin selector official bLcly;b(Lbrv;D)Zintermediary method_56094Lnet/minecraft/class_1657;method_56094(Lnet/minecraft/class_1297;D)Znamed canInteractWithEntityLnet/minecraft/entity/player/PlayerEntity;canInteractWithEntity(Lnet/minecraft/entity/Entity;D)Z
-
canInteractWithEntityIn
Returns whether the player can interact with entity whose bounding box isbox.- Parameters:
additionalRange- the player's additional interaction range added to the default range- Returns:
- whether the player can interact with entity whose bounding box
is
box - Mappings:
Namespace Name Mixin selector official aLcly;a(Lewp;D)Zintermediary method_56092Lnet/minecraft/class_1657;method_56092(Lnet/minecraft/class_238;D)Znamed canInteractWithEntityInLnet/minecraft/entity/player/PlayerEntity;canInteractWithEntityIn(Lnet/minecraft/util/math/Box;D)Z
-
canInteractWithBlockAt
Returns whether the player can interact with block atpos.- Parameters:
additionalRange- the player's additional interaction range added to the default range- Returns:
- whether the player can interact with block at
pos - Mappings:
Namespace Name Mixin selector official aLcly;a(Lir;D)Zintermediary method_56093Lnet/minecraft/class_1657;method_56093(Lnet/minecraft/class_2338;D)Znamed canInteractWithBlockAtLnet/minecraft/entity/player/PlayerEntity;canInteractWithBlockAt(Lnet/minecraft/util/math/BlockPos;D)Z
-
clearCurrentExplosion
public void clearCurrentExplosion()- Mappings:
Namespace Name Mixin selector official gPLcly;gP()Vintermediary method_58396Lnet/minecraft/class_1657;method_58396()Vnamed clearCurrentExplosionLnet/minecraft/entity/player/PlayerEntity;clearCurrentExplosion()V
-