Class PlayerEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
AbstractClientPlayerEntity,ServerPlayerEntity
- Mappings:
Namespace Name official btiintermediary 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.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PlayerAbilitiesprotected intprivate static final TrackedData<Float>doubledoubledoubleprotected intprotected EnderChestInventoryintintfloatstatic final intstatic final intstatic final intstatic final intstatic final intstatic final floatstatic final floatstatic final floatstatic final floatprivate static final intprivate static final org.slf4j.Loggerprotected final floatprivate final com.mojang.authlib.GameProfileprotected HungerManagerprivate final PlayerInventoryprotected booleanprivate final ItemCooldownManagerprivate intprotected static final TrackedData<NbtCompound>protected static final TrackedData<Byte>protected static final TrackedData<Byte>final PlayerScreenHandlerprivate static final Map<EntityPose,EntityDimensions> doubledoubledoublefloatprivate final @Nullable PlayerPublicKeyprivate booleanprotected static final TrackedData<NbtCompound>private static final TrackedData<Integer>protected SculkShriekerWarningManagerprivate ItemStackprivate longprivate intstatic final EntityDimensionsfloatintFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, 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_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionPlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable PlayerPublicKey publicKey) -
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) protected voidapplyDamage(DamageSource source, float amount) voidapplyEnchantmentCosts(ItemStack enchantedItem, int experienceLevels) voidprotected voidattackLivingEntity(LivingEntity target) booleancanConsume(boolean ignoreHunger) booleanbooleanbooleancanHarvest(BlockState state) Determines whether the player is able to harvest drops from the specified block state.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.booleanbooleanprotected booleanprotected voidprivate voidcollideWithEntity(Entity entity) protected ItemCooldownManagerbooleandamage(DamageSource source, float amount) protected voiddamageArmor(DamageSource source, float amount) protected voiddamageHelmet(DamageSource source, float amount) protected voiddamageShield(float amount) voiddisableShield(boolean sprinting) voidDismounts 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.floatfloatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) getArrowType(ItemStack stack) floatgetAttackCooldownProgress(float baseTime) floatfloatgetBlockBreakingSpeed(BlockState block) protected intprotected SoundEventintgetDimensions(EntityPose pose) intcom.mojang.authlib.GameProfiledoubleprotected SoundEventprotected SoundEventgetHurtSound(DamageSource source) getLeashPos(float delta) floatgetLuck()intprotected Entity.MoveEffectReturns the possible effect(s) of an entity moving.floatgetName()intgetPoses()intgetScore()intprotected 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) voidhandleStatus(byte status) booleanprivate voidincreaseRidingMotionStats(double dx, double dy, double dz) voidincreaseStat(Stat<?> stat, int amount) voidincreaseStat(Identifier stat, int amount) voidincreaseTravelMotionStats(double dx, double dy, double dz) voidincrementStat(Stat<?> stat) voidincrementStat(Identifier stat) protected voidprotected booleanisArmorSlot(EquipmentSlot slot) booleanisBlockBreakingRestricted(World world, BlockPos pos, GameMode gameMode) abstract booleanReturns whether this player is in creative mode.booleanprotected booleanbooleanisInvulnerableTo(DamageSource damageSource) booleanprotected booleanbooleanisPartVisible(PlayerModelPart modelPart) booleanisPlayer()booleanabstract booleanbooleanbooleanvoidjump()intlockRecipes(Collection<Recipe<?>> recipes) private booleanvoidonDeath(DamageSource damageSource) booleanonKilledOther(ServerWorld world, LivingEntity other) voidonPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler.protected voidvoidopenCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor) voidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock) voidvoidopenHorseInventory(AbstractHorseEntity horse, Inventory inventory) voidopenJigsawScreen(JigsawBlockEntity jigsaw) voidopenStructureBlockScreen(StructureBlockBlockEntity structureBlock) voidplaySound(SoundEvent sound, float volume, float pitch) voidplaySound(SoundEvent event, SoundCategory category, float volume, float pitch) voidvoidremove(Entity.RemovalReason reason) 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) voidsetAbsorptionAmount(float amount) voidsetFireTicks(int fireTicks) 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.booleanbooleanshouldDamagePlayer(PlayerEntity player) protected booleanprotected booleanshouldRemoveSoulSpeedBoost(BlockState landingState) booleanbooleanbooleanvoidslowMovement(BlockState state, Vec3d multiplier) private voidspawnParticles(ParticleEffect parameters) voidvoidvoidprotected voidtakeShieldHit(LivingEntity attacker) voidtick()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<Recipe<?>> recipes) voidunlockRecipes(Identifier[] ids) 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.voidMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, baseTick, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canMoveVoluntarily, canSee, canTarget, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, endCombat, enterCombat, fall, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getLootContextBuilder, getLootTable, getMainHandStack, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, getYaw, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playEquipSound, playHurtSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEventSource, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, hasWings, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playExtinguishSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_38197
private static final org.slf4j.Logger field_38197- Mappings:
Namespace Name Mixin selector official bLbti;b:Lorg/slf4j/Logger;intermediary field_38197Lnet/minecraft/class_1657;field_38197:Lorg/slf4j/Logger;named field_38197Lnet/minecraft/entity/player/PlayerEntity;field_38197:Lorg/slf4j/Logger;
-
field_30643
public static final int field_30643- See Also:
- Mappings:
Namespace Name Mixin selector official bELbti;bE:Iintermediary field_30643Lnet/minecraft/class_1657;field_30643:Inamed field_30643Lnet/minecraft/entity/player/PlayerEntity;field_30643:I
-
field_30644
public static final int field_30644- See Also:
- Mappings:
Namespace Name Mixin selector official bFLbti;bF: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 bGLbti;bG: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 bHLbti;bH: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 bILbti;bI:Iintermediary field_30647Lnet/minecraft/class_1657;field_30647:Inamed field_30647Lnet/minecraft/entity/player/PlayerEntity;field_30647:I
-
field_30648
public static final float field_30648- See Also:
- Mappings:
Namespace Name Mixin selector official bJLbti;bJ: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 bKLbti;bK: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 bLLbti;bL:Fintermediary field_30650Lnet/minecraft/class_1657;field_30650:Fnamed field_30650Lnet/minecraft/entity/player/PlayerEntity;field_30650:F
-
field_30651
public static final float field_30651- See Also:
- Mappings:
Namespace Name Mixin selector official bMLbti;bM:Fintermediary field_30651Lnet/minecraft/class_1657;field_30651:Fnamed field_30651Lnet/minecraft/entity/player/PlayerEntity;field_30651:F
-
STANDING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official bNLbti;bN:Lbau;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 cLbti;c: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;
-
field_30652
private static final int field_30652- See Also:
- Mappings:
Namespace Name Mixin selector official dLbti;d:Iintermediary field_30652Lnet/minecraft/class_1657;field_30652:Inamed field_30652Lnet/minecraft/entity/player/PlayerEntity;field_30652:I
-
ABSORPTION_AMOUNT
- Mappings:
Namespace Name Mixin selector official eLbti;e:Lzs;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 fLbti;f:Lzs;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 bOLbti;bO:Lzs;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 bPLbti;bP:Lzs;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 bQLbti;bQ:Lzs;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 bRLbti;bR:Lzs;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;
-
shoulderEntityAddedTime
private long shoulderEntityAddedTime- Mappings:
Namespace Name Mixin selector official coLbti;co:Jintermediary field_19428Lnet/minecraft/class_1657;field_19428:Jnamed shoulderEntityAddedTimeLnet/minecraft/entity/player/PlayerEntity;shoulderEntityAddedTime:J
-
inventory
- Mappings:
Namespace Name Mixin selector official cpLbti;cp:Lbth;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 bSLbti;bS:Lbxa;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 bTLbti;bT:Lbwr;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 bULbti;bU:Lbvs;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 bVLbti;bV:Lbvo;intermediary field_7493Lnet/minecraft/class_1657;field_7493:Lnet/minecraft/class_1702;named hungerManagerLnet/minecraft/entity/player/PlayerEntity;hungerManager:Lnet/minecraft/entity/player/HungerManager;
-
sculkShriekerWarningManager
- Mappings:
Namespace Name Mixin selector official bWLbti;bW:Lbso;intermediary field_38198Lnet/minecraft/class_1657;field_38198:Lnet/minecraft/class_7262;named sculkShriekerWarningManagerLnet/minecraft/entity/player/PlayerEntity;sculkShriekerWarningManager:Lnet/minecraft/block/entity/SculkShriekerWarningManager;
-
abilityResyncCountdown
protected int abilityResyncCountdown- Mappings:
Namespace Name Mixin selector official bXLbti;bX: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 bYLbti;bY: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 bZLbti;bZ: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 caLbti;ca:Iintermediary field_7504Lnet/minecraft/class_1657;field_7504:Inamed experiencePickUpDelayLnet/minecraft/entity/player/PlayerEntity;experiencePickUpDelay:I
-
prevCapeX
public double prevCapeX- Mappings:
Namespace Name Mixin selector official cbLbti;cb: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 ccLbti;cc: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 cdLbti;cd: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 ceLbti;ce: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 cfLbti;cf: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 cgLbti;cg: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 cqLbti;cq: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 chLbti;ch:Zintermediary field_7490Lnet/minecraft/class_1657;field_7490:Znamed isSubmergedInWaterLnet/minecraft/entity/player/PlayerEntity;isSubmergedInWater:Z
-
abilities
- Mappings:
Namespace Name Mixin selector official crLbti;cr:Lbtf;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 ciLbti;ci: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 cjLbti;cj: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 ckLbti;ck: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 clLbti;cl: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 cmLbti;cm: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 csLbti;cs: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 ctLbti;ct: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;
-
publicKey
- Mappings:
Namespace Name Mixin selector official cuLbti;cu:Lbtl;intermediary field_39118Lnet/minecraft/class_1657;field_39118:Lnet/minecraft/class_7428;named publicKeyLnet/minecraft/entity/player/PlayerEntity;publicKey:Lnet/minecraft/network/encryption/PlayerPublicKey;
-
reducedDebugInfo
private boolean reducedDebugInfo- Mappings:
Namespace Name Mixin selector official cvLbti;cv:Zintermediary field_7523Lnet/minecraft/class_1657;field_7523:Znamed reducedDebugInfoLnet/minecraft/entity/player/PlayerEntity;reducedDebugInfo:Z
-
selectedItem
- Mappings:
Namespace Name Mixin selector official cwLbti;cw:Lcad;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 cxLbti;cx:Lcaa;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 cyLbti;cy: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 cnLbti;cn:Lbtw;intermediary field_7513Lnet/minecraft/class_1657;field_7513:Lnet/minecraft/class_1536;named fishHookLnet/minecraft/entity/player/PlayerEntity;fishHook:Lnet/minecraft/entity/projectile/FishingBobberEntity;
-
-
Constructor Details
-
PlayerEntity
public PlayerEntity(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable @Nullable PlayerPublicKey publicKey) - Mappings:
Namespace Name Mixin selector official <init>Lbti;<init>(Lcgd;Lgt;FLcom/mojang/authlib/GameProfile;Lbtl;)Vintermediary <init>Lnet/minecraft/class_1657;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;FLcom/mojang/authlib/GameProfile;Lnet/minecraft/class_7428;)Vnamed <init>Lnet/minecraft/entity/player/PlayerEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;FLcom/mojang/authlib/GameProfile;Lnet/minecraft/network/encryption/PlayerPublicKey;)V
-
-
Method Details
-
isBlockBreakingRestricted
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lcgd;Lgt;Lcga;)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 foLbti;fo()Lbci$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
protected void initDataTracker()- Overrides:
initDataTrackerin classLivingEntity- Mappings:
Namespace Name Mixin selector official a_Lbat;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick()- Overrides:
tickin classLivingEntity- Mappings:
Namespace Name Mixin selector official kLbat;k()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
shouldCancelInteraction
public boolean shouldCancelInteraction()- Mappings:
Namespace Name Mixin selector official fpLbti;fp()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 fqLbti;fq()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 frLbti;fr()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 fsLbti;fs()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 nLbti;n()Vintermediary method_7330Lnet/minecraft/class_1657;method_7330()Vnamed updateTurtleHelmetLnet/minecraft/entity/player/PlayerEntity;updateTurtleHelmet()V
-
createCooldownManager
- Mappings:
Namespace Name Mixin selector official jLbti;j()Lcaa;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 rLbti;r()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 ftLbti;ft()Vintermediary method_7318Lnet/minecraft/class_1657;method_7318()Vnamed updatePoseLnet/minecraft/entity/player/PlayerEntity;updatePose()V
-
getMaxNetherPortalTime
public int getMaxNetherPortalTime()- Overrides:
getMaxNetherPortalTimein classEntity- Mappings:
Namespace Name Mixin selector official arLbat;ar()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 aGLbat;aG()Laje;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 aHLbat;aH()Laje;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 aILbat;aI()Laje;intermediary method_5672Lnet/minecraft/class_1297;method_5672()Lnet/minecraft/class_3414;named getHighSpeedSplashSoundLnet/minecraft/entity/Entity;getHighSpeedSplashSound()Lnet/minecraft/sound/SoundEvent;
-
getDefaultNetherPortalCooldown
public int getDefaultNetherPortalCooldown()- Overrides:
getDefaultNetherPortalCooldownin classEntity- Mappings:
Namespace Name Mixin selector official bDLbat;bD()Iintermediary method_5806Lnet/minecraft/class_1297;method_5806()Inamed getDefaultNetherPortalCooldownLnet/minecraft/entity/Entity;getDefaultNetherPortalCooldown()I
-
playSound
-
playSound
- Mappings:
Namespace Name Mixin selector official aLbti;a(Laje;Lajg;FF)Vintermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official cSLbat;cS()Lajg;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 cTLbat;cT()Iintermediary method_5676Lnet/minecraft/class_1297;method_5676()Inamed getBurningDurationLnet/minecraft/entity/Entity;getBurningDuration()I
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatusin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(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 aLbti;a(Lim;)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()- Mappings:
Namespace Name Mixin selector official qLbti;q()Vintermediary method_7346Lnet/minecraft/class_1657;method_7346()Vnamed closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classLivingEntity- Mappings:
Namespace Name Mixin selector official bsLbat;bs()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 eNLbbi;eN()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 w_Lbbi;w_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
updateShoulderEntity
- Mappings:
Namespace Name Mixin selector official cLbti;c(Lpj;)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 cLbti;c(Lbat;)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 fuLbti;fu()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 rLbti;r(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 sLbti;s(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 tLbti;t(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 aLbbi;a(Lbac;)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 ejLbbi;ej()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 fvLbti;fv()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 cLbbi;c(Lbac;)Laje;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 x_Lbbi;x_()Laje;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
dropItem
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lcad;Z)Lbqb;intermediary method_7328Lnet/minecraft/class_1657;method_7328(Lnet/minecraft/class_1799;Z)Lnet/minecraft/class_1542;named dropItemLnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;Z)Lnet/minecraft/entity/ItemEntity;
-
dropItem
@Nullable public @Nullable ItemEntity dropItem(ItemStack stack, boolean throwRandomly, boolean retainOwnership) - Parameters:
throwRandomly- if true, the item will be thrown in a random direction from the entity regardless of which direction the entity is facing- Mappings:
Namespace Name Mixin selector official aLbti;a(Lcad;ZZ)Lbqb;intermediary method_7329Lnet/minecraft/class_1657;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;named dropItemLnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
-
getBlockBreakingSpeed
- Mappings:
Namespace Name Mixin selector official cLbti;c(Lcuu;)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 dLbti;d(Lcuu;)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
- Overrides:
readCustomDataFromNbtin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLbat;b(Lpj;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isInvulnerableTo
- Overrides:
isInvulnerableToin classEntity- Mappings:
Namespace Name Mixin selector official bLbat;b(Lbac;)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
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(Lbac;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 dLbbi;d(Lbbi;)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 dZLbbi;dZ()Zintermediary method_33190Lnet/minecraft/class_1309;method_33190()Znamed canTakeDamageLnet/minecraft/entity/LivingEntity;canTakeDamage()Z
-
shouldDamagePlayer
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lbti;)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 bLbbi;b(Lbac;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 cLbbi;c(Lbac;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 qLbbi;q(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 fLbbi;f(Lbac;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 dFLbbi;dF()Zintermediary method_27303Lnet/minecraft/class_1309;method_27303()Znamed isOnSoulSpeedBlockLnet/minecraft/entity/LivingEntity;isOnSoulSpeedBlock()Z
-
openEditSignScreen
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lctq;)Vintermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;)Vnamed openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
-
openCommandBlockMinecartScreen
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lcfe;)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 aLbti;a(Lcsv;)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 aLbti;a(Lctu;)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 aLbti;a(Lcth;)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 aLbti;a(Lbog;Lazi;)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 aLbti;a(Lazs;)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 aLbti;a(ILcfc;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 aLbti;a(Lcad;Lazo;)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 aLbti;a(Lbat;Lazo;)Lazp;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;
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official btLbat;bt()Dintermediary method_5678Lnet/minecraft/class_1297;method_5678()Dnamed getHeightOffsetLnet/minecraft/entity/Entity;getHeightOffset()D
-
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 bxLbat;bx()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 eFLbbi;eF()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 dLLbbi;dL()Zintermediary method_29920Lnet/minecraft/class_1309;method_29920()Znamed shouldSwimInFluidsLnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Z
-
adjustMovementForSneaking
- Overrides:
adjustMovementForSneakingin classEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(Ldvw;Lbbo;)Ldvw;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 tLbti;t()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 dLbti;d(Lbat;)Vintermediary method_7324Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)Vnamed attackLnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
-
attackLivingEntity
- Overrides:
attackLivingEntityin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLbbi;g(Lbbi;)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(boolean sprinting) - Mappings:
Namespace Name Mixin selector official rLbti;r(Z)Vintermediary method_7284Lnet/minecraft/class_1657;method_7284(Z)Vnamed disableShieldLnet/minecraft/entity/player/PlayerEntity;disableShield(Z)V
-
addCritParticles
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lbat;)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 bLbti;b(Lbat;)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 fwLbti;fw()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 fxLbti;fx()Vintermediary method_7331Lnet/minecraft/class_1657;method_7331()Vnamed requestRespawnLnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
-
remove
-
isMainPlayer
public boolean isMainPlayer()- Mappings:
Namespace Name Mixin selector official fyLbti;fy()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 fzLbti;fz()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;
-
getPublicKey
- Mappings:
Namespace Name Mixin selector official fALbti;fA()Lbtl;intermediary method_43696Lnet/minecraft/class_1657;method_43696()Lnet/minecraft/class_7428;named getPublicKeyLnet/minecraft/entity/player/PlayerEntity;getPublicKey()Lnet/minecraft/network/encryption/PlayerPublicKey;
-
getInventory
- Mappings:
Namespace Name Mixin selector official fBLbti;fB()Lbth;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 fCLbti;fC()Lbtf;intermediary method_31549Lnet/minecraft/class_1657;method_31549()Lnet/minecraft/class_1656;named getAbilitiesLnet/minecraft/entity/player/PlayerEntity;getAbilities()Lnet/minecraft/entity/player/PlayerAbilities;
-
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 aLbti;a(Lcad;Lcad;Lbwa;)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
-
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 aLbti;a(Lgt;)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 aLbti;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 flLbbi;fl()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 aLbti;a(Lafp;Lgt;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 fDLbti;fD()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 fELbti;fE()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 aLbti;a(Lrm;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 aLbti;a(Laak;)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 aLbti;a(Laak;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 bLbti;b(Lajm;)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 aLbti;a(Lajm;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 aLbti;a(Lajm;)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 aLbti;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
-
unlockRecipes
- Mappings:
Namespace Name Mixin selector official aLbti;a([Laak;)Vintermediary method_7335Lnet/minecraft/class_1657;method_7335([Lnet/minecraft/class_2960;)Vnamed unlockRecipesLnet/minecraft/entity/player/PlayerEntity;unlockRecipes([Lnet/minecraft/util/Identifier;)V
-
lockRecipes
- Mappings:
Namespace Name Mixin selector official bLbti;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 eILbbi;eI()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
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 gLbbi;g(Ldvw;)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 aYLbat;aY()Vintermediary method_5790Lnet/minecraft/class_1297;method_5790()Vnamed updateSwimmingLnet/minecraft/entity/Entity;updateSwimming()V
-
doesNotSuffocate
- Mappings:
Namespace Name Mixin selector official fLbti;f(Lgt;)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 eLLbbi;eL()Fintermediary method_6029Lnet/minecraft/class_1309;method_6029()Fnamed getMovementSpeedLnet/minecraft/entity/LivingEntity;getMovementSpeed()F
-
increaseTravelMotionStats
public void increaseTravelMotionStats(double dx, double dy, double dz) - Mappings:
Namespace Name Mixin selector official qLbti;q(DDD)Vintermediary method_7282Lnet/minecraft/class_1657;method_7282(DDD)Vnamed increaseTravelMotionStatsLnet/minecraft/entity/player/PlayerEntity;increaseTravelMotionStats(DDD)V
-
increaseRidingMotionStats
private void increaseRidingMotionStats(double dx, double dy, double dz) - Mappings:
Namespace Name Mixin selector official rLbti;r(DDD)Vintermediary method_7260Lnet/minecraft/class_1657;method_7260(DDD)Vnamed increaseRidingMotionStatsLnet/minecraft/entity/player/PlayerEntity;increaseRidingMotionStats(DDD)V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(FFLbac;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
asMessageSender
- Overrides:
asMessageSenderin classEntity- Mappings:
Namespace Name Mixin selector official aXLbat;aX()Lrh;intermediary method_43688Lnet/minecraft/class_1297;method_43688()Lnet/minecraft/class_7436;named asMessageSenderLnet/minecraft/entity/Entity;asMessageSender()Lnet/minecraft/network/message/MessageSender;
-
checkFallFlying
public boolean checkFallFlying()- Mappings:
Namespace Name Mixin selector official fFLbti;fF()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 fGLbti;fG()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 fHLbti;fH()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 bbLbat;bb()Vintermediary method_5746Lnet/minecraft/class_1297;method_5746()Vnamed onSwimmingStartLnet/minecraft/entity/Entity;onSwimmingStart()V
-
getFallSounds
- Overrides:
getFallSoundsin classLivingEntity- Mappings:
Namespace Name Mixin selector official eoLbbi;eo()Lbbi$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
- Overrides:
onKilledOtherin classEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(Lafp;Lbbi;)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
- Overrides:
slowMovementin classEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(Lcuu;Ldvw;)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 dLbti;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 fILbti;fI()Iintermediary method_7278Lnet/minecraft/class_1657;method_7278()Inamed getEnchantmentTableSeedLnet/minecraft/entity/player/PlayerEntity;getEnchantmentTableSeed()I
-
applyEnchantmentCosts
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lcad;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 cLbti;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 fJLbti;fJ()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 uLbti;u(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 fKLbti;fK()Lbso;intermediary method_42272Lnet/minecraft/class_1657;method_42272()Lnet/minecraft/class_7262;named getSculkShriekerWarningManagerLnet/minecraft/entity/player/PlayerEntity;getSculkShriekerWarningManager()Lnet/minecraft/block/entity/SculkShriekerWarningManager;
-
getHungerManager
- Mappings:
Namespace Name Mixin selector official fLLbti;fL()Lbvo;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 sLbti;s(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 fMLbti;fM()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 fNLbti;fN()Zintermediary method_7294Lnet/minecraft/class_1657;method_7294()Znamed canModifyBlocksLnet/minecraft/entity/player/PlayerEntity;canModifyBlocks()Z
-
canPlaceOn
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lgt;Lgy;Lcad;)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 dPLbbi;dP()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 dQLbbi;dQ()Zintermediary method_6071Lnet/minecraft/class_1309;method_6071()Znamed shouldAlwaysDropXpLnet/minecraft/entity/LivingEntity;shouldAlwaysDropXp()Z
-
shouldRenderName
public boolean shouldRenderName()- Overrides:
shouldRenderNamein classLivingEntity- Mappings:
Namespace Name Mixin selector official cvLbat;cv()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 aOLbat;aO()Lbat$b;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 wLbti;w()Vintermediary method_7355Lnet/minecraft/class_1657;method_7355()Vnamed sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
getName
- Specified by:
getNamein interfaceNameable- Overrides:
getNamein classEntity- Mappings:
Namespace Name Mixin selector official XLazt;X()Lrm;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 fOLbti;fO()Lbxa;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 cLbbi;c(Lbay;)Lcad;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 aLbbi;a(Lbay;)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 aLbat;a(Lbay;Lcad;)Vintermediary method_5673Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vnamed equipStackLnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
giveItemStack
- Mappings:
Namespace Name Mixin selector official jLbti;j(Lcad;)Zintermediary method_7270Lnet/minecraft/class_1657;method_7270(Lnet/minecraft/class_1799;)Znamed giveItemStackLnet/minecraft/entity/player/PlayerEntity;giveItemStack(Lnet/minecraft/item/ItemStack;)Z
-
getItemsHand
- Overrides:
getItemsHandin classEntity- Mappings:
Namespace Name Mixin selector official bFLbat;bF()Ljava/lang/Iterable;intermediary method_5877Lnet/minecraft/class_1297;method_5877()Ljava/lang/Iterable;named getItemsHandLnet/minecraft/entity/Entity;getItemsHand()Ljava/lang/Iterable;
-
getArmorItems
- Specified by:
getArmorItemsin classLivingEntity- Mappings:
Namespace Name Mixin selector official bGLbat;bG()Ljava/lang/Iterable;intermediary method_5661Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;named getArmorItemsLnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
-
addShoulderEntity
- Mappings:
Namespace Name Mixin selector official hLbti;h(Lpj;)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 fPLbti;fP()Vintermediary method_7262Lnet/minecraft/class_1657;method_7262()Vnamed dropShoulderEntitiesLnet/minecraft/entity/player/PlayerEntity;dropShoulderEntities()V
-
dropShoulderEntity
- Mappings:
Namespace Name Mixin selector official kLbti;k(Lpj;)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()- Overrides:
isSpectatorin classEntity- Mappings:
Namespace Name Mixin selector official B_Lbat;B_()Zintermediary method_7325Lnet/minecraft/class_1297;method_7325()Znamed isSpectatorLnet/minecraft/entity/Entity;isSpectator()Z
-
isSwimming
public boolean isSwimming()- Overrides:
isSwimmingin classEntity- Mappings:
Namespace Name Mixin selector official bTLbat;bT()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 fLbti;f()Zintermediary method_7337Lnet/minecraft/class_1657;method_7337()Znamed isCreativeLnet/minecraft/entity/player/PlayerEntity;isCreative()Z
-
isPushedByFluids
public boolean isPushedByFluids()- Overrides:
isPushedByFluidsin classEntity- Mappings:
Namespace Name Mixin selector official csLbat;cs()Zintermediary method_5675Lnet/minecraft/class_1297;method_5675()Znamed isPushedByFluidsLnet/minecraft/entity/Entity;isPushedByFluids()Z
-
getScoreboard
- Mappings:
Namespace Name Mixin selector official fQLbti;fQ()Ldwu;intermediary method_7327Lnet/minecraft/class_1657;method_7327()Lnet/minecraft/class_269;named getScoreboardLnet/minecraft/entity/player/PlayerEntity;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
getDisplayName
- Specified by:
getDisplayNamein interfaceNameable- Overrides:
getDisplayNamein classEntity- Mappings:
Namespace Name Mixin selector official C_Lazt;C_()Lrm;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 aLbti;a(Lrt;)Lrt;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;
-
getEntityName
- Overrides:
getEntityNamein classEntity- Mappings:
Namespace Name Mixin selector official crLbat;cr()Ljava/lang/String;intermediary method_5820Lnet/minecraft/class_1297;method_5820()Ljava/lang/String;named getEntityNameLnet/minecraft/entity/Entity;getEntityName()Ljava/lang/String;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLbbi;b(Lbbu;Lbau;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
setAbsorptionAmount
public void setAbsorptionAmount(float amount) - Overrides:
setAbsorptionAmountin classLivingEntity- Mappings:
Namespace Name Mixin selector official tLbbi;t(F)Vintermediary method_6073Lnet/minecraft/class_1309;method_6073(F)Vnamed setAbsorptionAmountLnet/minecraft/entity/LivingEntity;setAbsorptionAmount(F)V
-
getAbsorptionAmount
public float getAbsorptionAmount()- Overrides:
getAbsorptionAmountin classLivingEntity- Mappings:
Namespace Name Mixin selector official eRLbbi;eR()Fintermediary method_6067Lnet/minecraft/class_1309;method_6067()Fnamed getAbsorptionAmountLnet/minecraft/entity/LivingEntity;getAbsorptionAmount()F
-
isPartVisible
- Mappings:
Namespace Name Mixin selector official aLbti;a(Lbtj;)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 kLbat;k(I)Lbbz;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 fRLbti;fR()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 tLbti;t(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) - Overrides:
setFireTicksin classEntity- Mappings:
Namespace Name Mixin selector official gLbat;g(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 eTLbbi;eT()Lbbd;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 aLbti;a(Lbbd;)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 fSLbti;fS()Lpj;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 iLbti;i(Lpj;)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 fTLbti;fT()Lpj;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 jLbti;j(Lpj;)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 fULbti;fU()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 vLbti;v(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 fVLbti;fV()Vintermediary method_7350Lnet/minecraft/class_1657;method_7350()Vnamed resetLastAttackedTicksLnet/minecraft/entity/player/PlayerEntity;resetLastAttackedTicks()V
-
getItemCooldownManager
- Mappings:
Namespace Name Mixin selector official fWLbti;fW()Lcaa;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 aDLbat;aD()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 fXLbti;fX()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 fYLbti;fY()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 gLbbi;g(Lcad;)Zintermediary method_18397Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Znamed canEquipLnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
getDimensions
- Overrides:
getDimensionsin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbat;a(Lbbu;)Lbau;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getPoses
- Overrides:
getPosesin classLivingEntity- Mappings:
Namespace Name Mixin selector official fhLbbi;fh()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;
-
getArrowType
- Overrides:
getArrowTypein classLivingEntity- Mappings:
Namespace Name Mixin selector official hLbbi;h(Lcad;)Lcad;intermediary method_18808Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;named getArrowTypeLnet/minecraft/entity/LivingEntity;getArrowType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
eatFood
- Overrides:
eatFoodin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbbi;a(Lcgd;Lcad;)Lcad;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 bLbbi;b(Lcuu;)Zintermediary method_29500Lnet/minecraft/class_1309;method_29500(Lnet/minecraft/class_2680;)Znamed shouldRemoveSoulSpeedBoostLnet/minecraft/entity/LivingEntity;shouldRemoveSoulSpeedBoost(Lnet/minecraft/block/BlockState;)Z
-
getLeashPos
- Overrides:
getLeashPosin classEntity- Mappings:
Namespace Name Mixin selector official nLbat;n(F)Ldvw;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 dyLcyi;dy()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 fZLbti;fZ()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 dxLcyi;dx()Zintermediary method_31746Lnet/minecraft/class_5568;method_31746()Znamed shouldSaveLnet/minecraft/world/entity/EntityLike;shouldSave()Z
-
getLastDeathPos
- Mappings:
Namespace Name Mixin selector official gaLbti;ga()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 aLbti;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
-