Class ClientPlayerEntity
- All Implemented Interfaces:
ClientPlayerLikeEntity,ComponentsAccess,Attackable,ContainerUser,DataTracked,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/client/network/ClientPlayerEntityintermediary net/minecraft/class_746official hgy
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReasonNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.util.HeldItemContext
HeldItemContext.OffsetNested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTrackerNested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprotected final MinecraftClientintprivate booleanprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final doublestatic final floatprivate PermissionPredicateprivate static final intprivate static final intprivate booleanprivate booleanprivate final Cooldownprivate booleanfloatprivate booleanprivate floatprivate PlayerInputfloatfloatprivate booleanprivate doubleprivate floatprivate doubleprivate doubleprivate booleanstatic final Loggerprivate static final doubleprivate floatprivate intfloatfinal ClientPlayNetworkHandlerprivate final ClientRecipeBookfloatfloatprivate booleanprivate booleanprivate final StatHandlerprivate final List<ClientPlayerTickable> protected intprivate intprivate intprivate intprivate booleanFields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, baseFlySpeed, BLOCK_INTERACTION_RANGE, CRAFTING_SLOT_OFFSET, currentExplosionImpactPos, currentScreenHandler, damageTiltYaw, enchantingTableSeed, ENDER_SLOT_OFFSET, enderChestInventory, ENTITY_INTERACTION_RANGE, experienceLevel, experiencePickUpDelay, experienceProgress, explodedBy, field_55202, fishHook, HELD_ITEM_SLOT_OFFSET, hungerManager, isSubmergedInWater, MAX_HEALTH, playerScreenHandler, remainingLoadTicks, SLEEP_DURATION, totalExperience, WAKE_UP_DURATIONFields inherited from class net.minecraft.entity.PlayerLikeEntity
EYE_HEIGHT, MAIN_ARM, MAIN_ARM_ID, MODEL_CUSTOMIZATION, PLAYER_MODE_CUSTOMIZATION_ID, POSE_DIMENSIONS, STANDING_DIMENSIONS, SWIMMING_BOX_HEIGHT, VEHICLE_ATTACHMENTFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, field_63293, field_63294, forwardSpeed, glidingTicks, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, piercingCooldowns, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, ticksSinceHandEquipping, ticksSinceLastAttack, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, CUSTOM_NAME_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLDFields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING -
Constructor Summary
ConstructorsConstructorDescriptionClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, PlayerInput lastPlayerInput, boolean lastSprinting) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCritParticles(Entity target) voidaddEnchantedHitParticles(Entity target) private static Vec2fprivate Vec2fapplyMovementSpeedFactors(Vec2f input) protected voidautoJump(float dx, float dz) booleanprivate booleanprivate booleancanSprint(boolean allowTouchingWater) private booleanprivate booleancanVehicleSprint(Entity vehicle) voidvoidCloses the currently open handled screen.voidvoidDismounts the vehicle if present.voiddropCreativeStack(ItemStack stack) booleandropSelectedItem(boolean entireStack) floatprivate static floatgetLeashPos(float tickProgress) Returns the position of the leash this entity holds.floatReturns the percentage for the biome mood sound for the debug HUD to display.floatfloatgetPitch(float tickProgress) floatReturns the color multiplier of vision in water.floatgetYaw(float tickProgress) voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected booleanhasCollidedSoftly(Vec3d adjustedMovement) private booleanReturns whether the player has movement input.voidheal(float amount) Heals this entity by the givenamountof half-hearts.voidinit()booleanprotected booleanisCamera()booleanbooleanReturns whether the entity is in a crouching pose.booleanbooleanbooleanisRiding()booleanReturns whether the entity is sneaking.booleanReturns whether this entity's hitbox is fully submerged in water.booleanprivate voidmethod_75408(float float2) private booleanprivate floatvoidmethod_75411(PermissionPredicate permissionPredicate) voidmove(MovementType type, Vec3d movement) voidonGameModeChanged(GameMode gameMode) voidonPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler.voidonRecipeDisplayed(NetworkRecipeId recipeId) voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.voidvoidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock) voidopenDialog(RegistryEntry<Dialog> dialog) voidopenEditSignScreen(SignBlockEntity sign, boolean front) voidopenJigsawScreen(JigsawBlockEntity jigsaw) voidvoidopenStructureBlockScreen(StructureBlockBlockEntity structureBlock) voidopenTestBlockScreen(TestBlockEntity testBlock) voidopenTestInstanceBlockScreen(TestInstanceBlockEntity testInstanceBlock) voidplaySound(SoundEvent sound, float volume, float pitch) voidplaySoundToPlayer(SoundEvent sound, SoundCategory category, float volume, float pitch) Playssoundto this player only.private voidpushOutOfBlocks(double x, double z) voidvoidvoidsendMessage(Text message, boolean overlay) Adds a message to this player's HUD.private voidprivate voidvoidsetCurrentHand(Hand hand) voidsetExperience(float progress, int total, int level) voidsetLimitedCraftingEnabled(boolean limitedCraftingEnabled) voidsetReducedDebugInfo(boolean reducedDebugInfo) voidsetShowsDeathScreen(boolean showsDeathScreen) private booleanbooleanbooleanbooleanbooleanprivate booleanprivate booleanbooleanbooleanstartRiding(Entity entity, boolean force, boolean emitEvent) Starts ridingentity.protected voidvoidvoidtick()Ticks this entity.voidvoidprivate voidtickNausea(boolean fromPortalEffect) voidvoidupdateHealth(float health) protected voidprotected booleanvoidCalled when the player uses (defaults to right click) a writable or written book item.private booleanwouldCollideAt(BlockPos pos) Methods inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
addDistanceMoved, getFovMultiplier, getGameMode, getMannequinName, getPlayerListEntry, getShoulderParrotVariant, getSkin, getState, hasExtraEars, tickPlayerMovementMethods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addExperience, addExperienceLevels, addScore, adjustMovementForSneaking, animateDamage, applyDamage, applyEnchantmentCosts, asString, attack, attackLivingEntity, beforePlayerAttack, canActVoluntarily, canBeHitByProjectile, canChangeIntoPose, canConsume, canFoodHeal, canGlide, canHarvest, canInteractWithBlockAt, canInteractWithEntity, canInteractWithEntityIn, canModifyBlocks, canMoveVoluntarily, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canTakeDamage, checkGliding, clearCurrentExplosion, clipAtLedge, createCooldownManager, createEquipment, createPlayerAttributes, damage, damageArmor, damageHelmet, doesNotSuffocate, dropInventory, dropItem, dropShoulderEntities, getAbilities, getAbsorptionAmount, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBlockInteractionRange, getBurningDuration, getContainerInteractionRange, getDamageAgainst, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDisplayName, getEnchantingTableSeed, getEnderChestInventory, getEntityInteractionRange, getExperienceToDrop, getFallSounds, getGameProfile, getHandEquippingProgress, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLeftShoulderParrotVariant, getLuck, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPlayerConfigEntry, getPoses, getProjectileType, getRightShoulderParrotVariant, getScore, getSculkShriekerWarningManager, getSleepTimer, getSoundCategory, getSoundPitch, getSplashSound, getStackReference, getStringifiedName, getSwimSound, getVelocityMultiplier, getWeaponStack, giveItemStack, handleFallDamage, handleShoulderEntities, hasBlindnessEffect, hasReducedDebugInfo, increaseStat, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBelowMinimumAttackCharge, isBlockBreakingRestricted, isClimbing, isControlledByMainPlayer, isControlledByPlayer, isCreative, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isInvulnerableTo, isLoaded, isPlayer, isPushedByFluids, isSpectator, isSwimming, isUsingSpyglass, isViewingContainerAt, knockbackTarget, lockRecipes, mapParrotVariant, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDeath, onHandledScreenClosed, onKilledOther, onRecipeCrafted, onSwimmingStart, openHandledScreen, openHorseInventory, pierce, playStepSound, readCustomData, readParrotVariant, remove, resetStat, resetTicksSince, resetTicksSinceLastAttack, sendTradeOffers, setAbsorptionAmountUnclamped, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setLeftShoulderParrotVariant, setLoaded, setRightShoulderParrotVariant, setScore, shouldAlwaysDropExperience, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDamagePlayer, shouldDismount, shouldIgnoreFallDamageFromCurrentExplosion, shouldRenderName, shouldSave, shouldSkipBlockDrops, shouldSwimInFluids, slowMovement, startGliding, takeShieldHit, tickHunger, tickLoaded, travel, tryClearCurrentExplosion, trySleep, unlockRecipes, unlockRecipes, updatePose, updateSwimming, useRiptide, vanishCursedItems, wakeUp, wakeUp, writeCustomDataMethods inherited from class net.minecraft.entity.PlayerLikeEntity
getBaseDimensions, getMainArm, isModelPartVisible, setMainArmMethods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, baseTick, becomeAngry, canBreatheInWater, canDispenserEquipSlot, canEquip, canEquipFromDispenser, canFreeze, canGlideWith, canHaveStatusEffect, canHit, canPickUpLoot, canSee, canSee, canTarget, canTarget, canUsePortals, canUseSlot, canWalkOnFluid, clampScale, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createTracker, damageEquipment, deserializeBrain, disableExperienceDropping, drop, dropEquipment, dropExperience, dropItem, dropLoot, dropLoot, endCombat, enterCombat, equipStack, fall, forEachBrushedItem, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, generateLoot, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEntity, getEquippedStack, getEquipSound, getExperienceToDrop, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundVolume, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getWaypointConfig, getWeaponDisableBlockingForSeconds, giveOrDropStack, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isInPiercingCooldown, isInsideWall, isInSwimmingPose, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttack, onAttacking, onDamaged, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playAttackSound, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDropExperience, shouldDropLoot, shouldDrown, sleep, spawnItemParticles, startPiercingCooldown, stopGliding, stopRiding, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickNewAi, tickRiptide, tickStatusEffects, tiltScreen, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateAttribute, updateLimbs, updateLimbs, updatePotionVisibility, updateTrackedHeadRotation, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calcDistanceFromBottomCollision, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, checkDespawn, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, findCollisions, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityPos, getEntityWorld, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadRotationVector, getHeight, getHeldQuadLeashOffsets, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMovement, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPlayerPassengers, getPortalCooldown, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interact, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInteractable, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartlyTouchingWater, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaky, isSprinting, isSubmergedIn, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, registerTracking, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldTickBlockCollision, sidedDamage, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateTrackedAngles, updateTrackedPosition, updateTrackedPosition, updateTrackedPositionAndAngles, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.entity.ContainerUser
asLivingEntityMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/network/ClientPlayerEntity;LOGGER:Lorg/slf4j/Logger;intermediary field_39078Lnet/minecraft/class_746;field_39078:Lorg/slf4j/Logger;official aLhgy;a:Lorg/slf4j/Logger;
-
field_32671
private static final int field_32671- See Also:
- Mappings:
Namespace Name Mixin selector named field_32671Lnet/minecraft/client/network/ClientPlayerEntity;field_32671:Iintermediary field_32671Lnet/minecraft/class_746;field_32671:Iofficial cELhgy;cE:I
-
field_32672
private static final int field_32672- See Also:
- Mappings:
Namespace Name Mixin selector named field_32672Lnet/minecraft/client/network/ClientPlayerEntity;field_32672:Iintermediary field_32672Lnet/minecraft/class_746;field_32672:Iofficial cFLhgy;cF:I
-
field_32673
private static final int field_32673- See Also:
- Mappings:
Namespace Name Mixin selector named field_32673Lnet/minecraft/client/network/ClientPlayerEntity;field_32673:Iintermediary field_32673Lnet/minecraft/class_746;field_32673:Iofficial cGLhgy;cG:I
-
field_32674
private static final float field_32674- See Also:
- Mappings:
Namespace Name Mixin selector named field_32674Lnet/minecraft/client/network/ClientPlayerEntity;field_32674:Fintermediary field_32674Lnet/minecraft/class_746;field_32674:Fofficial cHLhgy;cH:F
-
field_32675
private static final double field_32675- See Also:
- Mappings:
Namespace Name Mixin selector named field_32675Lnet/minecraft/client/network/ClientPlayerEntity;field_32675:Dintermediary field_32675Lnet/minecraft/class_746;field_32675:Dofficial cILhgy;cI:D
-
MAX_SOFT_COLLISION_RADIANS
private static final double MAX_SOFT_COLLISION_RADIANS- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_SOFT_COLLISION_RADIANSLnet/minecraft/client/network/ClientPlayerEntity;MAX_SOFT_COLLISION_RADIANS:Dintermediary field_36194Lnet/minecraft/class_746;field_36194:Dofficial cJLhgy;cJ:D
-
field_55135
public static final float field_55135- See Also:
- Mappings:
Namespace Name Mixin selector named field_55135Lnet/minecraft/client/network/ClientPlayerEntity;field_55135:Fintermediary field_55135Lnet/minecraft/class_746;field_55135:Fofficial bLhgy;b:F
-
field_63570
private static final int field_63570- See Also:
- Mappings:
Namespace Name Mixin selector named field_63570Lnet/minecraft/client/network/ClientPlayerEntity;field_63570:Iintermediary field_63570Lnet/minecraft/class_746;field_63570:Iofficial ddLhgy;dd:I
-
field_63571
private static final int field_63571- See Also:
- Mappings:
Namespace Name Mixin selector named field_63571Lnet/minecraft/client/network/ClientPlayerEntity;field_63571:Iintermediary field_63571Lnet/minecraft/class_746;field_63571:Iofficial deLhgy;de:I
-
networkHandler
- Mappings:
Namespace Name Mixin selector named networkHandlerLnet/minecraft/client/network/ClientPlayerEntity;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;intermediary field_3944Lnet/minecraft/class_746;field_3944:Lnet/minecraft/class_634;official cLhgy;c:Lhbx;
-
statHandler
- Mappings:
Namespace Name Mixin selector named statHandlerLnet/minecraft/client/network/ClientPlayerEntity;statHandler:Lnet/minecraft/stat/StatHandler;intermediary field_3928Lnet/minecraft/class_746;field_3928:Lnet/minecraft/class_3469;official cKLhgy;cK:Lbdq;
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBookLnet/minecraft/client/network/ClientPlayerEntity;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;intermediary field_3930Lnet/minecraft/class_746;field_3930:Lnet/minecraft/class_299;official cLLhgy;cL:Lgbn;
-
itemDropCooldown
- Mappings:
Namespace Name Mixin selector named itemDropCooldownLnet/minecraft/client/network/ClientPlayerEntity;itemDropCooldown:Lnet/minecraft/util/Cooldown;intermediary field_54391Lnet/minecraft/class_746;field_54391:Lnet/minecraft/class_10222;official cMLhgy;cM:Lbhm;
-
tickables
- Mappings:
Namespace Name Mixin selector named tickablesLnet/minecraft/client/network/ClientPlayerEntity;tickables:Ljava/util/List;intermediary field_3933Lnet/minecraft/class_746;field_3933:Ljava/util/List;official cNLhgy;cN:Ljava/util/List;
-
field_63569
- Mappings:
Namespace Name Mixin selector named field_63569Lnet/minecraft/client/network/ClientPlayerEntity;field_63569:Lnet/minecraft/command/permission/PermissionPredicate;intermediary field_63569Lnet/minecraft/class_746;field_63569:Lnet/minecraft/class_12096;official cOLhgy;cO:Lbbt;
-
lastXClient
private double lastXClient- Mappings:
Namespace Name Mixin selector named lastXClientLnet/minecraft/client/network/ClientPlayerEntity;lastXClient:Dintermediary field_3926Lnet/minecraft/class_746;field_3926:Dofficial cPLhgy;cP:D
-
lastYClient
private double lastYClient- Mappings:
Namespace Name Mixin selector named lastYClientLnet/minecraft/client/network/ClientPlayerEntity;lastYClient:Dintermediary field_3940Lnet/minecraft/class_746;field_3940:Dofficial cQLhgy;cQ:D
-
lastZClient
private double lastZClient- Mappings:
Namespace Name Mixin selector named lastZClientLnet/minecraft/client/network/ClientPlayerEntity;lastZClient:Dintermediary field_3924Lnet/minecraft/class_746;field_3924:Dofficial cRLhgy;cR:D
-
lastYawClient
private float lastYawClient- Mappings:
Namespace Name Mixin selector named lastYawClientLnet/minecraft/client/network/ClientPlayerEntity;lastYawClient:Fintermediary field_3941Lnet/minecraft/class_746;field_3941:Fofficial cULhgy;cU:F
-
lastPitchClient
private float lastPitchClient- Mappings:
Namespace Name Mixin selector named lastPitchClientLnet/minecraft/client/network/ClientPlayerEntity;lastPitchClient:Fintermediary field_3925Lnet/minecraft/class_746;field_3925:Fofficial cVLhgy;cV:F
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector named lastOnGroundLnet/minecraft/client/network/ClientPlayerEntity;lastOnGround:Zintermediary field_3920Lnet/minecraft/class_746;field_3920:Zofficial cWLhgy;cW:Z
-
lastHorizontalCollision
private boolean lastHorizontalCollision- Mappings:
Namespace Name Mixin selector named lastHorizontalCollisionLnet/minecraft/client/network/ClientPlayerEntity;lastHorizontalCollision:Zintermediary field_53040Lnet/minecraft/class_746;field_53040:Zofficial cXLhgy;cX:Z
-
inSneakingPose
private boolean inSneakingPose- Mappings:
Namespace Name Mixin selector named inSneakingPoseLnet/minecraft/client/network/ClientPlayerEntity;inSneakingPose:Zintermediary field_23093Lnet/minecraft/class_746;field_23093:Zofficial cYLhgy;cY:Z
-
lastSprinting
private boolean lastSprinting- Mappings:
Namespace Name Mixin selector named lastSprintingLnet/minecraft/client/network/ClientPlayerEntity;lastSprinting:Zintermediary field_3919Lnet/minecraft/class_746;field_3919:Zofficial cZLhgy;cZ:Z
-
ticksSinceLastPositionPacketSent
private int ticksSinceLastPositionPacketSent- Mappings:
Namespace Name Mixin selector named ticksSinceLastPositionPacketSentLnet/minecraft/client/network/ClientPlayerEntity;ticksSinceLastPositionPacketSent:Iintermediary field_3923Lnet/minecraft/class_746;field_3923:Iofficial daLhgy;da:I
-
healthInitialized
private boolean healthInitialized- Mappings:
Namespace Name Mixin selector named healthInitializedLnet/minecraft/client/network/ClientPlayerEntity;healthInitialized:Zintermediary field_3918Lnet/minecraft/class_746;field_3918:Zofficial dbLhgy;db:Z
-
input
- Mappings:
Namespace Name Mixin selector named inputLnet/minecraft/client/network/ClientPlayerEntity;input:Lnet/minecraft/client/input/Input;intermediary field_3913Lnet/minecraft/class_746;field_3913:Lnet/minecraft/class_744;official dLhgy;d:Lhgw;
-
lastPlayerInput
- Mappings:
Namespace Name Mixin selector named lastPlayerInputLnet/minecraft/client/network/ClientPlayerEntity;lastPlayerInput:Lnet/minecraft/util/PlayerInput;intermediary field_54156Lnet/minecraft/class_746;field_54156:Lnet/minecraft/class_10185;official dcLhgy;dc:Ldbc;
-
client
- Mappings:
Namespace Name Mixin selector named clientLnet/minecraft/client/network/ClientPlayerEntity;client:Lnet/minecraft/client/MinecraftClient;intermediary field_3937Lnet/minecraft/class_746;field_3937:Lnet/minecraft/class_310;official eLhgy;e:Lgcc;
-
ticksLeftToDoubleTapSprint
protected int ticksLeftToDoubleTapSprint- Mappings:
Namespace Name Mixin selector named ticksLeftToDoubleTapSprintLnet/minecraft/client/network/ClientPlayerEntity;ticksLeftToDoubleTapSprint:Iintermediary field_3935Lnet/minecraft/class_746;field_3935:Iofficial fLhgy;f:I
-
experienceBarDisplayStartTime
public int experienceBarDisplayStartTime- Mappings:
Namespace Name Mixin selector named experienceBarDisplayStartTimeLnet/minecraft/client/network/ClientPlayerEntity;experienceBarDisplayStartTime:Iintermediary field_59964Lnet/minecraft/class_746;field_59964:Iofficial gLhgy;g:I
-
renderYaw
public float renderYaw- Mappings:
Namespace Name Mixin selector named renderYawLnet/minecraft/client/network/ClientPlayerEntity;renderYaw:Fintermediary field_3932Lnet/minecraft/class_746;field_3932:Fofficial hLhgy;h:F
-
renderPitch
public float renderPitch- Mappings:
Namespace Name Mixin selector named renderPitchLnet/minecraft/client/network/ClientPlayerEntity;renderPitch:Fintermediary field_3916Lnet/minecraft/class_746;field_3916:Fofficial iLhgy;i:F
-
lastRenderYaw
public float lastRenderYaw- Mappings:
Namespace Name Mixin selector named lastRenderYawLnet/minecraft/client/network/ClientPlayerEntity;lastRenderYaw:Fintermediary field_3931Lnet/minecraft/class_746;field_3931:Fofficial jLhgy;j:F
-
lastRenderPitch
public float lastRenderPitch- Mappings:
Namespace Name Mixin selector named lastRenderPitchLnet/minecraft/client/network/ClientPlayerEntity;lastRenderPitch:Fintermediary field_3914Lnet/minecraft/class_746;field_3914:Fofficial kLhgy;k:F
-
mountJumpTicks
private int mountJumpTicks- Mappings:
Namespace Name Mixin selector named mountJumpTicksLnet/minecraft/client/network/ClientPlayerEntity;mountJumpTicks:Iintermediary field_3938Lnet/minecraft/class_746;field_3938:Iofficial dfLhgy;df:I
-
mountJumpStrength
private float mountJumpStrength- Mappings:
Namespace Name Mixin selector named mountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;mountJumpStrength:Fintermediary field_3922Lnet/minecraft/class_746;field_3922:Fofficial dgLhgy;dg:F
-
nauseaIntensity
public float nauseaIntensity- Mappings:
Namespace Name Mixin selector named nauseaIntensityLnet/minecraft/client/network/ClientPlayerEntity;nauseaIntensity:Fintermediary field_44911Lnet/minecraft/class_746;field_44911:Fofficial cCLhgy;cC:F
-
lastNauseaIntensity
public float lastNauseaIntensity- Mappings:
Namespace Name Mixin selector named lastNauseaIntensityLnet/minecraft/client/network/ClientPlayerEntity;lastNauseaIntensity:Fintermediary field_44912Lnet/minecraft/class_746;field_44912:Fofficial cDLhgy;cD:F
-
usingItem
private boolean usingItem- Mappings:
Namespace Name Mixin selector named usingItemLnet/minecraft/client/network/ClientPlayerEntity;usingItem:Zintermediary field_3915Lnet/minecraft/class_746;field_3915:Zofficial dhLhgy;dh:Z
-
activeHand
- Mappings:
Namespace Name Mixin selector named activeHandLnet/minecraft/client/network/ClientPlayerEntity;activeHand:Lnet/minecraft/util/Hand;intermediary field_3945Lnet/minecraft/class_746;field_3945:Lnet/minecraft/class_1268;official diLhgy;di:Lccy;
-
riding
private boolean riding- Mappings:
Namespace Name Mixin selector named ridingLnet/minecraft/client/network/ClientPlayerEntity;riding:Zintermediary field_3942Lnet/minecraft/class_746;field_3942:Zofficial djLhgy;dj:Z
-
autoJumpEnabled
private boolean autoJumpEnabled- Mappings:
Namespace Name Mixin selector named autoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;autoJumpEnabled:Zintermediary field_3927Lnet/minecraft/class_746;field_3927:Zofficial dkLhgy;dk:Z
-
ticksToNextAutoJump
private int ticksToNextAutoJump- Mappings:
Namespace Name Mixin selector named ticksToNextAutoJumpLnet/minecraft/client/network/ClientPlayerEntity;ticksToNextAutoJump:Iintermediary field_3934Lnet/minecraft/class_746;field_3934:Iofficial dlLhgy;dl:I
-
falling
private boolean falling- Mappings:
Namespace Name Mixin selector named fallingLnet/minecraft/client/network/ClientPlayerEntity;falling:Zintermediary field_3939Lnet/minecraft/class_746;field_3939:Zofficial dmLhgy;dm:Z
-
underwaterVisibilityTicks
private int underwaterVisibilityTicks- Mappings:
Namespace Name Mixin selector named underwaterVisibilityTicksLnet/minecraft/client/network/ClientPlayerEntity;underwaterVisibilityTicks:Iintermediary field_3917Lnet/minecraft/class_746;field_3917:Iofficial dnLhgy;dn:I
-
showsDeathScreen
private boolean showsDeathScreen- Mappings:
Namespace Name Mixin selector named showsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen:Zintermediary field_20663Lnet/minecraft/class_746;field_20663:Zofficial doLhgy;do:Z
-
limitedCraftingEnabled
private boolean limitedCraftingEnabled- Mappings:
Namespace Name Mixin selector named limitedCraftingEnabledLnet/minecraft/client/network/ClientPlayerEntity;limitedCraftingEnabled:Zintermediary field_46188Lnet/minecraft/class_746;field_46188:Zofficial dpLhgy;dp:Z
-
-
Constructor Details
-
ClientPlayerEntity
public ClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, PlayerInput lastPlayerInput, 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;Lnet/minecraft/util/PlayerInput;Z)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;Lnet/minecraft/class_10185;Z)Vofficial <init>Lhgy;<init>(Lgcc;Lhbw;Lhbx;Lbdq;Lgbn;Ldbc;Z)V
-
-
Method Details
-
heal
public void heal(float amount) Heals this entity by the givenamountof half-hearts.A dead entity cannot be healed.
- Overrides:
healin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector named healLnet/minecraft/entity/LivingEntity;heal(F)Vintermediary method_6025Lnet/minecraft/class_1309;method_6025(F)Vofficial dLcgh;d(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
forceistrue. If this entity is already riding another entity, it will stop riding that entity first.- Overrides:
startRidingin 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 startRidingLnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;ZZ)Zintermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;ZZ)Zofficial aLcfg;a(Lcfg;ZZ)Z
-
dismountVehicle
public void dismountVehicle()Dismounts the vehicle if present.For players, will not trigger any networking changes. Use
LivingEntity.stopRiding()instead.- Overrides:
dismountVehiclein classPlayerEntity- See Also:
- Mappings:
Namespace Name Mixin selector named dismountVehicleLnet/minecraft/entity/Entity;dismountVehicle()Vintermediary method_29239Lnet/minecraft/class_1297;method_29239()Vofficial adLcfg;ad()V
-
getPitch
public float getPitch(float tickProgress) -
getYaw
public float getYaw(float tickProgress) - Overrides:
getYawin classLivingEntity- Mappings:
Namespace Name Mixin selector named getYawLnet/minecraft/entity/Entity;getYaw(F)Fintermediary method_5705Lnet/minecraft/class_1297;method_5705(F)Fofficial jLcfg;j(F)F
-
tick
public void tick()Ticks this entity.- Overrides:
tickin 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 tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLcfg;g()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 getMoodPercentageLnet/minecraft/client/network/ClientPlayerEntity;getMoodPercentage()Fintermediary method_26269Lnet/minecraft/class_746;method_26269()Fofficial nLhgy;n()F
-
sendMovementPackets
private void sendMovementPackets()- Mappings:
Namespace Name Mixin selector named sendMovementPacketsLnet/minecraft/client/network/ClientPlayerEntity;sendMovementPackets()Vintermediary method_3136Lnet/minecraft/class_746;method_3136()Vofficial PLhgy;P()V
-
sendSprintingPacket
private void sendSprintingPacket()- Mappings:
Namespace Name Mixin selector named sendSprintingPacketLnet/minecraft/client/network/ClientPlayerEntity;sendSprintingPacket()Vintermediary method_46742Lnet/minecraft/class_746;method_46742()Vofficial QLhgy;Q()V
-
dropSelectedItem
public boolean dropSelectedItem(boolean entireStack) - Mappings:
Namespace Name Mixin selector named dropSelectedItemLnet/minecraft/client/network/ClientPlayerEntity;dropSelectedItem(Z)Zintermediary method_7290Lnet/minecraft/class_746;method_7290(Z)Zofficial bLhgy;b(Z)Z
-
swingHand
- Overrides:
swingHandin classLivingEntity- Mappings:
Namespace Name Mixin selector named swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)Vintermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vofficial aLcgh;a(Lccy;)V
-
requestRespawn
public void requestRespawn()- Overrides:
requestRespawnin classPlayerEntity- Mappings:
Namespace Name Mixin selector named requestRespawnLnet/minecraft/entity/player/PlayerEntity;requestRespawn()Vintermediary method_7331Lnet/minecraft/class_1657;method_7331()Vofficial gALdbe;gA()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:
closeHandledScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()Vintermediary method_7346Lnet/minecraft/class_1657;method_7346()Vofficial rLdbe;r()V
-
closeScreen
public void closeScreen()- Mappings:
Namespace Name Mixin selector named closeScreenLnet/minecraft/client/network/ClientPlayerEntity;closeScreen()Vintermediary method_3137Lnet/minecraft/class_746;method_3137()Vofficial oLhgy;o()V
-
updateHealth
public void updateHealth(float health) - Mappings:
Namespace Name Mixin selector named updateHealthLnet/minecraft/client/network/ClientPlayerEntity;updateHealth(F)Vintermediary method_3138Lnet/minecraft/class_746;method_3138(F)Vofficial KLhgy;K(F)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdatein classPlayerEntity- Mappings:
Namespace Name Mixin selector named sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()Vintermediary method_7355Lnet/minecraft/class_1657;method_7355()Vofficial zLdbe;z()V
-
setReducedDebugInfo
public void setReducedDebugInfo(boolean reducedDebugInfo) - Overrides:
setReducedDebugInfoin classPlayerEntity- Mappings:
Namespace Name Mixin selector named setReducedDebugInfoLnet/minecraft/entity/player/PlayerEntity;setReducedDebugInfo(Z)Vintermediary method_7268Lnet/minecraft/class_1657;method_7268(Z)Vofficial vLdbe;v(Z)V
-
isMainPlayer
public boolean isMainPlayer()- Overrides:
isMainPlayerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named isMainPlayerLnet/minecraft/entity/player/PlayerEntity;isMainPlayer()Zintermediary method_7340Lnet/minecraft/class_1657;method_7340()Zofficial gBLdbe;gB()Z
-
isHoldingOntoLadder
public boolean isHoldingOntoLadder()- Overrides:
isHoldingOntoLadderin classLivingEntity- Returns:
trueif this entity should not lose height while in a climbing state- See Also:
- Mappings:
Namespace Name Mixin selector named isHoldingOntoLadderLnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Zintermediary method_21754Lnet/minecraft/class_1309;method_21754()Zofficial gbLcgh;gb()Z
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticlesin classEntity- Mappings:
Namespace Name Mixin selector named shouldSpawnSprintingParticlesLnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Zintermediary method_27298Lnet/minecraft/class_1297;method_27298()Zofficial bHLcfg;bH()Z
-
startRidingJump
protected void startRidingJump()- Mappings:
Namespace Name Mixin selector named startRidingJumpLnet/minecraft/client/network/ClientPlayerEntity;startRidingJump()Vintermediary method_3133Lnet/minecraft/class_746;method_3133()Vofficial pLhgy;p()V
-
openRidingInventory
public void openRidingInventory()- Mappings:
Namespace Name Mixin selector named openRidingInventoryLnet/minecraft/client/network/ClientPlayerEntity;openRidingInventory()Vintermediary method_3132Lnet/minecraft/class_746;method_3132()Vofficial vLhgy;v()V
-
getStatHandler
- Mappings:
Namespace Name Mixin selector named getStatHandlerLnet/minecraft/client/network/ClientPlayerEntity;getStatHandler()Lnet/minecraft/stat/StatHandler;intermediary method_3143Lnet/minecraft/class_746;method_3143()Lnet/minecraft/class_3469;official wLhgy;w()Lbdq;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector named getRecipeBookLnet/minecraft/client/network/ClientPlayerEntity;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;intermediary method_3130Lnet/minecraft/class_746;method_3130()Lnet/minecraft/class_299;official xLhgy;x()Lgbn;
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayedLnet/minecraft/client/network/ClientPlayerEntity;onRecipeDisplayed(Lnet/minecraft/recipe/NetworkRecipeId;)Vintermediary method_3141Lnet/minecraft/class_746;method_3141(Lnet/minecraft/class_10298;)Vofficial aLhgy;a(Ldpo;)V
-
getPermissions
- Overrides:
getPermissionsin classPlayerEntity- Mappings:
Namespace Name Mixin selector named getPermissionsLnet/minecraft/entity/player/PlayerEntity;getPermissions()Lnet/minecraft/command/permission/PermissionPredicate;intermediary method_75004Lnet/minecraft/class_1657;method_75004()Lnet/minecraft/class_12096;official ILdbe;I()Lbbt;
-
method_75411
- Mappings:
Namespace Name Mixin selector named method_75411Lnet/minecraft/client/network/ClientPlayerEntity;method_75411(Lnet/minecraft/command/permission/PermissionPredicate;)Vintermediary method_75411Lnet/minecraft/class_746;method_75411(Lnet/minecraft/class_12096;)Vofficial aLhgy;a(Lbbt;)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:
sendMessagein classPlayerEntity- Parameters:
message- the message to add- See Also:
- Mappings:
Namespace Name Mixin selector named sendMessageLnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)Vintermediary method_7353Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)Vofficial aLdbe;a(Lym;Z)V
-
pushOutOfBlocks
private void pushOutOfBlocks(double x, double z) - Mappings:
Namespace Name Mixin selector named pushOutOfBlocksLnet/minecraft/client/network/ClientPlayerEntity;pushOutOfBlocks(DD)Vintermediary method_30673Lnet/minecraft/class_746;method_30673(DD)Vofficial cLhgy;c(DD)V
-
wouldCollideAt
- Mappings:
Namespace Name Mixin selector named wouldCollideAtLnet/minecraft/client/network/ClientPlayerEntity;wouldCollideAt(Lnet/minecraft/util/math/BlockPos;)Zintermediary method_30674Lnet/minecraft/class_746;method_30674(Lnet/minecraft/class_2338;)Zofficial cLhgy;c(Liz;)Z
-
setExperience
public void setExperience(float progress, int total, int level) - Mappings:
Namespace Name Mixin selector named setExperienceLnet/minecraft/client/network/ClientPlayerEntity;setExperience(FII)Vintermediary method_3145Lnet/minecraft/class_746;method_3145(FII)Vofficial aLhgy;a(FII)V
-
method_75408
private void method_75408(float float2) - Mappings:
Namespace Name Mixin selector named method_75408Lnet/minecraft/client/network/ClientPlayerEntity;method_75408(F)Vintermediary method_75408Lnet/minecraft/class_746;method_75408(F)Vofficial LLhgy;L(F)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:
handleStatusin classPlayerEntity- See Also:
- API Note:
- To send an entity status, use
.
invalid reference
World#sendEntityStatus - Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/entity/Entity;handleStatus(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLcfg;b(B)V
-
setShowsDeathScreen
public void setShowsDeathScreen(boolean showsDeathScreen) - Mappings:
Namespace Name Mixin selector named setShowsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;setShowsDeathScreen(Z)Vintermediary method_22420Lnet/minecraft/class_746;method_22420(Z)Vofficial yLhgy;y(Z)V
-
showsDeathScreen
public boolean showsDeathScreen()- Mappings:
Namespace Name Mixin selector named showsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen()Zintermediary method_22419Lnet/minecraft/class_746;method_22419()Zofficial yLhgy;y()Z
-
setLimitedCraftingEnabled
public void setLimitedCraftingEnabled(boolean limitedCraftingEnabled) - Mappings:
Namespace Name Mixin selector named setLimitedCraftingEnabledLnet/minecraft/client/network/ClientPlayerEntity;setLimitedCraftingEnabled(Z)Vintermediary method_53848Lnet/minecraft/class_746;method_53848(Z)Vofficial zLhgy;z(Z)V
-
isLimitedCraftingEnabled
public boolean isLimitedCraftingEnabled()- Mappings:
Namespace Name Mixin selector named isLimitedCraftingEnabledLnet/minecraft/client/network/ClientPlayerEntity;isLimitedCraftingEnabled()Zintermediary method_53847Lnet/minecraft/class_746;method_53847()Zofficial ALhgy;A()Z
-
playSound
- Overrides:
playSoundin classPlayerEntity- Mappings:
Namespace Name Mixin selector named playSoundLnet/minecraft/entity/Entity;playSound(Lnet/minecraft/sound/SoundEvent;FF)Vintermediary method_5783Lnet/minecraft/class_1297;method_5783(Lnet/minecraft/class_3414;FF)Vofficial aLcfg;a(Lbde;FF)V
-
playSoundToPlayer
Playssoundto 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:
playSoundToPlayerin classPlayerEntity- Mappings:
Namespace Name Mixin selector named playSoundToPlayerLnet/minecraft/entity/player/PlayerEntity;playSoundToPlayer(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)Vintermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vofficial aLdbe;a(Lbde;Lbdg;FF)V
-
setCurrentHand
- Overrides:
setCurrentHandin classLivingEntity- Mappings:
Namespace Name Mixin selector named setCurrentHandLnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)Vintermediary method_6019Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)Vofficial cLcgh;c(Lccy;)V
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItemin classLivingEntity- Mappings:
Namespace Name Mixin selector named isUsingItemLnet/minecraft/entity/LivingEntity;isUsingItem()Zintermediary method_6115Lnet/minecraft/class_1309;method_6115()Zofficial fSLcgh;fS()Z
-
method_75409
private boolean method_75409()- Mappings:
Namespace Name Mixin selector named method_75409Lnet/minecraft/client/network/ClientPlayerEntity;method_75409()Zintermediary method_75409Lnet/minecraft/class_746;method_75409()Zofficial RLhgy;R()Z
-
method_75410
private float method_75410()- Mappings:
Namespace Name Mixin selector named method_75410Lnet/minecraft/client/network/ClientPlayerEntity;method_75410()Fintermediary method_75410Lnet/minecraft/class_746;method_75410()Fofficial SLhgy;S()F
-
clearActiveItem
public void clearActiveItem()- Overrides:
clearActiveItemin classLivingEntity- Mappings:
Namespace Name Mixin selector named clearActiveItemLnet/minecraft/entity/LivingEntity;clearActiveItem()Vintermediary method_6021Lnet/minecraft/class_1309;method_6021()Vofficial fYLcgh;fY()V
-
getActiveHand
- Overrides:
getActiveHandin classLivingEntity- Mappings:
Namespace Name Mixin selector named getActiveHandLnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;intermediary method_6058Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;official fTLcgh;fT()Lccy;
-
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:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLame;a(Lamb;)V
-
getJumpingMount
- Mappings:
Namespace Name Mixin selector named getJumpingMountLnet/minecraft/client/network/ClientPlayerEntity;getJumpingMount()Lnet/minecraft/entity/JumpingMount;intermediary method_45773Lnet/minecraft/class_746;method_45773()Lnet/minecraft/class_1316;official BLhgy;B()Lcgr;
-
getMountJumpStrength
public float getMountJumpStrength()- Mappings:
Namespace Name Mixin selector named getMountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;getMountJumpStrength()Fintermediary method_3151Lnet/minecraft/class_746;method_3151()Fofficial CLhgy;C()F
-
shouldFilterText
public boolean shouldFilterText()- Overrides:
shouldFilterTextin classPlayerEntity- Mappings:
Namespace Name Mixin selector named shouldFilterTextLnet/minecraft/entity/player/PlayerEntity;shouldFilterText()Zintermediary method_33793Lnet/minecraft/class_1657;method_33793()Zofficial ZLdbe;Z()Z
-
openEditSignScreen
- Overrides:
openEditSignScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;Z)Vintermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;Z)Vofficial aLdbe;a(Lejy;Z)V
-
openCommandBlockMinecartScreen
- Overrides:
openCommandBlockMinecartScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openCommandBlockMinecartScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;)Vintermediary method_7257Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1697;)Vofficial aLdbe;a(Lded;)V
-
openCommandBlockScreen
- Overrides:
openCommandBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openCommandBlockScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)Vintermediary method_7323Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)Vofficial aLdbe;a(Leis;)V
-
openStructureBlockScreen
- Overrides:
openStructureBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openStructureBlockScreenLnet/minecraft/entity/player/PlayerEntity;openStructureBlockScreen(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)Vintermediary method_7303Lnet/minecraft/class_1657;method_7303(Lnet/minecraft/class_2633;)Vofficial aLdbe;a(Lekd;)V
-
openTestBlockScreen
- Overrides:
openTestBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openTestBlockScreenLnet/minecraft/entity/player/PlayerEntity;openTestBlockScreen(Lnet/minecraft/block/entity/TestBlockEntity;)Vintermediary method_66695Lnet/minecraft/class_1657;method_66695(Lnet/minecraft/class_10637;)Vofficial aLdbe;a(Leke;)V
-
openTestInstanceBlockScreen
- Overrides:
openTestInstanceBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openTestInstanceBlockScreenLnet/minecraft/entity/player/PlayerEntity;openTestInstanceBlockScreen(Lnet/minecraft/block/entity/TestInstanceBlockEntity;)Vintermediary method_66696Lnet/minecraft/class_1657;method_66696(Lnet/minecraft/class_10638;)Vofficial aLdbe;a(Lekf;)V
-
openJigsawScreen
- Overrides:
openJigsawScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openJigsawScreenLnet/minecraft/entity/player/PlayerEntity;openJigsawScreen(Lnet/minecraft/block/entity/JigsawBlockEntity;)Vintermediary method_16354Lnet/minecraft/class_1657;method_16354(Lnet/minecraft/class_3751;)Vofficial aLdbe;a(Lejm;)V
-
openDialog
- Overrides:
openDialogin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openDialogLnet/minecraft/entity/player/PlayerEntity;openDialog(Lnet/minecraft/registry/entry/RegistryEntry;)Vintermediary method_71753Lnet/minecraft/class_1657;method_71753(Lnet/minecraft/class_6880;)Vofficial bLdbe;b(Ljj;)V
-
useBook
Called when the player uses (defaults to right click) a writable or written book item.This can be called either on the client or the server player. Check
bookfor whether this is a written or a writable book.- Overrides:
useBookin 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 useBookLnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Vintermediary method_7315Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Vofficial aLdbe;a(Ldji;Lccy;)V
-
addCritParticles
- Overrides:
addCritParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named addCritParticlesLnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)Vintermediary method_7277Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)Vofficial bLdbe;b(Lcfg;)V
-
addEnchantedHitParticles
- Overrides:
addEnchantedHitParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector named addEnchantedHitParticlesLnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)Vintermediary method_7304Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)Vofficial cLdbe;c(Lcfg;)V
-
isSneaking
public boolean isSneaking()Returns whether the entity is sneaking.This only returns
trueif the entity is a player and that player is pressing the Sneak key. See alsoisInSneakingPose().- Overrides:
isSneakingin classEntity- Returns:
- whether the entity is sneaking
- See Also:
- Mappings:
Namespace Name Mixin selector named isSneakingLnet/minecraft/entity/Entity;isSneaking()Zintermediary method_5715Lnet/minecraft/class_1297;method_5715()Zofficial cqLcfg;cq()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:
isInSneakingPosein classEntity- Returns:
- whether the entity is in a crouching pose
- Mappings:
Namespace Name Mixin selector named isInSneakingPoseLnet/minecraft/entity/Entity;isInSneakingPose()Zintermediary method_18276Lnet/minecraft/class_1297;method_18276()Zofficial cvLcfg;cv()Z
-
shouldSlowDown
public boolean shouldSlowDown()- Mappings:
Namespace Name Mixin selector named shouldSlowDownLnet/minecraft/client/network/ClientPlayerEntity;shouldSlowDown()Zintermediary method_20303Lnet/minecraft/class_746;method_20303()Zofficial DLhgy;D()Z
-
tickMovementInput
public void tickMovementInput()- Overrides:
tickMovementInputin classLivingEntity- Mappings:
Namespace Name Mixin selector named tickMovementInputLnet/minecraft/entity/LivingEntity;tickMovementInput()Vintermediary method_66282Lnet/minecraft/class_1309;method_66282()Vofficial fJLcgh;fJ()V
-
applyMovementSpeedFactors
- Mappings:
Namespace Name Mixin selector named applyMovementSpeedFactorsLnet/minecraft/client/network/ClientPlayerEntity;applyMovementSpeedFactors(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/util/math/Vec2f;intermediary method_67270Lnet/minecraft/class_746;method_67270(Lnet/minecraft/class_241;)Lnet/minecraft/class_241;official aLhgy;a(Lfqi;)Lfqi;
-
applyDirectionalMovementSpeedFactors
- Mappings:
Namespace Name Mixin selector named applyDirectionalMovementSpeedFactorsLnet/minecraft/client/network/ClientPlayerEntity;applyDirectionalMovementSpeedFactors(Lnet/minecraft/util/math/Vec2f;)Lnet/minecraft/util/math/Vec2f;intermediary method_67271Lnet/minecraft/class_746;method_67271(Lnet/minecraft/class_241;)Lnet/minecraft/class_241;official bLhgy;b(Lfqi;)Lfqi;
-
getDirectionalMovementSpeedMultiplier
- Mappings:
Namespace Name Mixin selector named getDirectionalMovementSpeedMultiplierLnet/minecraft/client/network/ClientPlayerEntity;getDirectionalMovementSpeedMultiplier(Lnet/minecraft/util/math/Vec2f;)Fintermediary method_67272Lnet/minecraft/class_746;method_67272(Lnet/minecraft/class_241;)Fofficial cLhgy;c(Lfqi;)F
-
isCamera
protected boolean isCamera()- Mappings:
Namespace Name Mixin selector named isCameraLnet/minecraft/client/network/ClientPlayerEntity;isCamera()Zintermediary method_3134Lnet/minecraft/class_746;method_3134()Zofficial ELhgy;E()Z
-
init
public void init()- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/network/ClientPlayerEntity;init()Vintermediary method_33689Lnet/minecraft/class_746;method_33689()Vofficial FLhgy;F()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAbstractClientPlayerEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial d_Lcgh;d_()V
-
shouldStopSprinting
private boolean shouldStopSprinting()- Mappings:
Namespace Name Mixin selector named shouldStopSprintingLnet/minecraft/client/network/ClientPlayerEntity;shouldStopSprinting()Zintermediary method_65949Lnet/minecraft/class_746;method_65949()Zofficial TLhgy;T()Z
-
shouldStopSwimSprinting
private boolean shouldStopSwimSprinting()- Mappings:
Namespace Name Mixin selector named shouldStopSwimSprintingLnet/minecraft/client/network/ClientPlayerEntity;shouldStopSwimSprinting()Zintermediary method_67472Lnet/minecraft/class_746;method_67472()Zofficial ULhgy;U()Z
-
getCurrentPortalEffect
- Mappings:
Namespace Name Mixin selector named getCurrentPortalEffectLnet/minecraft/client/network/ClientPlayerEntity;getCurrentPortalEffect()Lnet/minecraft/block/Portal$Effect;intermediary method_60886Lnet/minecraft/class_746;method_60886()Lnet/minecraft/class_9797$class_9798;official GLhgy;G()Lecx$a;
-
updatePostDeath
protected void updatePostDeath()- Overrides:
updatePostDeathin classLivingEntity- Mappings:
Namespace Name Mixin selector named updatePostDeathLnet/minecraft/entity/LivingEntity;updatePostDeath()Vintermediary method_6108Lnet/minecraft/class_1309;method_6108()Vofficial eDLcgh;eD()V
-
tickNausea
private void tickNausea(boolean fromPortalEffect) - Mappings:
Namespace Name Mixin selector named tickNauseaLnet/minecraft/client/network/ClientPlayerEntity;tickNausea(Z)Vintermediary method_60887Lnet/minecraft/class_746;method_60887(Z)Vofficial ALhgy;A(Z)V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classAbstractClientPlayerEntity- Mappings:
Namespace Name Mixin selector named tickRidingLnet/minecraft/entity/Entity;tickRiding()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vofficial tLcfg;t()V
-
isRiding
public boolean isRiding()- Mappings:
Namespace Name Mixin selector named isRidingLnet/minecraft/client/network/ClientPlayerEntity;isRiding()Zintermediary method_3144Lnet/minecraft/class_746;method_3144()Zofficial HLhgy;H()Z
-
move
- Overrides:
movein classEntity- Mappings:
Namespace Name Mixin selector named moveLnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)Vintermediary method_5784Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)Vofficial aLcfg;a(Lcgl;Lfqj;)V
-
isAutoJumpEnabled
public boolean isAutoJumpEnabled()- Mappings:
Namespace Name Mixin selector named isAutoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;isAutoJumpEnabled()Zintermediary method_3149Lnet/minecraft/class_746;method_3149()Zofficial JLhgy;J()Z
-
shouldRotateWithMinecart
public boolean shouldRotateWithMinecart()- Overrides:
shouldRotateWithMinecartin classPlayerEntity- Mappings:
Namespace Name Mixin selector named shouldRotateWithMinecartLnet/minecraft/entity/player/PlayerEntity;shouldRotateWithMinecart()Zintermediary method_61498Lnet/minecraft/class_1657;method_61498()Zofficial hmLdbe;hm()Z
-
autoJump
protected void autoJump(float dx, float dz) - Mappings:
Namespace Name Mixin selector named autoJumpLnet/minecraft/client/network/ClientPlayerEntity;autoJump(FF)Vintermediary method_3148Lnet/minecraft/class_746;method_3148(FF)Vofficial fLhgy;f(FF)V
-
hasCollidedSoftly
- Overrides:
hasCollidedSoftlyin classEntity- Mappings:
Namespace Name Mixin selector named hasCollidedSoftlyLnet/minecraft/entity/Entity;hasCollidedSoftly(Lnet/minecraft/util/math/Vec3d;)Zintermediary method_39759Lnet/minecraft/class_1297;method_39759(Lnet/minecraft/class_243;)Zofficial dLcfg;d(Lfqj;)Z
-
shouldAutoJump
private boolean shouldAutoJump()- Mappings:
Namespace Name Mixin selector named shouldAutoJumpLnet/minecraft/client/network/ClientPlayerEntity;shouldAutoJump()Zintermediary method_22119Lnet/minecraft/class_746;method_22119()Zofficial VLhgy;V()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 hasMovementInputLnet/minecraft/client/network/ClientPlayerEntity;hasMovementInput()Zintermediary method_22120Lnet/minecraft/class_746;method_22120()Zofficial WLhgy;W()Z
-
canSprint
private boolean canSprint(boolean allowTouchingWater) - Mappings:
Namespace Name Mixin selector named canSprintLnet/minecraft/client/network/ClientPlayerEntity;canSprint(Z)Zintermediary method_74047Lnet/minecraft/class_746;method_74047(Z)Zofficial BLhgy;B(Z)Z
-
canStartSprinting
private boolean canStartSprinting()- Mappings:
Namespace Name Mixin selector named canStartSprintingLnet/minecraft/client/network/ClientPlayerEntity;canStartSprinting()Zintermediary method_48300Lnet/minecraft/class_746;method_48300()Zofficial XLhgy;X()Z
-
canVehicleSprint
- Mappings:
Namespace Name Mixin selector named canVehicleSprintLnet/minecraft/client/network/ClientPlayerEntity;canVehicleSprint(Lnet/minecraft/entity/Entity;)Zintermediary method_48301Lnet/minecraft/class_746;method_48301(Lnet/minecraft/class_1297;)Zofficial dLhgy;d(Lcfg;)Z
-
canSprint
private boolean canSprint()- Mappings:
Namespace Name Mixin selector named canSprintLnet/minecraft/client/network/ClientPlayerEntity;canSprint()Zintermediary method_46743Lnet/minecraft/class_746;method_46743()Zofficial YLhgy;Y()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 getUnderwaterVisibilityLnet/minecraft/client/network/ClientPlayerEntity;getUnderwaterVisibility()Fintermediary method_3140Lnet/minecraft/class_746;method_3140()Fofficial KLhgy;K()F
-
onGameModeChanged
- Mappings:
Namespace Name Mixin selector named onGameModeChangedLnet/minecraft/client/network/ClientPlayerEntity;onGameModeChanged(Lnet/minecraft/world/GameMode;)Vintermediary method_51889Lnet/minecraft/class_746;method_51889(Lnet/minecraft/class_1934;)Vofficial aLhgy;a(Ldtn;)V
-
isSubmergedInWater
public boolean isSubmergedInWater()Returns whether this entity's hitbox is fully submerged in water.- Overrides:
isSubmergedInWaterin classEntity- Returns:
- whether this entity's hitbox is fully submerged in water
- Mappings:
Namespace Name Mixin selector named isSubmergedInWaterLnet/minecraft/entity/Entity;isSubmergedInWater()Zintermediary method_5869Lnet/minecraft/class_1297;method_5869()Zofficial byLcfg;by()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Overrides:
updateWaterSubmersionStatein classPlayerEntity- Mappings:
Namespace Name Mixin selector named updateWaterSubmersionStateLnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()Zintermediary method_7295Lnet/minecraft/class_1657;method_7295()Zofficial gwLdbe;gw()Z
-
getLeashPos
Returns the position of the leash this entity holds.This is different from
; this method is called on the entity that holds the leash.invalid reference
#getLeashOffset- Overrides:
getLeashPosin classPlayerEntity- Returns:
- the position of the leash this entity holds
- See Also:
- Mappings:
Namespace Name Mixin selector named getLeashPosLnet/minecraft/entity/Entity;getLeashPos(F)Lnet/minecraft/util/math/Vec3d;intermediary method_30951Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;official uLcfg;u(F)Lfqj;
-
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)- Implementation Note:
- This is used by the client player to trigger bundle tutorials.
- Mappings:
Namespace Name Mixin selector named onPickupSlotClickLnet/minecraft/entity/player/PlayerEntity;onPickupSlotClick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)Vintermediary method_33592Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)Vofficial aLdbe;a(Ldji;Ldji;Ldfj;)V
-
getBodyYaw
public float getBodyYaw()- Specified by:
getBodyYawin interfaceHeldItemContext- Overrides:
getBodyYawin classLivingEntity- Mappings:
Namespace Name Mixin selector named getBodyYawLnet/minecraft/util/HeldItemContext;getBodyYaw()Fintermediary method_73188Lnet/minecraft/class_11566;method_73188()Fofficial dZLcgd;dZ()F
-
dropCreativeStack
- Overrides:
dropCreativeStackin classPlayerEntity- Mappings:
Namespace Name Mixin selector named dropCreativeStackLnet/minecraft/entity/player/PlayerEntity;dropCreativeStack(Lnet/minecraft/item/ItemStack;)Vintermediary method_61499Lnet/minecraft/class_1657;method_61499(Lnet/minecraft/class_1799;)Vofficial gLdbe;g(Ldji;)V
-
canDropItems
public boolean canDropItems()- Overrides:
canDropItemsin classPlayerEntity- Mappings:
Namespace Name Mixin selector named canDropItemsLnet/minecraft/entity/player/PlayerEntity;canDropItems()Zintermediary method_64271Lnet/minecraft/class_1657;method_64271()Zofficial gILdbe;gI()Z
-
getItemDropCooldown
- Mappings:
Namespace Name Mixin selector named getItemDropCooldownLnet/minecraft/client/network/ClientPlayerEntity;getItemDropCooldown()Lnet/minecraft/util/Cooldown;intermediary method_64376Lnet/minecraft/class_746;method_64376()Lnet/minecraft/class_10222;official LLhgy;L()Lbhm;
-
getLastPlayerInput
- Mappings:
Namespace Name Mixin selector named getLastPlayerInputLnet/minecraft/client/network/ClientPlayerEntity;getLastPlayerInput()Lnet/minecraft/util/PlayerInput;intermediary method_71091Lnet/minecraft/class_746;method_71091()Lnet/minecraft/class_10185;official NLhgy;N()Ldbc;
-