Class ClientPlayerEntity
- All Implemented Interfaces:
Attackable,DataTracked,ScoreHolder,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name named net/minecraft/client/network/ClientPlayerEntityintermediary net/minecraft/class_746official gcr
-
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.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprotected final MinecraftClientprivate intprivate booleanprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final doubleprivate static final floatprivate intprivate booleanprivate booleanprivate doubleprivate booleanprivate floatfloatfloatprivate booleanprivate booleanprivate doubleprivate floatprivate doubleprivate booleanstatic final Loggerprivate static final doubleprivate floatfloatfinal ClientPlayNetworkHandlerfloatprivate final ClientRecipeBookfloatfloatprivate booleanprivate booleanprivate final StatHandlerprivate final List<ClientPlayerTickable> protected intprivate intprivate intprivate intprivate booleanFields inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
clientWorld, elytraPitch, elytraRoll, elytraYaw, lastVelocityFields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentExplosionImpactPos, currentScreenHandler, damageTiltYaw, DEFAULT_EYE_HEIGHT, DEFAULT_MAIN_ARM, enchantmentTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, explodedBy, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_46175, field_47819, field_47820, field_49734, field_49735, field_7509, fishHook, hungerManager, ignoreFallDamageFromCurrentExplosion, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience, VEHICLE_ATTACHMENT_POSFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, fallFlyingTicks, field_30063, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, 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, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCritParticles(Entity target) voidaddEnchantedHitParticles(Entity target) protected voidapplyDamage(DamageSource source, float amount) protected voidautoJump(float dx, float dz) booleanprivate booleanprivate booleanprivate booleancanVehicleSprint(Entity vehicle) voidvoidCloses the currently open handled screen.voidbooleandamage(DamageSource source, float amount) Applies a damage to this entity.voidDismounts the vehicle if present.booleandropSelectedItem(boolean entireStack) floatReturns the body yaw of the entity.getLeashPos(float delta) Returns the position of the leash this entity holds.floatReturns the percentage for the biome mood sound for the debug HUD to display.floatprotected intReturns the permission level of this entity.floatgetPitch(float tickDelta) floatReturns the color multiplier of vision in water.floatgetYaw(float tickDelta) voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected booleanhasCollidedSoftly(Vec3d adjustedMovement) private booleanReturns whether the player has movement input.voidheal(float amount) Heals this entity by the givenamountof half-hearts.voidinit()booleanprotected booleanisCamera()booleanbooleanReturns whether the entity is in a crouching pose.booleanbooleanbooleanisRiding()booleanReturns whether the entity is sneaking.booleanReturns whether this entity's hitbox is fully submerged in water.booleanprivate booleanvoidmove(MovementType movementType, Vec3d movement) voidonGameModeChanged(GameMode gameMode) voidonPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler.voidonRecipeDisplayed(RecipeEntry<?> recipe) voidonTrackedDataSet(TrackedData<?> data) voidopenCommandBlockMinecartScreen(CommandBlockExecutor commandBlockExecutor) voidopenCommandBlockScreen(CommandBlockBlockEntity commandBlock) voidopenEditSignScreen(SignBlockEntity sign, boolean front) voidopenJigsawScreen(JigsawBlockEntity jigsaw) voidvoidopenStructureBlockScreen(StructureBlockBlockEntity structureBlock) 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) Removes a status effect from this entity without calling any listener.voidvoidvoidsendMessage(Text message) Sends a system message.voidsendMessage(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 booleanbooleanbooleanbooleanbooleanbooleanbooleanstartRiding(Entity entity, boolean force) Starts ridingentity.protected voidvoidvoidtick()Ticks this entity.voidvoidvoidvoidupdateHealth(float health) private voidprotected 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, getPlayerListEntry, getSkinTextures, isCreative, isSpectator, lerpVelocityMethods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addExperience, addExperienceLevels, addScore, addShoulderEntity, adjustMovementForSneaking, animateDamage, applyEnchantmentCosts, attack, attackLivingEntity, canBeHitByProjectile, canChangeIntoPose, canConsume, canEquip, canFoodHeal, canHarvest, canInteractWithBlockAt, canInteractWithEntity, canInteractWithEntityIn, canModifyBlocks, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canTakeDamage, canUseSlot, checkFallFlying, clearCurrentExplosion, clipAtLedge, createCooldownManager, createPlayerAttributes, damageArmor, damageHelmet, damageShield, disableShield, doesNotSuffocate, dropInventory, dropItem, dropItem, dropShoulderEntities, eatFood, equipStack, findRespawnPosition, getAbilities, getAbsorptionAmount, getArmorItems, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBaseDimensions, getBlockBreakingSpeed, getBlockInteractionRange, getBurningDuration, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDisplayName, getEnchantmentTableSeed, getEnderChestInventory, getEntityInteractionRange, getEquippedStack, getFallSounds, getGameProfile, getHandItems, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLuck, getMainArm, getMaxNetherPortalTime, getMaxRelativeHeadRotation, getMoveEffect, getMovementSpeed, getName, getNameForScoreboard, getNextLevelExperience, getOffGroundSpeed, getPoses, getProjectileType, getScore, getScoreboard, getSculkShriekerWarningManager, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getSwimSound, getVelocityMultiplier, getXpToDrop, giveItemStack, handleFallDamage, hasReducedDebugInfo, increaseStat, increaseStat, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isCreativeLevelTwoOp, isImmobile, isInCreativeMode, isInvulnerableTo, isOnSoulSpeedBlock, isPartVisible, isPlayer, isPushedByFluids, isSwimming, isUsingSpyglass, jump, lockRecipes, onDeath, onHandledScreenClosed, onKilledOther, onRecipeCrafted, onSwimmingStart, openHandledScreen, openHorseInventory, playStepSound, readCustomDataFromNbt, remove, resetLastAttackedTicks, resetStat, sendTradeOffers, setAbsorptionAmountUnclamped, setFireTicks, setLastDeathPos, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDamagePlayer, shouldDismount, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSave, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startFallFlying, stopFallFlying, takeShieldHit, travel, trySleep, unlockRecipes, unlockRecipes, updatePose, updateSwimming, useRiptide, vanishCursedItems, wakeUp, wakeUp, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, applyArmorToDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, baseTick, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTarget, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageEquipment, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, endCombat, enterCombat, fall, getActiveItem, getActiveStatusEffects, getAllArmorItems, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEquippedItems, getFallFlyingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLootTable, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPassengerRidingPos, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, hasInvertedHealingAndHarm, hasNoDrag, hasStackEquipped, hasStatusEffect, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isTarget, isUsingRiptide, kill, knockback, knockDownwards, lerpHeadYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldDropLoot, shouldDropXp, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, takeKnockback, teleport, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updateLimbs, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, applyDamageEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerNearestTo, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPlayerPassengers, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaky, isSprinting, isSubmergedIn, isSupportedBy, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSetPositionOnLoad, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods 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 gLgcr;g: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 cJLgcr;cJ: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 cKLgcr;cK: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 cLLgcr;cL: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 cMLgcr;cM: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 cNLgcr;cN: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 cOLgcr;cO:D
-
field_38337
private static final float field_38337- See Also:
- Mappings:
Namespace Name Mixin selector named field_38337Lnet/minecraft/client/network/ClientPlayerEntity;field_38337:Fintermediary field_38337Lnet/minecraft/class_746;field_38337:Fofficial cPLgcr;cP: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 czLgcr;cz:Lfxx;
-
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 cQLgcr;cQ:Lawl;
-
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 cRLgcr;cR:Lfet;
-
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 cSLgcr;cS: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 cTLgcr;cT:I
-
lastX
private double lastX- Mappings:
Namespace Name Mixin selector named lastXLnet/minecraft/client/network/ClientPlayerEntity;lastX:Dintermediary field_3926Lnet/minecraft/class_746;field_3926:Dofficial cULgcr;cU:D
-
lastBaseY
private double lastBaseY- Mappings:
Namespace Name Mixin selector named lastBaseYLnet/minecraft/client/network/ClientPlayerEntity;lastBaseY:Dintermediary field_3940Lnet/minecraft/class_746;field_3940:Dofficial cVLgcr;cV:D
-
lastZ
private double lastZ- Mappings:
Namespace Name Mixin selector named lastZLnet/minecraft/client/network/ClientPlayerEntity;lastZ:Dintermediary field_3924Lnet/minecraft/class_746;field_3924:Dofficial cWLgcr;cW:D
-
lastYaw
private float lastYaw- Mappings:
Namespace Name Mixin selector named lastYawLnet/minecraft/client/network/ClientPlayerEntity;lastYaw:Fintermediary field_3941Lnet/minecraft/class_746;field_3941:Fofficial cXLgcr;cX:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector named lastPitchLnet/minecraft/client/network/ClientPlayerEntity;lastPitch:Fintermediary field_3925Lnet/minecraft/class_746;field_3925:Fofficial cYLgcr;cY: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 cZLgcr;cZ: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 daLgcr;da:Z
-
lastSneaking
private boolean lastSneaking- Mappings:
Namespace Name Mixin selector named lastSneakingLnet/minecraft/client/network/ClientPlayerEntity;lastSneaking:Zintermediary field_3936Lnet/minecraft/class_746;field_3936:Zofficial dbLgcr;db: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 dcLgcr;dc: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 ddLgcr;dd: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 deLgcr;de: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 cALgcr;cA:Lgcp;
-
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 cBLgcr;cB:Lffg;
-
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 cCLgcr;cC: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 cDLgcr;cD: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 cELgcr;cE: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 cFLgcr;cF: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 cGLgcr;cG: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 dfLgcr;df:I
-
mountJumpStrength
private float mountJumpStrength- Mappings:
Namespace Name Mixin selector named mountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;mountJumpStrength:Fintermediary field_3922Lnet/minecraft/class_746;field_3922:Fofficial dgLgcr;dg:F
-
nauseaIntensity
public float nauseaIntensity- Mappings:
Namespace Name Mixin selector named nauseaIntensityLnet/minecraft/client/network/ClientPlayerEntity;nauseaIntensity:Fintermediary field_44911Lnet/minecraft/class_746;field_44911:Fofficial cHLgcr;cH:F
-
prevNauseaIntensity
public float prevNauseaIntensity- Mappings:
Namespace Name Mixin selector named prevNauseaIntensityLnet/minecraft/client/network/ClientPlayerEntity;prevNauseaIntensity:Fintermediary field_44912Lnet/minecraft/class_746;field_44912:Fofficial cILgcr;cI: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 dhLgcr;dh:Z
-
activeHand
- Mappings:
Namespace Name Mixin selector named activeHandLnet/minecraft/client/network/ClientPlayerEntity;activeHand:Lnet/minecraft/util/Hand;intermediary field_3945Lnet/minecraft/class_746;field_3945:Lnet/minecraft/class_1268;official diLgcr;di:Lbqu;
-
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 djLgcr;dj:Z
-
autoJumpEnabled
private boolean autoJumpEnabled- Mappings:
Namespace Name Mixin selector named autoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;autoJumpEnabled:Zintermediary field_3927Lnet/minecraft/class_746;field_3927:Zofficial dkLgcr;dk:Z
-
ticksToNextAutojump
private int ticksToNextAutojump- Mappings:
Namespace Name Mixin selector named ticksToNextAutojumpLnet/minecraft/client/network/ClientPlayerEntity;ticksToNextAutojump:Iintermediary field_3934Lnet/minecraft/class_746;field_3934:Iofficial dlLgcr;dl:I
-
falling
private boolean falling- Mappings:
Namespace Name Mixin selector named fallingLnet/minecraft/client/network/ClientPlayerEntity;falling:Zintermediary field_3939Lnet/minecraft/class_746;field_3939:Zofficial dmLgcr;dm:Z
-
underwaterVisibilityTicks
private int underwaterVisibilityTicks- Mappings:
Namespace Name Mixin selector named underwaterVisibilityTicksLnet/minecraft/client/network/ClientPlayerEntity;underwaterVisibilityTicks:Iintermediary field_3917Lnet/minecraft/class_746;field_3917:Iofficial dnLgcr;dn:I
-
showsDeathScreen
private boolean showsDeathScreen- Mappings:
Namespace Name Mixin selector named showsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen:Zintermediary field_20663Lnet/minecraft/class_746;field_20663:Zofficial doLgcr;do:Z
-
limitedCraftingEnabled
private boolean limitedCraftingEnabled- Mappings:
Namespace Name Mixin selector named limitedCraftingEnabledLnet/minecraft/client/network/ClientPlayerEntity;limitedCraftingEnabled:Zintermediary field_46188Lnet/minecraft/class_746;field_46188:Zofficial dpLgcr;dp:Z
-
-
Constructor Details
-
ClientPlayerEntity
public ClientPlayerEntity(MinecraftClient client, ClientWorld world, ClientPlayNetworkHandler networkHandler, StatHandler stats, ClientRecipeBook recipeBook, boolean lastSneaking, boolean lastSprinting) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/network/ClientPlayerEntity;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/ClientPlayNetworkHandler;Lnet/minecraft/stat/StatHandler;Lnet/minecraft/client/recipebook/ClientRecipeBook;ZZ)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;ZZ)Vofficial <init>Lgcr;<init>(Lffg;Lfxw;Lfxx;Lawl;Lfet;ZZ)V
-
-
Method Details
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.invalid reference
LivingEntitySome entities like
also have health value, which the overridden method decrements. There also exist several entities, likeinvalid reference
ItemEntityEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
PlayerEntity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classPlayerEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Zofficial aLbsv;a(Lbro;F)Z
-
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 cLbtq;c(F)V
-
startRiding
Starts ridingentity.For example,
player.startRiding(horse)causes the player to ride a horse; the opposite,horse.startRiding(player), will cause the horse to ride a player.This fails when this entity is already riding the entity (or vice versa), or when this entity does not allow riding other entities (or vice versa) unless
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 aLbsv;a(Lbsv;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 bILbsv;bI()V
-
getPitch
public float getPitch(float tickDelta) -
getYaw
public float getYaw(float tickDelta) - 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 hLbsv;h(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 lLbsv;l()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 dLgcr;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 ELgcr;E()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 GLgcr;G()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 aLgcr;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 aLbtq;a(Lbqu;)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 gaLcmy;ga()V
-
applyDamage
- Overrides:
applyDamagein classPlayerEntity- Mappings:
Namespace Name Mixin selector named applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)Vintermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vofficial fLbtq;f(Lbro;F)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 rLcmy;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 eLgcr;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 FLgcr;F(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 yLcmy;y()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 gLcmy;g()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 fDLbtq;fD()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 bqLbsv;bq()Z
-
shouldDisplaySoulSpeedEffects
public boolean shouldDisplaySoulSpeedEffects()- Overrides:
shouldDisplaySoulSpeedEffectsin classLivingEntity- Mappings:
Namespace Name Mixin selector named shouldDisplaySoulSpeedEffectsLnet/minecraft/entity/LivingEntity;shouldDisplaySoulSpeedEffects()Zintermediary method_27302Lnet/minecraft/class_1309;method_27302()Zofficial dWLbtq;dW()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 hLgcr;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 iLgcr;i()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 jLgcr;j()Lawl;
-
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 mLgcr;m()Lfet;
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector named onRecipeDisplayedLnet/minecraft/client/network/ClientPlayerEntity;onRecipeDisplayed(Lnet/minecraft/recipe/RecipeEntry;)Vintermediary method_3141Lnet/minecraft/class_746;method_3141(Lnet/minecraft/class_8786;)Vofficial aLgcr;a(Lcyy;)V
-
getPermissionLevel
protected int getPermissionLevel()Returns the permission level of this entity.This is
0for non-players.- Overrides:
getPermissionLevelin classEntity- Returns:
- the permission level of this entity
- See Also:
- Mappings:
Namespace Name Mixin selector named getPermissionLevelLnet/minecraft/entity/Entity;getPermissionLevel()Iintermediary method_5691Lnet/minecraft/class_1297;method_5691()Iofficial FLbsv;F()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 aLgcr;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 aLcmy;a(Lxp;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 cLgcr;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 dLgcr;d(Liz;)Z
-
setExperience
public void setExperience(float progress, int total, int level) - Mappings:
Namespace Name Mixin selector named setExperienceLnet/minecraft/client/network/ClientPlayerEntity;setExperience(FII)Vintermediary method_3145Lnet/minecraft/class_746;method_3145(FII)Vofficial aLgcr;a(FII)V
-
sendMessage
Sends a system message.- Specified by:
sendMessagein interfaceCommandOutput- Overrides:
sendMessagein classEntity- Implementation Note:
- The output location depends on the implementation; players will use the in-game chat, and others will output to the log.
- Mappings:
Namespace Name Mixin selector named sendMessageLnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)Vintermediary method_43496Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)Vofficial aLeo;a(Lxp;)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 bLbsv;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 bLgcr;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 oLgcr;o()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 vLgcr;v(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 pLgcr;p()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 aLbsv;a(Lavz;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 aLcmy;a(Lavz;Lawb;FF)V
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarilyin classEntity- Mappings:
Namespace Name Mixin selector named canMoveVoluntarilyLnet/minecraft/entity/Entity;canMoveVoluntarily()Zintermediary method_6034Lnet/minecraft/class_1297;method_6034()Zofficial dbLbsv;db()Z
-
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 cLbtq;c(Lbqu;)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 fvLbtq;fv()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 fBLbtq;fB()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 fwLbtq;fw()Lbqu;
-
onTrackedDataSet
- 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 aLakn;a(Lakk;)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 uLgcr;u()Lbub;
-
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 vLgcr;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 YLcmy;Y()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 aLcmy;a(Ldqs;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 aLcmy;a(Ldba;)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 aLcmy;a(Ldps;)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 aLcmy;a(Ldqx;)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 aLcmy;a(Ldqi;)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 aLcmy;a(Lcuq;Lbqu;)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 bLcmy;b(Lbsv;)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 cLcmy;c(Lbsv;)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 bVLbsv;bV()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 caLbsv;ca()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 wLgcr;w()Z
-
tickNewAi
public void tickNewAi()- Overrides:
tickNewAiin classPlayerEntity- Mappings:
Namespace Name Mixin selector named tickNewAiLnet/minecraft/entity/LivingEntity;tickNewAi()Vintermediary method_6023Lnet/minecraft/class_1309;method_6023()Vofficial fqLbtq;fq()V
-
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 zLgcr;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 ALgcr;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 n_Lbtq;n_()V
-
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 egLbtq;eg()V
-
updateNausea
private void updateNausea()- Mappings:
Namespace Name Mixin selector named updateNauseaLnet/minecraft/client/network/ClientPlayerEntity;updateNausea()Vintermediary method_18654Lnet/minecraft/class_746;method_18654()Vofficial HLgcr;H()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 tLbsv;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 BLgcr;B()Z
-
removeStatusEffectInternal
@Nullable public @Nullable StatusEffectInstance removeStatusEffectInternal(RegistryEntry<StatusEffect> effect) Removes a status effect from this entity without calling any listener.This method does not perform any cleanup or synchronization operation. Under most circumstances, calling
LivingEntity.removeStatusEffect(RegistryEntry)is highly preferable.- Overrides:
removeStatusEffectInternalin classLivingEntity- Returns:
- the status effect removed
- Mappings:
Namespace Name Mixin selector named removeStatusEffectInternalLnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/entity/effect/StatusEffectInstance;intermediary method_6111Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_6880;)Lnet/minecraft/class_1293;official dLbtq;d(Lji;)Lbsd;
-
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 aLbsv;a(Lbtv;Levs;)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 CLgcr;C()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 fLgcr;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 cLbsv;c(Levs;)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 ILgcr;I()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 KLgcr;K()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 MLgcr;M()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 dLgcr;d(Lbsv;)Z
-
isWalking
private boolean isWalking()- Mappings:
Namespace Name Mixin selector named isWalkingLnet/minecraft/client/network/ClientPlayerEntity;isWalking()Zintermediary method_20623Lnet/minecraft/class_746;method_20623()Zofficial NLgcr;N()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 OLgcr;O()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 DLgcr;D()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 aLgcr;a(Ldbw;)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 bjLbsv;bj()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 fULcmy;fU()Z
-
getLeashPos
Returns the position of the leash this entity holds.This is different from
Entity.getLeashOffset(float); this method is called on the entity that holds the leash.- Overrides:
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 qLbsv;q(F)Levs;
-
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 aLcmy;a(Lcuq;Lcuq;Lcqd;)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 dGLbsv;dG()F
-