Class PlayerEntity
- All Implemented Interfaces:
CommandOutput
,Nameable
,EntityLike
- Direct Known Subclasses:
AbstractClientPlayerEntity
,ServerPlayerEntity
- Mappings:
Namespace Name official btf
intermediary net/minecraft/class_1657
named net/minecraft/entity/player/PlayerEntity
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
A reason why a player cannot start sleeping.Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PlayerAbilities
protected int
private static final TrackedData<Float>
double
double
double
protected int
protected EnderChestInventory
int
int
float
static final int
static final int
static final int
static final int
static final int
static final float
static final float
static final float
static final float
private static final int
private static final org.slf4j.Logger
protected final float
private final com.mojang.authlib.GameProfile
protected HungerManager
private final PlayerInventory
protected boolean
private final ItemCooldownManager
private int
protected static final TrackedData<NbtCompound>
protected static final TrackedData<Byte>
protected static final TrackedData<Byte>
final PlayerScreenHandler
private static final Map<EntityPose,
EntityDimensions> double
double
double
float
private final @Nullable PlayerPublicKey
private boolean
protected static final TrackedData<NbtCompound>
private static final TrackedData<Integer>
protected SculkShriekerWarningManager
private ItemStack
private long
private int
static final EntityDimensions
float
int
Fields 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_FLAG
Fields 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, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionPlayerEntity
(World world, BlockPos pos, float yaw, com.mojang.authlib.GameProfile gameProfile, @Nullable PlayerPublicKey publicKey) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCritParticles
(Entity target) void
addEnchantedHitParticles
(Entity target) void
addExhaustion
(float exhaustion) void
addExperience
(int experience) void
addExperienceLevels
(int levels) void
addScore
(int score) boolean
addShoulderEntity
(NbtCompound entityNbt) private MutableText
addTellClickEvent
(MutableText component) protected Vec3d
adjustMovementForSneaking
(Vec3d movement, MovementType type) protected void
applyDamage
(DamageSource source, float amount) void
applyEnchantmentCosts
(ItemStack enchantedItem, int experienceLevels) void
protected void
attackLivingEntity
(LivingEntity target) boolean
canConsume
(boolean ignoreHunger) boolean
boolean
boolean
canHarvest
(BlockState state) Determines whether the player is able to harvest drops from the specified block state.boolean
boolean
canPlaceOn
(BlockPos pos, Direction facing, ItemStack stack) boolean
Returns whether this player has been sleeping long enough to count towards resetting the time of day and weather of the server.boolean
boolean
protected boolean
protected void
private void
collideWithEntity
(Entity entity) protected ItemCooldownManager
boolean
damage
(DamageSource source, float amount) protected void
damageArmor
(DamageSource source, float amount) protected void
damageHelmet
(DamageSource source, float amount) protected void
damageShield
(float amount) void
disableShield
(boolean sprinting) void
Dismounts the vehicle if present.protected boolean
doesNotSuffocate
(BlockPos pos) protected void
protected void
private void
dropShoulderEntity
(NbtCompound entityNbt) void
equipStack
(EquipmentSlot slot, ItemStack stack) findRespawnPosition
(ServerWorld world, BlockPos pos, float angle, boolean forced, boolean alive) Finds the precise respawn position from aBlockPos
in a world.float
float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) getArrowType
(ItemStack stack) float
getAttackCooldownProgress
(float baseTime) float
float
getBlockBreakingSpeed
(BlockState block) protected int
protected SoundEvent
int
getDimensions
(EntityPose pose) int
com.mojang.authlib.GameProfile
double
protected SoundEvent
protected SoundEvent
getHurtSound
(DamageSource source) getLeashPos
(float delta) float
getLuck()
int
protected Entity.MoveEffect
Returns the possible effect(s) of an entity moving.float
getName()
int
getPoses()
int
getScore()
int
protected SoundEvent
getStackReference
(int mappedIndex) Obtains a stack reference to be modified.protected SoundEvent
protected float
int
Called when this entity is killed and returns the amount of experience to drop.boolean
giveItemStack
(ItemStack stack) boolean
handleFallDamage
(float fallDistance, float damageMultiplier, DamageSource damageSource) void
handleStatus
(byte status) boolean
private void
increaseRidingMotionStats
(double dx, double dy, double dz) void
increaseStat
(Stat<?> stat, int amount) void
increaseStat
(Identifier stat, int amount) void
increaseTravelMotionStats
(double dx, double dy, double dz) void
incrementStat
(Stat<?> stat) void
incrementStat
(Identifier stat) protected void
protected boolean
isArmorSlot
(EquipmentSlot slot) boolean
isBlockBreakingRestricted
(World world, BlockPos pos, GameMode gameMode) abstract boolean
Returns whether this player is in creative mode.boolean
protected boolean
boolean
isInvulnerableTo
(DamageSource damageSource) boolean
protected boolean
boolean
isPartVisible
(PlayerModelPart modelPart) boolean
isPlayer()
boolean
abstract boolean
boolean
boolean
void
jump()
int
lockRecipes
(Collection<Recipe<?>> recipes) private boolean
void
onDeath
(DamageSource damageSource) boolean
onKilledOther
(ServerWorld world, LivingEntity other) void
onPickupSlotClick
(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot action
in a screen handler.protected void
void
openCommandBlockMinecartScreen
(CommandBlockExecutor commandBlockExecutor) void
openCommandBlockScreen
(CommandBlockBlockEntity commandBlock) void
void
openHorseInventory
(AbstractHorseEntity horse, Inventory inventory) void
openJigsawScreen
(JigsawBlockEntity jigsaw) void
openStructureBlockScreen
(StructureBlockBlockEntity structureBlock) void
playSound
(SoundEvent sound, float volume, float pitch) void
playSound
(SoundEvent event, SoundCategory category, float volume, float pitch) void
void
remove
(Entity.RemovalReason reason) void
void
void
void
void
sendMessage
(Text message, boolean actionBar) Adds a message to this player's HUD.void
sendTradeOffers
(int syncId, TradeOfferList offers, int levelProgress, int experience, boolean leveled, boolean refreshable) void
setAbsorptionAmount
(float amount) void
setFireTicks
(int fireTicks) void
setLastDeathPos
(Optional<GlobalPos> lastDeathPos) void
setMainArm
(Arm arm) void
setReducedDebugInfo
(boolean reducedDebugInfo) void
setScore
(int score) protected void
setShoulderEntityLeft
(NbtCompound entityNbt) protected void
setShoulderEntityRight
(NbtCompound entityNbt) protected boolean
Returns if this entity may always drop experience, skipping any other checks.boolean
boolean
shouldDamagePlayer
(PlayerEntity player) protected boolean
protected boolean
shouldRemoveSoulSpeedBoost
(BlockState landingState) boolean
boolean
boolean
void
slowMovement
(BlockState state, Vec3d multiplier) private void
spawnParticles
(ParticleEffect parameters) void
void
void
protected void
takeShieldHit
(LivingEntity attacker) void
tick()
void
protected void
void
void
Allows you to do certain speed and velocity calculations.com.mojang.datafixers.util.Either<PlayerEntity.SleepFailureReason,
Unit> Tries to start sleeping on a block.int
unlockRecipes
(Collection<Recipe<?>> recipes) void
unlockRecipes
(Identifier[] ids) private void
protected void
private void
updateShoulderEntity
(@Nullable NbtCompound entityNbt) void
private void
protected boolean
void
Called when the player uses (defaults to right click) a writable or written book item.void
useRiptide
(int riptideTicks) protected void
void
wakeUp()
Wakes this entity up.void
wakeUp
(boolean skipSleepTimer, boolean updateSleepingPlayers) Wakes this player up.void
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyEnchantmentsToDamage, 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, 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, updateTrackedPositionAndAngles
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, applyDamageEffects, applyMirror, applyRotation, asMessageSender, 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, 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, method_44329, 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, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 b
Lbtf;b:Lorg/slf4j/Logger;
intermediary field_38197
Lnet/minecraft/class_1657;field_38197:Lorg/slf4j/Logger;
named field_38197
Lnet/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 bE
Lbtf;bE:I
intermediary field_30643
Lnet/minecraft/class_1657;field_30643:I
named field_30643
Lnet/minecraft/entity/player/PlayerEntity;field_30643:I
-
field_30644
public static final int field_30644- See Also:
- Mappings:
Namespace Name Mixin selector official bF
Lbtf;bF:I
intermediary field_30644
Lnet/minecraft/class_1657;field_30644:I
named field_30644
Lnet/minecraft/entity/player/PlayerEntity;field_30644:I
-
field_30645
public static final int field_30645- See Also:
- Mappings:
Namespace Name Mixin selector official bG
Lbtf;bG:I
intermediary field_30645
Lnet/minecraft/class_1657;field_30645:I
named field_30645
Lnet/minecraft/entity/player/PlayerEntity;field_30645:I
-
field_30646
public static final int field_30646- See Also:
- Mappings:
Namespace Name Mixin selector official bH
Lbtf;bH:I
intermediary field_30646
Lnet/minecraft/class_1657;field_30646:I
named field_30646
Lnet/minecraft/entity/player/PlayerEntity;field_30646:I
-
field_30647
public static final int field_30647- See Also:
- Mappings:
Namespace Name Mixin selector official bI
Lbtf;bI:I
intermediary field_30647
Lnet/minecraft/class_1657;field_30647:I
named field_30647
Lnet/minecraft/entity/player/PlayerEntity;field_30647:I
-
field_30648
public static final float field_30648- See Also:
- Mappings:
Namespace Name Mixin selector official bJ
Lbtf;bJ:F
intermediary field_30648
Lnet/minecraft/class_1657;field_30648:F
named field_30648
Lnet/minecraft/entity/player/PlayerEntity;field_30648:F
-
field_30649
public static final float field_30649- See Also:
- Mappings:
Namespace Name Mixin selector official bK
Lbtf;bK:F
intermediary field_30649
Lnet/minecraft/class_1657;field_30649:F
named field_30649
Lnet/minecraft/entity/player/PlayerEntity;field_30649:F
-
field_30650
public static final float field_30650- See Also:
- Mappings:
Namespace Name Mixin selector official bL
Lbtf;bL:F
intermediary field_30650
Lnet/minecraft/class_1657;field_30650:F
named field_30650
Lnet/minecraft/entity/player/PlayerEntity;field_30650:F
-
field_30651
public static final float field_30651- See Also:
- Mappings:
Namespace Name Mixin selector official bM
Lbtf;bM:F
intermediary field_30651
Lnet/minecraft/class_1657;field_30651:F
named field_30651
Lnet/minecraft/entity/player/PlayerEntity;field_30651:F
-
STANDING_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official bN
Lbtf;bN:Lbar;
intermediary field_18135
Lnet/minecraft/class_1657;field_18135:Lnet/minecraft/class_4048;
named STANDING_DIMENSIONS
Lnet/minecraft/entity/player/PlayerEntity;STANDING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
POSE_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official c
Lbtf;c:Ljava/util/Map;
intermediary field_18134
Lnet/minecraft/class_1657;field_18134:Ljava/util/Map;
named POSE_DIMENSIONS
Lnet/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 d
Lbtf;d:I
intermediary field_30652
Lnet/minecraft/class_1657;field_30652:I
named field_30652
Lnet/minecraft/entity/player/PlayerEntity;field_30652:I
-
ABSORPTION_AMOUNT
- Mappings:
Namespace Name Mixin selector official e
Lbtf;e:Lzr;
intermediary field_7491
Lnet/minecraft/class_1657;field_7491:Lnet/minecraft/class_2940;
named ABSORPTION_AMOUNT
Lnet/minecraft/entity/player/PlayerEntity;ABSORPTION_AMOUNT:Lnet/minecraft/entity/data/TrackedData;
-
SCORE
- Mappings:
Namespace Name Mixin selector official f
Lbtf;f:Lzr;
intermediary field_7511
Lnet/minecraft/class_1657;field_7511:Lnet/minecraft/class_2940;
named SCORE
Lnet/minecraft/entity/player/PlayerEntity;SCORE:Lnet/minecraft/entity/data/TrackedData;
-
PLAYER_MODEL_PARTS
- Mappings:
Namespace Name Mixin selector official bO
Lbtf;bO:Lzr;
intermediary field_7518
Lnet/minecraft/class_1657;field_7518:Lnet/minecraft/class_2940;
named PLAYER_MODEL_PARTS
Lnet/minecraft/entity/player/PlayerEntity;PLAYER_MODEL_PARTS:Lnet/minecraft/entity/data/TrackedData;
-
MAIN_ARM
- Mappings:
Namespace Name Mixin selector official bP
Lbtf;bP:Lzr;
intermediary field_7488
Lnet/minecraft/class_1657;field_7488:Lnet/minecraft/class_2940;
named MAIN_ARM
Lnet/minecraft/entity/player/PlayerEntity;MAIN_ARM:Lnet/minecraft/entity/data/TrackedData;
-
LEFT_SHOULDER_ENTITY
- Mappings:
Namespace Name Mixin selector official bQ
Lbtf;bQ:Lzr;
intermediary field_7496
Lnet/minecraft/class_1657;field_7496:Lnet/minecraft/class_2940;
named LEFT_SHOULDER_ENTITY
Lnet/minecraft/entity/player/PlayerEntity;LEFT_SHOULDER_ENTITY:Lnet/minecraft/entity/data/TrackedData;
-
RIGHT_SHOULDER_ENTITY
- Mappings:
Namespace Name Mixin selector official bR
Lbtf;bR:Lzr;
intermediary field_7506
Lnet/minecraft/class_1657;field_7506:Lnet/minecraft/class_2940;
named RIGHT_SHOULDER_ENTITY
Lnet/minecraft/entity/player/PlayerEntity;RIGHT_SHOULDER_ENTITY:Lnet/minecraft/entity/data/TrackedData;
-
shoulderEntityAddedTime
private long shoulderEntityAddedTime- Mappings:
Namespace Name Mixin selector official co
Lbtf;co:J
intermediary field_19428
Lnet/minecraft/class_1657;field_19428:J
named shoulderEntityAddedTime
Lnet/minecraft/entity/player/PlayerEntity;shoulderEntityAddedTime:J
-
inventory
- Mappings:
Namespace Name Mixin selector official cp
Lbtf;cp:Lbte;
intermediary field_7514
Lnet/minecraft/class_1657;field_7514:Lnet/minecraft/class_1661;
named inventory
Lnet/minecraft/entity/player/PlayerEntity;inventory:Lnet/minecraft/entity/player/PlayerInventory;
-
enderChestInventory
- Mappings:
Namespace Name Mixin selector official bS
Lbtf;bS:Lbwx;
intermediary field_7486
Lnet/minecraft/class_1657;field_7486:Lnet/minecraft/class_1730;
named enderChestInventory
Lnet/minecraft/entity/player/PlayerEntity;enderChestInventory:Lnet/minecraft/inventory/EnderChestInventory;
-
playerScreenHandler
- Mappings:
Namespace Name Mixin selector official bT
Lbtf;bT:Lbwo;
intermediary field_7498
Lnet/minecraft/class_1657;field_7498:Lnet/minecraft/class_1723;
named playerScreenHandler
Lnet/minecraft/entity/player/PlayerEntity;playerScreenHandler:Lnet/minecraft/screen/PlayerScreenHandler;
-
currentScreenHandler
- Mappings:
Namespace Name Mixin selector official bU
Lbtf;bU:Lbvp;
intermediary field_7512
Lnet/minecraft/class_1657;field_7512:Lnet/minecraft/class_1703;
named currentScreenHandler
Lnet/minecraft/entity/player/PlayerEntity;currentScreenHandler:Lnet/minecraft/screen/ScreenHandler;
-
hungerManager
- Mappings:
Namespace Name Mixin selector official bV
Lbtf;bV:Lbvl;
intermediary field_7493
Lnet/minecraft/class_1657;field_7493:Lnet/minecraft/class_1702;
named hungerManager
Lnet/minecraft/entity/player/PlayerEntity;hungerManager:Lnet/minecraft/entity/player/HungerManager;
-
sculkShriekerWarningManager
- Mappings:
Namespace Name Mixin selector official bW
Lbtf;bW:Lbsl;
intermediary field_38198
Lnet/minecraft/class_1657;field_38198:Lnet/minecraft/class_7262;
named sculkShriekerWarningManager
Lnet/minecraft/entity/player/PlayerEntity;sculkShriekerWarningManager:Lnet/minecraft/block/entity/SculkShriekerWarningManager;
-
abilityResyncCountdown
protected int abilityResyncCountdown- Mappings:
Namespace Name Mixin selector official bX
Lbtf;bX:I
intermediary field_7489
Lnet/minecraft/class_1657;field_7489:I
named abilityResyncCountdown
Lnet/minecraft/entity/player/PlayerEntity;abilityResyncCountdown:I
-
prevStrideDistance
public float prevStrideDistance- Mappings:
Namespace Name Mixin selector official bY
Lbtf;bY:F
intermediary field_7505
Lnet/minecraft/class_1657;field_7505:F
named prevStrideDistance
Lnet/minecraft/entity/player/PlayerEntity;prevStrideDistance:F
-
strideDistance
public float strideDistance- Mappings:
Namespace Name Mixin selector official bZ
Lbtf;bZ:F
intermediary field_7483
Lnet/minecraft/class_1657;field_7483:F
named strideDistance
Lnet/minecraft/entity/player/PlayerEntity;strideDistance:F
-
experiencePickUpDelay
public int experiencePickUpDelay- Mappings:
Namespace Name Mixin selector official ca
Lbtf;ca:I
intermediary field_7504
Lnet/minecraft/class_1657;field_7504:I
named experiencePickUpDelay
Lnet/minecraft/entity/player/PlayerEntity;experiencePickUpDelay:I
-
prevCapeX
public double prevCapeX- Mappings:
Namespace Name Mixin selector official cb
Lbtf;cb:D
intermediary field_7524
Lnet/minecraft/class_1657;field_7524:D
named prevCapeX
Lnet/minecraft/entity/player/PlayerEntity;prevCapeX:D
-
prevCapeY
public double prevCapeY- Mappings:
Namespace Name Mixin selector official cc
Lbtf;cc:D
intermediary field_7502
Lnet/minecraft/class_1657;field_7502:D
named prevCapeY
Lnet/minecraft/entity/player/PlayerEntity;prevCapeY:D
-
prevCapeZ
public double prevCapeZ- Mappings:
Namespace Name Mixin selector official cd
Lbtf;cd:D
intermediary field_7522
Lnet/minecraft/class_1657;field_7522:D
named prevCapeZ
Lnet/minecraft/entity/player/PlayerEntity;prevCapeZ:D
-
capeX
public double capeX- Mappings:
Namespace Name Mixin selector official ce
Lbtf;ce:D
intermediary field_7500
Lnet/minecraft/class_1657;field_7500:D
named capeX
Lnet/minecraft/entity/player/PlayerEntity;capeX:D
-
capeY
public double capeY- Mappings:
Namespace Name Mixin selector official cf
Lbtf;cf:D
intermediary field_7521
Lnet/minecraft/class_1657;field_7521:D
named capeY
Lnet/minecraft/entity/player/PlayerEntity;capeY:D
-
capeZ
public double capeZ- Mappings:
Namespace Name Mixin selector official cg
Lbtf;cg:D
intermediary field_7499
Lnet/minecraft/class_1657;field_7499:D
named capeZ
Lnet/minecraft/entity/player/PlayerEntity;capeZ:D
-
sleepTimer
private int sleepTimer- Mappings:
Namespace Name Mixin selector official cq
Lbtf;cq:I
intermediary field_7487
Lnet/minecraft/class_1657;field_7487:I
named sleepTimer
Lnet/minecraft/entity/player/PlayerEntity;sleepTimer:I
-
isSubmergedInWater
protected boolean isSubmergedInWater- Mappings:
Namespace Name Mixin selector official ch
Lbtf;ch:Z
intermediary field_7490
Lnet/minecraft/class_1657;field_7490:Z
named isSubmergedInWater
Lnet/minecraft/entity/player/PlayerEntity;isSubmergedInWater:Z
-
abilities
- Mappings:
Namespace Name Mixin selector official cr
Lbtf;cr:Lbtc;
intermediary field_7503
Lnet/minecraft/class_1657;field_7503:Lnet/minecraft/class_1656;
named abilities
Lnet/minecraft/entity/player/PlayerEntity;abilities:Lnet/minecraft/entity/player/PlayerAbilities;
-
experienceLevel
public int experienceLevel- Mappings:
Namespace Name Mixin selector official ci
Lbtf;ci:I
intermediary field_7520
Lnet/minecraft/class_1657;field_7520:I
named experienceLevel
Lnet/minecraft/entity/player/PlayerEntity;experienceLevel:I
-
totalExperience
public int totalExperience- Mappings:
Namespace Name Mixin selector official cj
Lbtf;cj:I
intermediary field_7495
Lnet/minecraft/class_1657;field_7495:I
named totalExperience
Lnet/minecraft/entity/player/PlayerEntity;totalExperience:I
-
experienceProgress
public float experienceProgress- Mappings:
Namespace Name Mixin selector official ck
Lbtf;ck:F
intermediary field_7510
Lnet/minecraft/class_1657;field_7510:F
named experienceProgress
Lnet/minecraft/entity/player/PlayerEntity;experienceProgress:F
-
enchantmentTableSeed
protected int enchantmentTableSeed- Mappings:
Namespace Name Mixin selector official cl
Lbtf;cl:I
intermediary field_7494
Lnet/minecraft/class_1657;field_7494:I
named enchantmentTableSeed
Lnet/minecraft/entity/player/PlayerEntity;enchantmentTableSeed:I
-
field_7509
protected final float field_7509- See Also:
- Mappings:
Namespace Name Mixin selector official cm
Lbtf;cm:F
intermediary field_7509
Lnet/minecraft/class_1657;field_7509:F
named field_7509
Lnet/minecraft/entity/player/PlayerEntity;field_7509:F
-
lastPlayedLevelUpSoundTime
private int lastPlayedLevelUpSoundTime- Mappings:
Namespace Name Mixin selector official cs
Lbtf;cs:I
intermediary field_7508
Lnet/minecraft/class_1657;field_7508:I
named lastPlayedLevelUpSoundTime
Lnet/minecraft/entity/player/PlayerEntity;lastPlayedLevelUpSoundTime:I
-
gameProfile
private final com.mojang.authlib.GameProfile gameProfile- Mappings:
Namespace Name Mixin selector official ct
Lbtf;ct:Lcom/mojang/authlib/GameProfile;
intermediary field_7507
Lnet/minecraft/class_1657;field_7507:Lcom/mojang/authlib/GameProfile;
named gameProfile
Lnet/minecraft/entity/player/PlayerEntity;gameProfile:Lcom/mojang/authlib/GameProfile;
-
publicKey
- Mappings:
Namespace Name Mixin selector official cu
Lbtf;cu:Lbti;
intermediary field_39118
Lnet/minecraft/class_1657;field_39118:Lnet/minecraft/class_7428;
named publicKey
Lnet/minecraft/entity/player/PlayerEntity;publicKey:Lnet/minecraft/network/encryption/PlayerPublicKey;
-
reducedDebugInfo
private boolean reducedDebugInfo- Mappings:
Namespace Name Mixin selector official cv
Lbtf;cv:Z
intermediary field_7523
Lnet/minecraft/class_1657;field_7523:Z
named reducedDebugInfo
Lnet/minecraft/entity/player/PlayerEntity;reducedDebugInfo:Z
-
selectedItem
- Mappings:
Namespace Name Mixin selector official cw
Lbtf;cw:Lcaa;
intermediary field_7525
Lnet/minecraft/class_1657;field_7525:Lnet/minecraft/class_1799;
named selectedItem
Lnet/minecraft/entity/player/PlayerEntity;selectedItem:Lnet/minecraft/item/ItemStack;
-
itemCooldownManager
- Mappings:
Namespace Name Mixin selector official cx
Lbtf;cx:Lbzx;
intermediary field_7484
Lnet/minecraft/class_1657;field_7484:Lnet/minecraft/class_1796;
named itemCooldownManager
Lnet/minecraft/entity/player/PlayerEntity;itemCooldownManager:Lnet/minecraft/entity/player/ItemCooldownManager;
-
lastDeathPos
- Mappings:
Namespace Name Mixin selector official cy
Lbtf;cy:Ljava/util/Optional;
intermediary field_39445
Lnet/minecraft/class_1657;field_39445:Ljava/util/Optional;
named lastDeathPos
Lnet/minecraft/entity/player/PlayerEntity;lastDeathPos:Ljava/util/Optional;
-
fishHook
- Mappings:
Namespace Name Mixin selector official cn
Lbtf;cn:Lbtt;
intermediary field_7513
Lnet/minecraft/class_1657;field_7513:Lnet/minecraft/class_1536;
named fishHook
Lnet/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>
Lbtf;<init>(Lcga;Lgt;FLcom/mojang/authlib/GameProfile;Lbti;)V
intermediary <init>
Lnet/minecraft/class_1657;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;FLcom/mojang/authlib/GameProfile;Lnet/minecraft/class_7428;)V
named <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 a
Lbtf;a(Lcga;Lgt;Lcfx;)Z
intermediary method_21701
Lnet/minecraft/class_1657;method_21701(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1934;)Z
named isBlockBreakingRestricted
Lnet/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 fo
Lbtf;fo()Lbcf$a;
intermediary method_26956
Lnet/minecraft/class_1657;method_26956()Lnet/minecraft/class_5132$class_5133;
named createPlayerAttributes
Lnet/minecraft/entity/player/PlayerEntity;createPlayerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbaq;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
tick
public void tick()- Overrides:
tick
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official k
Lbaq;k()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
shouldCancelInteraction
public boolean shouldCancelInteraction()- Mappings:
Namespace Name Mixin selector official fp
Lbtf;fp()Z
intermediary method_21823
Lnet/minecraft/class_1657;method_21823()Z
named shouldCancelInteraction
Lnet/minecraft/entity/player/PlayerEntity;shouldCancelInteraction()Z
-
shouldDismount
protected boolean shouldDismount()- Mappings:
Namespace Name Mixin selector official fq
Lbtf;fq()Z
intermediary method_21824
Lnet/minecraft/class_1657;method_21824()Z
named shouldDismount
Lnet/minecraft/entity/player/PlayerEntity;shouldDismount()Z
-
clipAtLedge
protected boolean clipAtLedge()- Mappings:
Namespace Name Mixin selector official fr
Lbtf;fr()Z
intermediary method_21825
Lnet/minecraft/class_1657;method_21825()Z
named clipAtLedge
Lnet/minecraft/entity/player/PlayerEntity;clipAtLedge()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Mappings:
Namespace Name Mixin selector official fs
Lbtf;fs()Z
intermediary method_7295
Lnet/minecraft/class_1657;method_7295()Z
named updateWaterSubmersionState
Lnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()Z
-
updateTurtleHelmet
private void updateTurtleHelmet()- Mappings:
Namespace Name Mixin selector official n
Lbtf;n()V
intermediary method_7330
Lnet/minecraft/class_1657;method_7330()V
named updateTurtleHelmet
Lnet/minecraft/entity/player/PlayerEntity;updateTurtleHelmet()V
-
createCooldownManager
- Mappings:
Namespace Name Mixin selector official j
Lbtf;j()Lbzx;
intermediary method_7265
Lnet/minecraft/class_1657;method_7265()Lnet/minecraft/class_1796;
named createCooldownManager
Lnet/minecraft/entity/player/PlayerEntity;createCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
-
updateCapeAngles
private void updateCapeAngles()- Mappings:
Namespace Name Mixin selector official r
Lbtf;r()V
intermediary method_7313
Lnet/minecraft/class_1657;method_7313()V
named updateCapeAngles
Lnet/minecraft/entity/player/PlayerEntity;updateCapeAngles()V
-
updatePose
protected void updatePose()- Mappings:
Namespace Name Mixin selector official ft
Lbtf;ft()V
intermediary method_7318
Lnet/minecraft/class_1657;method_7318()V
named updatePose
Lnet/minecraft/entity/player/PlayerEntity;updatePose()V
-
getMaxNetherPortalTime
public int getMaxNetherPortalTime()- Overrides:
getMaxNetherPortalTime
in classEntity
- Mappings:
Namespace Name Mixin selector official ar
Lbaq;ar()I
intermediary method_5741
Lnet/minecraft/class_1297;method_5741()I
named getMaxNetherPortalTime
Lnet/minecraft/entity/Entity;getMaxNetherPortalTime()I
-
getSwimSound
- Overrides:
getSwimSound
in classEntity
- Mappings:
Namespace Name Mixin selector official aG
Lbaq;aG()Lajd;
intermediary method_5737
Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;
named getSwimSound
Lnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
-
getSplashSound
- Overrides:
getSplashSound
in classEntity
- Mappings:
Namespace Name Mixin selector official aH
Lbaq;aH()Lajd;
intermediary method_5625
Lnet/minecraft/class_1297;method_5625()Lnet/minecraft/class_3414;
named getSplashSound
Lnet/minecraft/entity/Entity;getSplashSound()Lnet/minecraft/sound/SoundEvent;
-
getHighSpeedSplashSound
- Overrides:
getHighSpeedSplashSound
in classEntity
- Mappings:
Namespace Name Mixin selector official aI
Lbaq;aI()Lajd;
intermediary method_5672
Lnet/minecraft/class_1297;method_5672()Lnet/minecraft/class_3414;
named getHighSpeedSplashSound
Lnet/minecraft/entity/Entity;getHighSpeedSplashSound()Lnet/minecraft/sound/SoundEvent;
-
getDefaultNetherPortalCooldown
public int getDefaultNetherPortalCooldown()- Overrides:
getDefaultNetherPortalCooldown
in classEntity
- Mappings:
Namespace Name Mixin selector official bD
Lbaq;bD()I
intermediary method_5806
Lnet/minecraft/class_1297;method_5806()I
named getDefaultNetherPortalCooldown
Lnet/minecraft/entity/Entity;getDefaultNetherPortalCooldown()I
-
playSound
-
playSound
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lajd;Lajf;FF)V
intermediary method_17356
Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
named playSound
Lnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
getSoundCategory
- Overrides:
getSoundCategory
in classEntity
- Mappings:
Namespace Name Mixin selector official cS
Lbaq;cS()Lajf;
intermediary method_5634
Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
named getSoundCategory
Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
getBurningDuration
protected int getBurningDuration()- Overrides:
getBurningDuration
in classEntity
- Mappings:
Namespace Name Mixin selector official cT
Lbaq;cT()I
intermediary method_5676
Lnet/minecraft/class_1297;method_5676()I
named getBurningDuration
Lnet/minecraft/entity/Entity;getBurningDuration()I
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatus
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
spawnParticles
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lim;)V
intermediary method_16475
Lnet/minecraft/class_1657;method_16475(Lnet/minecraft/class_2394;)V
named spawnParticles
Lnet/minecraft/entity/player/PlayerEntity;spawnParticles(Lnet/minecraft/particle/ParticleEffect;)V
-
closeHandledScreen
protected void closeHandledScreen()- Mappings:
Namespace Name Mixin selector official q
Lbtf;q()V
intermediary method_7346
Lnet/minecraft/class_1657;method_7346()V
named closeHandledScreen
Lnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
tickRiding
public void tickRiding()- Overrides:
tickRiding
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official bs
Lbaq;bs()V
intermediary method_5842
Lnet/minecraft/class_1297;method_5842()V
named tickRiding
Lnet/minecraft/entity/Entity;tickRiding()V
-
tickNewAi
protected void tickNewAi()- Overrides:
tickNewAi
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eN
Lbbf;eN()V
intermediary method_6023
Lnet/minecraft/class_1309;method_6023()V
named tickNewAi
Lnet/minecraft/entity/LivingEntity;tickNewAi()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official w_
Lbbf;w_()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
updateShoulderEntity
- Mappings:
Namespace Name Mixin selector official c
Lbtf;c(Lpj;)V
intermediary method_7267
Lnet/minecraft/class_1657;method_7267(Lnet/minecraft/class_2487;)V
named updateShoulderEntity
Lnet/minecraft/entity/player/PlayerEntity;updateShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)V
-
collideWithEntity
- Mappings:
Namespace Name Mixin selector official c
Lbtf;c(Lbaq;)V
intermediary method_7341
Lnet/minecraft/class_1657;method_7341(Lnet/minecraft/class_1297;)V
named collideWithEntity
Lnet/minecraft/entity/player/PlayerEntity;collideWithEntity(Lnet/minecraft/entity/Entity;)V
-
getScore
public int getScore()- Mappings:
Namespace Name Mixin selector official fu
Lbtf;fu()I
intermediary method_7272
Lnet/minecraft/class_1657;method_7272()I
named getScore
Lnet/minecraft/entity/player/PlayerEntity;getScore()I
-
setScore
public void setScore(int score) - Mappings:
Namespace Name Mixin selector official r
Lbtf;r(I)V
intermediary method_7320
Lnet/minecraft/class_1657;method_7320(I)V
named setScore
Lnet/minecraft/entity/player/PlayerEntity;setScore(I)V
-
addScore
public void addScore(int score) - Mappings:
Namespace Name Mixin selector official s
Lbtf;s(I)V
intermediary method_7285
Lnet/minecraft/class_1657;method_7285(I)V
named addScore
Lnet/minecraft/entity/player/PlayerEntity;addScore(I)V
-
useRiptide
public void useRiptide(int riptideTicks) - Mappings:
Namespace Name Mixin selector official t
Lbtf;t(I)V
intermediary method_40126
Lnet/minecraft/class_1657;method_40126(I)V
named useRiptide
Lnet/minecraft/entity/player/PlayerEntity;useRiptide(I)V
-
onDeath
- Overrides:
onDeath
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(Lazz;)V
intermediary method_6078
Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
named onDeath
Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
dropInventory
protected void dropInventory()- Overrides:
dropInventory
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ej
Lbbf;ej()V
intermediary method_16078
Lnet/minecraft/class_1309;method_16078()V
named dropInventory
Lnet/minecraft/entity/LivingEntity;dropInventory()V
-
vanishCursedItems
protected void vanishCursedItems()- Mappings:
Namespace Name Mixin selector official fv
Lbtf;fv()V
intermediary method_7293
Lnet/minecraft/class_1657;method_7293()V
named vanishCursedItems
Lnet/minecraft/entity/player/PlayerEntity;vanishCursedItems()V
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbbf;c(Lazz;)Lajd;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official x_
Lbbf;x_()Lajd;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
dropItem
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lcaa;Z)Lbpy;
intermediary method_7328
Lnet/minecraft/class_1657;method_7328(Lnet/minecraft/class_1799;Z)Lnet/minecraft/class_1542;
named dropItem
Lnet/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 a
Lbtf;a(Lcaa;ZZ)Lbpy;
intermediary method_7329
Lnet/minecraft/class_1657;method_7329(Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;
named dropItem
Lnet/minecraft/entity/player/PlayerEntity;dropItem(Lnet/minecraft/item/ItemStack;ZZ)Lnet/minecraft/entity/ItemEntity;
-
getBlockBreakingSpeed
- Mappings:
Namespace Name Mixin selector official c
Lbtf;c(Lcur;)F
intermediary method_7351
Lnet/minecraft/class_1657;method_7351(Lnet/minecraft/class_2680;)F
named getBlockBreakingSpeed
Lnet/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 d
Lbtf;d(Lcur;)Z
intermediary method_7305
Lnet/minecraft/class_1657;method_7305(Lnet/minecraft/class_2680;)Z
named canHarvest
Lnet/minecraft/entity/player/PlayerEntity;canHarvest(Lnet/minecraft/block/BlockState;)Z
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbaq;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
isInvulnerableTo
- Overrides:
isInvulnerableTo
in classEntity
- Mappings:
Namespace Name Mixin selector official b
Lbaq;b(Lazz;)Z
intermediary method_5679
Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Z
named isInvulnerableTo
Lnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
-
damage
- Overrides:
damage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lazz;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
takeShieldHit
- Overrides:
takeShieldHit
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lbbf;d(Lbbf;)V
intermediary method_6090
Lnet/minecraft/class_1309;method_6090(Lnet/minecraft/class_1309;)V
named takeShieldHit
Lnet/minecraft/entity/LivingEntity;takeShieldHit(Lnet/minecraft/entity/LivingEntity;)V
-
canTakeDamage
public boolean canTakeDamage()- Overrides:
canTakeDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dZ
Lbbf;dZ()Z
intermediary method_33190
Lnet/minecraft/class_1309;method_33190()Z
named canTakeDamage
Lnet/minecraft/entity/LivingEntity;canTakeDamage()Z
-
shouldDamagePlayer
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lbtf;)Z
intermediary method_7256
Lnet/minecraft/class_1657;method_7256(Lnet/minecraft/class_1657;)Z
named shouldDamagePlayer
Lnet/minecraft/entity/player/PlayerEntity;shouldDamagePlayer(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
damageArmor
- Overrides:
damageArmor
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbbf;b(Lazz;F)V
intermediary method_6105
Lnet/minecraft/class_1309;method_6105(Lnet/minecraft/class_1282;F)V
named damageArmor
Lnet/minecraft/entity/LivingEntity;damageArmor(Lnet/minecraft/entity/damage/DamageSource;F)V
-
damageHelmet
- Overrides:
damageHelmet
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbbf;c(Lazz;F)V
intermediary method_36977
Lnet/minecraft/class_1309;method_36977(Lnet/minecraft/class_1282;F)V
named damageHelmet
Lnet/minecraft/entity/LivingEntity;damageHelmet(Lnet/minecraft/entity/damage/DamageSource;F)V
-
damageShield
protected void damageShield(float amount) - Overrides:
damageShield
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official q
Lbbf;q(F)V
intermediary method_6056
Lnet/minecraft/class_1309;method_6056(F)V
named damageShield
Lnet/minecraft/entity/LivingEntity;damageShield(F)V
-
applyDamage
- Overrides:
applyDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official f
Lbbf;f(Lazz;F)V
intermediary method_6074
Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)V
named applyDamage
Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
isOnSoulSpeedBlock
protected boolean isOnSoulSpeedBlock()- Overrides:
isOnSoulSpeedBlock
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dF
Lbbf;dF()Z
intermediary method_27303
Lnet/minecraft/class_1309;method_27303()Z
named isOnSoulSpeedBlock
Lnet/minecraft/entity/LivingEntity;isOnSoulSpeedBlock()Z
-
openEditSignScreen
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lctn;)V
intermediary method_7311
Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;)V
named openEditSignScreen
Lnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
-
openCommandBlockMinecartScreen
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lcfb;)V
intermediary method_7257
Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1918;)V
named openCommandBlockMinecartScreen
Lnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/world/CommandBlockExecutor;)V
-
openCommandBlockScreen
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lcss;)V
intermediary method_7323
Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)V
named openCommandBlockScreen
Lnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
openStructureBlockScreen
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lctr;)V
intermediary method_7303
Lnet/minecraft/class_1657;method_7303(Lnet/minecraft/class_2633;)V
named openStructureBlockScreen
Lnet/minecraft/entity/player/PlayerEntity;openStructureBlockScreen(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
-
openJigsawScreen
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lcte;)V
intermediary method_16354
Lnet/minecraft/class_1657;method_16354(Lnet/minecraft/class_3751;)V
named openJigsawScreen
Lnet/minecraft/entity/player/PlayerEntity;openJigsawScreen(Lnet/minecraft/block/entity/JigsawBlockEntity;)V
-
openHorseInventory
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lbod;Lazf;)V
intermediary method_7291
Lnet/minecraft/class_1657;method_7291(Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)V
named openHorseInventory
Lnet/minecraft/entity/player/PlayerEntity;openHorseInventory(Lnet/minecraft/entity/passive/AbstractHorseEntity;Lnet/minecraft/inventory/Inventory;)V
-
openHandledScreen
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lazp;)Ljava/util/OptionalInt;
intermediary method_17355
Lnet/minecraft/class_1657;method_17355(Lnet/minecraft/class_3908;)Ljava/util/OptionalInt;
named openHandledScreen
Lnet/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 a
Lbtf;a(ILcez;IIZZ)V
intermediary method_17354
Lnet/minecraft/class_1657;method_17354(ILnet/minecraft/class_1916;IIZZ)V
named sendTradeOffers
Lnet/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
book
for 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 a
Lbtf;a(Lcaa;Lazl;)V
intermediary method_7315
Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V
named useBook
Lnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
interact
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lbaq;Lazl;)Lazm;
intermediary method_7287
Lnet/minecraft/class_1657;method_7287(Lnet/minecraft/class_1297;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interact
Lnet/minecraft/entity/player/PlayerEntity;interact(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffset
in classEntity
- Mappings:
Namespace Name Mixin selector official bt
Lbaq;bt()D
intermediary method_5678
Lnet/minecraft/class_1297;method_5678()D
named getHeightOffset
Lnet/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:
dismountVehicle
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official bx
Lbaq;bx()V
intermediary method_29239
Lnet/minecraft/class_1297;method_29239()V
named dismountVehicle
Lnet/minecraft/entity/Entity;dismountVehicle()V
-
isImmobile
protected boolean isImmobile()- Overrides:
isImmobile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eF
Lbbf;eF()Z
intermediary method_6062
Lnet/minecraft/class_1309;method_6062()Z
named isImmobile
Lnet/minecraft/entity/LivingEntity;isImmobile()Z
-
shouldSwimInFluids
public boolean shouldSwimInFluids()- Overrides:
shouldSwimInFluids
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dL
Lbbf;dL()Z
intermediary method_29920
Lnet/minecraft/class_1309;method_29920()Z
named shouldSwimInFluids
Lnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Z
-
adjustMovementForSneaking
- Overrides:
adjustMovementForSneaking
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Ldvs;Lbbl;)Ldvs;
intermediary method_18796
Lnet/minecraft/class_1297;method_18796(Lnet/minecraft/class_243;Lnet/minecraft/class_1313;)Lnet/minecraft/class_243;
named adjustMovementForSneaking
Lnet/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 t
Lbtf;t()Z
intermediary method_30263
Lnet/minecraft/class_1657;method_30263()Z
named method_30263
Lnet/minecraft/entity/player/PlayerEntity;method_30263()Z
-
attack
- Mappings:
Namespace Name Mixin selector official d
Lbtf;d(Lbaq;)V
intermediary method_7324
Lnet/minecraft/class_1657;method_7324(Lnet/minecraft/class_1297;)V
named attack
Lnet/minecraft/entity/player/PlayerEntity;attack(Lnet/minecraft/entity/Entity;)V
-
attackLivingEntity
- Overrides:
attackLivingEntity
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official g
Lbbf;g(Lbbf;)V
intermediary method_5997
Lnet/minecraft/class_1309;method_5997(Lnet/minecraft/class_1309;)V
named attackLivingEntity
Lnet/minecraft/entity/LivingEntity;attackLivingEntity(Lnet/minecraft/entity/LivingEntity;)V
-
disableShield
public void disableShield(boolean sprinting) - Mappings:
Namespace Name Mixin selector official r
Lbtf;r(Z)V
intermediary method_7284
Lnet/minecraft/class_1657;method_7284(Z)V
named disableShield
Lnet/minecraft/entity/player/PlayerEntity;disableShield(Z)V
-
addCritParticles
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lbaq;)V
intermediary method_7277
Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)V
named addCritParticles
Lnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
-
addEnchantedHitParticles
- Mappings:
Namespace Name Mixin selector official b
Lbtf;b(Lbaq;)V
intermediary method_7304
Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)V
named addEnchantedHitParticles
Lnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
-
spawnSweepAttackParticles
public void spawnSweepAttackParticles()- Mappings:
Namespace Name Mixin selector official fw
Lbtf;fw()V
intermediary method_7263
Lnet/minecraft/class_1657;method_7263()V
named spawnSweepAttackParticles
Lnet/minecraft/entity/player/PlayerEntity;spawnSweepAttackParticles()V
-
requestRespawn
public void requestRespawn()- Mappings:
Namespace Name Mixin selector official fx
Lbtf;fx()V
intermediary method_7331
Lnet/minecraft/class_1657;method_7331()V
named requestRespawn
Lnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
-
remove
-
isMainPlayer
public boolean isMainPlayer()- Mappings:
Namespace Name Mixin selector official fy
Lbtf;fy()Z
intermediary method_7340
Lnet/minecraft/class_1657;method_7340()Z
named isMainPlayer
Lnet/minecraft/entity/player/PlayerEntity;isMainPlayer()Z
-
getGameProfile
public com.mojang.authlib.GameProfile getGameProfile()- Mappings:
Namespace Name Mixin selector official fz
Lbtf;fz()Lcom/mojang/authlib/GameProfile;
intermediary method_7334
Lnet/minecraft/class_1657;method_7334()Lcom/mojang/authlib/GameProfile;
named getGameProfile
Lnet/minecraft/entity/player/PlayerEntity;getGameProfile()Lcom/mojang/authlib/GameProfile;
-
getPublicKey
- Mappings:
Namespace Name Mixin selector official fA
Lbtf;fA()Lbti;
intermediary method_43696
Lnet/minecraft/class_1657;method_43696()Lnet/minecraft/class_7428;
named getPublicKey
Lnet/minecraft/entity/player/PlayerEntity;getPublicKey()Lnet/minecraft/network/encryption/PlayerPublicKey;
-
getInventory
- Mappings:
Namespace Name Mixin selector official fB
Lbtf;fB()Lbte;
intermediary method_31548
Lnet/minecraft/class_1657;method_31548()Lnet/minecraft/class_1661;
named getInventory
Lnet/minecraft/entity/player/PlayerEntity;getInventory()Lnet/minecraft/entity/player/PlayerInventory;
-
getAbilities
- Mappings:
Namespace Name Mixin selector official fC
Lbtf;fC()Lbtc;
intermediary method_31549
Lnet/minecraft/class_1657;method_31549()Lnet/minecraft/class_1656;
named getAbilities
Lnet/minecraft/entity/player/PlayerEntity;getAbilities()Lnet/minecraft/entity/player/PlayerAbilities;
-
onPickupSlotClick
Called when a player performs apickup slot action
in 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 a
Lbtf;a(Lcaa;Lcaa;Lbvx;)V
intermediary method_33592
Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)V
named onPickupSlotClick
Lnet/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.Right
if successful, otherwise anEither.Left
containing the failure reason - Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lgt;)Lcom/mojang/datafixers/util/Either;
intermediary method_7269
Lnet/minecraft/class_1657;method_7269(Lnet/minecraft/class_2338;)Lcom/mojang/datafixers/util/Either;
named trySleep
Lnet/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
- iftrue
and called on the logical server, sends sleeping status updates to all players- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(ZZ)V
intermediary method_7358
Lnet/minecraft/class_1657;method_7358(ZZ)V
named wakeUp
Lnet/minecraft/entity/player/PlayerEntity;wakeUp(ZZ)V
-
wakeUp
public void wakeUp()Wakes this entity up.- Overrides:
wakeUp
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official fl
Lbbf;fl()V
intermediary method_18400
Lnet/minecraft/class_1309;method_18400()V
named wakeUp
Lnet/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 aBlockPos
in a world. Also applies respawning effects on the spawn point blocks such as decreasing respawn anchor charges.If
forced
isfalse
, 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 aBlockPos
forced
-true
if the spawn point is forced,false
otherwisealive
- iftrue
, the player is alive, otherwise respawning after a death- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lafo;Lgt;FZZ)Ljava/util/Optional;
intermediary method_26091
Lnet/minecraft/class_1657;method_26091(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;FZZ)Ljava/util/Optional;
named findRespawnPosition
Lnet/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 fD
Lbtf;fD()Z
intermediary method_7276
Lnet/minecraft/class_1657;method_7276()Z
named canResetTimeBySleeping
Lnet/minecraft/entity/player/PlayerEntity;canResetTimeBySleeping()Z
-
getSleepTimer
public int getSleepTimer()- Mappings:
Namespace Name Mixin selector official fE
Lbtf;fE()I
intermediary method_7297
Lnet/minecraft/class_1657;method_7297()I
named getSleepTimer
Lnet/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 addactionBar
-true
to show the message as an overlay;false
to add the message to the chat hud- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lrm;Z)V
intermediary method_7353
Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)V
named sendMessage
Lnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
-
incrementStat
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Laaj;)V
intermediary method_7281
Lnet/minecraft/class_1657;method_7281(Lnet/minecraft/class_2960;)V
named incrementStat
Lnet/minecraft/entity/player/PlayerEntity;incrementStat(Lnet/minecraft/util/Identifier;)V
-
increaseStat
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Laaj;I)V
intermediary method_7339
Lnet/minecraft/class_1657;method_7339(Lnet/minecraft/class_2960;I)V
named increaseStat
Lnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/util/Identifier;I)V
-
incrementStat
- Mappings:
Namespace Name Mixin selector official b
Lbtf;b(Lajl;)V
intermediary method_7259
Lnet/minecraft/class_1657;method_7259(Lnet/minecraft/class_3445;)V
named incrementStat
Lnet/minecraft/entity/player/PlayerEntity;incrementStat(Lnet/minecraft/stat/Stat;)V
-
increaseStat
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lajl;I)V
intermediary method_7342
Lnet/minecraft/class_1657;method_7342(Lnet/minecraft/class_3445;I)V
named increaseStat
Lnet/minecraft/entity/player/PlayerEntity;increaseStat(Lnet/minecraft/stat/Stat;I)V
-
resetStat
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lajl;)V
intermediary method_7266
Lnet/minecraft/class_1657;method_7266(Lnet/minecraft/class_3445;)V
named resetStat
Lnet/minecraft/entity/player/PlayerEntity;resetStat(Lnet/minecraft/stat/Stat;)V
-
unlockRecipes
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Ljava/util/Collection;)I
intermediary method_7254
Lnet/minecraft/class_1657;method_7254(Ljava/util/Collection;)I
named unlockRecipes
Lnet/minecraft/entity/player/PlayerEntity;unlockRecipes(Ljava/util/Collection;)I
-
unlockRecipes
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a([Laaj;)V
intermediary method_7335
Lnet/minecraft/class_1657;method_7335([Lnet/minecraft/class_2960;)V
named unlockRecipes
Lnet/minecraft/entity/player/PlayerEntity;unlockRecipes([Lnet/minecraft/util/Identifier;)V
-
lockRecipes
- Mappings:
Namespace Name Mixin selector official b
Lbtf;b(Ljava/util/Collection;)I
intermediary method_7333
Lnet/minecraft/class_1657;method_7333(Ljava/util/Collection;)I
named lockRecipes
Lnet/minecraft/entity/player/PlayerEntity;lockRecipes(Ljava/util/Collection;)I
-
jump
public void jump()- Overrides:
jump
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eI
Lbbf;eI()V
intermediary method_6043
Lnet/minecraft/class_1309;method_6043()V
named jump
Lnet/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:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official g
Lbbf;g(Ldvs;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
updateSwimming
public void updateSwimming()- Overrides:
updateSwimming
in classEntity
- Mappings:
Namespace Name Mixin selector official aY
Lbaq;aY()V
intermediary method_5790
Lnet/minecraft/class_1297;method_5790()V
named updateSwimming
Lnet/minecraft/entity/Entity;updateSwimming()V
-
doesNotSuffocate
- Mappings:
Namespace Name Mixin selector official f
Lbtf;f(Lgt;)Z
intermediary method_7326
Lnet/minecraft/class_1657;method_7326(Lnet/minecraft/class_2338;)Z
named doesNotSuffocate
Lnet/minecraft/entity/player/PlayerEntity;doesNotSuffocate(Lnet/minecraft/util/math/BlockPos;)Z
-
getMovementSpeed
public float getMovementSpeed()- Overrides:
getMovementSpeed
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eL
Lbbf;eL()F
intermediary method_6029
Lnet/minecraft/class_1309;method_6029()F
named getMovementSpeed
Lnet/minecraft/entity/LivingEntity;getMovementSpeed()F
-
increaseTravelMotionStats
public void increaseTravelMotionStats(double dx, double dy, double dz) - Mappings:
Namespace Name Mixin selector official q
Lbtf;q(DDD)V
intermediary method_7282
Lnet/minecraft/class_1657;method_7282(DDD)V
named increaseTravelMotionStats
Lnet/minecraft/entity/player/PlayerEntity;increaseTravelMotionStats(DDD)V
-
increaseRidingMotionStats
private void increaseRidingMotionStats(double dx, double dy, double dz) - Mappings:
Namespace Name Mixin selector official r
Lbtf;r(DDD)V
intermediary method_7260
Lnet/minecraft/class_1657;method_7260(DDD)V
named increaseRidingMotionStats
Lnet/minecraft/entity/player/PlayerEntity;increaseRidingMotionStats(DDD)V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource) - Overrides:
handleFallDamage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(FFLazz;)Z
intermediary method_5747
Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
named handleFallDamage
Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
checkFallFlying
public boolean checkFallFlying()- Mappings:
Namespace Name Mixin selector official fF
Lbtf;fF()Z
intermediary method_23668
Lnet/minecraft/class_1657;method_23668()Z
named checkFallFlying
Lnet/minecraft/entity/player/PlayerEntity;checkFallFlying()Z
-
startFallFlying
public void startFallFlying()- Mappings:
Namespace Name Mixin selector official fG
Lbtf;fG()V
intermediary method_23669
Lnet/minecraft/class_1657;method_23669()V
named startFallFlying
Lnet/minecraft/entity/player/PlayerEntity;startFallFlying()V
-
stopFallFlying
public void stopFallFlying()- Mappings:
Namespace Name Mixin selector official fH
Lbtf;fH()V
intermediary method_23670
Lnet/minecraft/class_1657;method_23670()V
named stopFallFlying
Lnet/minecraft/entity/player/PlayerEntity;stopFallFlying()V
-
onSwimmingStart
protected void onSwimmingStart()- Overrides:
onSwimmingStart
in classEntity
- Mappings:
Namespace Name Mixin selector official bb
Lbaq;bb()V
intermediary method_5746
Lnet/minecraft/class_1297;method_5746()V
named onSwimmingStart
Lnet/minecraft/entity/Entity;onSwimmingStart()V
-
getFallSounds
- Overrides:
getFallSounds
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eo
Lbbf;eo()Lbbf$a;
intermediary method_39760
Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;
named getFallSounds
Lnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
-
onKilledOther
- Overrides:
onKilledOther
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lafo;Lbbf;)Z
intermediary method_5874
Lnet/minecraft/class_1297;method_5874(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
named onKilledOther
Lnet/minecraft/entity/Entity;onKilledOther(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
-
slowMovement
- Overrides:
slowMovement
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lcur;Ldvs;)V
intermediary method_5844
Lnet/minecraft/class_1297;method_5844(Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)V
named slowMovement
Lnet/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 d
Lbtf;d(I)V
intermediary method_7255
Lnet/minecraft/class_1657;method_7255(I)V
named addExperience
Lnet/minecraft/entity/player/PlayerEntity;addExperience(I)V
-
getEnchantmentTableSeed
public int getEnchantmentTableSeed()- Mappings:
Namespace Name Mixin selector official fI
Lbtf;fI()I
intermediary method_7278
Lnet/minecraft/class_1657;method_7278()I
named getEnchantmentTableSeed
Lnet/minecraft/entity/player/PlayerEntity;getEnchantmentTableSeed()I
-
applyEnchantmentCosts
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lcaa;I)V
intermediary method_7286
Lnet/minecraft/class_1657;method_7286(Lnet/minecraft/class_1799;I)V
named applyEnchantmentCosts
Lnet/minecraft/entity/player/PlayerEntity;applyEnchantmentCosts(Lnet/minecraft/item/ItemStack;I)V
-
addExperienceLevels
public void addExperienceLevels(int levels) - Mappings:
Namespace Name Mixin selector official c
Lbtf;c(I)V
intermediary method_7316
Lnet/minecraft/class_1657;method_7316(I)V
named addExperienceLevels
Lnet/minecraft/entity/player/PlayerEntity;addExperienceLevels(I)V
-
getNextLevelExperience
public int getNextLevelExperience()- Mappings:
Namespace Name Mixin selector official fJ
Lbtf;fJ()I
intermediary method_7349
Lnet/minecraft/class_1657;method_7349()I
named getNextLevelExperience
Lnet/minecraft/entity/player/PlayerEntity;getNextLevelExperience()I
-
addExhaustion
public void addExhaustion(float exhaustion) - Mappings:
Namespace Name Mixin selector official u
Lbtf;u(F)V
intermediary method_7322
Lnet/minecraft/class_1657;method_7322(F)V
named addExhaustion
Lnet/minecraft/entity/player/PlayerEntity;addExhaustion(F)V
-
getSculkShriekerWarningManager
- Mappings:
Namespace Name Mixin selector official fK
Lbtf;fK()Lbsl;
intermediary method_42272
Lnet/minecraft/class_1657;method_42272()Lnet/minecraft/class_7262;
named getSculkShriekerWarningManager
Lnet/minecraft/entity/player/PlayerEntity;getSculkShriekerWarningManager()Lnet/minecraft/block/entity/SculkShriekerWarningManager;
-
getHungerManager
- Mappings:
Namespace Name Mixin selector official fL
Lbtf;fL()Lbvl;
intermediary method_7344
Lnet/minecraft/class_1657;method_7344()Lnet/minecraft/class_1702;
named getHungerManager
Lnet/minecraft/entity/player/PlayerEntity;getHungerManager()Lnet/minecraft/entity/player/HungerManager;
-
canConsume
public boolean canConsume(boolean ignoreHunger) - Mappings:
Namespace Name Mixin selector official s
Lbtf;s(Z)Z
intermediary method_7332
Lnet/minecraft/class_1657;method_7332(Z)Z
named canConsume
Lnet/minecraft/entity/player/PlayerEntity;canConsume(Z)Z
-
canFoodHeal
public boolean canFoodHeal()- Mappings:
Namespace Name Mixin selector official fM
Lbtf;fM()Z
intermediary method_7317
Lnet/minecraft/class_1657;method_7317()Z
named canFoodHeal
Lnet/minecraft/entity/player/PlayerEntity;canFoodHeal()Z
-
canModifyBlocks
public boolean canModifyBlocks()- Mappings:
Namespace Name Mixin selector official fN
Lbtf;fN()Z
intermediary method_7294
Lnet/minecraft/class_1657;method_7294()Z
named canModifyBlocks
Lnet/minecraft/entity/player/PlayerEntity;canModifyBlocks()Z
-
canPlaceOn
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lgt;Lgy;Lcaa;)Z
intermediary method_7343
Lnet/minecraft/class_1657;method_7343(Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;Lnet/minecraft/class_1799;)Z
named canPlaceOn
Lnet/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:
getXpToDrop
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official dP
Lbbf;dP()I
intermediary method_6110
Lnet/minecraft/class_1309;method_6110()I
named getXpToDrop
Lnet/minecraft/entity/LivingEntity;getXpToDrop()I
-
shouldAlwaysDropXp
protected boolean shouldAlwaysDropXp()Returns if this entity may always drop experience, skipping any other checks.- Overrides:
shouldAlwaysDropXp
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official dQ
Lbbf;dQ()Z
intermediary method_6071
Lnet/minecraft/class_1309;method_6071()Z
named shouldAlwaysDropXp
Lnet/minecraft/entity/LivingEntity;shouldAlwaysDropXp()Z
-
shouldRenderName
public boolean shouldRenderName()- Overrides:
shouldRenderName
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official cv
Lbaq;cv()Z
intermediary method_5733
Lnet/minecraft/class_1297;method_5733()Z
named shouldRenderName
Lnet/minecraft/entity/Entity;shouldRenderName()Z
-
getMoveEffect
Returns the possible effect(s) of an entity moving.- Overrides:
getMoveEffect
in classEntity
- Mappings:
Namespace Name Mixin selector official aO
Lbaq;aO()Lbaq$b;
intermediary method_33570
Lnet/minecraft/class_1297;method_33570()Lnet/minecraft/class_1297$class_5799;
named getMoveEffect
Lnet/minecraft/entity/Entity;getMoveEffect()Lnet/minecraft/entity/Entity$MoveEffect;
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Mappings:
Namespace Name Mixin selector official w
Lbtf;w()V
intermediary method_7355
Lnet/minecraft/class_1657;method_7355()V
named sendAbilitiesUpdate
Lnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
getName
- Specified by:
getName
in interfaceNameable
- Overrides:
getName
in classEntity
- Mappings:
Namespace Name Mixin selector official X
Lazq;X()Lrm;
intermediary method_5477
Lnet/minecraft/class_1275;method_5477()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/util/Nameable;getName()Lnet/minecraft/text/Text;
-
getEnderChestInventory
- Mappings:
Namespace Name Mixin selector official fO
Lbtf;fO()Lbwx;
intermediary method_7274
Lnet/minecraft/class_1657;method_7274()Lnet/minecraft/class_1730;
named getEnderChestInventory
Lnet/minecraft/entity/player/PlayerEntity;getEnderChestInventory()Lnet/minecraft/inventory/EnderChestInventory;
-
getEquippedStack
- Specified by:
getEquippedStack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbbf;c(Lbav;)Lcaa;
intermediary method_6118
Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
named getEquippedStack
Lnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
isArmorSlot
- Overrides:
isArmorSlot
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(Lbav;)Z
intermediary method_44201
Lnet/minecraft/class_1309;method_44201(Lnet/minecraft/class_1304;)Z
named isArmorSlot
Lnet/minecraft/entity/LivingEntity;isArmorSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
-
equipStack
- Specified by:
equipStack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lbav;Lcaa;)V
intermediary method_5673
Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
named equipStack
Lnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
giveItemStack
- Mappings:
Namespace Name Mixin selector official j
Lbtf;j(Lcaa;)Z
intermediary method_7270
Lnet/minecraft/class_1657;method_7270(Lnet/minecraft/class_1799;)Z
named giveItemStack
Lnet/minecraft/entity/player/PlayerEntity;giveItemStack(Lnet/minecraft/item/ItemStack;)Z
-
getItemsHand
- Overrides:
getItemsHand
in classEntity
- Mappings:
Namespace Name Mixin selector official bF
Lbaq;bF()Ljava/lang/Iterable;
intermediary method_5877
Lnet/minecraft/class_1297;method_5877()Ljava/lang/Iterable;
named getItemsHand
Lnet/minecraft/entity/Entity;getItemsHand()Ljava/lang/Iterable;
-
getArmorItems
- Specified by:
getArmorItems
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official bG
Lbaq;bG()Ljava/lang/Iterable;
intermediary method_5661
Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;
named getArmorItems
Lnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
-
addShoulderEntity
- Mappings:
Namespace Name Mixin selector official h
Lbtf;h(Lpj;)Z
intermediary method_7298
Lnet/minecraft/class_1657;method_7298(Lnet/minecraft/class_2487;)Z
named addShoulderEntity
Lnet/minecraft/entity/player/PlayerEntity;addShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)Z
-
dropShoulderEntities
protected void dropShoulderEntities()- Mappings:
Namespace Name Mixin selector official fP
Lbtf;fP()V
intermediary method_7262
Lnet/minecraft/class_1657;method_7262()V
named dropShoulderEntities
Lnet/minecraft/entity/player/PlayerEntity;dropShoulderEntities()V
-
dropShoulderEntity
- Mappings:
Namespace Name Mixin selector official k
Lbtf;k(Lpj;)V
intermediary method_7296
Lnet/minecraft/class_1657;method_7296(Lnet/minecraft/class_2487;)V
named dropShoulderEntity
Lnet/minecraft/entity/player/PlayerEntity;dropShoulderEntity(Lnet/minecraft/nbt/NbtCompound;)V
-
isSpectator
public abstract boolean isSpectator()- Overrides:
isSpectator
in classEntity
- Mappings:
Namespace Name Mixin selector official B_
Lbaq;B_()Z
intermediary method_7325
Lnet/minecraft/class_1297;method_7325()Z
named isSpectator
Lnet/minecraft/entity/Entity;isSpectator()Z
-
isSwimming
public boolean isSwimming()- Overrides:
isSwimming
in classEntity
- Mappings:
Namespace Name Mixin selector official bT
Lbaq;bT()Z
intermediary method_5681
Lnet/minecraft/class_1297;method_5681()Z
named isSwimming
Lnet/minecraft/entity/Entity;isSwimming()Z
-
isCreative
public abstract boolean isCreative()Returns whether this player is in creative mode.- Mappings:
Namespace Name Mixin selector official f
Lbtf;f()Z
intermediary method_7337
Lnet/minecraft/class_1657;method_7337()Z
named isCreative
Lnet/minecraft/entity/player/PlayerEntity;isCreative()Z
-
isPushedByFluids
public boolean isPushedByFluids()- Overrides:
isPushedByFluids
in classEntity
- Mappings:
Namespace Name Mixin selector official cs
Lbaq;cs()Z
intermediary method_5675
Lnet/minecraft/class_1297;method_5675()Z
named isPushedByFluids
Lnet/minecraft/entity/Entity;isPushedByFluids()Z
-
getScoreboard
- Mappings:
Namespace Name Mixin selector official fQ
Lbtf;fQ()Ldwq;
intermediary method_7327
Lnet/minecraft/class_1657;method_7327()Lnet/minecraft/class_269;
named getScoreboard
Lnet/minecraft/entity/player/PlayerEntity;getScoreboard()Lnet/minecraft/scoreboard/Scoreboard;
-
getDisplayName
- Specified by:
getDisplayName
in interfaceNameable
- Overrides:
getDisplayName
in classEntity
- Mappings:
Namespace Name Mixin selector official C_
Lazq;C_()Lrm;
intermediary method_5476
Lnet/minecraft/class_1275;method_5476()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/util/Nameable;getDisplayName()Lnet/minecraft/text/Text;
-
addTellClickEvent
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lrt;)Lrt;
intermediary method_7299
Lnet/minecraft/class_1657;method_7299(Lnet/minecraft/class_5250;)Lnet/minecraft/class_5250;
named addTellClickEvent
Lnet/minecraft/entity/player/PlayerEntity;addTellClickEvent(Lnet/minecraft/text/MutableText;)Lnet/minecraft/text/MutableText;
-
getEntityName
- Overrides:
getEntityName
in classEntity
- Mappings:
Namespace Name Mixin selector official cr
Lbaq;cr()Ljava/lang/String;
intermediary method_5820
Lnet/minecraft/class_1297;method_5820()Ljava/lang/String;
named getEntityName
Lnet/minecraft/entity/Entity;getEntityName()Ljava/lang/String;
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbbf;b(Lbbr;Lbar;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
setAbsorptionAmount
public void setAbsorptionAmount(float amount) - Overrides:
setAbsorptionAmount
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official t
Lbbf;t(F)V
intermediary method_6073
Lnet/minecraft/class_1309;method_6073(F)V
named setAbsorptionAmount
Lnet/minecraft/entity/LivingEntity;setAbsorptionAmount(F)V
-
getAbsorptionAmount
public float getAbsorptionAmount()- Overrides:
getAbsorptionAmount
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eR
Lbbf;eR()F
intermediary method_6067
Lnet/minecraft/class_1309;method_6067()F
named getAbsorptionAmount
Lnet/minecraft/entity/LivingEntity;getAbsorptionAmount()F
-
isPartVisible
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lbtg;)Z
intermediary method_7348
Lnet/minecraft/class_1657;method_7348(Lnet/minecraft/class_1664;)Z
named isPartVisible
Lnet/minecraft/entity/player/PlayerEntity;isPartVisible(Lnet/minecraft/client/render/entity/PlayerModelPart;)Z
-
getStackReference
Obtains a stack reference to be modified. Used by commands like/loot
or/item
.- Overrides:
getStackReference
in classLivingEntity
- Parameters:
mappedIndex
- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lbaq;k(I)Lbbw;
intermediary method_32318
Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
named getStackReference
Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
hasReducedDebugInfo
public boolean hasReducedDebugInfo()- Mappings:
Namespace Name Mixin selector official fR
Lbtf;fR()Z
intermediary method_7302
Lnet/minecraft/class_1657;method_7302()Z
named hasReducedDebugInfo
Lnet/minecraft/entity/player/PlayerEntity;hasReducedDebugInfo()Z
-
setReducedDebugInfo
public void setReducedDebugInfo(boolean reducedDebugInfo) - Mappings:
Namespace Name Mixin selector official t
Lbtf;t(Z)V
intermediary method_7268
Lnet/minecraft/class_1657;method_7268(Z)V
named setReducedDebugInfo
Lnet/minecraft/entity/player/PlayerEntity;setReducedDebugInfo(Z)V
-
setFireTicks
public void setFireTicks(int fireTicks) - Overrides:
setFireTicks
in classEntity
- Mappings:
Namespace Name Mixin selector official g
Lbaq;g(I)V
intermediary method_20803
Lnet/minecraft/class_1297;method_20803(I)V
named setFireTicks
Lnet/minecraft/entity/Entity;setFireTicks(I)V
-
getMainArm
- Specified by:
getMainArm
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eT
Lbbf;eT()Lbba;
intermediary method_6068
Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
named getMainArm
Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
-
setMainArm
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Lbba;)V
intermediary method_7283
Lnet/minecraft/class_1657;method_7283(Lnet/minecraft/class_1306;)V
named setMainArm
Lnet/minecraft/entity/player/PlayerEntity;setMainArm(Lnet/minecraft/util/Arm;)V
-
getShoulderEntityLeft
- Mappings:
Namespace Name Mixin selector official fS
Lbtf;fS()Lpj;
intermediary method_7356
Lnet/minecraft/class_1657;method_7356()Lnet/minecraft/class_2487;
named getShoulderEntityLeft
Lnet/minecraft/entity/player/PlayerEntity;getShoulderEntityLeft()Lnet/minecraft/nbt/NbtCompound;
-
setShoulderEntityLeft
- Mappings:
Namespace Name Mixin selector official i
Lbtf;i(Lpj;)V
intermediary method_7273
Lnet/minecraft/class_1657;method_7273(Lnet/minecraft/class_2487;)V
named setShoulderEntityLeft
Lnet/minecraft/entity/player/PlayerEntity;setShoulderEntityLeft(Lnet/minecraft/nbt/NbtCompound;)V
-
getShoulderEntityRight
- Mappings:
Namespace Name Mixin selector official fT
Lbtf;fT()Lpj;
intermediary method_7308
Lnet/minecraft/class_1657;method_7308()Lnet/minecraft/class_2487;
named getShoulderEntityRight
Lnet/minecraft/entity/player/PlayerEntity;getShoulderEntityRight()Lnet/minecraft/nbt/NbtCompound;
-
setShoulderEntityRight
- Mappings:
Namespace Name Mixin selector official j
Lbtf;j(Lpj;)V
intermediary method_7345
Lnet/minecraft/class_1657;method_7345(Lnet/minecraft/class_2487;)V
named setShoulderEntityRight
Lnet/minecraft/entity/player/PlayerEntity;setShoulderEntityRight(Lnet/minecraft/nbt/NbtCompound;)V
-
getAttackCooldownProgressPerTick
public float getAttackCooldownProgressPerTick()- Mappings:
Namespace Name Mixin selector official fU
Lbtf;fU()F
intermediary method_7279
Lnet/minecraft/class_1657;method_7279()F
named getAttackCooldownProgressPerTick
Lnet/minecraft/entity/player/PlayerEntity;getAttackCooldownProgressPerTick()F
-
getAttackCooldownProgress
public float getAttackCooldownProgress(float baseTime) - Mappings:
Namespace Name Mixin selector official v
Lbtf;v(F)F
intermediary method_7261
Lnet/minecraft/class_1657;method_7261(F)F
named getAttackCooldownProgress
Lnet/minecraft/entity/player/PlayerEntity;getAttackCooldownProgress(F)F
-
resetLastAttackedTicks
public void resetLastAttackedTicks()- Mappings:
Namespace Name Mixin selector official fV
Lbtf;fV()V
intermediary method_7350
Lnet/minecraft/class_1657;method_7350()V
named resetLastAttackedTicks
Lnet/minecraft/entity/player/PlayerEntity;resetLastAttackedTicks()V
-
getItemCooldownManager
- Mappings:
Namespace Name Mixin selector official fW
Lbtf;fW()Lbzx;
intermediary method_7357
Lnet/minecraft/class_1657;method_7357()Lnet/minecraft/class_1796;
named getItemCooldownManager
Lnet/minecraft/entity/player/PlayerEntity;getItemCooldownManager()Lnet/minecraft/entity/player/ItemCooldownManager;
-
getVelocityMultiplier
protected float getVelocityMultiplier()- Overrides:
getVelocityMultiplier
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official aD
Lbaq;aD()F
intermediary method_23326
Lnet/minecraft/class_1297;method_23326()F
named getVelocityMultiplier
Lnet/minecraft/entity/Entity;getVelocityMultiplier()F
-
getLuck
public float getLuck()- Mappings:
Namespace Name Mixin selector official fX
Lbtf;fX()F
intermediary method_7292
Lnet/minecraft/class_1657;method_7292()F
named getLuck
Lnet/minecraft/entity/player/PlayerEntity;getLuck()F
-
isCreativeLevelTwoOp
public boolean isCreativeLevelTwoOp()- Mappings:
Namespace Name Mixin selector official fY
Lbtf;fY()Z
intermediary method_7338
Lnet/minecraft/class_1657;method_7338()Z
named isCreativeLevelTwoOp
Lnet/minecraft/entity/player/PlayerEntity;isCreativeLevelTwoOp()Z
-
canEquip
- Overrides:
canEquip
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official g
Lbbf;g(Lcaa;)Z
intermediary method_18397
Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Z
named canEquip
Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
getDimensions
- Overrides:
getDimensions
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbaq;a(Lbbr;)Lbar;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getPoses
- Overrides:
getPoses
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official fh
Lbbf;fh()Lcom/google/common/collect/ImmutableList;
intermediary method_24831
Lnet/minecraft/class_1309;method_24831()Lcom/google/common/collect/ImmutableList;
named getPoses
Lnet/minecraft/entity/LivingEntity;getPoses()Lcom/google/common/collect/ImmutableList;
-
getArrowType
- Overrides:
getArrowType
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official h
Lbbf;h(Lcaa;)Lcaa;
intermediary method_18808
Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named getArrowType
Lnet/minecraft/entity/LivingEntity;getArrowType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
eatFood
- Overrides:
eatFood
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbbf;a(Lcga;Lcaa;)Lcaa;
intermediary method_18866
Lnet/minecraft/class_1309;method_18866(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
named eatFood
Lnet/minecraft/entity/LivingEntity;eatFood(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
-
shouldRemoveSoulSpeedBoost
- Overrides:
shouldRemoveSoulSpeedBoost
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbbf;b(Lcur;)Z
intermediary method_29500
Lnet/minecraft/class_1309;method_29500(Lnet/minecraft/class_2680;)Z
named shouldRemoveSoulSpeedBoost
Lnet/minecraft/entity/LivingEntity;shouldRemoveSoulSpeedBoost(Lnet/minecraft/block/BlockState;)Z
-
getLeashPos
- Overrides:
getLeashPos
in classEntity
- Mappings:
Namespace Name Mixin selector official n
Lbaq;n(F)Ldvs;
intermediary method_30951
Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;
named getLeashPos
Lnet/minecraft/entity/Entity;getLeashPos(F)Lnet/minecraft/util/math/Vec3d;
-
isPlayer
public boolean isPlayer()- Specified by:
isPlayer
in interfaceEntityLike
- Overrides:
isPlayer
in classEntity
- Mappings:
Namespace Name Mixin selector official dy
Lcye;dy()Z
intermediary method_31747
Lnet/minecraft/class_5568;method_31747()Z
named isPlayer
Lnet/minecraft/world/entity/EntityLike;isPlayer()Z
-
isUsingSpyglass
public boolean isUsingSpyglass()- Mappings:
Namespace Name Mixin selector official fZ
Lbtf;fZ()Z
intermediary method_31550
Lnet/minecraft/class_1657;method_31550()Z
named isUsingSpyglass
Lnet/minecraft/entity/player/PlayerEntity;isUsingSpyglass()Z
-
shouldSave
public boolean shouldSave()- Specified by:
shouldSave
in interfaceEntityLike
- Overrides:
shouldSave
in classEntity
- Mappings:
Namespace Name Mixin selector official dx
Lcye;dx()Z
intermediary method_31746
Lnet/minecraft/class_5568;method_31746()Z
named shouldSave
Lnet/minecraft/world/entity/EntityLike;shouldSave()Z
-
getLastDeathPos
- Mappings:
Namespace Name Mixin selector official ga
Lbtf;ga()Ljava/util/Optional;
intermediary method_43122
Lnet/minecraft/class_1657;method_43122()Ljava/util/Optional;
named getLastDeathPos
Lnet/minecraft/entity/player/PlayerEntity;getLastDeathPos()Ljava/util/Optional;
-
setLastDeathPos
- Mappings:
Namespace Name Mixin selector official a
Lbtf;a(Ljava/util/Optional;)V
intermediary method_43120
Lnet/minecraft/class_1657;method_43120(Ljava/util/Optional;)V
named setLastDeathPos
Lnet/minecraft/entity/player/PlayerEntity;setLastDeathPos(Ljava/util/Optional;)V
-