Package net.minecraft.client.network
Class ClientPlayerEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.player.PlayerEntity
net.minecraft.client.network.AbstractClientPlayerEntity
net.minecraft.client.network.ClientPlayerEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
@Environment(CLIENT) public class ClientPlayerEntity extends AbstractClientPlayerEntity
Represents the client's own player entity.
- Mappings:
Namespace Name official egw
intermediary net/minecraft/class_746
named net/minecraft/client/network/ClientPlayerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReason
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
clientWorld, elytraPitch, elytraRoll, elytraYaw
Fields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentScreenHandler, enchantmentTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, field_7509, fishHook, hungerManager, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description ClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)
-
Method Summary
Modifier and Type Method Description void
addCritParticles(Entity target)
void
addEnchantedHitParticles(Entity target)
protected void
applyDamage(DamageSource source, float amount)
protected void
autoJump(float dx, float dz)
boolean
canMoveVoluntarily()
void
clearActiveItem()
void
closeHandledScreen()
void
closeScreen()
boolean
damage(DamageSource source, float amount)
void
dismountVehicle()
Dismounts the vehicle if present.boolean
dropSelectedItem(boolean dropEntireStack)
Hand
getActiveHand()
float
getMoodPercentage()
Returns the percentage for the biome mood sound for the debug HUD to display.float
getMountJumpStrength()
protected int
getPermissionLevel()
float
getPitch(float tickDelta)
ClientRecipeBook
getRecipeBook()
String
getServerBrand()
StatHandler
getStatHandler()
float
getUnderwaterVisibility()
Returns the color multiplier of vision in water, so that visibility in water is reduced when the player just entered water.float
getYaw(float tickDelta)
void
handleStatus(byte status)
boolean
hasJumpingMount()
private boolean
hasMovementInput()
Returns whether the player has movement input.void
heal(float amount)
boolean
isAutoJumpEnabled()
protected boolean
isCamera()
boolean
isHoldingOntoLadder()
boolean
isInSneakingPose()
Returns whether the entity is in a crouching pose.boolean
isMainPlayer()
boolean
isRiding()
boolean
isSneaking()
boolean
isSubmergedInWater()
Returns whether this entity's hitbox is fully submerged in water.boolean
isUsingItem()
private boolean
isWalking()
Vec3d
method_30951(float float2)
void
method_33592(ItemStack itemStack, ItemStack itemStack2, ClickType clickType)
void
method_33689()
void
move(MovementType movementType, Vec3d movement)
void
onRecipeDisplayed(Recipe<?> recipe)
void
onTrackedDataSet(TrackedData<?> data)
void
openCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor)
void
openCommandBlockScreen(CommandBlockBlockEntity commandBlock)
void
openEditBookScreen(ItemStack book, Hand hand)
void
openEditSignScreen(SignBlockEntity sign)
void
openJigsawScreen(JigsawBlockEntity jigsaw)
void
openRidingInventory()
void
openStructureBlockScreen(StructureBlockBlockEntity structureBlock)
void
playSound(SoundEvent sound, float volume, float pitch)
void
playSound(SoundEvent event, SoundCategory category, float volume, float pitch)
private void
pushOutOfBlocks(double x, double z)
StatusEffectInstance
removeStatusEffectInternal(StatusEffect type)
Removes a status effect from this entity without calling any listener.void
requestRespawn()
void
sendAbilitiesUpdate()
void
sendChatMessage(String message)
void
sendMessage(Text message, boolean actionBar)
private void
sendMovementPackets()
void
sendSystemMessage(Text message, UUID senderUuid)
void
setClientPermissionLevel(int clientPermissionLevel)
void
setCurrentHand(Hand hand)
void
setExperience(float progress, int total, int level)
void
setServerBrand(String serverBrand)
void
setShowsDeathScreen(boolean shouldShow)
void
setSprinting(boolean sprinting)
private boolean
shouldAutoJump()
boolean
shouldDisplaySoulSpeedEffects()
boolean
shouldSlowDown()
boolean
shouldSpawnSprintingParticles()
boolean
showsDeathScreen()
boolean
startRiding(Entity entity, boolean force)
protected void
startRidingJump()
void
swingHand(Hand hand)
void
tick()
void
tickMovement()
void
tickNewAi()
void
tickRiding()
void
updateHealth(float health)
private void
updateNausea()
protected boolean
updateWaterSubmersionState()
private boolean
wouldCollideAt(BlockPos pos)
Methods inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
canRenderCapeTexture, canRenderElytraTexture, getCapeTexture, getElytraTexture, getModel, getPlayerListEntry, getSkinId, getSkinTexture, getSpeed, hasSkinTexture, isCreative, isSpectator, loadSkin
Methods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addExperience, addExperienceLevels, addScore, addShoulderEntity, adjustMovementForSneaking, applyEnchantmentCosts, attack, attackLivingEntity, canConsume, canEquip, canFly, canFoodHeal, canHarvest, canModifyBlocks, canPlaceOn, canTakeDamage, checkFallFlying, clipAtLedge, createCooldownManager, createPlayerAttributes, damageArmor, damageShield, disableShield, doesNotSuffocate, dropInventory, dropItem, dropItem, dropShoulderEntities, eatFood, equipStack, findRespawnPosition, getAbilities, getAbsorptionAmount, getActiveEyeHeight, getArmorItems, getArrowType, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBurningDuration, getCurrentExperience, getDeathSound, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEnchantmentTableSeed, getEnderChestInventory, getEntityName, getEquippedStack, getFallSound, getGameProfile, getHeightOffset, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getItemsHand, getLuck, getMainArm, getMaxNetherPortalTime, getMovementSpeed, getName, getNextLevelExperience, getOfflinePlayerUuid, getPoses, getScore, getScoreboard, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getSwimSound, getUuidFromProfile, getVelocityMultiplier, giveItemStack, handleFallDamage, hasReducedDebugInfo, increaseStat, increaseStat, increaseTravelMotionStats, incrementStat, incrementStat, initDataTracker, interact, isBlockBreakingRestricted, isCreativeLevelTwoOp, isImmobile, isInvulnerableTo, isOnSoulSpeedBlock, isPartVisible, isPlayer, isSleepingLongEnough, isSwimming, isUsingSpyglass, jump, lockRecipes, method_29500, method_32318, method_33570, onDeath, onKilledOther, onSwimmingStart, openHandledScreen, openHorseInventory, readCustomDataFromTag, remove, resetLastAttackedTicks, resetStat, sendTradeOffers, setAbsorptionAmount, setFireTicks, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldDamagePlayer, shouldDismount, shouldRenderName, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startFallFlying, stopFallFlying, takeShieldHit, travel, trySleep, unlockRecipes, unlockRecipes, updateSize, updateSwimming, vanishCursedItems, wakeUp, wakeUp, writeCustomDataToTag
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, baseTick, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTarget, canTarget, canWalkOnFluid, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, deserializeBrain, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, endCombat, enterCombat, fall, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, 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, hasStackEquipped, hasStatusEffect, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPushable, isSleeping, isTarget, isUndead, isUsingRiptide, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_30633, method_31079, method_33579, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAttacker, setAttacking, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldDropLoot, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isRemoved, isSilent, isSneaky, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_29919, method_30330, method_31744, method_32877, method_33332, method_33567, method_33568, method_33569, method_33571, method_33573, method_33574, method_33575, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playFlySound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
networkHandler
- Mappings:
Namespace Name Mixin selector official e
Legw;e:Ledz;
intermediary field_3944
Lnet/minecraft/class_746;field_3944:Lnet/minecraft/class_634;
named networkHandler
Lnet/minecraft/client/network/ClientPlayerEntity;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
statHandler
- Mappings:
Namespace Name Mixin selector official bN
Legw;bN:Laer;
intermediary field_3928
Lnet/minecraft/class_746;field_3928:Lnet/minecraft/class_3469;
named statHandler
Lnet/minecraft/client/network/ClientPlayerEntity;statHandler:Lnet/minecraft/stat/StatHandler;
-
recipeBook
- Mappings:
Namespace Name Mixin selector official bO
Legw;bO:Ldpx;
intermediary field_3930
Lnet/minecraft/class_746;field_3930:Lnet/minecraft/class_299;
named recipeBook
Lnet/minecraft/client/network/ClientPlayerEntity;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
tickables
- Mappings:
Namespace Name Mixin selector official bP
Legw;bP:Ljava/util/List;
intermediary field_3933
Lnet/minecraft/class_746;field_3933:Ljava/util/List;
named tickables
Lnet/minecraft/client/network/ClientPlayerEntity;tickables:Ljava/util/List;
-
clientPermissionLevel
private int clientPermissionLevel- Mappings:
Namespace Name Mixin selector official bQ
Legw;bQ:I
intermediary field_3912
Lnet/minecraft/class_746;field_3912:I
named clientPermissionLevel
Lnet/minecraft/client/network/ClientPlayerEntity;clientPermissionLevel:I
-
lastX
private double lastX- Mappings:
Namespace Name Mixin selector official bR
Legw;bR:D
intermediary field_3926
Lnet/minecraft/class_746;field_3926:D
named lastX
Lnet/minecraft/client/network/ClientPlayerEntity;lastX:D
-
lastBaseY
private double lastBaseY- Mappings:
Namespace Name Mixin selector official bS
Legw;bS:D
intermediary field_3940
Lnet/minecraft/class_746;field_3940:D
named lastBaseY
Lnet/minecraft/client/network/ClientPlayerEntity;lastBaseY:D
-
lastZ
private double lastZ- Mappings:
Namespace Name Mixin selector official bT
Legw;bT:D
intermediary field_3924
Lnet/minecraft/class_746;field_3924:D
named lastZ
Lnet/minecraft/client/network/ClientPlayerEntity;lastZ:D
-
lastYaw
private float lastYaw- Mappings:
Namespace Name Mixin selector official bU
Legw;bU:F
intermediary field_3941
Lnet/minecraft/class_746;field_3941:F
named lastYaw
Lnet/minecraft/client/network/ClientPlayerEntity;lastYaw:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector official bV
Legw;bV:F
intermediary field_3925
Lnet/minecraft/class_746;field_3925:F
named lastPitch
Lnet/minecraft/client/network/ClientPlayerEntity;lastPitch:F
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector official bW
Legw;bW:Z
intermediary field_3920
Lnet/minecraft/class_746;field_3920:Z
named lastOnGround
Lnet/minecraft/client/network/ClientPlayerEntity;lastOnGround:Z
-
inSneakingPose
private boolean inSneakingPose- Mappings:
Namespace Name Mixin selector official bX
Legw;bX:Z
intermediary field_23093
Lnet/minecraft/class_746;field_23093:Z
named inSneakingPose
Lnet/minecraft/client/network/ClientPlayerEntity;inSneakingPose:Z
-
lastSneaking
private boolean lastSneaking- Mappings:
Namespace Name Mixin selector official bY
Legw;bY:Z
intermediary field_3936
Lnet/minecraft/class_746;field_3936:Z
named lastSneaking
Lnet/minecraft/client/network/ClientPlayerEntity;lastSneaking:Z
-
lastSprinting
private boolean lastSprinting- Mappings:
Namespace Name Mixin selector official bZ
Legw;bZ:Z
intermediary field_3919
Lnet/minecraft/class_746;field_3919:Z
named lastSprinting
Lnet/minecraft/client/network/ClientPlayerEntity;lastSprinting:Z
-
ticksSinceLastPositionPacketSent
private int ticksSinceLastPositionPacketSent- Mappings:
Namespace Name Mixin selector official ca
Legw;ca:I
intermediary field_3923
Lnet/minecraft/class_746;field_3923:I
named ticksSinceLastPositionPacketSent
Lnet/minecraft/client/network/ClientPlayerEntity;ticksSinceLastPositionPacketSent:I
-
healthInitialized
private boolean healthInitialized- Mappings:
Namespace Name Mixin selector official cb
Legw;cb:Z
intermediary field_3918
Lnet/minecraft/class_746;field_3918:Z
named healthInitialized
Lnet/minecraft/client/network/ClientPlayerEntity;healthInitialized:Z
-
serverBrand
- Mappings:
Namespace Name Mixin selector official cc
Legw;cc:Ljava/lang/String;
intermediary field_3943
Lnet/minecraft/class_746;field_3943:Ljava/lang/String;
named serverBrand
Lnet/minecraft/client/network/ClientPlayerEntity;serverBrand:Ljava/lang/String;
-
input
- Mappings:
Namespace Name Mixin selector official f
Legw;f:Legu;
intermediary field_3913
Lnet/minecraft/class_746;field_3913:Lnet/minecraft/class_744;
named input
Lnet/minecraft/client/network/ClientPlayerEntity;input:Lnet/minecraft/client/input/Input;
-
client
- Mappings:
Namespace Name Mixin selector official g
Legw;g:Ldqk;
intermediary field_3937
Lnet/minecraft/class_746;field_3937:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/network/ClientPlayerEntity;client:Lnet/minecraft/client/MinecraftClient;
-
ticksLeftToDoubleTapSprint
protected int ticksLeftToDoubleTapSprint- Mappings:
Namespace Name Mixin selector official bF
Legw;bF:I
intermediary field_3935
Lnet/minecraft/class_746;field_3935:I
named ticksLeftToDoubleTapSprint
Lnet/minecraft/client/network/ClientPlayerEntity;ticksLeftToDoubleTapSprint:I
-
ticksSinceSprintingChanged
public int ticksSinceSprintingChanged- Mappings:
Namespace Name Mixin selector official bG
Legw;bG:I
intermediary field_3921
Lnet/minecraft/class_746;field_3921:I
named ticksSinceSprintingChanged
Lnet/minecraft/client/network/ClientPlayerEntity;ticksSinceSprintingChanged:I
-
renderYaw
public float renderYaw- Mappings:
Namespace Name Mixin selector official bH
Legw;bH:F
intermediary field_3932
Lnet/minecraft/class_746;field_3932:F
named renderYaw
Lnet/minecraft/client/network/ClientPlayerEntity;renderYaw:F
-
renderPitch
public float renderPitch- Mappings:
Namespace Name Mixin selector official bI
Legw;bI:F
intermediary field_3916
Lnet/minecraft/class_746;field_3916:F
named renderPitch
Lnet/minecraft/client/network/ClientPlayerEntity;renderPitch:F
-
lastRenderYaw
public float lastRenderYaw- Mappings:
Namespace Name Mixin selector official bJ
Legw;bJ:F
intermediary field_3931
Lnet/minecraft/class_746;field_3931:F
named lastRenderYaw
Lnet/minecraft/client/network/ClientPlayerEntity;lastRenderYaw:F
-
lastRenderPitch
public float lastRenderPitch- Mappings:
Namespace Name Mixin selector official bK
Legw;bK:F
intermediary field_3914
Lnet/minecraft/class_746;field_3914:F
named lastRenderPitch
Lnet/minecraft/client/network/ClientPlayerEntity;lastRenderPitch:F
-
field_3938
private int field_3938- Mappings:
Namespace Name Mixin selector official cd
Legw;cd:I
intermediary field_3938
Lnet/minecraft/class_746;field_3938:I
named field_3938
Lnet/minecraft/client/network/ClientPlayerEntity;field_3938:I
-
mountJumpStrength
private float mountJumpStrength- Mappings:
Namespace Name Mixin selector official ce
Legw;ce:F
intermediary field_3922
Lnet/minecraft/class_746;field_3922:F
named mountJumpStrength
Lnet/minecraft/client/network/ClientPlayerEntity;mountJumpStrength:F
-
nextNauseaStrength
public float nextNauseaStrength- Mappings:
Namespace Name Mixin selector official bL
Legw;bL:F
intermediary field_3929
Lnet/minecraft/class_746;field_3929:F
named nextNauseaStrength
Lnet/minecraft/client/network/ClientPlayerEntity;nextNauseaStrength:F
-
lastNauseaStrength
public float lastNauseaStrength- Mappings:
Namespace Name Mixin selector official bM
Legw;bM:F
intermediary field_3911
Lnet/minecraft/class_746;field_3911:F
named lastNauseaStrength
Lnet/minecraft/client/network/ClientPlayerEntity;lastNauseaStrength:F
-
usingItem
private boolean usingItem- Mappings:
Namespace Name Mixin selector official cf
Legw;cf:Z
intermediary field_3915
Lnet/minecraft/class_746;field_3915:Z
named usingItem
Lnet/minecraft/client/network/ClientPlayerEntity;usingItem:Z
-
activeHand
- Mappings:
Namespace Name Mixin selector official cg
Legw;cg:Lapp;
intermediary field_3945
Lnet/minecraft/class_746;field_3945:Lnet/minecraft/class_1268;
named activeHand
Lnet/minecraft/client/network/ClientPlayerEntity;activeHand:Lnet/minecraft/util/Hand;
-
riding
private boolean riding- Mappings:
Namespace Name Mixin selector official ch
Legw;ch:Z
intermediary field_3942
Lnet/minecraft/class_746;field_3942:Z
named riding
Lnet/minecraft/client/network/ClientPlayerEntity;riding:Z
-
autoJumpEnabled
private boolean autoJumpEnabled- Mappings:
Namespace Name Mixin selector official ci
Legw;ci:Z
intermediary field_3927
Lnet/minecraft/class_746;field_3927:Z
named autoJumpEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;autoJumpEnabled:Z
-
ticksToNextAutojump
private int ticksToNextAutojump- Mappings:
Namespace Name Mixin selector official cj
Legw;cj:I
intermediary field_3934
Lnet/minecraft/class_746;field_3934:I
named ticksToNextAutojump
Lnet/minecraft/client/network/ClientPlayerEntity;ticksToNextAutojump:I
-
falling
private boolean falling- Mappings:
Namespace Name Mixin selector official ck
Legw;ck:Z
intermediary field_3939
Lnet/minecraft/class_746;field_3939:Z
named falling
Lnet/minecraft/client/network/ClientPlayerEntity;falling:Z
-
underwaterVisibilityTicks
private int underwaterVisibilityTicks- Mappings:
Namespace Name Mixin selector official cl
Legw;cl:I
intermediary field_3917
Lnet/minecraft/class_746;field_3917:I
named underwaterVisibilityTicks
Lnet/minecraft/client/network/ClientPlayerEntity;underwaterVisibilityTicks:I
-
showsDeathScreen
private boolean showsDeathScreen- Mappings:
Namespace Name Mixin selector official cm
Legw;cm:Z
intermediary field_20663
Lnet/minecraft/class_746;field_20663:Z
named showsDeathScreen
Lnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen:Z
-
-
Constructor Details
-
ClientPlayerEntity
public ClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting)- Mappings:
Namespace Name Mixin selector official <init>
Legw;<init>(Ldqk;Ledy;Ledz;Laer;Ldpx;ZZ)V
intermediary <init>
Lnet/minecraft/class_746;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_638;Lnet/minecraft/class_634;Lnet/minecraft/class_3469;Lnet/minecraft/class_299;ZZ)V
named <init>
Lnet/minecraft/client/network/ClientPlayerEntity;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/ClientPlayNetworkHandler;Lnet/minecraft/stat/StatHandler;Lnet/minecraft/client/recipebook/ClientRecipeBook;ZZ)V
-
-
Method Details
-
damage
- Overrides:
damage
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Laqf;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
-
heal
public void heal(float amount)- Overrides:
heal
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lari;b(F)V
intermediary method_6025
Lnet/minecraft/class_1309;method_6025(F)V
named heal
Lnet/minecraft/entity/LivingEntity;heal(F)V
-
startRiding
- Overrides:
startRiding
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Laqv;Z)Z
intermediary method_5873
Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Z
named startRiding
Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
-
dismountVehicle
public void dismountVehicle()Dismounts the vehicle if present.For players, will not trigger any networking changes. Use
Entity.stopRiding()
instead.- Overrides:
dismountVehicle
in classPlayerEntity
- See Also:
Entity.stopRiding()
- Mappings:
Namespace Name Mixin selector official bk
Laqv;bk()V
intermediary method_29239
Lnet/minecraft/class_1297;method_29239()V
named dismountVehicle
Lnet/minecraft/entity/Entity;dismountVehicle()V
-
getPitch
public float getPitch(float tickDelta) -
getYaw
public float getYaw(float tickDelta)- Overrides:
getYaw
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official g
Laqv;g(F)F
intermediary method_5705
Lnet/minecraft/class_1297;method_5705(F)F
named getYaw
Lnet/minecraft/entity/Entity;getYaw(F)F
-
tick
public void tick()- Overrides:
tick
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official j
Laqv;j()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
getMoodPercentage
public float getMoodPercentage()Returns the percentage for the biome mood sound for the debug HUD to display.- Mappings:
Namespace Name Mixin selector official x
Legw;x()F
intermediary method_26269
Lnet/minecraft/class_746;method_26269()F
named getMoodPercentage
Lnet/minecraft/client/network/ClientPlayerEntity;getMoodPercentage()F
-
sendMovementPackets
private void sendMovementPackets()- Mappings:
Namespace Name Mixin selector official fx
Legw;fx()V
intermediary method_3136
Lnet/minecraft/class_746;method_3136()V
named sendMovementPackets
Lnet/minecraft/client/network/ClientPlayerEntity;sendMovementPackets()V
-
dropSelectedItem
public boolean dropSelectedItem(boolean dropEntireStack)- Overrides:
dropSelectedItem
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Z)Z
intermediary method_7290
Lnet/minecraft/class_1657;method_7290(Z)Z
named dropSelectedItem
Lnet/minecraft/entity/player/PlayerEntity;dropSelectedItem(Z)Z
-
sendChatMessage
- Mappings:
Namespace Name Mixin selector official e
Legw;e(Ljava/lang/String;)V
intermediary method_3142
Lnet/minecraft/class_746;method_3142(Ljava/lang/String;)V
named sendChatMessage
Lnet/minecraft/client/network/ClientPlayerEntity;sendChatMessage(Ljava/lang/String;)V
-
swingHand
- Overrides:
swingHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lari;a(Lapp;)V
intermediary method_6104
Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)V
named swingHand
Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
-
requestRespawn
public void requestRespawn()- Overrides:
requestRespawn
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official eW
Lbhl;eW()V
intermediary method_7331
Lnet/minecraft/class_1657;method_7331()V
named requestRespawn
Lnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
-
applyDamage
- Overrides:
applyDamage
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official e
Lari;e(Laqf;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
-
closeHandledScreen
public void closeHandledScreen()- Overrides:
closeHandledScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official m
Lbhl;m()V
intermediary method_7346
Lnet/minecraft/class_1657;method_7346()V
named closeHandledScreen
Lnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
closeScreen
public void closeScreen()- Mappings:
Namespace Name Mixin selector official z
Legw;z()V
intermediary method_3137
Lnet/minecraft/class_746;method_3137()V
named closeScreen
Lnet/minecraft/client/network/ClientPlayerEntity;closeScreen()V
-
updateHealth
public void updateHealth(float health)- Mappings:
Namespace Name Mixin selector official u
Legw;u(F)V
intermediary method_3138
Lnet/minecraft/class_746;method_3138(F)V
named updateHealth
Lnet/minecraft/client/network/ClientPlayerEntity;updateHealth(F)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdate
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official c_
Lbhl;c_()V
intermediary method_7355
Lnet/minecraft/class_1657;method_7355()V
named sendAbilitiesUpdate
Lnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
isMainPlayer
public boolean isMainPlayer()- Overrides:
isMainPlayer
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official eX
Lbhl;eX()Z
intermediary method_7340
Lnet/minecraft/class_1657;method_7340()Z
named isMainPlayer
Lnet/minecraft/entity/player/PlayerEntity;isMainPlayer()Z
-
isHoldingOntoLadder
public boolean isHoldingOntoLadder()- Overrides:
isHoldingOntoLadder
in classLivingEntity
- Returns:
true
if this entity should not lose height while in a climbing state- See Also:
LivingEntity
- Mappings:
Namespace Name Mixin selector official eC
Lari;eC()Z
intermediary method_21754
Lnet/minecraft/class_1309;method_21754()Z
named isHoldingOntoLadder
Lnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticles
in classEntity
- Mappings:
Namespace Name Mixin selector official aR
Laqv;aR()Z
intermediary method_27298
Lnet/minecraft/class_1297;method_27298()Z
named shouldSpawnSprintingParticles
Lnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Z
-
shouldDisplaySoulSpeedEffects
public boolean shouldDisplaySoulSpeedEffects()- Overrides:
shouldDisplaySoulSpeedEffects
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dj
Lari;dj()Z
intermediary method_27302
Lnet/minecraft/class_1309;method_27302()Z
named shouldDisplaySoulSpeedEffects
Lnet/minecraft/entity/LivingEntity;shouldDisplaySoulSpeedEffects()Z
-
startRidingJump
protected void startRidingJump()- Mappings:
Namespace Name Mixin selector official A
Legw;A()V
intermediary method_3133
Lnet/minecraft/class_746;method_3133()V
named startRidingJump
Lnet/minecraft/client/network/ClientPlayerEntity;startRidingJump()V
-
openRidingInventory
public void openRidingInventory()- Mappings:
Namespace Name Mixin selector official B
Legw;B()V
intermediary method_3132
Lnet/minecraft/class_746;method_3132()V
named openRidingInventory
Lnet/minecraft/client/network/ClientPlayerEntity;openRidingInventory()V
-
setServerBrand
- Mappings:
Namespace Name Mixin selector official f
Legw;f(Ljava/lang/String;)V
intermediary method_3146
Lnet/minecraft/class_746;method_3146(Ljava/lang/String;)V
named setServerBrand
Lnet/minecraft/client/network/ClientPlayerEntity;setServerBrand(Ljava/lang/String;)V
-
getServerBrand
- Mappings:
Namespace Name Mixin selector official D
Legw;D()Ljava/lang/String;
intermediary method_3135
Lnet/minecraft/class_746;method_3135()Ljava/lang/String;
named getServerBrand
Lnet/minecraft/client/network/ClientPlayerEntity;getServerBrand()Ljava/lang/String;
-
getStatHandler
- Mappings:
Namespace Name Mixin selector official F
Legw;F()Laer;
intermediary method_3143
Lnet/minecraft/class_746;method_3143()Lnet/minecraft/class_3469;
named getStatHandler
Lnet/minecraft/client/network/ClientPlayerEntity;getStatHandler()Lnet/minecraft/stat/StatHandler;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector official G
Legw;G()Ldpx;
intermediary method_3130
Lnet/minecraft/class_746;method_3130()Lnet/minecraft/class_299;
named getRecipeBook
Lnet/minecraft/client/network/ClientPlayerEntity;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector official a
Legw;a(Lbqn;)V
intermediary method_3141
Lnet/minecraft/class_746;method_3141(Lnet/minecraft/class_1860;)V
named onRecipeDisplayed
Lnet/minecraft/client/network/ClientPlayerEntity;onRecipeDisplayed(Lnet/minecraft/recipe/Recipe;)V
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevel
in classEntity
- Mappings:
Namespace Name Mixin selector official y
Laqv;y()I
intermediary method_5691
Lnet/minecraft/class_1297;method_5691()I
named getPermissionLevel
Lnet/minecraft/entity/Entity;getPermissionLevel()I
-
setClientPermissionLevel
public void setClientPermissionLevel(int clientPermissionLevel)- Mappings:
Namespace Name Mixin selector official a
Legw;a(I)V
intermediary method_3147
Lnet/minecraft/class_746;method_3147(I)V
named setClientPermissionLevel
Lnet/minecraft/client/network/ClientPlayerEntity;setClientPermissionLevel(I)V
-
sendMessage
- Overrides:
sendMessage
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Loi;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
-
pushOutOfBlocks
private void pushOutOfBlocks(double x, double z)- Mappings:
Namespace Name Mixin selector official b
Legw;b(DD)V
intermediary method_30673
Lnet/minecraft/class_746;method_30673(DD)V
named pushOutOfBlocks
Lnet/minecraft/client/network/ClientPlayerEntity;pushOutOfBlocks(DD)V
-
wouldCollideAt
- Mappings:
Namespace Name Mixin selector official g
Legw;g(Lfx;)Z
intermediary method_30674
Lnet/minecraft/class_746;method_30674(Lnet/minecraft/class_2338;)Z
named wouldCollideAt
Lnet/minecraft/client/network/ClientPlayerEntity;wouldCollideAt(Lnet/minecraft/util/math/BlockPos;)Z
-
setSprinting
public void setSprinting(boolean sprinting)- Overrides:
setSprinting
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official g
Laqv;g(Z)V
intermediary method_5728
Lnet/minecraft/class_1297;method_5728(Z)V
named setSprinting
Lnet/minecraft/entity/Entity;setSprinting(Z)V
-
setExperience
public void setExperience(float progress, int total, int level)- Mappings:
Namespace Name Mixin selector official a
Legw;a(FII)V
intermediary method_3145
Lnet/minecraft/class_746;method_3145(FII)V
named setExperience
Lnet/minecraft/client/network/ClientPlayerEntity;setExperience(FII)V
-
sendSystemMessage
- Specified by:
sendSystemMessage
in interfaceCommandOutput
- Overrides:
sendSystemMessage
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lda;a(Loi;Ljava/util/UUID;)V
intermediary method_9203
Lnet/minecraft/class_2165;method_9203(Lnet/minecraft/class_2561;Ljava/util/UUID;)V
named sendSystemMessage
Lnet/minecraft/server/command/CommandOutput;sendSystemMessage(Lnet/minecraft/text/Text;Ljava/util/UUID;)V
-
handleStatus
public void handleStatus(byte status)- Overrides:
handleStatus
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
setShowsDeathScreen
public void setShowsDeathScreen(boolean shouldShow)- Mappings:
Namespace Name Mixin selector official b
Legw;b(Z)V
intermediary method_22420
Lnet/minecraft/class_746;method_22420(Z)V
named setShowsDeathScreen
Lnet/minecraft/client/network/ClientPlayerEntity;setShowsDeathScreen(Z)V
-
showsDeathScreen
public boolean showsDeathScreen()- Mappings:
Namespace Name Mixin selector official H
Legw;H()Z
intermediary method_22419
Lnet/minecraft/class_746;method_22419()Z
named showsDeathScreen
Lnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen()Z
-
playSound
- Overrides:
playSound
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Laef;FF)V
intermediary method_5783
Lnet/minecraft/class_1297;method_5783(Lnet/minecraft/class_3414;FF)V
named playSound
Lnet/minecraft/entity/Entity;playSound(Lnet/minecraft/sound/SoundEvent;FF)V
-
playSound
- Overrides:
playSound
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Laef;Laeh;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
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarily
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eq
Lari;eq()Z
intermediary method_6034
Lnet/minecraft/class_1309;method_6034()Z
named canMoveVoluntarily
Lnet/minecraft/entity/LivingEntity;canMoveVoluntarily()Z
-
setCurrentHand
- Overrides:
setCurrentHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lari;c(Lapp;)V
intermediary method_6019
Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)V
named setCurrentHand
Lnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItem
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eu
Lari;eu()Z
intermediary method_6115
Lnet/minecraft/class_1309;method_6115()Z
named isUsingItem
Lnet/minecraft/entity/LivingEntity;isUsingItem()Z
-
clearActiveItem
public void clearActiveItem()- Overrides:
clearActiveItem
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eA
Lari;eA()V
intermediary method_6021
Lnet/minecraft/class_1309;method_6021()V
named clearActiveItem
Lnet/minecraft/entity/LivingEntity;clearActiveItem()V
-
getActiveHand
- Overrides:
getActiveHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official ev
Lari;ev()Lapp;
intermediary method_6058
Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;
named getActiveHand
Lnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
-
onTrackedDataSet
- Overrides:
onTrackedDataSet
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lvk;)V
intermediary method_5674
Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
named onTrackedDataSet
Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
hasJumpingMount
public boolean hasJumpingMount()- Mappings:
Namespace Name Mixin selector official I
Legw;I()Z
intermediary method_3131
Lnet/minecraft/class_746;method_3131()Z
named hasJumpingMount
Lnet/minecraft/client/network/ClientPlayerEntity;hasJumpingMount()Z
-
getMountJumpStrength
public float getMountJumpStrength()- Mappings:
Namespace Name Mixin selector official J
Legw;J()F
intermediary method_3151
Lnet/minecraft/class_746;method_3151()F
named getMountJumpStrength
Lnet/minecraft/client/network/ClientPlayerEntity;getMountJumpStrength()F
-
openEditSignScreen
- Overrides:
openEditSignScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lcgr;)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
- Overrides:
openCommandBlockMinecartScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbsv;)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
- Overrides:
openCommandBlockScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lcfy;)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
- Overrides:
openStructureBlockScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lcgv;)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
- Overrides:
openJigsawScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lcgk;)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
-
openEditBookScreen
- Overrides:
openEditBookScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbnv;Lapp;)V
intermediary method_7315
Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V
named openEditBookScreen
Lnet/minecraft/entity/player/PlayerEntity;openEditBookScreen(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
addCritParticles
- Overrides:
addCritParticles
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Laqv;)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
- Overrides:
addEnchantedHitParticles
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official b
Lbhl;b(Laqv;)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
-
isSneaking
public boolean isSneaking()- Overrides:
isSneaking
in classEntity
- Mappings:
Namespace Name Mixin selector official bz
Laqv;bz()Z
intermediary method_5715
Lnet/minecraft/class_1297;method_5715()Z
named isSneaking
Lnet/minecraft/entity/Entity;isSneaking()Z
-
isInSneakingPose
public boolean isInSneakingPose()Returns whether the entity is in a crouching pose.Compared to
Entity.isSneaking()
, it only makes the entity appear crouching and does not bring other effects of sneaking, such as no less obvious name label rendering, no dismounting while riding, etc.This is used by vanilla for non-player entities to crouch, such as for foxes and cats.
- Overrides:
isInSneakingPose
in classEntity
- Mappings:
Namespace Name Mixin selector official bE
Laqv;bE()Z
intermediary method_18276
Lnet/minecraft/class_1297;method_18276()Z
named isInSneakingPose
Lnet/minecraft/entity/Entity;isInSneakingPose()Z
-
shouldSlowDown
public boolean shouldSlowDown()- Mappings:
Namespace Name Mixin selector official K
Legw;K()Z
intermediary method_20303
Lnet/minecraft/class_746;method_20303()Z
named shouldSlowDown
Lnet/minecraft/client/network/ClientPlayerEntity;shouldSlowDown()Z
-
tickNewAi
public void tickNewAi()- Overrides:
tickNewAi
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official en
Lari;en()V
intermediary method_6023
Lnet/minecraft/class_1309;method_6023()V
named tickNewAi
Lnet/minecraft/entity/LivingEntity;tickNewAi()V
-
isCamera
protected boolean isCamera()- Mappings:
Namespace Name Mixin selector official L
Legw;L()Z
intermediary method_3134
Lnet/minecraft/class_746;method_3134()Z
named isCamera
Lnet/minecraft/client/network/ClientPlayerEntity;isCamera()Z
-
method_33689
public void method_33689()- Mappings:
Namespace Name Mixin selector official M
Legw;M()V
intermediary method_33689
Lnet/minecraft/class_746;method_33689()V
named method_33689
Lnet/minecraft/client/network/ClientPlayerEntity;method_33689()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official k
Lari;k()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
updateNausea
private void updateNausea()- Mappings:
Namespace Name Mixin selector official fy
Legw;fy()V
intermediary method_18654
Lnet/minecraft/class_746;method_18654()V
named updateNausea
Lnet/minecraft/client/network/ClientPlayerEntity;updateNausea()V
-
tickRiding
public void tickRiding()- Overrides:
tickRiding
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official bf
Laqv;bf()V
intermediary method_5842
Lnet/minecraft/class_1297;method_5842()V
named tickRiding
Lnet/minecraft/entity/Entity;tickRiding()V
-
isRiding
public boolean isRiding()- Mappings:
Namespace Name Mixin selector official N
Legw;N()Z
intermediary method_3144
Lnet/minecraft/class_746;method_3144()Z
named isRiding
Lnet/minecraft/client/network/ClientPlayerEntity;isRiding()Z
-
removeStatusEffectInternal
Removes a status effect from this entity without calling any listener.This method does not perform any cleanup or synchronization operation. Under most circumstances, calling
LivingEntity.removeStatusEffect(net.minecraft.entity.effect.StatusEffect)
is highly preferable.- Overrides:
removeStatusEffectInternal
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lari;c(Laqn;)Laqp;
intermediary method_6111
Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;
named removeStatusEffectInternal
Lnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
-
move
- Overrides:
move
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Larn;Ldiu;)V
intermediary method_5784
Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)V
named move
Lnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
-
isAutoJumpEnabled
public boolean isAutoJumpEnabled()- Mappings:
Namespace Name Mixin selector official O
Legw;O()Z
intermediary method_3149
Lnet/minecraft/class_746;method_3149()Z
named isAutoJumpEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;isAutoJumpEnabled()Z
-
autoJump
protected void autoJump(float dx, float dz)- Mappings:
Namespace Name Mixin selector official f
Legw;f(FF)V
intermediary method_3148
Lnet/minecraft/class_746;method_3148(FF)V
named autoJump
Lnet/minecraft/client/network/ClientPlayerEntity;autoJump(FF)V
-
shouldAutoJump
private boolean shouldAutoJump()- Mappings:
Namespace Name Mixin selector official fz
Legw;fz()Z
intermediary method_22119
Lnet/minecraft/class_746;method_22119()Z
named shouldAutoJump
Lnet/minecraft/client/network/ClientPlayerEntity;shouldAutoJump()Z
-
hasMovementInput
private boolean hasMovementInput()Returns whether the player has movement input.- Returns:
- True if the player has movement input, else false.
- Mappings:
Namespace Name Mixin selector official fA
Legw;fA()Z
intermediary method_22120
Lnet/minecraft/class_746;method_22120()Z
named hasMovementInput
Lnet/minecraft/client/network/ClientPlayerEntity;hasMovementInput()Z
-
isWalking
private boolean isWalking()- Mappings:
Namespace Name Mixin selector official fB
Legw;fB()Z
intermediary method_20623
Lnet/minecraft/class_746;method_20623()Z
named isWalking
Lnet/minecraft/client/network/ClientPlayerEntity;isWalking()Z
-
getUnderwaterVisibility
public float getUnderwaterVisibility()Returns the color multiplier of vision in water, so that visibility in water is reduced when the player just entered water.- Mappings:
Namespace Name Mixin selector official Q
Legw;Q()F
intermediary method_3140
Lnet/minecraft/class_746;method_3140()F
named getUnderwaterVisibility
Lnet/minecraft/client/network/ClientPlayerEntity;getUnderwaterVisibility()F
-
isSubmergedInWater
public boolean isSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.- Overrides:
isSubmergedInWater
in classEntity
- Mappings:
Namespace Name Mixin selector official aL
Laqv;aL()Z
intermediary method_5869
Lnet/minecraft/class_1297;method_5869()Z
named isSubmergedInWater
Lnet/minecraft/entity/Entity;isSubmergedInWater()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Overrides:
updateWaterSubmersionState
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official eR
Lbhl;eR()Z
intermediary method_7295
Lnet/minecraft/class_1657;method_7295()Z
named updateWaterSubmersionState
Lnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()Z
-
method_30951
- Overrides:
method_30951
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official n
Laqv;n(F)Ldiu;
intermediary method_30951
Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;
named method_30951
Lnet/minecraft/entity/Entity;method_30951(F)Lnet/minecraft/util/math/Vec3d;
-
method_33592
- Overrides:
method_33592
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a
Lbhl;a(Lbnv;Lbnv;Lbjz;)V
intermediary method_33592
Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)V
named method_33592
Lnet/minecraft/entity/player/PlayerEntity;method_33592(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)V
-