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 egwintermediary net/minecraft/class_746named net/minecraft/client/network/ClientPlayerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReasonNested 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, elytraYawFields 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, totalExperienceFields 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, upwardSpeedFields 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, yawFields 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 voidaddCritParticles(Entity target)voidaddEnchantedHitParticles(Entity target)protected voidapplyDamage(DamageSource source, float amount)protected voidautoJump(float dx, float dz)booleancanMoveVoluntarily()voidclearActiveItem()voidcloseHandledScreen()voidcloseScreen()booleandamage(DamageSource source, float amount)voiddismountVehicle()Dismounts the vehicle if present.booleandropSelectedItem(boolean dropEntireStack)HandgetActiveHand()floatgetMoodPercentage()Returns the percentage for the biome mood sound for the debug HUD to display.floatgetMountJumpStrength()protected intgetPermissionLevel()floatgetPitch(float tickDelta)ClientRecipeBookgetRecipeBook()StringgetServerBrand()StatHandlergetStatHandler()floatgetUnderwaterVisibility()Returns the color multiplier of vision in water, so that visibility in water is reduced when the player just entered water.floatgetYaw(float tickDelta)voidhandleStatus(byte status)booleanhasJumpingMount()private booleanhasMovementInput()Returns whether the player has movement input.voidheal(float amount)booleanisAutoJumpEnabled()protected booleanisCamera()booleanisHoldingOntoLadder()booleanisInSneakingPose()Returns whether the entity is in a crouching pose.booleanisMainPlayer()booleanisRiding()booleanisSneaking()booleanisSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.booleanisUsingItem()private booleanisWalking()Vec3dmethod_30951(float float2)voidmethod_33689()voidmove(MovementType movementType, Vec3d movement)voidonPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType)Called when a player performs apickup slot actionin a screen handler.voidonRecipeDisplayed(Recipe<?> recipe)voidonTrackedDataSet(TrackedData<?> data)voidopenCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor)voidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock)voidopenEditBookScreen(ItemStack book, Hand hand)voidopenEditSignScreen(SignBlockEntity sign)voidopenJigsawScreen(JigsawBlockEntity jigsaw)voidopenRidingInventory()voidopenStructureBlockScreen(StructureBlockBlockEntity structureBlock)voidplaySound(SoundEvent sound, float volume, float pitch)voidplaySound(SoundEvent event, SoundCategory category, float volume, float pitch)private voidpushOutOfBlocks(double x, double z)StatusEffectInstanceremoveStatusEffectInternal(StatusEffect type)Removes a status effect from this entity without calling any listener.voidrequestRespawn()voidsendAbilitiesUpdate()voidsendChatMessage(String message)voidsendMessage(Text message, boolean actionBar)private voidsendMovementPackets()voidsendSystemMessage(Text message, UUID senderUuid)voidsetClientPermissionLevel(int clientPermissionLevel)voidsetCurrentHand(Hand hand)voidsetExperience(float progress, int total, int level)voidsetServerBrand(String serverBrand)voidsetShowsDeathScreen(boolean shouldShow)voidsetSprinting(boolean sprinting)private booleanshouldAutoJump()booleanshouldDisplaySoulSpeedEffects()booleanshouldSlowDown()booleanshouldSpawnSprintingParticles()booleanshowsDeathScreen()booleanstartRiding(Entity entity, boolean force)protected voidstartRidingJump()voidswingHand(Hand hand)voidtick()voidtickMovement()voidtickNewAi()voidtickRiding()voidupdateHealth(float health)private voidupdateNausea()protected booleanupdateWaterSubmersionState()private booleanwouldCollideAt(BlockPos pos)Methods inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
canRenderCapeTexture, canRenderElytraTexture, getCapeTexture, getElytraTexture, getModel, getPlayerListEntry, getSkinId, getSkinTexture, getSpeed, hasSkinTexture, isCreative, isSpectator, loadSkinMethods 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, writeCustomDataToTagMethods 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, updateTrackedPositionAndAnglesMethods 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 eLegw;e:Ledz;intermediary field_3944Lnet/minecraft/class_746;field_3944:Lnet/minecraft/class_634;named networkHandlerLnet/minecraft/client/network/ClientPlayerEntity;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
statHandler
- Mappings:
Namespace Name Mixin selector official bNLegw;bN:Laer;intermediary field_3928Lnet/minecraft/class_746;field_3928:Lnet/minecraft/class_3469;named statHandlerLnet/minecraft/client/network/ClientPlayerEntity;statHandler:Lnet/minecraft/stat/StatHandler;
-
recipeBook
- Mappings:
Namespace Name Mixin selector official bOLegw;bO:Ldpx;intermediary field_3930Lnet/minecraft/class_746;field_3930:Lnet/minecraft/class_299;named recipeBookLnet/minecraft/client/network/ClientPlayerEntity;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
tickables
- Mappings:
Namespace Name Mixin selector official bPLegw;bP:Ljava/util/List;intermediary field_3933Lnet/minecraft/class_746;field_3933:Ljava/util/List;named tickablesLnet/minecraft/client/network/ClientPlayerEntity;tickables:Ljava/util/List;
-
clientPermissionLevel
private int clientPermissionLevel- Mappings:
Namespace Name Mixin selector official bQLegw;bQ:Iintermediary field_3912Lnet/minecraft/class_746;field_3912:Inamed clientPermissionLevelLnet/minecraft/client/network/ClientPlayerEntity;clientPermissionLevel:I
-
lastX
private double lastX- Mappings:
Namespace Name Mixin selector official bRLegw;bR:Dintermediary field_3926Lnet/minecraft/class_746;field_3926:Dnamed lastXLnet/minecraft/client/network/ClientPlayerEntity;lastX:D
-
lastBaseY
private double lastBaseY- Mappings:
Namespace Name Mixin selector official bSLegw;bS:Dintermediary field_3940Lnet/minecraft/class_746;field_3940:Dnamed lastBaseYLnet/minecraft/client/network/ClientPlayerEntity;lastBaseY:D
-
lastZ
private double lastZ- Mappings:
Namespace Name Mixin selector official bTLegw;bT:Dintermediary field_3924Lnet/minecraft/class_746;field_3924:Dnamed lastZLnet/minecraft/client/network/ClientPlayerEntity;lastZ:D
-
lastYaw
private float lastYaw- Mappings:
Namespace Name Mixin selector official bULegw;bU:Fintermediary field_3941Lnet/minecraft/class_746;field_3941:Fnamed lastYawLnet/minecraft/client/network/ClientPlayerEntity;lastYaw:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector official bVLegw;bV:Fintermediary field_3925Lnet/minecraft/class_746;field_3925:Fnamed lastPitchLnet/minecraft/client/network/ClientPlayerEntity;lastPitch:F
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector official bWLegw;bW:Zintermediary field_3920Lnet/minecraft/class_746;field_3920:Znamed lastOnGroundLnet/minecraft/client/network/ClientPlayerEntity;lastOnGround:Z
-
inSneakingPose
private boolean inSneakingPose- Mappings:
Namespace Name Mixin selector official bXLegw;bX:Zintermediary field_23093Lnet/minecraft/class_746;field_23093:Znamed inSneakingPoseLnet/minecraft/client/network/ClientPlayerEntity;inSneakingPose:Z
-
lastSneaking
private boolean lastSneaking- Mappings:
Namespace Name Mixin selector official bYLegw;bY:Zintermediary field_3936Lnet/minecraft/class_746;field_3936:Znamed lastSneakingLnet/minecraft/client/network/ClientPlayerEntity;lastSneaking:Z
-
lastSprinting
private boolean lastSprinting- Mappings:
Namespace Name Mixin selector official bZLegw;bZ:Zintermediary field_3919Lnet/minecraft/class_746;field_3919:Znamed lastSprintingLnet/minecraft/client/network/ClientPlayerEntity;lastSprinting:Z
-
ticksSinceLastPositionPacketSent
private int ticksSinceLastPositionPacketSent- Mappings:
Namespace Name Mixin selector official caLegw;ca:Iintermediary field_3923Lnet/minecraft/class_746;field_3923:Inamed ticksSinceLastPositionPacketSentLnet/minecraft/client/network/ClientPlayerEntity;ticksSinceLastPositionPacketSent:I
-
healthInitialized
private boolean healthInitialized- Mappings:
Namespace Name Mixin selector official cbLegw;cb:Zintermediary field_3918Lnet/minecraft/class_746;field_3918:Znamed healthInitializedLnet/minecraft/client/network/ClientPlayerEntity;healthInitialized:Z
-
serverBrand
- Mappings:
Namespace Name Mixin selector official ccLegw;cc:Ljava/lang/String;intermediary field_3943Lnet/minecraft/class_746;field_3943:Ljava/lang/String;named serverBrandLnet/minecraft/client/network/ClientPlayerEntity;serverBrand:Ljava/lang/String;
-
input
- Mappings:
Namespace Name Mixin selector official fLegw;f:Legu;intermediary field_3913Lnet/minecraft/class_746;field_3913:Lnet/minecraft/class_744;named inputLnet/minecraft/client/network/ClientPlayerEntity;input:Lnet/minecraft/client/input/Input;
-
client
- Mappings:
Namespace Name Mixin selector official gLegw;g:Ldqk;intermediary field_3937Lnet/minecraft/class_746;field_3937:Lnet/minecraft/class_310;named clientLnet/minecraft/client/network/ClientPlayerEntity;client:Lnet/minecraft/client/MinecraftClient;
-
ticksLeftToDoubleTapSprint
protected int ticksLeftToDoubleTapSprint- Mappings:
Namespace Name Mixin selector official bFLegw;bF:Iintermediary field_3935Lnet/minecraft/class_746;field_3935:Inamed ticksLeftToDoubleTapSprintLnet/minecraft/client/network/ClientPlayerEntity;ticksLeftToDoubleTapSprint:I
-
ticksSinceSprintingChanged
public int ticksSinceSprintingChanged- Mappings:
Namespace Name Mixin selector official bGLegw;bG:Iintermediary field_3921Lnet/minecraft/class_746;field_3921:Inamed ticksSinceSprintingChangedLnet/minecraft/client/network/ClientPlayerEntity;ticksSinceSprintingChanged:I
-
renderYaw
public float renderYaw- Mappings:
Namespace Name Mixin selector official bHLegw;bH:Fintermediary field_3932Lnet/minecraft/class_746;field_3932:Fnamed renderYawLnet/minecraft/client/network/ClientPlayerEntity;renderYaw:F
-
renderPitch
public float renderPitch- Mappings:
Namespace Name Mixin selector official bILegw;bI:Fintermediary field_3916Lnet/minecraft/class_746;field_3916:Fnamed renderPitchLnet/minecraft/client/network/ClientPlayerEntity;renderPitch:F
-
lastRenderYaw
public float lastRenderYaw- Mappings:
Namespace Name Mixin selector official bJLegw;bJ:Fintermediary field_3931Lnet/minecraft/class_746;field_3931:Fnamed lastRenderYawLnet/minecraft/client/network/ClientPlayerEntity;lastRenderYaw:F
-
lastRenderPitch
public float lastRenderPitch- Mappings:
Namespace Name Mixin selector official bKLegw;bK:Fintermediary field_3914Lnet/minecraft/class_746;field_3914:Fnamed lastRenderPitchLnet/minecraft/client/network/ClientPlayerEntity;lastRenderPitch:F
-
field_3938
private int field_3938- Mappings:
Namespace Name Mixin selector official cdLegw;cd:Iintermediary field_3938Lnet/minecraft/class_746;field_3938:Inamed field_3938Lnet/minecraft/client/network/ClientPlayerEntity;field_3938:I
-
mountJumpStrength
private float mountJumpStrength- Mappings:
Namespace Name Mixin selector official ceLegw;ce:Fintermediary field_3922Lnet/minecraft/class_746;field_3922:Fnamed mountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;mountJumpStrength:F
-
nextNauseaStrength
public float nextNauseaStrength- Mappings:
Namespace Name Mixin selector official bLLegw;bL:Fintermediary field_3929Lnet/minecraft/class_746;field_3929:Fnamed nextNauseaStrengthLnet/minecraft/client/network/ClientPlayerEntity;nextNauseaStrength:F
-
lastNauseaStrength
public float lastNauseaStrength- Mappings:
Namespace Name Mixin selector official bMLegw;bM:Fintermediary field_3911Lnet/minecraft/class_746;field_3911:Fnamed lastNauseaStrengthLnet/minecraft/client/network/ClientPlayerEntity;lastNauseaStrength:F
-
usingItem
private boolean usingItem- Mappings:
Namespace Name Mixin selector official cfLegw;cf:Zintermediary field_3915Lnet/minecraft/class_746;field_3915:Znamed usingItemLnet/minecraft/client/network/ClientPlayerEntity;usingItem:Z
-
activeHand
- Mappings:
Namespace Name Mixin selector official cgLegw;cg:Lapp;intermediary field_3945Lnet/minecraft/class_746;field_3945:Lnet/minecraft/class_1268;named activeHandLnet/minecraft/client/network/ClientPlayerEntity;activeHand:Lnet/minecraft/util/Hand;
-
riding
private boolean riding- Mappings:
Namespace Name Mixin selector official chLegw;ch:Zintermediary field_3942Lnet/minecraft/class_746;field_3942:Znamed ridingLnet/minecraft/client/network/ClientPlayerEntity;riding:Z
-
autoJumpEnabled
private boolean autoJumpEnabled- Mappings:
Namespace Name Mixin selector official ciLegw;ci:Zintermediary field_3927Lnet/minecraft/class_746;field_3927:Znamed autoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;autoJumpEnabled:Z
-
ticksToNextAutojump
private int ticksToNextAutojump- Mappings:
Namespace Name Mixin selector official cjLegw;cj:Iintermediary field_3934Lnet/minecraft/class_746;field_3934:Inamed ticksToNextAutojumpLnet/minecraft/client/network/ClientPlayerEntity;ticksToNextAutojump:I
-
falling
private boolean falling- Mappings:
Namespace Name Mixin selector official ckLegw;ck:Zintermediary field_3939Lnet/minecraft/class_746;field_3939:Znamed fallingLnet/minecraft/client/network/ClientPlayerEntity;falling:Z
-
underwaterVisibilityTicks
private int underwaterVisibilityTicks- Mappings:
Namespace Name Mixin selector official clLegw;cl:Iintermediary field_3917Lnet/minecraft/class_746;field_3917:Inamed underwaterVisibilityTicksLnet/minecraft/client/network/ClientPlayerEntity;underwaterVisibilityTicks:I
-
showsDeathScreen
private boolean showsDeathScreen- Mappings:
Namespace Name Mixin selector official cmLegw;cm:Zintermediary field_20663Lnet/minecraft/class_746;field_20663:Znamed showsDeathScreenLnet/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)Vintermediary <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)Vnamed <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:
damagein classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Laqf;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
heal
public void heal(float amount)- Overrides:
healin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLari;b(F)Vintermediary method_6025Lnet/minecraft/class_1309;method_6025(F)Vnamed healLnet/minecraft/entity/LivingEntity;heal(F)V
-
startRiding
- Overrides:
startRidingin classEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Laqv;Z)Zintermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Znamed startRidingLnet/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:
dismountVehiclein classPlayerEntity- See Also:
Entity.stopRiding()- Mappings:
Namespace Name Mixin selector official bkLaqv;bk()Vintermediary method_29239Lnet/minecraft/class_1297;method_29239()Vnamed dismountVehicleLnet/minecraft/entity/Entity;dismountVehicle()V
-
getPitch
public float getPitch(float tickDelta) -
getYaw
public float getYaw(float tickDelta)- Overrides:
getYawin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLaqv;g(F)Fintermediary method_5705Lnet/minecraft/class_1297;method_5705(F)Fnamed getYawLnet/minecraft/entity/Entity;getYaw(F)F
-
tick
public void tick()- Overrides:
tickin classPlayerEntity- Mappings:
Namespace Name Mixin selector official jLaqv;j()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/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 xLegw;x()Fintermediary method_26269Lnet/minecraft/class_746;method_26269()Fnamed getMoodPercentageLnet/minecraft/client/network/ClientPlayerEntity;getMoodPercentage()F
-
sendMovementPackets
private void sendMovementPackets()- Mappings:
Namespace Name Mixin selector official fxLegw;fx()Vintermediary method_3136Lnet/minecraft/class_746;method_3136()Vnamed sendMovementPacketsLnet/minecraft/client/network/ClientPlayerEntity;sendMovementPackets()V
-
dropSelectedItem
public boolean dropSelectedItem(boolean dropEntireStack)- Overrides:
dropSelectedItemin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Z)Zintermediary method_7290Lnet/minecraft/class_1657;method_7290(Z)Znamed dropSelectedItemLnet/minecraft/entity/player/PlayerEntity;dropSelectedItem(Z)Z
-
sendChatMessage
- Mappings:
Namespace Name Mixin selector official eLegw;e(Ljava/lang/String;)Vintermediary method_3142Lnet/minecraft/class_746;method_3142(Ljava/lang/String;)Vnamed sendChatMessageLnet/minecraft/client/network/ClientPlayerEntity;sendChatMessage(Ljava/lang/String;)V
-
swingHand
- Overrides:
swingHandin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLari;a(Lapp;)Vintermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vnamed swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
-
requestRespawn
public void requestRespawn()- Overrides:
requestRespawnin classPlayerEntity- Mappings:
Namespace Name Mixin selector official eWLbhl;eW()Vintermediary method_7331Lnet/minecraft/class_1657;method_7331()Vnamed requestRespawnLnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
-
applyDamage
- Overrides:
applyDamagein classPlayerEntity- Mappings:
Namespace Name Mixin selector official eLari;e(Laqf;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
-
closeHandledScreen
public void closeHandledScreen()- Overrides:
closeHandledScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official mLbhl;m()Vintermediary method_7346Lnet/minecraft/class_1657;method_7346()Vnamed closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
closeScreen
public void closeScreen()- Mappings:
Namespace Name Mixin selector official zLegw;z()Vintermediary method_3137Lnet/minecraft/class_746;method_3137()Vnamed closeScreenLnet/minecraft/client/network/ClientPlayerEntity;closeScreen()V
-
updateHealth
public void updateHealth(float health)- Mappings:
Namespace Name Mixin selector official uLegw;u(F)Vintermediary method_3138Lnet/minecraft/class_746;method_3138(F)Vnamed updateHealthLnet/minecraft/client/network/ClientPlayerEntity;updateHealth(F)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdatein classPlayerEntity- Mappings:
Namespace Name Mixin selector official c_Lbhl;c_()Vintermediary method_7355Lnet/minecraft/class_1657;method_7355()Vnamed sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
isMainPlayer
public boolean isMainPlayer()- Overrides:
isMainPlayerin classPlayerEntity- Mappings:
Namespace Name Mixin selector official eXLbhl;eX()Zintermediary method_7340Lnet/minecraft/class_1657;method_7340()Znamed isMainPlayerLnet/minecraft/entity/player/PlayerEntity;isMainPlayer()Z
-
isHoldingOntoLadder
public boolean isHoldingOntoLadder()- Overrides:
isHoldingOntoLadderin classLivingEntity- Returns:
trueif this entity should not lose height while in a climbing state- See Also:
LivingEntity- Mappings:
Namespace Name Mixin selector official eCLari;eC()Zintermediary method_21754Lnet/minecraft/class_1309;method_21754()Znamed isHoldingOntoLadderLnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticlesin classEntity- Mappings:
Namespace Name Mixin selector official aRLaqv;aR()Zintermediary method_27298Lnet/minecraft/class_1297;method_27298()Znamed shouldSpawnSprintingParticlesLnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Z
-
shouldDisplaySoulSpeedEffects
public boolean shouldDisplaySoulSpeedEffects()- Overrides:
shouldDisplaySoulSpeedEffectsin classLivingEntity- Mappings:
Namespace Name Mixin selector official djLari;dj()Zintermediary method_27302Lnet/minecraft/class_1309;method_27302()Znamed shouldDisplaySoulSpeedEffectsLnet/minecraft/entity/LivingEntity;shouldDisplaySoulSpeedEffects()Z
-
startRidingJump
protected void startRidingJump()- Mappings:
Namespace Name Mixin selector official ALegw;A()Vintermediary method_3133Lnet/minecraft/class_746;method_3133()Vnamed startRidingJumpLnet/minecraft/client/network/ClientPlayerEntity;startRidingJump()V
-
openRidingInventory
public void openRidingInventory()- Mappings:
Namespace Name Mixin selector official BLegw;B()Vintermediary method_3132Lnet/minecraft/class_746;method_3132()Vnamed openRidingInventoryLnet/minecraft/client/network/ClientPlayerEntity;openRidingInventory()V
-
setServerBrand
- Mappings:
Namespace Name Mixin selector official fLegw;f(Ljava/lang/String;)Vintermediary method_3146Lnet/minecraft/class_746;method_3146(Ljava/lang/String;)Vnamed setServerBrandLnet/minecraft/client/network/ClientPlayerEntity;setServerBrand(Ljava/lang/String;)V
-
getServerBrand
- Mappings:
Namespace Name Mixin selector official DLegw;D()Ljava/lang/String;intermediary method_3135Lnet/minecraft/class_746;method_3135()Ljava/lang/String;named getServerBrandLnet/minecraft/client/network/ClientPlayerEntity;getServerBrand()Ljava/lang/String;
-
getStatHandler
- Mappings:
Namespace Name Mixin selector official FLegw;F()Laer;intermediary method_3143Lnet/minecraft/class_746;method_3143()Lnet/minecraft/class_3469;named getStatHandlerLnet/minecraft/client/network/ClientPlayerEntity;getStatHandler()Lnet/minecraft/stat/StatHandler;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector official GLegw;G()Ldpx;intermediary method_3130Lnet/minecraft/class_746;method_3130()Lnet/minecraft/class_299;named getRecipeBookLnet/minecraft/client/network/ClientPlayerEntity;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector official aLegw;a(Lbqn;)Vintermediary method_3141Lnet/minecraft/class_746;method_3141(Lnet/minecraft/class_1860;)Vnamed onRecipeDisplayedLnet/minecraft/client/network/ClientPlayerEntity;onRecipeDisplayed(Lnet/minecraft/recipe/Recipe;)V
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevelin classEntity- Mappings:
Namespace Name Mixin selector official yLaqv;y()Iintermediary method_5691Lnet/minecraft/class_1297;method_5691()Inamed getPermissionLevelLnet/minecraft/entity/Entity;getPermissionLevel()I
-
setClientPermissionLevel
public void setClientPermissionLevel(int clientPermissionLevel)- Mappings:
Namespace Name Mixin selector official aLegw;a(I)Vintermediary method_3147Lnet/minecraft/class_746;method_3147(I)Vnamed setClientPermissionLevelLnet/minecraft/client/network/ClientPlayerEntity;setClientPermissionLevel(I)V
-
sendMessage
- Overrides:
sendMessagein classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Loi;Z)Vintermediary method_7353Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)Vnamed sendMessageLnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
-
pushOutOfBlocks
private void pushOutOfBlocks(double x, double z)- Mappings:
Namespace Name Mixin selector official bLegw;b(DD)Vintermediary method_30673Lnet/minecraft/class_746;method_30673(DD)Vnamed pushOutOfBlocksLnet/minecraft/client/network/ClientPlayerEntity;pushOutOfBlocks(DD)V
-
wouldCollideAt
- Mappings:
Namespace Name Mixin selector official gLegw;g(Lfx;)Zintermediary method_30674Lnet/minecraft/class_746;method_30674(Lnet/minecraft/class_2338;)Znamed wouldCollideAtLnet/minecraft/client/network/ClientPlayerEntity;wouldCollideAt(Lnet/minecraft/util/math/BlockPos;)Z
-
setSprinting
public void setSprinting(boolean sprinting)- Overrides:
setSprintingin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLaqv;g(Z)Vintermediary method_5728Lnet/minecraft/class_1297;method_5728(Z)Vnamed setSprintingLnet/minecraft/entity/Entity;setSprinting(Z)V
-
setExperience
public void setExperience(float progress, int total, int level)- Mappings:
Namespace Name Mixin selector official aLegw;a(FII)Vintermediary method_3145Lnet/minecraft/class_746;method_3145(FII)Vnamed setExperienceLnet/minecraft/client/network/ClientPlayerEntity;setExperience(FII)V
-
sendSystemMessage
- Specified by:
sendSystemMessagein interfaceCommandOutput- Overrides:
sendSystemMessagein classEntity- Mappings:
Namespace Name Mixin selector official aLda;a(Loi;Ljava/util/UUID;)Vintermediary method_9203Lnet/minecraft/class_2165;method_9203(Lnet/minecraft/class_2561;Ljava/util/UUID;)Vnamed sendSystemMessageLnet/minecraft/server/command/CommandOutput;sendSystemMessage(Lnet/minecraft/text/Text;Ljava/util/UUID;)V
-
handleStatus
public void handleStatus(byte status)- Overrides:
handleStatusin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
setShowsDeathScreen
public void setShowsDeathScreen(boolean shouldShow)- Mappings:
Namespace Name Mixin selector official bLegw;b(Z)Vintermediary method_22420Lnet/minecraft/class_746;method_22420(Z)Vnamed setShowsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;setShowsDeathScreen(Z)V
-
showsDeathScreen
public boolean showsDeathScreen()- Mappings:
Namespace Name Mixin selector official HLegw;H()Zintermediary method_22419Lnet/minecraft/class_746;method_22419()Znamed showsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen()Z
-
playSound
- Overrides:
playSoundin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Laef;FF)Vintermediary method_5783Lnet/minecraft/class_1297;method_5783(Lnet/minecraft/class_3414;FF)Vnamed playSoundLnet/minecraft/entity/Entity;playSound(Lnet/minecraft/sound/SoundEvent;FF)V
-
playSound
- Overrides:
playSoundin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Laef;Laeh;FF)Vintermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vnamed playSoundLnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarilyin classLivingEntity- Mappings:
Namespace Name Mixin selector official eqLari;eq()Zintermediary method_6034Lnet/minecraft/class_1309;method_6034()Znamed canMoveVoluntarilyLnet/minecraft/entity/LivingEntity;canMoveVoluntarily()Z
-
setCurrentHand
- Overrides:
setCurrentHandin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLari;c(Lapp;)Vintermediary method_6019Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)Vnamed setCurrentHandLnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItemin classLivingEntity- Mappings:
Namespace Name Mixin selector official euLari;eu()Zintermediary method_6115Lnet/minecraft/class_1309;method_6115()Znamed isUsingItemLnet/minecraft/entity/LivingEntity;isUsingItem()Z
-
clearActiveItem
public void clearActiveItem()- Overrides:
clearActiveItemin classLivingEntity- Mappings:
Namespace Name Mixin selector official eALari;eA()Vintermediary method_6021Lnet/minecraft/class_1309;method_6021()Vnamed clearActiveItemLnet/minecraft/entity/LivingEntity;clearActiveItem()V
-
getActiveHand
- Overrides:
getActiveHandin classLivingEntity- Mappings:
Namespace Name Mixin selector official evLari;ev()Lapp;intermediary method_6058Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;named getActiveHandLnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Lvk;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
hasJumpingMount
public boolean hasJumpingMount()- Mappings:
Namespace Name Mixin selector official ILegw;I()Zintermediary method_3131Lnet/minecraft/class_746;method_3131()Znamed hasJumpingMountLnet/minecraft/client/network/ClientPlayerEntity;hasJumpingMount()Z
-
getMountJumpStrength
public float getMountJumpStrength()- Mappings:
Namespace Name Mixin selector official JLegw;J()Fintermediary method_3151Lnet/minecraft/class_746;method_3151()Fnamed getMountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;getMountJumpStrength()F
-
openEditSignScreen
- Overrides:
openEditSignScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lcgr;)Vintermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;)Vnamed openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;)V
-
openCommandBlockMinecartScreen
- Overrides:
openCommandBlockMinecartScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lbsv;)Vintermediary method_7257Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1918;)Vnamed openCommandBlockMinecartScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/world/CommandBlockExecutor;)V
-
openCommandBlockScreen
- Overrides:
openCommandBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lcfy;)Vintermediary method_7323Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)Vnamed openCommandBlockScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
openStructureBlockScreen
- Overrides:
openStructureBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lcgv;)Vintermediary method_7303Lnet/minecraft/class_1657;method_7303(Lnet/minecraft/class_2633;)Vnamed openStructureBlockScreenLnet/minecraft/entity/player/PlayerEntity;openStructureBlockScreen(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
-
openJigsawScreen
- Overrides:
openJigsawScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lcgk;)Vintermediary method_16354Lnet/minecraft/class_1657;method_16354(Lnet/minecraft/class_3751;)Vnamed openJigsawScreenLnet/minecraft/entity/player/PlayerEntity;openJigsawScreen(Lnet/minecraft/block/entity/JigsawBlockEntity;)V
-
openEditBookScreen
- Overrides:
openEditBookScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lbnv;Lapp;)Vintermediary method_7315Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Vnamed openEditBookScreenLnet/minecraft/entity/player/PlayerEntity;openEditBookScreen(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
addCritParticles
- Overrides:
addCritParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLbhl;a(Laqv;)Vintermediary method_7277Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)Vnamed addCritParticlesLnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
-
addEnchantedHitParticles
- Overrides:
addEnchantedHitParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector official bLbhl;b(Laqv;)Vintermediary method_7304Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)Vnamed addEnchantedHitParticlesLnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
-
isSneaking
public boolean isSneaking()- Overrides:
isSneakingin classEntity- Mappings:
Namespace Name Mixin selector official bzLaqv;bz()Zintermediary method_5715Lnet/minecraft/class_1297;method_5715()Znamed isSneakingLnet/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:
isInSneakingPosein classEntity- Mappings:
Namespace Name Mixin selector official bELaqv;bE()Zintermediary method_18276Lnet/minecraft/class_1297;method_18276()Znamed isInSneakingPoseLnet/minecraft/entity/Entity;isInSneakingPose()Z
-
shouldSlowDown
public boolean shouldSlowDown()- Mappings:
Namespace Name Mixin selector official KLegw;K()Zintermediary method_20303Lnet/minecraft/class_746;method_20303()Znamed shouldSlowDownLnet/minecraft/client/network/ClientPlayerEntity;shouldSlowDown()Z
-
tickNewAi
public void tickNewAi()- Overrides:
tickNewAiin classPlayerEntity- Mappings:
Namespace Name Mixin selector official enLari;en()Vintermediary method_6023Lnet/minecraft/class_1309;method_6023()Vnamed tickNewAiLnet/minecraft/entity/LivingEntity;tickNewAi()V
-
isCamera
protected boolean isCamera()- Mappings:
Namespace Name Mixin selector official LLegw;L()Zintermediary method_3134Lnet/minecraft/class_746;method_3134()Znamed isCameraLnet/minecraft/client/network/ClientPlayerEntity;isCamera()Z
-
method_33689
public void method_33689()- Mappings:
Namespace Name Mixin selector official MLegw;M()Vintermediary method_33689Lnet/minecraft/class_746;method_33689()Vnamed method_33689Lnet/minecraft/client/network/ClientPlayerEntity;method_33689()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classPlayerEntity- Mappings:
Namespace Name Mixin selector official kLari;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
updateNausea
private void updateNausea()- Mappings:
Namespace Name Mixin selector official fyLegw;fy()Vintermediary method_18654Lnet/minecraft/class_746;method_18654()Vnamed updateNauseaLnet/minecraft/client/network/ClientPlayerEntity;updateNausea()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classPlayerEntity- Mappings:
Namespace Name Mixin selector official bfLaqv;bf()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vnamed tickRidingLnet/minecraft/entity/Entity;tickRiding()V
-
isRiding
public boolean isRiding()- Mappings:
Namespace Name Mixin selector official NLegw;N()Zintermediary method_3144Lnet/minecraft/class_746;method_3144()Znamed isRidingLnet/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:
removeStatusEffectInternalin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLari;c(Laqn;)Laqp;intermediary method_6111Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;named removeStatusEffectInternalLnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
-
move
- Overrides:
movein classEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(Larn;Ldiu;)Vintermediary method_5784Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)Vnamed moveLnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
-
isAutoJumpEnabled
public boolean isAutoJumpEnabled()- Mappings:
Namespace Name Mixin selector official OLegw;O()Zintermediary method_3149Lnet/minecraft/class_746;method_3149()Znamed isAutoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;isAutoJumpEnabled()Z
-
autoJump
protected void autoJump(float dx, float dz)- Mappings:
Namespace Name Mixin selector official fLegw;f(FF)Vintermediary method_3148Lnet/minecraft/class_746;method_3148(FF)Vnamed autoJumpLnet/minecraft/client/network/ClientPlayerEntity;autoJump(FF)V
-
shouldAutoJump
private boolean shouldAutoJump()- Mappings:
Namespace Name Mixin selector official fzLegw;fz()Zintermediary method_22119Lnet/minecraft/class_746;method_22119()Znamed shouldAutoJumpLnet/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 fALegw;fA()Zintermediary method_22120Lnet/minecraft/class_746;method_22120()Znamed hasMovementInputLnet/minecraft/client/network/ClientPlayerEntity;hasMovementInput()Z
-
isWalking
private boolean isWalking()- Mappings:
Namespace Name Mixin selector official fBLegw;fB()Zintermediary method_20623Lnet/minecraft/class_746;method_20623()Znamed isWalkingLnet/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 QLegw;Q()Fintermediary method_3140Lnet/minecraft/class_746;method_3140()Fnamed getUnderwaterVisibilityLnet/minecraft/client/network/ClientPlayerEntity;getUnderwaterVisibility()F
-
isSubmergedInWater
public boolean isSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.- Overrides:
isSubmergedInWaterin classEntity- Mappings:
Namespace Name Mixin selector official aLLaqv;aL()Zintermediary method_5869Lnet/minecraft/class_1297;method_5869()Znamed isSubmergedInWaterLnet/minecraft/entity/Entity;isSubmergedInWater()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Overrides:
updateWaterSubmersionStatein classPlayerEntity- Mappings:
Namespace Name Mixin selector official eRLbhl;eR()Zintermediary method_7295Lnet/minecraft/class_1657;method_7295()Znamed updateWaterSubmersionStateLnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()Z
-
method_30951
- Overrides:
method_30951in classPlayerEntity- Mappings:
Namespace Name Mixin selector official nLaqv;n(F)Ldiu;intermediary method_30951Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;named method_30951Lnet/minecraft/entity/Entity;method_30951(F)Lnet/minecraft/util/math/Vec3d;
-
onPickupSlotClick
Called when a player performs apickup slot actionin a screen handler.- Overrides:
onPickupSlotClickin classPlayerEntity- Parameters:
cursorStack- the item stack on the player's cursorslotStack- the item stack in the clicked slotclickType- the click type (mouse button used)- Mappings:
Namespace Name Mixin selector official aLbhl;a(Lbnv;Lbnv;Lbjz;)Vintermediary method_33592Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)Vnamed onPickupSlotClickLnet/minecraft/entity/player/PlayerEntity;onPickupSlotClick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)V
-