Class ClientPlayerEntity
- All Implemented Interfaces:
ClientPlayerLikeEntity,ComponentsAccess,Attackable,ContainerUser,DataTracked,StackReferenceGetter,ScoreHolder,HeldItemContext,Nameable,DebugTrackable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/client/network/ClientPlayerEntityintermediary net/minecraft/class_746official hnh
-
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 Handprivate booleanprotected final MinecraftClientintprivate booleanprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final doubleprivate 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 PermissionPredicateprivate 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, fishHook, HELD_ITEM_SLOT_OFFSET, hungerManager, isSubmergedInWater, MAX_HEALTH, playerScreenHandler, 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 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) private floatfloatprivate static float@Nullable JumpingMountgetLeashPos(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()booleanprivate 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.booleanmethod_76762(float float2, Entity entity) private static HitResultmethod_76763(Entity entity, double double2, double double3, float float2) private static HitResultmethod_76764(HitResult hitResult, Vec3d vec3d, double double2) 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) voidsetPermissions(PermissionPredicate permissions) 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) voidprivate 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, canAttackEntityIn, canBeHitByProjectile, canChangeIntoPose, canConsume, canFoodHeal, canGlide, canHarvest, canInteractWithBlockAt, canInteractWithEntity, canInteractWithEntityIn, canModifyBlocks, canMoveVoluntarily, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canSprintOrFly, 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, isInCurrentExplosionResetGraceTime, isInvulnerableTo, isPlayer, isPushedByFluids, isSpectator, isSwimming, isUsingSpyglass, isViewingContainerAt, knockbackTarget, lockRecipes, mapParrotVariant, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDeath, onHandledScreenClosed, onKilledOther, onRecipeCrafted, onSwimmingStart, openHandledScreen, openHorseInventory, openNautilusInventory, pierce, playStepSound, readCustomData, readParrotVariant, remove, resetStat, resetTicksSince, resetTicksSinceLastAttack, sendTradeOffers, setAbsorptionAmountUnclamped, setCurrentExplosionResetGraceTime, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setLeftShoulderParrotVariant, setRightShoulderParrotVariant, setScore, shouldAlwaysDropExperience, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDamagePlayer, shouldDismount, shouldIgnoreFallDamageFromCurrentExplosion, shouldRenderName, shouldSave, shouldSkipBlockDrops, shouldSwimInFluids, slowMovement, startGliding, takeShieldHit, tickHunger, travel, tryClearCurrentExplosion, trySleep, unlockRecipes, unlockRecipes, updatePose, updateSwimming, useAttackEnchantmentEffects, 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, beforePacketsSent, 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, getActiveOrMainHandStack, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttackRange, 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, getPiercedEntityCount, getPlayerHitTimer, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundVolume, getStackInArm, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getTimeSinceLastKineticAttack, 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, isTravellingInFluid, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, 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, travelInWater, 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, getKineticAttackMovement, 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, tickLastPos, 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
getStyledDisplayNameMethods inherited from interface net.minecraft.inventory.StackReferenceGetter
getStackReferences
-
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 aLhnh;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 cBLhnh;cB: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 cCLhnh;cC: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 cDLhnh;cD: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 cELhnh;cE: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 cFLhnh;cF: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 cGLhnh;cG:D
-
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 daLhnh;da: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 dbLhnh;db: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 bLhnh;b:Lhig;
-
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 cHLhnh;cH:Lbdl;
-
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 cILhnh;cI:Lgeu;
-
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 cJLhnh;cJ:Lbhl;
-
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 cKLhnh;cK:Ljava/util/List;
-
permissions
- Mappings:
Namespace Name Mixin selector named permissionsLnet/minecraft/client/network/ClientPlayerEntity;permissions:Lnet/minecraft/command/permission/PermissionPredicate;intermediary field_63569Lnet/minecraft/class_746;field_63569:Lnet/minecraft/class_12096;official cLLhnh;cL:Lbbn;
-
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 cMLhnh;cM: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 cNLhnh;cN: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 cOLhnh;cO: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 cPLhnh;cP: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 cQLhnh;cQ: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 cRLhnh;cR: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 cULhnh;cU: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 cVLhnh;cV: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 cWLhnh;cW: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 cXLhnh;cX: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 cYLhnh;cY: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 cLhnh;c:Lhnf;
-
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 cZLhnh;cZ:Lddk;
-
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 dLhnh;d:Lgfj;
-
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 eLhnh;e: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 fLhnh;f: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 gLhnh;g: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 hLhnh;h: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 iLhnh;i: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 jLhnh;j: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 dcLhnh;dc: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 ddLhnh;dd: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 kLhnh;k: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 cALhnh;cA: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 deLhnh;de: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 dfLhnh;df:Lcdb;
-
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 dgLhnh;dg: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 dhLhnh;dh: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 diLhnh;di: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 djLhnh;dj: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 dkLhnh;dk: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 dlLhnh;dl: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 dmLhnh;dm: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>Lhnh;<init>(Lgfj;Lhif;Lhig;Lbdl;Lgeu;Lddk;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 dLchl;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 aLcgk;a(Lcgk;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 adLcgk;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 jLcgk;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 gLcgk;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 nLhnh;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 QLhnh;Q()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 RLhnh;R()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 bLhnh;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 aLchl;a(Lcdb;)V
-
requestRespawn
public void requestRespawn()- Mappings:
Namespace Name Mixin selector named requestRespawnLnet/minecraft/client/network/ClientPlayerEntity;requestRespawn()Vintermediary method_7331Lnet/minecraft/class_746;method_7331()Vofficial oLhnh;o()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 rLddm;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 pLhnh;p()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 LLhnh;L(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 zLddm;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 vLddm;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 gGLddm;gG()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 ghLchl;gh()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 bKLcgk;bK()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 vLhnh;v()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 wLhnh;w()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 xLhnh;x()Lbdl;
-
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 yLhnh;y()Lgeu;
-
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 aLhnh;a(Ldsa;)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 ILddm;I()Lbbn;
-
setPermissions
- Mappings:
Namespace Name Mixin selector named setPermissionsLnet/minecraft/client/network/ClientPlayerEntity;setPermissions(Lnet/minecraft/command/permission/PermissionPredicate;)Vintermediary method_75411Lnet/minecraft/class_746;method_75411(Lnet/minecraft/class_12096;)Vofficial aLhnh;a(Lbbn;)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 aLddm;a(Lyh;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 cLhnh;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 cLhnh;c(Lis;)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 aLhnh;a(FII)V
-
updateExperienceBarDisplayStartTime
private void updateExperienceBarDisplayStartTime()- Mappings:
Namespace Name Mixin selector named updateExperienceBarDisplayStartTimeLnet/minecraft/client/network/ClientPlayerEntity;updateExperienceBarDisplayStartTime()Vintermediary method_75408Lnet/minecraft/class_746;method_75408()Vofficial SLhnh;S()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 bLcgk;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 xLhnh;x(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 ALhnh;A()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 yLhnh;y(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 BLhnh;B()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 aLcgk;a(Lbcz;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 aLddm;a(Lbcz;Lbdb;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 cLchl;c(Lcdb;)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 fYLchl;fY()Z
-
isBlockedFromSprinting
private boolean isBlockedFromSprinting()- Mappings:
Namespace Name Mixin selector named isBlockedFromSprintingLnet/minecraft/client/network/ClientPlayerEntity;isBlockedFromSprinting()Zintermediary method_75409Lnet/minecraft/class_746;method_75409()Zofficial TLhnh;T()Z
-
getActiveItemSpeedMultiplier
private float getActiveItemSpeedMultiplier()- Mappings:
Namespace Name Mixin selector named getActiveItemSpeedMultiplierLnet/minecraft/client/network/ClientPlayerEntity;getActiveItemSpeedMultiplier()Fintermediary method_75410Lnet/minecraft/class_746;method_75410()Fofficial ULhnh;U()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 geLchl;ge()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 fZLchl;fZ()Lcdb;
-
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 aLalz;a(Lalw;)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 CLhnh;C()Lchv;
-
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 DLhnh;D()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 ZLddm;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 aLddm;a(Lems;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 aLddm;a(Ldgn;)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 aLddm;a(Lelm;)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 aLddm;a(Lemx;)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 aLddm;a(Lemy;)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 aLddm;a(Lemz;)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 aLddm;a(Lemg;)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 bLddm;b(Ljd;)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 aLddm;a(Ldlt;Lcdb;)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 bLddm;b(Lcgk;)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 cLddm;c(Lcgk;)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 ctLcgk;ct()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 cyLcgk;cy()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 ELhnh;E()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 fPLchl;fP()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 aLhnh;a(Lftl;)Lftl;
-
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 bLhnh;b(Lftl;)Lftl;
-
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 cLhnh;c(Lftl;)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 FLhnh;F()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 GLhnh;G()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_Lchl;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 VLhnh;V()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 WLhnh;W()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 HLhnh;H()Lefr$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 eGLchl;eG()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 zLhnh;z(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 tLcgk;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 JLhnh;J()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 aLcgk;a(Lchp;Lftm;)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 KLhnh;K()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 hrLddm;hr()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 fLhnh;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 dLcgk;d(Lftm;)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 XLhnh;X()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 YLhnh;Y()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 ALhnh;A(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 aaLhnh;aa()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 dLhnh;d(Lcgk;)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 LLhnh;L()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 aLhnh;a(Ldwl;)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 bBLcgk;bB()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 gCLddm;gC()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 uLcgk;u(F)Lftm;
-
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 aLddm;a(Ldlt;Ldlt;Ldht;)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 ecLchh;ec()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 gLddm;g(Ldlt;)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 gNLddm;gN()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 NLhnh;N()Lbhl;
-
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 PLhnh;P()Lddk;
-
method_76762
- Mappings:
Namespace Name Mixin selector named method_76762Lnet/minecraft/client/network/ClientPlayerEntity;method_76762(FLnet/minecraft/entity/Entity;)Lnet/minecraft/util/hit/HitResult;intermediary method_76762Lnet/minecraft/class_746;method_76762(FLnet/minecraft/class_1297;)Lnet/minecraft/class_239;official aLhnh;a(FLcgk;)Lftk;
-
method_76763
- Mappings:
Namespace Name Mixin selector named method_76763Lnet/minecraft/client/network/ClientPlayerEntity;method_76763(Lnet/minecraft/entity/Entity;DDF)Lnet/minecraft/util/hit/HitResult;intermediary method_76763Lnet/minecraft/class_746;method_76763(Lnet/minecraft/class_1297;DDF)Lnet/minecraft/class_239;official aLhnh;a(Lcgk;DDF)Lftk;
-
method_76764
- Mappings:
Namespace Name Mixin selector named method_76764Lnet/minecraft/client/network/ClientPlayerEntity;method_76764(Lnet/minecraft/util/hit/HitResult;Lnet/minecraft/util/math/Vec3d;D)Lnet/minecraft/util/hit/HitResult;intermediary method_76764Lnet/minecraft/class_746;method_76764(Lnet/minecraft/class_239;Lnet/minecraft/class_243;D)Lnet/minecraft/class_239;official aLhnh;a(Lftk;Lftm;D)Lftk;
-