Class ClientPlayerEntity
- All Implemented Interfaces:
Attackable
,DataTracked
,ScoreHolder
,Nameable
,EntityLike
- Mappings:
Namespace Name named net/minecraft/client/network/ClientPlayerEntity
intermediary net/minecraft/class_746
official gkg
-
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.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
protected final MinecraftClient
private int
private boolean
private static final int
private static final int
private static final int
private static final float
private static final double
private int
private boolean
private boolean
private final Cooldown
private double
private boolean
private boolean
private float
private PlayerInput
float
float
private boolean
private boolean
private double
private float
private double
private boolean
static final Logger
private static final double
private float
float
final ClientPlayNetworkHandler
float
private final ClientRecipeBook
float
float
private boolean
private boolean
private final StatHandler
private final List
<ClientPlayerTickable> protected int
private int
private int
private int
private boolean
Fields inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
clientWorld, distanceMoved, elytraPitch, elytraRoll, elytraYaw, lastDistanceMoved, lastVelocity
Fields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentExplosionImpactPos, currentScreenHandler, damageTiltYaw, DEFAULT_EYE_HEIGHT, DEFAULT_MAIN_ARM, enchantingTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, explodedBy, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_46175, field_47819, field_47820, field_49734, field_49735, 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, VEHICLE_ATTACHMENT_POS
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, EQUIPMENT_SLOT_ID, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_6215, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideAttackDamage, riptideStack, riptideTicks, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
ConstructorDescriptionClientPlayerEntity
(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCritParticles
(Entity target) void
addEnchantedHitParticles
(Entity target) protected void
autoJump
(float dx, float dz) boolean
boolean
private boolean
private boolean
private boolean
canVehicleSprint
(Entity vehicle) void
void
Closes the currently open handled screen.void
void
Dismounts the vehicle if present.void
dropCreativeStack
(ItemStack stack) boolean
dropSelectedItem
(boolean entireStack) float
Returns the body yaw of the entity.getLeashPos
(float delta) Returns the position of the leash this entity holds.float
Returns the percentage for the biome mood sound for the debug HUD to display.float
protected int
float
getPitch
(float tickDelta) float
Returns the color multiplier of vision in water.float
getYaw
(float tickDelta) void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected boolean
hasCollidedSoftly
(Vec3d adjustedMovement) private boolean
Returns whether the player has movement input.void
heal
(float amount) Heals this entity by the givenamount
of half-hearts.void
init()
boolean
protected boolean
isCamera()
boolean
boolean
Returns whether the entity is in a crouching pose.boolean
boolean
boolean
isRiding()
boolean
Returns whether the entity is sneaking.boolean
Returns whether this entity's hitbox is fully submerged in water.boolean
private boolean
void
move
(MovementType type, Vec3d movement) void
onGameModeChanged
(GameMode gameMode) void
onPickupSlotClick
(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot action
in a screen handler.void
onRecipeDisplayed
(NetworkRecipeId recipeId) void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.void
openCommandBlockMinecartScreen
(CommandBlockExecutor commandBlockExecutor) void
openCommandBlockScreen
(CommandBlockBlockEntity commandBlock) void
openEditSignScreen
(SignBlockEntity sign, boolean front) void
openJigsawScreen
(JigsawBlockEntity jigsaw) void
void
openStructureBlockScreen
(StructureBlockBlockEntity structureBlock) void
playSound
(SoundEvent sound, float volume, float pitch) void
playSoundToPlayer
(SoundEvent sound, SoundCategory category, float volume, float pitch) Playssound
to this player only.private void
pushOutOfBlocks
(double x, double z) Removes a status effect from this entity without calling any listener.void
void
void
sendMessage
(Text message, boolean overlay) Adds a message to this player's HUD.private void
private void
private void
void
setClientPermissionLevel
(int clientPermissionLevel) void
setCurrentHand
(Hand hand) void
setExperience
(float progress, int total, int level) void
setLimitedCraftingEnabled
(boolean limitedCraftingEnabled) void
setShowsDeathScreen
(boolean showsDeathScreen) private boolean
boolean
boolean
boolean
boolean
boolean
boolean
startRiding
(Entity entity, boolean force) Starts ridingentity
.protected void
void
void
tick()
Ticks this entity.void
private void
tickNausea
(boolean fromPortalEffect) void
void
void
updateHealth
(float health) protected void
protected boolean
void
Called when the player uses (defaults to right click) a writable or written book item.private boolean
wouldCollideAt
(BlockPos pos) Methods inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
getFovMultiplier, getPlayerListEntry, getSkinTextures, isCreative, isSpectator, lerpVelocity
Methods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addExperience, addExperienceLevels, addScore, addShoulderEntity, adjustMovementForSneaking, animateDamage, applyDamage, applyEnchantmentCosts, attack, attackLivingEntity, canBeHitByProjectile, canChangeIntoPose, canConsume, canFoodHeal, canGlide, canHarvest, canInteractWithBlockAt, canInteractWithEntity, canInteractWithEntityIn, canModifyBlocks, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canTakeDamage, canUseSlot, checkGliding, clearCurrentExplosion, clipAtLedge, createCooldownManager, createPlayerAttributes, damage, damageArmor, damageHelmet, damageShield, disableShield, doesNotSuffocate, dropInventory, dropItem, dropItem, dropShoulderEntities, equipStack, getAbilities, getAbsorptionAmount, getArmorItems, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBaseDimensions, getBlockBreakingSpeed, getBlockInteractionRange, getBurningDuration, getDamageAgainst, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDisplayName, getEnchantingTableSeed, getEnderChestInventory, getEntityInteractionRange, getEquippedStack, getFallSounds, getGameProfile, getHandItems, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLuck, getMainArm, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPoses, getProjectileType, getScore, getScoreboard, getSculkShriekerWarningManager, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getSwimSound, getVelocityMultiplier, getWeaponStack, getXpToDrop, giveItemStack, handleFallDamage, hasPermissionLevel, hasReducedDebugInfo, increaseStat, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isControlledByPlayer, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isInvulnerableTo, isPartVisible, isPlayer, isPushedByFluids, isSwimming, isUsingSpyglass, lockRecipes, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDeath, onHandledScreenClosed, onKilledOther, onRecipeCrafted, onSwimmingStart, openHandledScreen, openHorseInventory, playStepSound, readCustomDataFromNbt, remove, resetLastAttackedTicks, resetStat, sendTradeOffers, setAbsorptionAmountUnclamped, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDamagePlayer, shouldDismount, shouldIgnoreFallDamageFromCurrentExplosion, shouldRenderName, shouldSave, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startGliding, stopGliding, takeShieldHit, tickHunger, travel, tryClearCurrentExplosion, trySleep, unlockRecipes, unlockRecipes, updatePose, updateSwimming, useRiptide, vanishCursedItems, wakeUp, wakeUp, writeCustomDataToNbt
Methods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, baseTick, blockedByShield, canBreatheInWater, canDispenserEquipSlot, canEquip, canEquipFromDispenser, canFreeze, canGlideWith, canHaveStatusEffect, canHit, canPickUpLoot, canSee, canSee, canTarget, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageEquipment, deserializeBrain, disableExperienceDropping, disablesShield, drop, dropEquipment, dropLoot, dropXp, endCombat, enterCombat, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getActiveItem, getActiveStatusEffects, getAllArmorItems, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockingItem, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTracker, getDespawnCounter, getDimensions, getEffectiveGravity, getEquippedItems, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getKnockbackAgainst, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLocationBasedEnchantmentEffects, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getXpToDrop, giveOrDropStack, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onRemoval, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeStatusEffect, resetLerp, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDropLoot, shouldDropXp, sleep, spawnItemParticles, stopRiding, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateAttribute, updateLimbs, updateLimbs, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wouldNotSuffocateInPose
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canTeleportBetween, changeLookDirection, checkDespawn, clientDamage, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMovement, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWaterOrBubbleColumn, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaky, isSprinting, isSubmergedIn, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, movementInputToVelocity, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onDataTrackerUpdate, onExplodedBy, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldTickBlockCollision, sidedDamage, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateTrackedPosition, updateVelocity, updateWaterState, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/network/ClientPlayerEntity;LOGGER:Lorg/slf4j/Logger;
intermediary field_39078
Lnet/minecraft/class_746;field_39078:Lorg/slf4j/Logger;
official h
Lgkg;h:Lorg/slf4j/Logger;
-
field_32671
private static final int field_32671- See Also:
- Mappings:
Namespace Name Mixin selector named field_32671
Lnet/minecraft/client/network/ClientPlayerEntity;field_32671:I
intermediary field_32671
Lnet/minecraft/class_746;field_32671:I
official cI
Lgkg;cI:I
-
field_32672
private static final int field_32672- See Also:
- Mappings:
Namespace Name Mixin selector named field_32672
Lnet/minecraft/client/network/ClientPlayerEntity;field_32672:I
intermediary field_32672
Lnet/minecraft/class_746;field_32672:I
official cJ
Lgkg;cJ:I
-
field_32673
private static final int field_32673- See Also:
- Mappings:
Namespace Name Mixin selector named field_32673
Lnet/minecraft/client/network/ClientPlayerEntity;field_32673:I
intermediary field_32673
Lnet/minecraft/class_746;field_32673:I
official cK
Lgkg;cK:I
-
field_32674
private static final float field_32674- See Also:
- Mappings:
Namespace Name Mixin selector named field_32674
Lnet/minecraft/client/network/ClientPlayerEntity;field_32674:F
intermediary field_32674
Lnet/minecraft/class_746;field_32674:F
official cL
Lgkg;cL:F
-
field_32675
private static final double field_32675- See Also:
- Mappings:
Namespace Name Mixin selector named field_32675
Lnet/minecraft/client/network/ClientPlayerEntity;field_32675:D
intermediary field_32675
Lnet/minecraft/class_746;field_32675:D
official cM
Lgkg;cM:D
-
MAX_SOFT_COLLISION_RADIANS
private static final double MAX_SOFT_COLLISION_RADIANS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_SOFT_COLLISION_RADIANS
Lnet/minecraft/client/network/ClientPlayerEntity;MAX_SOFT_COLLISION_RADIANS:D
intermediary field_36194
Lnet/minecraft/class_746;field_36194:D
official cN
Lgkg;cN:D
-
networkHandler
- Mappings:
Namespace Name Mixin selector named networkHandler
Lnet/minecraft/client/network/ClientPlayerEntity;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
intermediary field_3944
Lnet/minecraft/class_746;field_3944:Lnet/minecraft/class_634;
official i
Lgkg;i:Lgfk;
-
statHandler
- Mappings:
Namespace Name Mixin selector named statHandler
Lnet/minecraft/client/network/ClientPlayerEntity;statHandler:Lnet/minecraft/stat/StatHandler;
intermediary field_3928
Lnet/minecraft/class_746;field_3928:Lnet/minecraft/class_3469;
official cO
Lgkg;cO:Laxq;
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBook
Lnet/minecraft/client/network/ClientPlayerEntity;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
intermediary field_3930
Lnet/minecraft/class_746;field_3930:Lnet/minecraft/class_299;
official cP
Lgkg;cP:Lflq;
-
itemDropCooldown
- Mappings:
Namespace Name Mixin selector named itemDropCooldown
Lnet/minecraft/client/network/ClientPlayerEntity;itemDropCooldown:Lnet/minecraft/util/Cooldown;
intermediary field_54391
Lnet/minecraft/class_746;field_54391:Lnet/minecraft/class_10222;
official cQ
Lgkg;cQ:Lbbe;
-
tickables
- Mappings:
Namespace Name Mixin selector named tickables
Lnet/minecraft/client/network/ClientPlayerEntity;tickables:Ljava/util/List;
intermediary field_3933
Lnet/minecraft/class_746;field_3933:Ljava/util/List;
official cR
Lgkg;cR:Ljava/util/List;
-
clientPermissionLevel
private int clientPermissionLevel- Mappings:
Namespace Name Mixin selector named clientPermissionLevel
Lnet/minecraft/client/network/ClientPlayerEntity;clientPermissionLevel:I
intermediary field_3912
Lnet/minecraft/class_746;field_3912:I
official cS
Lgkg;cS:I
-
lastX
private double lastX- Mappings:
Namespace Name Mixin selector named lastX
Lnet/minecraft/client/network/ClientPlayerEntity;lastX:D
intermediary field_3926
Lnet/minecraft/class_746;field_3926:D
official cT
Lgkg;cT:D
-
lastBaseY
private double lastBaseY- Mappings:
Namespace Name Mixin selector named lastBaseY
Lnet/minecraft/client/network/ClientPlayerEntity;lastBaseY:D
intermediary field_3940
Lnet/minecraft/class_746;field_3940:D
official cU
Lgkg;cU:D
-
lastZ
private double lastZ- Mappings:
Namespace Name Mixin selector named lastZ
Lnet/minecraft/client/network/ClientPlayerEntity;lastZ:D
intermediary field_3924
Lnet/minecraft/class_746;field_3924:D
official cV
Lgkg;cV:D
-
lastYaw
private float lastYaw- Mappings:
Namespace Name Mixin selector named lastYaw
Lnet/minecraft/client/network/ClientPlayerEntity;lastYaw:F
intermediary field_3941
Lnet/minecraft/class_746;field_3941:F
official cW
Lgkg;cW:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector named lastPitch
Lnet/minecraft/client/network/ClientPlayerEntity;lastPitch:F
intermediary field_3925
Lnet/minecraft/class_746;field_3925:F
official cX
Lgkg;cX:F
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector named lastOnGround
Lnet/minecraft/client/network/ClientPlayerEntity;lastOnGround:Z
intermediary field_3920
Lnet/minecraft/class_746;field_3920:Z
official cY
Lgkg;cY:Z
-
lastHorizontalCollision
private boolean lastHorizontalCollision- Mappings:
Namespace Name Mixin selector named lastHorizontalCollision
Lnet/minecraft/client/network/ClientPlayerEntity;lastHorizontalCollision:Z
intermediary field_53040
Lnet/minecraft/class_746;field_53040:Z
official cZ
Lgkg;cZ:Z
-
inSneakingPose
private boolean inSneakingPose- Mappings:
Namespace Name Mixin selector named inSneakingPose
Lnet/minecraft/client/network/ClientPlayerEntity;inSneakingPose:Z
intermediary field_23093
Lnet/minecraft/class_746;field_23093:Z
official da
Lgkg;da:Z
-
lastSneaking
private boolean lastSneaking- Mappings:
Namespace Name Mixin selector named lastSneaking
Lnet/minecraft/client/network/ClientPlayerEntity;lastSneaking:Z
intermediary field_3936
Lnet/minecraft/class_746;field_3936:Z
official db
Lgkg;db:Z
-
lastSprinting
private boolean lastSprinting- Mappings:
Namespace Name Mixin selector named lastSprinting
Lnet/minecraft/client/network/ClientPlayerEntity;lastSprinting:Z
intermediary field_3919
Lnet/minecraft/class_746;field_3919:Z
official dc
Lgkg;dc:Z
-
ticksSinceLastPositionPacketSent
private int ticksSinceLastPositionPacketSent- Mappings:
Namespace Name Mixin selector named ticksSinceLastPositionPacketSent
Lnet/minecraft/client/network/ClientPlayerEntity;ticksSinceLastPositionPacketSent:I
intermediary field_3923
Lnet/minecraft/class_746;field_3923:I
official dd
Lgkg;dd:I
-
healthInitialized
private boolean healthInitialized- Mappings:
Namespace Name Mixin selector named healthInitialized
Lnet/minecraft/client/network/ClientPlayerEntity;healthInitialized:Z
intermediary field_3918
Lnet/minecraft/class_746;field_3918:Z
official de
Lgkg;de:Z
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/client/network/ClientPlayerEntity;input:Lnet/minecraft/client/input/Input;
intermediary field_3913
Lnet/minecraft/class_746;field_3913:Lnet/minecraft/class_744;
official j
Lgkg;j:Lgke;
-
lastPlayerInput
- Mappings:
Namespace Name Mixin selector named lastPlayerInput
Lnet/minecraft/client/network/ClientPlayerEntity;lastPlayerInput:Lnet/minecraft/util/PlayerInput;
intermediary field_54156
Lnet/minecraft/class_746;field_54156:Lnet/minecraft/class_10185;
official df
Lgkg;df:Lcpu;
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/network/ClientPlayerEntity;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_3937
Lnet/minecraft/class_746;field_3937:Lnet/minecraft/class_310;
official k
Lgkg;k:Lfmf;
-
ticksLeftToDoubleTapSprint
protected int ticksLeftToDoubleTapSprint- Mappings:
Namespace Name Mixin selector named ticksLeftToDoubleTapSprint
Lnet/minecraft/client/network/ClientPlayerEntity;ticksLeftToDoubleTapSprint:I
intermediary field_3935
Lnet/minecraft/class_746;field_3935:I
official cz
Lgkg;cz:I
-
renderYaw
public float renderYaw- Mappings:
Namespace Name Mixin selector named renderYaw
Lnet/minecraft/client/network/ClientPlayerEntity;renderYaw:F
intermediary field_3932
Lnet/minecraft/class_746;field_3932:F
official cC
Lgkg;cC:F
-
renderPitch
public float renderPitch- Mappings:
Namespace Name Mixin selector named renderPitch
Lnet/minecraft/client/network/ClientPlayerEntity;renderPitch:F
intermediary field_3916
Lnet/minecraft/class_746;field_3916:F
official cD
Lgkg;cD:F
-
lastRenderYaw
public float lastRenderYaw- Mappings:
Namespace Name Mixin selector named lastRenderYaw
Lnet/minecraft/client/network/ClientPlayerEntity;lastRenderYaw:F
intermediary field_3931
Lnet/minecraft/class_746;field_3931:F
official cE
Lgkg;cE:F
-
lastRenderPitch
public float lastRenderPitch- Mappings:
Namespace Name Mixin selector named lastRenderPitch
Lnet/minecraft/client/network/ClientPlayerEntity;lastRenderPitch:F
intermediary field_3914
Lnet/minecraft/class_746;field_3914:F
official cF
Lgkg;cF:F
-
field_3938
private int field_3938- Mappings:
Namespace Name Mixin selector named field_3938
Lnet/minecraft/client/network/ClientPlayerEntity;field_3938:I
intermediary field_3938
Lnet/minecraft/class_746;field_3938:I
official dg
Lgkg;dg:I
-
mountJumpStrength
private float mountJumpStrength- Mappings:
Namespace Name Mixin selector named mountJumpStrength
Lnet/minecraft/client/network/ClientPlayerEntity;mountJumpStrength:F
intermediary field_3922
Lnet/minecraft/class_746;field_3922:F
official dh
Lgkg;dh:F
-
nauseaIntensity
public float nauseaIntensity- Mappings:
Namespace Name Mixin selector named nauseaIntensity
Lnet/minecraft/client/network/ClientPlayerEntity;nauseaIntensity:F
intermediary field_44911
Lnet/minecraft/class_746;field_44911:F
official cG
Lgkg;cG:F
-
prevNauseaIntensity
public float prevNauseaIntensity- Mappings:
Namespace Name Mixin selector named prevNauseaIntensity
Lnet/minecraft/client/network/ClientPlayerEntity;prevNauseaIntensity:F
intermediary field_44912
Lnet/minecraft/class_746;field_44912:F
official cH
Lgkg;cH:F
-
usingItem
private boolean usingItem- Mappings:
Namespace Name Mixin selector named usingItem
Lnet/minecraft/client/network/ClientPlayerEntity;usingItem:Z
intermediary field_3915
Lnet/minecraft/class_746;field_3915:Z
official di
Lgkg;di:Z
-
activeHand
- Mappings:
Namespace Name Mixin selector named activeHand
Lnet/minecraft/client/network/ClientPlayerEntity;activeHand:Lnet/minecraft/util/Hand;
intermediary field_3945
Lnet/minecraft/class_746;field_3945:Lnet/minecraft/class_1268;
official dj
Lgkg;dj:Lbth;
-
riding
private boolean riding- Mappings:
Namespace Name Mixin selector named riding
Lnet/minecraft/client/network/ClientPlayerEntity;riding:Z
intermediary field_3942
Lnet/minecraft/class_746;field_3942:Z
official dk
Lgkg;dk:Z
-
autoJumpEnabled
private boolean autoJumpEnabled- Mappings:
Namespace Name Mixin selector named autoJumpEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;autoJumpEnabled:Z
intermediary field_3927
Lnet/minecraft/class_746;field_3927:Z
official dl
Lgkg;dl:Z
-
ticksToNextAutoJump
private int ticksToNextAutoJump- Mappings:
Namespace Name Mixin selector named ticksToNextAutoJump
Lnet/minecraft/client/network/ClientPlayerEntity;ticksToNextAutoJump:I
intermediary field_3934
Lnet/minecraft/class_746;field_3934:I
official dm
Lgkg;dm:I
-
falling
private boolean falling- Mappings:
Namespace Name Mixin selector named falling
Lnet/minecraft/client/network/ClientPlayerEntity;falling:Z
intermediary field_3939
Lnet/minecraft/class_746;field_3939:Z
official dn
Lgkg;dn:Z
-
underwaterVisibilityTicks
private int underwaterVisibilityTicks- Mappings:
Namespace Name Mixin selector named underwaterVisibilityTicks
Lnet/minecraft/client/network/ClientPlayerEntity;underwaterVisibilityTicks:I
intermediary field_3917
Lnet/minecraft/class_746;field_3917:I
official do
Lgkg;do:I
-
showsDeathScreen
private boolean showsDeathScreen- Mappings:
Namespace Name Mixin selector named showsDeathScreen
Lnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen:Z
intermediary field_20663
Lnet/minecraft/class_746;field_20663:Z
official dp
Lgkg;dp:Z
-
limitedCraftingEnabled
private boolean limitedCraftingEnabled- Mappings:
Namespace Name Mixin selector named limitedCraftingEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;limitedCraftingEnabled:Z
intermediary field_46188
Lnet/minecraft/class_746;field_46188:Z
official dq
Lgkg;dq: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 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
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
official <init>
Lgkg;<init>(Lfmf;Lgfj;Lgfk;Laxq;Lflq;ZZ)V
-
-
Method Details
-
heal
public void heal(float amount) Heals this entity by the givenamount
of half-hearts.A dead entity cannot be healed.
- Overrides:
heal
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named heal
Lnet/minecraft/entity/LivingEntity;heal(F)V
intermediary method_6025
Lnet/minecraft/class_1309;method_6025(F)V
official c
Lbwf;c(F)V
-
startRiding
Starts ridingentity
.For example,
player.startRiding(horse)
causes the player to ride a horse; the opposite,horse.startRiding(player)
, will cause the horse to ride a player.This fails when this entity is already riding the entity (or vice versa), or when this entity does not allow riding other entities (or vice versa) unless
force
istrue
. If this entity is already riding another entity, it will stop riding that entity first.- Overrides:
startRiding
in classEntity
- Parameters:
force
- whether to bypass the entity's rideability check- Returns:
- whether this entity successfully started riding
- See Also:
- Mappings:
Namespace Name Mixin selector named startRiding
Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
intermediary method_5873
Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Z
official a
Lbvj;a(Lbvj;Z)Z
-
dismountVehicle
public void dismountVehicle()Dismounts the vehicle if present.For players, will not trigger any networking changes. Use
LivingEntity.stopRiding()
instead.- Overrides:
dismountVehicle
in classPlayerEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named dismountVehicle
Lnet/minecraft/entity/Entity;dismountVehicle()V
intermediary method_29239
Lnet/minecraft/class_1297;method_29239()V
official bQ
Lbvj;bQ()V
-
getPitch
public float getPitch(float tickDelta) -
getYaw
public float getYaw(float tickDelta) - Overrides:
getYaw
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getYaw
Lnet/minecraft/entity/Entity;getYaw(F)F
intermediary method_5705
Lnet/minecraft/class_1297;method_5705(F)F
official i
Lbvj;i(F)F
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classAbstractClientPlayerEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
LivingEntity.baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official h
Lbvj;h()V
-
getMoodPercentage
public float getMoodPercentage()Returns the percentage for the biome mood sound for the debug HUD to display.- Returns:
- the percentage for the biome mood sound for the debug HUD to display
- Mappings:
Namespace Name Mixin selector named getMoodPercentage
Lnet/minecraft/client/network/ClientPlayerEntity;getMoodPercentage()F
intermediary method_26269
Lnet/minecraft/class_746;method_26269()F
official e
Lgkg;e()F
-
sendMovementPackets
private void sendMovementPackets()- Mappings:
Namespace Name Mixin selector named sendMovementPackets
Lnet/minecraft/client/network/ClientPlayerEntity;sendMovementPackets()V
intermediary method_3136
Lnet/minecraft/class_746;method_3136()V
official I
Lgkg;I()V
-
sendSneakingPacket
private void sendSneakingPacket()- Mappings:
Namespace Name Mixin selector named sendSneakingPacket
Lnet/minecraft/client/network/ClientPlayerEntity;sendSneakingPacket()V
intermediary method_62165
Lnet/minecraft/class_746;method_62165()V
official J
Lgkg;J()V
-
sendSprintingPacket
private void sendSprintingPacket()- Mappings:
Namespace Name Mixin selector named sendSprintingPacket
Lnet/minecraft/client/network/ClientPlayerEntity;sendSprintingPacket()V
intermediary method_46742
Lnet/minecraft/class_746;method_46742()V
official L
Lgkg;L()V
-
dropSelectedItem
public boolean dropSelectedItem(boolean entireStack) - Mappings:
Namespace Name Mixin selector named dropSelectedItem
Lnet/minecraft/client/network/ClientPlayerEntity;dropSelectedItem(Z)Z
intermediary method_7290
Lnet/minecraft/class_746;method_7290(Z)Z
official a
Lgkg;a(Z)Z
-
swingHand
- Overrides:
swingHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named swingHand
Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
intermediary method_6104
Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)V
official a
Lbwf;a(Lbth;)V
-
requestRespawn
public void requestRespawn()- Overrides:
requestRespawn
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named requestRespawn
Lnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
intermediary method_7331
Lnet/minecraft/class_1657;method_7331()V
official gg
Lcpw;gg()V
-
closeHandledScreen
public void closeHandledScreen()Closes the currently open handled screen.This method can be called on either logical side, and it will synchronize the closing automatically to the other.
- Overrides:
closeHandledScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named closeHandledScreen
Lnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
intermediary method_7346
Lnet/minecraft/class_1657;method_7346()V
official p
Lcpw;p()V
-
closeScreen
public void closeScreen()- Mappings:
Namespace Name Mixin selector named closeScreen
Lnet/minecraft/client/network/ClientPlayerEntity;closeScreen()V
intermediary method_3137
Lnet/minecraft/class_746;method_3137()V
official f
Lgkg;f()V
-
updateHealth
public void updateHealth(float health) - Mappings:
Namespace Name Mixin selector named updateHealth
Lnet/minecraft/client/network/ClientPlayerEntity;updateHealth(F)V
intermediary method_3138
Lnet/minecraft/class_746;method_3138(F)V
official J
Lgkg;J(F)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdate
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named sendAbilitiesUpdate
Lnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
intermediary method_7355
Lnet/minecraft/class_1657;method_7355()V
official x
Lcpw;x()V
-
isMainPlayer
public boolean isMainPlayer()- Overrides:
isMainPlayer
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named isMainPlayer
Lnet/minecraft/entity/player/PlayerEntity;isMainPlayer()Z
intermediary method_7340
Lnet/minecraft/class_1657;method_7340()Z
official c
Lcpw;c()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:
- Mappings:
Namespace Name Mixin selector named isHoldingOntoLadder
Lnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
intermediary method_21754
Lnet/minecraft/class_1309;method_21754()Z
official fI
Lbwf;fI()Z
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticles
in classEntity
- Mappings:
Namespace Name Mixin selector named shouldSpawnSprintingParticles
Lnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Z
intermediary method_27298
Lnet/minecraft/class_1297;method_27298()Z
official bv
Lbvj;bv()Z
-
startRidingJump
protected void startRidingJump()- Mappings:
Namespace Name Mixin selector named startRidingJump
Lnet/minecraft/client/network/ClientPlayerEntity;startRidingJump()V
intermediary method_3133
Lnet/minecraft/class_746;method_3133()V
official i
Lgkg;i()V
-
openRidingInventory
public void openRidingInventory()- Mappings:
Namespace Name Mixin selector named openRidingInventory
Lnet/minecraft/client/network/ClientPlayerEntity;openRidingInventory()V
intermediary method_3132
Lnet/minecraft/class_746;method_3132()V
official l
Lgkg;l()V
-
getStatHandler
- Mappings:
Namespace Name Mixin selector named getStatHandler
Lnet/minecraft/client/network/ClientPlayerEntity;getStatHandler()Lnet/minecraft/stat/StatHandler;
intermediary method_3143
Lnet/minecraft/class_746;method_3143()Lnet/minecraft/class_3469;
official m
Lgkg;m()Laxq;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector named getRecipeBook
Lnet/minecraft/client/network/ClientPlayerEntity;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;
intermediary method_3130
Lnet/minecraft/class_746;method_3130()Lnet/minecraft/class_299;
official n
Lgkg;n()Lflq;
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayed
Lnet/minecraft/client/network/ClientPlayerEntity;onRecipeDisplayed(Lnet/minecraft/recipe/NetworkRecipeId;)V
intermediary method_3141
Lnet/minecraft/class_746;method_3141(Lnet/minecraft/class_10298;)V
official a
Lgkg;a(Lddk;)V
-
getPermissionLevel
protected int getPermissionLevel()- Overrides:
getPermissionLevel
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named getPermissionLevel
Lnet/minecraft/entity/player/PlayerEntity;getPermissionLevel()I
intermediary method_5691
Lnet/minecraft/class_1657;method_5691()I
official G
Lcpw;G()I
-
setClientPermissionLevel
public void setClientPermissionLevel(int clientPermissionLevel) - Mappings:
Namespace Name Mixin selector named setClientPermissionLevel
Lnet/minecraft/client/network/ClientPlayerEntity;setClientPermissionLevel(I)V
intermediary method_3147
Lnet/minecraft/class_746;method_3147(I)V
official a
Lgkg;a(I)V
-
sendMessage
Adds a message to this player's HUD.If it's called on
ServerPlayerEntity
, it sends a message to the client corresponding to this player so that the client can add a message to their HUD. If it's called onClientPlayerEntity
, it just adds a message to their HUD.- Overrides:
sendMessage
in classPlayerEntity
- Parameters:
message
- the message to add- See Also:
- Mappings:
Namespace Name Mixin selector named sendMessage
Lnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
intermediary method_7353
Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)V
official a
Lcpw;a(Lxv;Z)V
-
pushOutOfBlocks
private void pushOutOfBlocks(double x, double z) - Mappings:
Namespace Name Mixin selector named pushOutOfBlocks
Lnet/minecraft/client/network/ClientPlayerEntity;pushOutOfBlocks(DD)V
intermediary method_30673
Lnet/minecraft/class_746;method_30673(DD)V
official c
Lgkg;c(DD)V
-
wouldCollideAt
- Mappings:
Namespace Name Mixin selector named wouldCollideAt
Lnet/minecraft/client/network/ClientPlayerEntity;wouldCollideAt(Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_30674
Lnet/minecraft/class_746;method_30674(Lnet/minecraft/class_2338;)Z
official c
Lgkg;c(Ljh;)Z
-
setExperience
public void setExperience(float progress, int total, int level) - Mappings:
Namespace Name Mixin selector named setExperience
Lnet/minecraft/client/network/ClientPlayerEntity;setExperience(FII)V
intermediary method_3145
Lnet/minecraft/class_746;method_3145(FII)V
official a
Lgkg;a(FII)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatus
in classPlayerEntity
- See Also:
- API Note:
- To send an entity status, use
invalid reference
World#sendEntityStatus
- Mappings:
Namespace Name Mixin selector named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
official b
Lbvj;b(B)V
-
setShowsDeathScreen
public void setShowsDeathScreen(boolean showsDeathScreen) - Mappings:
Namespace Name Mixin selector named setShowsDeathScreen
Lnet/minecraft/client/network/ClientPlayerEntity;setShowsDeathScreen(Z)V
intermediary method_22420
Lnet/minecraft/class_746;method_22420(Z)V
official b
Lgkg;b(Z)V
-
showsDeathScreen
public boolean showsDeathScreen()- Mappings:
Namespace Name Mixin selector named showsDeathScreen
Lnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen()Z
intermediary method_22419
Lnet/minecraft/class_746;method_22419()Z
official t
Lgkg;t()Z
-
setLimitedCraftingEnabled
public void setLimitedCraftingEnabled(boolean limitedCraftingEnabled) - Mappings:
Namespace Name Mixin selector named setLimitedCraftingEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;setLimitedCraftingEnabled(Z)V
intermediary method_53848
Lnet/minecraft/class_746;method_53848(Z)V
official x
Lgkg;x(Z)V
-
isLimitedCraftingEnabled
public boolean isLimitedCraftingEnabled()- Mappings:
Namespace Name Mixin selector named isLimitedCraftingEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;isLimitedCraftingEnabled()Z
intermediary method_53847
Lnet/minecraft/class_746;method_53847()Z
official u
Lgkg;u()Z
-
playSound
- Overrides:
playSound
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named playSound
Lnet/minecraft/entity/Entity;playSound(Lnet/minecraft/sound/SoundEvent;FF)V
intermediary method_5783
Lnet/minecraft/class_1297;method_5783(Lnet/minecraft/class_3414;FF)V
official a
Lbvj;a(Laxe;FF)V
-
playSoundToPlayer
Playssound
to this player only.Use
playSound(SoundEvent, float, float)
to play sound that can be heard by nearby players. Unlike that method, this method should be called on only one side (i.e. either the server or the client, alone).- Overrides:
playSoundToPlayer
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named playSoundToPlayer
Lnet/minecraft/entity/player/PlayerEntity;playSoundToPlayer(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
intermediary method_17356
Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
official a
Lcpw;a(Laxe;Laxg;FF)V
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarily
in classEntity
- Mappings:
Namespace Name Mixin selector named canMoveVoluntarily
Lnet/minecraft/entity/Entity;canMoveVoluntarily()Z
intermediary method_6034
Lnet/minecraft/class_1297;method_6034()Z
official dk
Lbvj;dk()Z
-
setCurrentHand
- Overrides:
setCurrentHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named setCurrentHand
Lnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
intermediary method_6019
Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)V
official c
Lbwf;c(Lbth;)V
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItem
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isUsingItem
Lnet/minecraft/entity/LivingEntity;isUsingItem()Z
intermediary method_6115
Lnet/minecraft/class_1309;method_6115()Z
official fz
Lbwf;fz()Z
-
clearActiveItem
public void clearActiveItem()- Overrides:
clearActiveItem
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named clearActiveItem
Lnet/minecraft/entity/LivingEntity;clearActiveItem()V
intermediary method_6021
Lnet/minecraft/class_1309;method_6021()V
official fF
Lbwf;fF()V
-
getActiveHand
- Overrides:
getActiveHand
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getActiveHand
Lnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
intermediary method_6058
Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;
official fA
Lbwf;fA()Lbth;
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Specified by:
onTrackedDataSet
in interfaceDataTracked
- Overrides:
onTrackedDataSet
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named onTrackedDataSet
Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
intermediary method_5674
Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
official a
Lalf;a(Lalc;)V
-
getJumpingMount
- Mappings:
Namespace Name Mixin selector named getJumpingMount
Lnet/minecraft/client/network/ClientPlayerEntity;getJumpingMount()Lnet/minecraft/entity/JumpingMount;
intermediary method_45773
Lnet/minecraft/class_746;method_45773()Lnet/minecraft/class_1316;
official v
Lgkg;v()Lbwp;
-
getMountJumpStrength
public float getMountJumpStrength()- Mappings:
Namespace Name Mixin selector named getMountJumpStrength
Lnet/minecraft/client/network/ClientPlayerEntity;getMountJumpStrength()F
intermediary method_3151
Lnet/minecraft/class_746;method_3151()F
official y
Lgkg;y()F
-
shouldFilterText
public boolean shouldFilterText()- Overrides:
shouldFilterText
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named shouldFilterText
Lnet/minecraft/entity/player/PlayerEntity;shouldFilterText()Z
intermediary method_33793
Lnet/minecraft/class_1657;method_33793()Z
official aa
Lcpw;aa()Z
-
openEditSignScreen
- Overrides:
openEditSignScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named openEditSignScreen
Lnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;Z)V
intermediary method_7311
Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;Z)V
official a
Lcpw;a(Ldwj;Z)V
-
openCommandBlockMinecartScreen
- Overrides:
openCommandBlockMinecartScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named openCommandBlockMinecartScreen
Lnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/world/CommandBlockExecutor;)V
intermediary method_7257
Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1918;)V
official a
Lcpw;a(Ldgh;)V
-
openCommandBlockScreen
- Overrides:
openCommandBlockScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named openCommandBlockScreen
Lnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
intermediary method_7323
Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)V
official a
Lcpw;a(Ldvg;)V
-
openStructureBlockScreen
- Overrides:
openStructureBlockScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named openStructureBlockScreen
Lnet/minecraft/entity/player/PlayerEntity;openStructureBlockScreen(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
intermediary method_7303
Lnet/minecraft/class_1657;method_7303(Lnet/minecraft/class_2633;)V
official a
Lcpw;a(Ldwo;)V
-
openJigsawScreen
- Overrides:
openJigsawScreen
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named openJigsawScreen
Lnet/minecraft/entity/player/PlayerEntity;openJigsawScreen(Lnet/minecraft/block/entity/JigsawBlockEntity;)V
intermediary method_16354
Lnet/minecraft/class_1657;method_16354(Lnet/minecraft/class_3751;)V
official a
Lcpw;a(Ldvz;)V
-
useBook
Called when the player uses (defaults to right click) a writable or written book item.This can be called either on the client or the server player. Check
book
for whether this is a written or a writable book.- Overrides:
useBook
in classPlayerEntity
- Parameters:
book
- the bookhand
- the hand holding the book- Implementation Note:
- The writing of a writable book in vanilla is totally controlled by
the client; the server cannot make the client open a book edit screen by
making a server player use a writable book. Only when the client finishes
writing a book it will send a book update C2S packet.
Meanwhile, the reading of a written book is totally controlled and initiated by the server.
- Mappings:
Namespace Name Mixin selector named useBook
Lnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
intermediary method_7315
Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V
official a
Lcpw;a(Lcxo;Lbth;)V
-
addCritParticles
- Overrides:
addCritParticles
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named addCritParticles
Lnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
intermediary method_7277
Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)V
official b
Lcpw;b(Lbvj;)V
-
addEnchantedHitParticles
- Overrides:
addEnchantedHitParticles
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named addEnchantedHitParticles
Lnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)V
intermediary method_7304
Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)V
official c
Lcpw;c(Lbvj;)V
-
isSneaking
public boolean isSneaking()Returns whether the entity is sneaking.This only returns
true
if the entity is a player and that player is pressing the Sneak key. See alsoisInSneakingPose()
.- Overrides:
isSneaking
in classEntity
- Returns:
- whether the entity is sneaking
- See Also:
- Mappings:
Namespace Name Mixin selector named isSneaking
Lnet/minecraft/entity/Entity;isSneaking()Z
intermediary method_5715
Lnet/minecraft/class_1297;method_5715()Z
official cd
Lbvj;cd()Z
-
isInSneakingPose
public boolean isInSneakingPose()Returns whether the entity is in a crouching pose.Compared to
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. This is also used when the entity is a player and the player would otherwise collide with blocks (for example, when the player is in a 1.5 blocks tall tunnel).
- Overrides:
isInSneakingPose
in classEntity
- Returns:
- whether the entity is in a crouching pose
- Mappings:
Namespace Name Mixin selector named isInSneakingPose
Lnet/minecraft/entity/Entity;isInSneakingPose()Z
intermediary method_18276
Lnet/minecraft/class_1297;method_18276()Z
official ci
Lbvj;ci()Z
-
shouldSlowDown
public boolean shouldSlowDown()- Mappings:
Namespace Name Mixin selector named shouldSlowDown
Lnet/minecraft/client/network/ClientPlayerEntity;shouldSlowDown()Z
intermediary method_20303
Lnet/minecraft/class_746;method_20303()Z
official z
Lgkg;z()Z
-
tickNewAi
public void tickNewAi()- Overrides:
tickNewAi
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named tickNewAi
Lnet/minecraft/entity/LivingEntity;tickNewAi()V
intermediary method_6023
Lnet/minecraft/class_1309;method_6023()V
official fu
Lbwf;fu()V
-
isCamera
protected boolean isCamera()- Mappings:
Namespace Name Mixin selector named isCamera
Lnet/minecraft/client/network/ClientPlayerEntity;isCamera()Z
intermediary method_3134
Lnet/minecraft/class_746;method_3134()Z
official A
Lgkg;A()Z
-
init
public void init()- Mappings:
Namespace Name Mixin selector named init
Lnet/minecraft/client/network/ClientPlayerEntity;init()V
intermediary method_33689
Lnet/minecraft/class_746;method_33689()V
official B
Lgkg;B()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
official d_
Lbwf;d_()V
-
getCurrentPortalEffect
- Mappings:
Namespace Name Mixin selector named getCurrentPortalEffect
Lnet/minecraft/client/network/ClientPlayerEntity;getCurrentPortalEffect()Lnet/minecraft/block/Portal$Effect;
intermediary method_60886
Lnet/minecraft/class_746;method_60886()Lnet/minecraft/class_9797$class_9798;
official C
Lgkg;C()Ldqg$a;
-
updatePostDeath
protected void updatePostDeath()- Overrides:
updatePostDeath
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named updatePostDeath
Lnet/minecraft/entity/LivingEntity;updatePostDeath()V
intermediary method_6108
Lnet/minecraft/class_1309;method_6108()V
official em
Lbwf;em()V
-
tickNausea
private void tickNausea(boolean fromPortalEffect) - Mappings:
Namespace Name Mixin selector named tickNausea
Lnet/minecraft/client/network/ClientPlayerEntity;tickNausea(Z)V
intermediary method_60887
Lnet/minecraft/class_746;method_60887(Z)V
official y
Lgkg;y(Z)V
-
tickRiding
public void tickRiding()- Overrides:
tickRiding
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named tickRiding
Lnet/minecraft/entity/Entity;tickRiding()V
intermediary method_5842
Lnet/minecraft/class_1297;method_5842()V
official r
Lbvj;r()V
-
isRiding
public boolean isRiding()- Mappings:
Namespace Name Mixin selector named isRiding
Lnet/minecraft/client/network/ClientPlayerEntity;isRiding()Z
intermediary method_3144
Lnet/minecraft/class_746;method_3144()Z
official D
Lgkg;D()Z
-
removeStatusEffectInternal
@Nullable public @Nullable StatusEffectInstance removeStatusEffectInternal(RegistryEntry<StatusEffect> effect) 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(RegistryEntry)
is highly preferable.- Overrides:
removeStatusEffectInternal
in classLivingEntity
- Returns:
- the status effect removed
- Mappings:
Namespace Name Mixin selector named removeStatusEffectInternal
Lnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/effect/StatusEffectInstance;
intermediary method_6111
Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1293;
official d
Lbwf;d(Ljq;)Lbuo;
-
move
- Overrides:
move
in classEntity
- Mappings:
Namespace Name Mixin selector named move
Lnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
intermediary method_5784
Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)V
official a
Lbvj;a(Lbwj;Lfbx;)V
-
isAutoJumpEnabled
public boolean isAutoJumpEnabled()- Mappings:
Namespace Name Mixin selector named isAutoJumpEnabled
Lnet/minecraft/client/network/ClientPlayerEntity;isAutoJumpEnabled()Z
intermediary method_3149
Lnet/minecraft/class_746;method_3149()Z
official E
Lgkg;E()Z
-
shouldRotateWithMinecart
public boolean shouldRotateWithMinecart()- Overrides:
shouldRotateWithMinecart
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named shouldRotateWithMinecart
Lnet/minecraft/entity/player/PlayerEntity;shouldRotateWithMinecart()Z
intermediary method_61498
Lnet/minecraft/class_1657;method_61498()Z
official gO
Lcpw;gO()Z
-
autoJump
protected void autoJump(float dx, float dz) - Mappings:
Namespace Name Mixin selector named autoJump
Lnet/minecraft/client/network/ClientPlayerEntity;autoJump(FF)V
intermediary method_3148
Lnet/minecraft/class_746;method_3148(FF)V
official h
Lgkg;h(FF)V
-
hasCollidedSoftly
- Overrides:
hasCollidedSoftly
in classEntity
- Mappings:
Namespace Name Mixin selector named hasCollidedSoftly
Lnet/minecraft/entity/Entity;hasCollidedSoftly(Lnet/minecraft/util/math/Vec3d;)Z
intermediary method_39759
Lnet/minecraft/class_1297;method_39759(Lnet/minecraft/class_243;)Z
official c
Lbvj;c(Lfbx;)Z
-
shouldAutoJump
private boolean shouldAutoJump()- Mappings:
Namespace Name Mixin selector named shouldAutoJump
Lnet/minecraft/client/network/ClientPlayerEntity;shouldAutoJump()Z
intermediary method_22119
Lnet/minecraft/class_746;method_22119()Z
official N
Lgkg;N()Z
-
hasMovementInput
private boolean hasMovementInput()Returns whether the player has movement input.- Returns:
- whether the player has movement input
- Mappings:
Namespace Name Mixin selector named hasMovementInput
Lnet/minecraft/client/network/ClientPlayerEntity;hasMovementInput()Z
intermediary method_22120
Lnet/minecraft/class_746;method_22120()Z
official O
Lgkg;O()Z
-
canStartSprinting
private boolean canStartSprinting()- Mappings:
Namespace Name Mixin selector named canStartSprinting
Lnet/minecraft/client/network/ClientPlayerEntity;canStartSprinting()Z
intermediary method_48300
Lnet/minecraft/class_746;method_48300()Z
official P
Lgkg;P()Z
-
canVehicleSprint
- Mappings:
Namespace Name Mixin selector named canVehicleSprint
Lnet/minecraft/client/network/ClientPlayerEntity;canVehicleSprint(Lnet/minecraft/entity/Entity;)Z
intermediary method_48301
Lnet/minecraft/class_746;method_48301(Lnet/minecraft/class_1297;)Z
official a
Lgkg;a(Lbvj;)Z
-
isWalking
private boolean isWalking()- Mappings:
Namespace Name Mixin selector named isWalking
Lnet/minecraft/client/network/ClientPlayerEntity;isWalking()Z
intermediary method_20623
Lnet/minecraft/class_746;method_20623()Z
official Q
Lgkg;Q()Z
-
canSprint
private boolean canSprint()- Mappings:
Namespace Name Mixin selector named canSprint
Lnet/minecraft/client/network/ClientPlayerEntity;canSprint()Z
intermediary method_46743
Lnet/minecraft/class_746;method_46743()Z
official R
Lgkg;R()Z
-
getUnderwaterVisibility
public float getUnderwaterVisibility()Returns the color multiplier of vision in water. Visibility in water is reduced when the player just entered water.- Returns:
- the color multiplier of vision in water
- Mappings:
Namespace Name Mixin selector named getUnderwaterVisibility
Lnet/minecraft/client/network/ClientPlayerEntity;getUnderwaterVisibility()F
intermediary method_3140
Lnet/minecraft/class_746;method_3140()F
official F
Lgkg;F()F
-
onGameModeChanged
- Mappings:
Namespace Name Mixin selector named onGameModeChanged
Lnet/minecraft/client/network/ClientPlayerEntity;onGameModeChanged(Lnet/minecraft/world/GameMode;)V
intermediary method_51889
Lnet/minecraft/class_746;method_51889(Lnet/minecraft/class_1934;)V
official a
Lgkg;a(Ldhe;)V
-
isSubmergedInWater
public boolean isSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.- Overrides:
isSubmergedInWater
in classEntity
- Returns:
- whether this entity's hitbox is fully submerged in water
- Mappings:
Namespace Name Mixin selector named isSubmergedInWater
Lnet/minecraft/entity/Entity;isSubmergedInWater()Z
intermediary method_5869
Lnet/minecraft/class_1297;method_5869()Z
official bo
Lbvj;bo()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Overrides:
updateWaterSubmersionState
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named updateWaterSubmersionState
Lnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()Z
intermediary method_7295
Lnet/minecraft/class_1657;method_7295()Z
official gb
Lcpw;gb()Z
-
getLeashPos
Returns the position of the leash this entity holds.This is different from
Entity.getLeashOffset(float)
; this method is called on the entity that holds the leash.- Overrides:
getLeashPos
in classPlayerEntity
- Returns:
- the position of the leash this entity holds
- See Also:
- Mappings:
Namespace Name Mixin selector named getLeashPos
Lnet/minecraft/entity/Entity;getLeashPos(F)Lnet/minecraft/util/math/Vec3d;
intermediary method_30951
Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;
official u
Lbvj;u(F)Lfbx;
-
onPickupSlotClick
Called when a player performs apickup slot action
in a screen handler.- Overrides:
onPickupSlotClick
in classPlayerEntity
- Parameters:
cursorStack
- the item stack on the player's cursorslotStack
- the item stack in the clicked slotclickType
- the click type (mouse button used)- Implementation Note:
- This is used by the client player to trigger bundle tutorials.
- Mappings:
Namespace Name Mixin selector named onPickupSlotClick
Lnet/minecraft/entity/player/PlayerEntity;onPickupSlotClick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)V
intermediary method_33592
Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)V
official a
Lcpw;a(Lcxo;Lcxo;Lctl;)V
-
getBodyYaw
public float getBodyYaw()Returns the body yaw of the entity.- Overrides:
getBodyYaw
in classLivingEntity
- Returns:
- the body yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getBodyYaw
Lnet/minecraft/entity/Entity;getBodyYaw()F
intermediary method_43078
Lnet/minecraft/class_1297;method_43078()F
official dN
Lbvj;dN()F
-
dropCreativeStack
- Overrides:
dropCreativeStack
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named dropCreativeStack
Lnet/minecraft/entity/player/PlayerEntity;dropCreativeStack(Lnet/minecraft/item/ItemStack;)V
intermediary method_61499
Lnet/minecraft/class_1657;method_61499(Lnet/minecraft/class_1799;)V
official g
Lcpw;g(Lcxo;)V
-
canDropItems
public boolean canDropItems()- Overrides:
canDropItems
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector named canDropItems
Lnet/minecraft/entity/player/PlayerEntity;canDropItems()Z
intermediary method_64271
Lnet/minecraft/class_1657;method_64271()Z
official gl
Lcpw;gl()Z
-
getItemDropCooldown
- Mappings:
Namespace Name Mixin selector named getItemDropCooldown
Lnet/minecraft/client/network/ClientPlayerEntity;getItemDropCooldown()Lnet/minecraft/util/Cooldown;
intermediary method_64376
Lnet/minecraft/class_746;method_64376()Lnet/minecraft/class_10222;
official H
Lgkg;H()Lbbe;
-