Class ClientPlayerEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,EntityAttributeModifiedCallback,DataTracked,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable,ServerWaypoint,Waypoint
- Mappings:
Namespace Name named net/minecraft/client/network/ClientPlayerEntityintermediary net/minecraft/class_746official gsl
-
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.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 doubleprivate intstatic final floatprivate booleanprivate booleanprivate final Cooldownprivate booleanfloatprivate booleanprivate floatprivate PlayerInputfloatfloatprivate booleanprivate doubleprivate floatprivate doubleprivate doubleprivate booleanstatic final Loggerprivate static final doubleprivate floatfloatfinal ClientPlayNetworkHandlerprivate final ClientRecipeBookfloatfloatprivate booleanprivate booleanprivate final StatHandlerprivate final List<ClientPlayerTickable> protected intprivate intprivate intprivate intprivate booleanFields inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
clientWorld, distanceMoved, elytraPitch, elytraRoll, elytraYaw, lastDistanceMoved, lastVelocityFields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentExplosionImpactPos, currentScreenHandler, damageTiltYaw, DEFAULT_EYE_HEIGHT, DEFAULT_MAIN_ARM, enchantingTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, explodedBy, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_46175, field_47819, field_47820, field_49734, field_49735, field_55202, field_7509, fishHook, hungerManager, isSubmergedInWater, lastCapeX, lastCapeY, lastCapeZ, lastStrideDistance, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, remainingLoadTicks, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience, VEHICLE_ATTACHMENT_POSFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_SLOT_ID, 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, 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, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.attribute.EntityAttributeModifiedCallback
EMPTYFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAMEFields 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 playerInput, 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 booleanprivate booleancanVehicleSprint(Entity vehicle) voidvoidCloses the currently open handled screen.voidvoidDismounts the vehicle if present.voiddropCreativeStack(ItemStack stack) booleandropSelectedItem(boolean entireStack) floatReturns the body yaw of the entity.private 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()booleanprivate booleanisBlind()protected 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) 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) voidsetShowsDeathScreen(boolean showsDeathScreen) private booleanbooleanbooleanbooleanbooleanprivate booleanprivate booleanbooleanbooleanstartRiding(Entity entity, boolean force) 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
getFovMultiplier, getGameMode, getPlayerListEntry, getSkinTextures, lerpVelocityMethods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addExperience, addExperienceLevels, addScore, addShoulderEntity, 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, getBaseDimensions, getBlockBreakingSpeed, getBlockInteractionRange, getBurningDuration, getDamageAgainst, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDisplayName, getEnchantingTableSeed, getEnderChestInventory, getEntityInteractionRange, getExperienceToDrop, getFallSounds, getGameProfile, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLuck, getMainArm, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPoses, getProjectileType, getScore, getScoreboard, getSculkShriekerWarningManager, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getSwimSound, getVelocityMultiplier, getWeaponStack, giveItemStack, handleFallDamage, hasPermissionLevel, hasReducedDebugInfo, increaseStat, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isClimbing, isControlledByMainPlayer, isControlledByPlayer, isCreative, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isInvulnerableTo, isLoaded, isPartVisible, isPlayer, isPushedByFluids, isSpectator, isSwimming, isUsingSpyglass, lockRecipes, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDeath, onHandledScreenClosed, onKilledOther, onRecipeCrafted, onSwimmingStart, openHandledScreen, openHorseInventory, playStepSound, readCustomDataFromNbt, remove, resetLastAttackedTicks, resetStat, sendTradeOffers, setAbsorptionAmountUnclamped, setFireTicks, setIgnoreFallDamageFromCurrentExplosion, setLastDeathPos, setLoaded, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, 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, writeCustomDataToNbtMethods 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, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, 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, 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, getSlotForHand, 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, onAttributeModified, 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, 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, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, checkDespawn, clientDamage, collidesWith, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, 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, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, 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, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, igniteByLava, interact, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaky, isSprinting, isSubmergedIn, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, method_70980, method_70982, method_70983, method_70984, method_70985, method_70986, method_70987, method_70988, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onDataTrackerUpdate, onExplodedBy, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, 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, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldTickBlockCollision, sidedDamage, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbtMethods 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.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 hLgsl;h: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 czLgsl;cz: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 cALgsl;cA: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 cBLgsl;cB: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 cCLgsl;cC: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 cDLgsl;cD: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 cELgsl;cE: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 iLgsl;i: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 jLgsl;j:Lgno;
-
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 cFLgsl;cF:Laxp;
-
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 cGLgsl;cG:Lfqt;
-
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 cHLgsl;cH:Lbbh;
-
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 cILgsl;cI: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 cJLgsl;cJ: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 cKLgsl;cK: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 cLLgsl;cL: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 cMLgsl;cM: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 cNLgsl;cN: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 cOLgsl;cO: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 cPLgsl;cP: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 cQLgsl;cQ: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 cRLgsl;cR: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 cSLgsl;cS: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 cTLgsl;cT: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 cULgsl;cU: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 kLgsl;k:Lgsj;
-
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 cVLgsl;cV:Lcss;
-
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 cqLgsl;cq:Lfri;
-
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 crLgsl;cr: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 csLgsl;cs: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 ctLgsl;ct: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 cuLgsl;cu: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 cvLgsl;cv: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 cwLgsl;cw:F
-
field_3938
private int field_3938- Mappings:
Namespace Name Mixin selector named field_3938Lnet/minecraft/client/network/ClientPlayerEntity;field_3938:Iintermediary field_3938Lnet/minecraft/class_746;field_3938:Iofficial cWLgsl;cW: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 cXLgsl;cX: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 cxLgsl;cx: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 cyLgsl;cy: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 cYLgsl;cY: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 cZLgsl;cZ:Lbvk;
-
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 daLgsl;da: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 dbLgsl;db: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 dcLgsl;dc: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 ddLgsl;dd: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 deLgsl;de: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 dfLgsl;df: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 dgLgsl;dg:Z
-
-
Constructor Details
-
ClientPlayerEntity
public ClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, PlayerInput playerInput, 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>Lgsl;<init>(Lfri;Lgnn;Lgno;Laxp;Lfqt;Lcss;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 dLbyn;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;Z)Zintermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Zofficial aLbxn;a(Lbxn;Z)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 abLbxn;ab()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 jLbxn;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 gLbxn;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 dLgsl;d()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 ILgsl;I()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 JLgsl;J()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 aLgsl;a(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 aLbyn;a(Lbvk;)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 gpLcsu;gp()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 pLcsu;p()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 eLgsl;e()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 ILgsl;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 xLcsu;x()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 gqLcsu;gq()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 fPLbyn;fP()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 bwLbxn;bw()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 hLgsl;h()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 kLgsl;k()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 lLgsl;l()Laxp;
-
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 mLgsl;m()Lfqt;
-
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 aLgsl;a(Ldgv;)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 GLcsu;G()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 aLgsl;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 aLcsu;a(Lxi;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 cLgsl;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 cLgsl;c(Liy;)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 aLgsl;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 bLbxn;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 bLgsl;b(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 nLgsl;n()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 yLgsl;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 tLgsl;t()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 aLbxn;a(Laxd;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 aLcsu;a(Laxd;Laxf;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 cLbyn;c(Lbvk;)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 fGLbyn;fG()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 fMLbyn;fM()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 fHLbyn;fH()Lbvk;
-
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 aLala;a(Lakx;)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 uLgsl;u()Lbyx;
-
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 vLgsl;v()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 XLcsu;X()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 aLcsu;a(Leao;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 aLcsu;a(Ldju;)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 aLcsu;a(Ldzl;)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 aLcsu;a(Leat;)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 aLcsu;a(Leau;)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 aLcsu;a(Leav;)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 aLcsu;a(Leae;)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 aLcsu;a(Ldaw;Lbvk;)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 bLcsu;b(Lbxn;)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 cLcsu;c(Lbxn;)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 cfLbxn;cf()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 ckLbxn;ck()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 yLgsl;y()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 fwLbyn;fw()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 aLgsl;a(Lfgn;)Lfgn;
-
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 bLgsl;b(Lfgn;)Lfgn;
-
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 cLgsl;c(Lfgn;)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 zLgsl;z()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 ALgsl;A()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classPlayerEntity- Mappings:
Namespace Name Mixin selector named tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial d_Lbyn;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 LLgsl;L()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 NLgsl;N()Z
-
isBlind
private boolean isBlind()- Mappings:
Namespace Name Mixin selector named isBlindLnet/minecraft/client/network/ClientPlayerEntity;isBlind()Zintermediary method_65525Lnet/minecraft/class_746;method_65525()Zofficial OLgsl;O()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 BLgsl;B()Ldua$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 esLbyn;es()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 zLgsl;z(Z)V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classPlayerEntity- Mappings:
Namespace Name Mixin selector named tickRidingLnet/minecraft/entity/Entity;tickRiding()Vintermediary method_5842Lnet/minecraft/class_1297;method_5842()Vofficial rLbxn;r()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 CLgsl;C()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 aLbxn;a(Lbyr;Lfgo;)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 DLgsl;D()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 haLcsu;ha()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 fLgsl;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 dLbxn;d(Lfgo;)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 PLgsl;P()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 QLgsl;Q()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 RLgsl;R()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 dLgsl;d(Lbxn;)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 SLgsl;S()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 ELgsl;E()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 aLgsl;a(Ldks;)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 boLbxn;bo()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 gkLcsu;gk()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 uLbxn;u(F)Lfgo;
-
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 aLcsu;a(Ldaw;Ldaw;Lcwx;)V
-
getBodyYaw
public float getBodyYaw()Returns the body yaw of the entity.- Overrides:
getBodyYawin classLivingEntity- Returns:
- the body yaw of the entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getBodyYawLnet/minecraft/entity/Entity;getBodyYaw()Fintermediary method_43078Lnet/minecraft/class_1297;method_43078()Fofficial dQLbxn;dQ()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 gLcsu;g(Ldaw;)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 gwLcsu;gw()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 FLgsl;F()Lbbh;
-
method_71091
- Mappings:
Namespace Name Mixin selector named method_71091Lnet/minecraft/client/network/ClientPlayerEntity;method_71091()Lnet/minecraft/util/PlayerInput;intermediary method_71091Lnet/minecraft/class_746;method_71091()Lnet/minecraft/class_10185;official HLgsl;H()Lcss;
-