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 hep
-
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 MinecraftClientprivate intintprivate booleanprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final doublestatic final floatprivate 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, defaultMaxHealth, 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, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, 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.floatintfloatgetPitch(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.booleanvoidmove(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.voidopenCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor) voidopenCommandBlockScreen(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 voidvoidsetClientPermissionLevel(int clientPermissionLevel) voidsetCurrentHand(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, 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, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLeftShoulderParrotVariant, getLuck, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPlayerConfigEntry, getPoses, getProjectileType, getRightShoulderParrotVariant, getScore, getSculkShriekerWarningManager, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getStringifiedName, getSwimSound, getVelocityMultiplier, getWeaponStack, giveItemStack, handleFallDamage, handleShoulderEntities, hasBlindnessEffect, hasPermissionLevel, hasReducedDebugInfo, increaseStat, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isClimbing, isControlledByMainPlayer, isControlledByPlayer, isCreative, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isInvulnerableTo, isLoaded, isPlayer, isPushedByFluids, isSpectator, isSwimming, isUsingSpyglass, isViewingContainerAt, lockRecipes, mapParrotVariant, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDeath, onHandledScreenClosed, onKilledOther, onRecipeCrafted, onSwimmingStart, openHandledScreen, openHorseInventory, playStepSound, readCustomData, readParrotVariant, remove, resetLastAttackedTicks, resetStat, sendTradeOffers, setAbsorptionAmountUnclamped, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setLeftShoulderParrotVariant, setLoaded, setRightShoulderParrotVariant, setScore, shouldAlwaysDropExperience, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDamagePlayer, shouldDismount, shouldIgnoreFallDamageFromCurrentExplosion, shouldRenderName, shouldSave, shouldSkipBlockDrops, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, 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, 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, getSoundPitch, 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, isInsideWall, isInSwimmingPose, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, 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, 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, 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 aLhep;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 cCLhep;cC: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 cDLhep;cD: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 cELhep;cE: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 cFLhep;cF: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 cGLhep;cG: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 cHLhep;cH: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 bLhep;b:F
-
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 cLhep;c:Lgzo;
-
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 cILhep;cI:Lbcp;
-
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 cJLhep;cJ:Lfzk;
-
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 cKLhep;cK:Lbgk;
-
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 cLLhep;cL:Ljava/util/List;
-
clientPermissionLevel
private int clientPermissionLevel- Mappings:
Namespace Name Mixin selector named clientPermissionLevelLnet/minecraft/client/network/ClientPlayerEntity;clientPermissionLevel:Iintermediary field_3912Lnet/minecraft/class_746;field_3912:Iofficial cMLhep;cM:I
-
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 cNLhep;cN: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 cOLhep;cO: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 cPLhep;cP: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 cSLhep;cS: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 cTLhep;cT: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 cULhep;cU: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 cVLhep;cV: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 cWLhep;cW: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 cXLhep;cX: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 cYLhep;cY: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 cZLhep;cZ: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 dLhep;d:Lhen;
-
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 daLhep;da:Lczj;
-
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 eLhep;e:Lfzz;
-
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 fLhep;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 gLhep;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 hLhep;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 iLhep;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 jLhep;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 kLhep;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 dbLhep;db: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 dcLhep;dc: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 cALhep;cA: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 cBLhep;cB: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 ddLhep;dd: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 deLhep;de:Lcbp;
-
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 dfLhep;df: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 dgLhep;dg: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 dhLhep;dh: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 diLhep;di: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 djLhep;dj: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 dkLhep;dk: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 dlLhep;dl: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>Lhep;<init>(Lfzz;Lgzn;Lgzo;Lbcp;Lfzk;Lczj;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 dLcew;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 aLcdv;a(Lcdv;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 adLcdv;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 jLcdv;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 gLcdv;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 nLhep;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 PLhep;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 QLhep;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 bLhep;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 aLcew;a(Lcbp;)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 gxLczl;gx()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 rLczl;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 oLhep;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 ILhep;I(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 zLczl;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 vLczl;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 gyLczl;gy()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 fXLcew;fX()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 bHLcdv;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 pLhep;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 vLhep;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 wLhep;w()Lbcp;
-
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 xLhep;x()Lfzk;
-
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 aLhep;a(Ldnq;)V
-
getPermissionLevel
public int getPermissionLevel()- Overrides:
getPermissionLevelin classPlayerEntity- Mappings:
Namespace Name Mixin selector named getPermissionLevelLnet/minecraft/entity/player/PlayerEntity;getPermissionLevel()Iintermediary method_5691Lnet/minecraft/class_1657;method_5691()Iofficial ILczl;I()I
-
setClientPermissionLevel
public void setClientPermissionLevel(int clientPermissionLevel) - Mappings:
Namespace Name Mixin selector named setClientPermissionLevelLnet/minecraft/client/network/ClientPlayerEntity;setClientPermissionLevel(I)Vintermediary method_3147Lnet/minecraft/class_746;method_3147(I)Vofficial aLhep;a(I)V
-
sendMessage
Adds a message to this player's HUD.If it's called on
ServerPlayerEntity, it sends a message to the client corresponding to this player so that the client can add a message to their HUD. If it's called onClientPlayerEntity, it just adds a message to their HUD.- Overrides:
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 aLczl;a(Lxx;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 cLhep;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 cLhep;c(Lja;)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 aLhep;a(FII)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
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 bLcdv;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 yLhep;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 yLhep;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 zLhep;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 ALhep;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 aLcdv;a(Lbcd;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 aLczl;a(Lbcd;Lbcf;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 cLcew;c(Lcbp;)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 fOLcew;fO()Z
-
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 fULcew;fU()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 fPLcew;fP()Lcbp;
-
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 aLalp;a(Lalm;)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 BLhep;B()Lcfg;
-
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 CLhep;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 ZLczl;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 aLczl;a(Lehx;Z)V
-
openCommandBlockMinecartScreen
- Overrides:
openCommandBlockMinecartScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector named openCommandBlockMinecartScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/world/CommandBlockExecutor;)Vintermediary method_7257Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1918;)Vofficial aLczl;a(Ldqp;)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 aLczl;a(Legr;)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 aLczl;a(Leic;)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 aLczl;a(Leid;)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 aLczl;a(Leie;)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 aLczl;a(Lehl;)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 bLczl;b(Ljk;)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 aLczl;a(Ldhp;Lcbp;)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 bLczl;b(Lcdv;)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 cLczl;c(Lcdv;)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 cpLcdv;cp()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 cuLcdv;cu()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 DLhep;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 fFLcew;fF()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 aLhep;a(Lfog;)Lfog;
-
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 bLhep;b(Lfog;)Lfog;
-
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 cLhep;c(Lfog;)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 ELhep;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 FLhep;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 e_Lcew;e_()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 RLhep;R()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 SLhep;S()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 GLhep;G()Leaw$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 eCLcew;eC()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 ALhep;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 tLcdv;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 HLhep;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 aLcdv;a(Lcfa;Lfoh;)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 JLhep;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 hiLczl;hi()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 fLhep;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 dLcdv;d(Lfoh;)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 TLhep;T()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 ULhep;U()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 BLhep;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 VLhep;V()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 dLhep;d(Lcdv;)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 WLhep;W()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 KLhep;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 aLhep;a(Ldrn;)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 byLcdv;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 gsLczl;gs()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 uLcdv;u(F)Lfoh;
-
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 aLczl;a(Ldhp;Ldhp;Lddq;)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 dYLces;dY()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 gLczl;g(Ldhp;)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 gFLczl;gF()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 LLhep;L()Lbgk;
-
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 NLhep;N()Lczj;
-