Class ClientPlayerEntity
- All Implemented Interfaces:
Attackable,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name intermediary net/minecraft/class_746official finnamed net/minecraft/client/network/ClientPlayerEntity
-
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 intfloatfloatprivate booleanprivate booleanprivate doubleprivate booleanprivate floatfloatfloatprivate booleanprivate booleanprivate doubleprivate floatprivate doublestatic final Loggerprivate static final doubleprivate floatfinal 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, elytraPitch, elytraRoll, elytraYaw, lastVelocityFields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentScreenHandler, damageTiltYaw, DEFAULT_EYE_HEIGHT, enchantmentTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, field_30643, field_30644, field_30645, field_30646, field_30647, field_30648, field_30649, field_30650, field_7509, fishHook, hungerManager, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperienceFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, 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, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, 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_29991, field_44870, field_44871, field_44872, 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
DUMMY -
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.booleanbooleanisRiding()booleanReturns whether the entity is sneaking.booleanReturns whether this entity's hitbox is fully submerged in water.booleanprivate booleanvoidmethod_51889(GameMode gameMode) voidmove(MovementType movementType, Vec3d movement) voidonPickupSlotClick(ItemStack cursorStack, ItemStack slotStack, ClickType clickType) Called when a player performs apickup slot actionin a screen handler.voidonRecipeDisplayed(Recipe<?> recipe) 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) voidplaySound(SoundEvent sound, float volume, float pitch) voidplaySound(SoundEvent event, SoundCategory category, float volume, float pitch) 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) voidsetServerBrand(@Nullable String serverBrand) 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
canRenderCapeTexture, canRenderElytraTexture, getCapeTexture, getElytraTexture, getFovMultiplier, getModel, getPlayerListEntry, getSkinId, getSkinTexture, hasSkinTexture, isCreative, isSpectator, lerpVelocity, loadSkinMethods inherited from class net.minecraft.entity.player.PlayerEntity
addExhaustion, addExperience, addExperienceLevels, addScore, addShoulderEntity, adjustMovementForSneaking, animateDamage, applyEnchantmentCosts, attack, attackLivingEntity, canBeHitByProjectile, canConsume, canEquip, canFoodHeal, canHarvest, canModifyBlocks, canPlaceOn, canResetTimeBySleeping, canSprintAsVehicle, canTakeDamage, checkFallFlying, clipAtLedge, createCooldownManager, createPlayerAttributes, damageArmor, damageHelmet, damageShield, disableShield, doesNotSuffocate, dropInventory, dropItem, dropItem, dropShoulderEntities, eatFood, equipStack, findRespawnPosition, getAbilities, getAbsorptionAmount, getActiveEyeHeight, getArmorItems, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBurningDuration, getDamageTiltYaw, getDeathSound, getDefaultPortalCooldown, getDimensions, getDisplayName, getEnchantmentTableSeed, getEnderChestInventory, getEntityName, getEquippedStack, getFallSounds, getGameProfile, getHandItems, getHeightOffset, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getLastDeathPos, getLuck, getMainArm, getMaxNetherPortalTime, getMoveEffect, getMovementSpeed, getName, getNextLevelExperience, getOffGroundSpeed, getPoses, getProjectileType, getScore, getScoreboard, getSculkShriekerWarningManager, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getStackReference, getSwimSound, getVelocityMultiplier, getXpToDrop, giveItemStack, handleFallDamage, hasReducedDebugInfo, increaseStat, increaseStat, increaseTravelMotionStats, incrementStat, incrementStat, initDataTracker, interact, isArmorSlot, isBlockBreakingRestricted, isCreativeLevelTwoOp, isImmobile, isInvulnerableTo, isOnSoulSpeedBlock, isPartVisible, isPlayer, isPushedByFluids, isSwimming, isUsingSpyglass, jump, lockRecipes, onDeath, onHandledScreenClosed, onKilledOther, onSwimmingStart, openHandledScreen, openHorseInventory, playStepSound, readCustomDataFromNbt, remove, resetLastAttackedTicks, resetStat, sendTradeOffers, setAbsorptionAmount, setFireTicks, setLastDeathPos, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldCloseHandledScreenOnRespawn, shouldDamagePlayer, shouldDismount, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSave, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startFallFlying, stopFallFlying, takeShieldHit, travel, trySleep, unlockCraftedRecipe, 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, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, endCombat, enterCombat, fall, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLootTable, getMainHandStack, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, hasNoDrag, hasStackEquipped, hasStatusEffect, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingRiptide, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_51851, modifyAppliedDamage, onAttacking, onDamaged, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAttacker, setAttacking, setBodyYaw, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnGround, 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, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, 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, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPickBlockStack, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, 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, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isRegionUnloaded, isRemoved, isSilent, isSneaky, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, method_51848, method_51849, method_51850, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, 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, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, 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, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector intermediary field_39078Lnet/minecraft/class_746;field_39078:Lorg/slf4j/Logger;official gLfin;g:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/network/ClientPlayerEntity;LOGGER:Lorg/slf4j/Logger;
-
field_32671
private static final int field_32671- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32671Lnet/minecraft/class_746;field_32671:Iofficial cvLfin;cv:Inamed field_32671Lnet/minecraft/client/network/ClientPlayerEntity;field_32671:I
-
field_32672
private static final int field_32672- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32672Lnet/minecraft/class_746;field_32672:Iofficial cwLfin;cw:Inamed field_32672Lnet/minecraft/client/network/ClientPlayerEntity;field_32672:I
-
field_32673
private static final int field_32673- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32673Lnet/minecraft/class_746;field_32673:Iofficial cxLfin;cx:Inamed field_32673Lnet/minecraft/client/network/ClientPlayerEntity;field_32673:I
-
field_32674
private static final float field_32674- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32674Lnet/minecraft/class_746;field_32674:Fofficial cyLfin;cy:Fnamed field_32674Lnet/minecraft/client/network/ClientPlayerEntity;field_32674:F
-
field_32675
private static final double field_32675- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_32675Lnet/minecraft/class_746;field_32675:Dofficial czLfin;cz:Dnamed field_32675Lnet/minecraft/client/network/ClientPlayerEntity;field_32675:D
-
MAX_SOFT_COLLISION_RADIANS
private static final double MAX_SOFT_COLLISION_RADIANS- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_36194Lnet/minecraft/class_746;field_36194:Dofficial cALfin;cA:Dnamed MAX_SOFT_COLLISION_RADIANSLnet/minecraft/client/network/ClientPlayerEntity;MAX_SOFT_COLLISION_RADIANS:D
-
field_38337
private static final float field_38337- See Also:
- Mappings:
Namespace Name Mixin selector intermediary field_38337Lnet/minecraft/class_746;field_38337:Fofficial cBLfin;cB:Fnamed field_38337Lnet/minecraft/client/network/ClientPlayerEntity;field_38337:F
-
networkHandler
- Mappings:
Namespace Name Mixin selector intermediary field_3944Lnet/minecraft/class_746;field_3944:Lnet/minecraft/class_634;official clLfin;cl:Lfem;named networkHandlerLnet/minecraft/client/network/ClientPlayerEntity;networkHandler:Lnet/minecraft/client/network/ClientPlayNetworkHandler;
-
statHandler
- Mappings:
Namespace Name Mixin selector intermediary field_3928Lnet/minecraft/class_746;field_3928:Lnet/minecraft/class_3469;official cCLfin;cC:Lams;named statHandlerLnet/minecraft/client/network/ClientPlayerEntity;statHandler:Lnet/minecraft/stat/StatHandler;
-
recipeBook
- Mappings:
Namespace Name Mixin selector intermediary field_3930Lnet/minecraft/class_746;field_3930:Lnet/minecraft/class_299;official cDLfin;cD:Lemt;named recipeBookLnet/minecraft/client/network/ClientPlayerEntity;recipeBook:Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
tickables
- Mappings:
Namespace Name Mixin selector intermediary field_3933Lnet/minecraft/class_746;field_3933:Ljava/util/List;official cELfin;cE:Ljava/util/List;named tickablesLnet/minecraft/client/network/ClientPlayerEntity;tickables:Ljava/util/List;
-
clientPermissionLevel
private int clientPermissionLevel- Mappings:
Namespace Name Mixin selector intermediary field_3912Lnet/minecraft/class_746;field_3912:Iofficial cFLfin;cF:Inamed clientPermissionLevelLnet/minecraft/client/network/ClientPlayerEntity;clientPermissionLevel:I
-
lastX
private double lastX- Mappings:
Namespace Name Mixin selector intermediary field_3926Lnet/minecraft/class_746;field_3926:Dofficial cGLfin;cG:Dnamed lastXLnet/minecraft/client/network/ClientPlayerEntity;lastX:D
-
lastBaseY
private double lastBaseY- Mappings:
Namespace Name Mixin selector intermediary field_3940Lnet/minecraft/class_746;field_3940:Dofficial cHLfin;cH:Dnamed lastBaseYLnet/minecraft/client/network/ClientPlayerEntity;lastBaseY:D
-
lastZ
private double lastZ- Mappings:
Namespace Name Mixin selector intermediary field_3924Lnet/minecraft/class_746;field_3924:Dofficial cILfin;cI:Dnamed lastZLnet/minecraft/client/network/ClientPlayerEntity;lastZ:D
-
lastYaw
private float lastYaw- Mappings:
Namespace Name Mixin selector intermediary field_3941Lnet/minecraft/class_746;field_3941:Fofficial cJLfin;cJ:Fnamed lastYawLnet/minecraft/client/network/ClientPlayerEntity;lastYaw:F
-
lastPitch
private float lastPitch- Mappings:
Namespace Name Mixin selector intermediary field_3925Lnet/minecraft/class_746;field_3925:Fofficial cKLfin;cK:Fnamed lastPitchLnet/minecraft/client/network/ClientPlayerEntity;lastPitch:F
-
lastOnGround
private boolean lastOnGround- Mappings:
Namespace Name Mixin selector intermediary field_3920Lnet/minecraft/class_746;field_3920:Zofficial cLLfin;cL:Znamed lastOnGroundLnet/minecraft/client/network/ClientPlayerEntity;lastOnGround:Z
-
inSneakingPose
private boolean inSneakingPose- Mappings:
Namespace Name Mixin selector intermediary field_23093Lnet/minecraft/class_746;field_23093:Zofficial cMLfin;cM:Znamed inSneakingPoseLnet/minecraft/client/network/ClientPlayerEntity;inSneakingPose:Z
-
lastSneaking
private boolean lastSneaking- Mappings:
Namespace Name Mixin selector intermediary field_3936Lnet/minecraft/class_746;field_3936:Zofficial cNLfin;cN:Znamed lastSneakingLnet/minecraft/client/network/ClientPlayerEntity;lastSneaking:Z
-
lastSprinting
private boolean lastSprinting- Mappings:
Namespace Name Mixin selector intermediary field_3919Lnet/minecraft/class_746;field_3919:Zofficial cOLfin;cO:Znamed lastSprintingLnet/minecraft/client/network/ClientPlayerEntity;lastSprinting:Z
-
ticksSinceLastPositionPacketSent
private int ticksSinceLastPositionPacketSent- Mappings:
Namespace Name Mixin selector intermediary field_3923Lnet/minecraft/class_746;field_3923:Iofficial cPLfin;cP:Inamed ticksSinceLastPositionPacketSentLnet/minecraft/client/network/ClientPlayerEntity;ticksSinceLastPositionPacketSent:I
-
healthInitialized
private boolean healthInitialized- Mappings:
Namespace Name Mixin selector intermediary field_3918Lnet/minecraft/class_746;field_3918:Zofficial cQLfin;cQ:Znamed healthInitializedLnet/minecraft/client/network/ClientPlayerEntity;healthInitialized:Z
-
serverBrand
- Mappings:
Namespace Name Mixin selector intermediary field_3943Lnet/minecraft/class_746;field_3943:Ljava/lang/String;official cRLfin;cR:Ljava/lang/String;named serverBrandLnet/minecraft/client/network/ClientPlayerEntity;serverBrand:Ljava/lang/String;
-
input
- Mappings:
Namespace Name Mixin selector intermediary field_3913Lnet/minecraft/class_746;field_3913:Lnet/minecraft/class_744;official cmLfin;cm:Lfil;named inputLnet/minecraft/client/network/ClientPlayerEntity;input:Lnet/minecraft/client/input/Input;
-
client
- Mappings:
Namespace Name Mixin selector intermediary field_3937Lnet/minecraft/class_746;field_3937:Lnet/minecraft/class_310;official cnLfin;cn:Lenf;named clientLnet/minecraft/client/network/ClientPlayerEntity;client:Lnet/minecraft/client/MinecraftClient;
-
ticksLeftToDoubleTapSprint
protected int ticksLeftToDoubleTapSprint- Mappings:
Namespace Name Mixin selector intermediary field_3935Lnet/minecraft/class_746;field_3935:Iofficial coLfin;co:Inamed ticksLeftToDoubleTapSprintLnet/minecraft/client/network/ClientPlayerEntity;ticksLeftToDoubleTapSprint:I
-
renderYaw
public float renderYaw- Mappings:
Namespace Name Mixin selector intermediary field_3932Lnet/minecraft/class_746;field_3932:Fofficial cpLfin;cp:Fnamed renderYawLnet/minecraft/client/network/ClientPlayerEntity;renderYaw:F
-
renderPitch
public float renderPitch- Mappings:
Namespace Name Mixin selector intermediary field_3916Lnet/minecraft/class_746;field_3916:Fofficial cqLfin;cq:Fnamed renderPitchLnet/minecraft/client/network/ClientPlayerEntity;renderPitch:F
-
lastRenderYaw
public float lastRenderYaw- Mappings:
Namespace Name Mixin selector intermediary field_3931Lnet/minecraft/class_746;field_3931:Fofficial crLfin;cr:Fnamed lastRenderYawLnet/minecraft/client/network/ClientPlayerEntity;lastRenderYaw:F
-
lastRenderPitch
public float lastRenderPitch- Mappings:
Namespace Name Mixin selector intermediary field_3914Lnet/minecraft/class_746;field_3914:Fofficial csLfin;cs:Fnamed lastRenderPitchLnet/minecraft/client/network/ClientPlayerEntity;lastRenderPitch:F
-
field_3938
private int field_3938- Mappings:
Namespace Name Mixin selector intermediary field_3938Lnet/minecraft/class_746;field_3938:Iofficial cSLfin;cS:Inamed field_3938Lnet/minecraft/client/network/ClientPlayerEntity;field_3938:I
-
mountJumpStrength
private float mountJumpStrength- Mappings:
Namespace Name Mixin selector intermediary field_3922Lnet/minecraft/class_746;field_3922:Fofficial cTLfin;cT:Fnamed mountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;mountJumpStrength:F
-
field_44911
public float field_44911- Mappings:
Namespace Name Mixin selector intermediary field_44911Lnet/minecraft/class_746;field_44911:Fofficial ctLfin;ct:Fnamed field_44911Lnet/minecraft/client/network/ClientPlayerEntity;field_44911:F
-
field_44912
public float field_44912- Mappings:
Namespace Name Mixin selector intermediary field_44912Lnet/minecraft/class_746;field_44912:Fofficial cuLfin;cu:Fnamed field_44912Lnet/minecraft/client/network/ClientPlayerEntity;field_44912:F
-
usingItem
private boolean usingItem- Mappings:
Namespace Name Mixin selector intermediary field_3915Lnet/minecraft/class_746;field_3915:Zofficial cULfin;cU:Znamed usingItemLnet/minecraft/client/network/ClientPlayerEntity;usingItem:Z
-
activeHand
- Mappings:
Namespace Name Mixin selector intermediary field_3945Lnet/minecraft/class_746;field_3945:Lnet/minecraft/class_1268;official cVLfin;cV:Lbdv;named activeHandLnet/minecraft/client/network/ClientPlayerEntity;activeHand:Lnet/minecraft/util/Hand;
-
riding
private boolean riding- Mappings:
Namespace Name Mixin selector intermediary field_3942Lnet/minecraft/class_746;field_3942:Zofficial cWLfin;cW:Znamed ridingLnet/minecraft/client/network/ClientPlayerEntity;riding:Z
-
autoJumpEnabled
private boolean autoJumpEnabled- Mappings:
Namespace Name Mixin selector intermediary field_3927Lnet/minecraft/class_746;field_3927:Zofficial cXLfin;cX:Znamed autoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;autoJumpEnabled:Z
-
ticksToNextAutojump
private int ticksToNextAutojump- Mappings:
Namespace Name Mixin selector intermediary field_3934Lnet/minecraft/class_746;field_3934:Iofficial cYLfin;cY:Inamed ticksToNextAutojumpLnet/minecraft/client/network/ClientPlayerEntity;ticksToNextAutojump:I
-
falling
private boolean falling- Mappings:
Namespace Name Mixin selector intermediary field_3939Lnet/minecraft/class_746;field_3939:Zofficial cZLfin;cZ:Znamed fallingLnet/minecraft/client/network/ClientPlayerEntity;falling:Z
-
underwaterVisibilityTicks
private int underwaterVisibilityTicks- Mappings:
Namespace Name Mixin selector intermediary field_3917Lnet/minecraft/class_746;field_3917:Iofficial daLfin;da:Inamed underwaterVisibilityTicksLnet/minecraft/client/network/ClientPlayerEntity;underwaterVisibilityTicks:I
-
showsDeathScreen
private boolean showsDeathScreen- Mappings:
Namespace Name Mixin selector intermediary field_20663Lnet/minecraft/class_746;field_20663:Zofficial dbLfin;db:Znamed showsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen: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 intermediary <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>Lfin;<init>(Lenf;Lfel;Lfem;Lams;Lemt;ZZ)Vnamed <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)V
-
-
Method Details
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.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 intermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Zofficial aLbfh;a(Lbem;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;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 intermediary method_6025Lnet/minecraft/class_1309;method_6025(F)Vofficial sLbfx;s(F)Vnamed healLnet/minecraft/entity/LivingEntity;heal(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 intermediary method_5873Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Zofficial aLbfh;a(Lbfh;Z)Znamed startRidingLnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
-
dismountVehicle
public void dismountVehicle()Dismounts the vehicle if present.For players, will not trigger any networking changes. Use
Entity.stopRiding()instead.- Overrides:
dismountVehiclein classPlayerEntity- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_29239Lnet/minecraft/class_1297;method_29239()Vofficial bzLbfh;bz()Vnamed dismountVehicleLnet/minecraft/entity/Entity;dismountVehicle()V
-
getPitch
public float getPitch(float tickDelta) -
getYaw
public float getYaw(float tickDelta) - Overrides:
getYawin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_5705Lnet/minecraft/class_1297;method_5705(F)Fofficial hLbfh;h(F)Fnamed getYawLnet/minecraft/entity/Entity;getYaw(F)F
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classAbstractClientPlayerEntity- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial lLbfh;l()Vnamed tickLnet/minecraft/entity/Entity;tick()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 intermediary method_26269Lnet/minecraft/class_746;method_26269()Fofficial pLfin;p()Fnamed getMoodPercentageLnet/minecraft/client/network/ClientPlayerEntity;getMoodPercentage()F
-
sendMovementPackets
private void sendMovementPackets()- Mappings:
Namespace Name Mixin selector intermediary method_3136Lnet/minecraft/class_746;method_3136()Vofficial LLfin;L()Vnamed sendMovementPacketsLnet/minecraft/client/network/ClientPlayerEntity;sendMovementPackets()V
-
sendSprintingPacket
private void sendSprintingPacket()- Mappings:
Namespace Name Mixin selector intermediary method_46742Lnet/minecraft/class_746;method_46742()Vofficial MLfin;M()Vnamed sendSprintingPacketLnet/minecraft/client/network/ClientPlayerEntity;sendSprintingPacket()V
-
dropSelectedItem
public boolean dropSelectedItem(boolean entireStack) - Mappings:
Namespace Name Mixin selector intermediary method_7290Lnet/minecraft/class_746;method_7290(Z)Zofficial aLfin;a(Z)Znamed dropSelectedItemLnet/minecraft/client/network/ClientPlayerEntity;dropSelectedItem(Z)Z
-
swingHand
- Overrides:
swingHandin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6104Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)Vofficial aLbfx;a(Lbdv;)Vnamed swingHandLnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
-
requestRespawn
public void requestRespawn()- Overrides:
requestRespawnin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7331Lnet/minecraft/class_1657;method_7331()Vofficial fLLbym;fL()Vnamed requestRespawnLnet/minecraft/entity/player/PlayerEntity;requestRespawn()V
-
applyDamage
- Overrides:
applyDamagein classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_6074Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)Vofficial fLbfx;f(Lbem;F)Vnamed applyDamageLnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;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 intermediary method_7346Lnet/minecraft/class_1657;method_7346()Vofficial qLbym;q()Vnamed closeHandledScreenLnet/minecraft/entity/player/PlayerEntity;closeHandledScreen()V
-
closeScreen
public void closeScreen()- Mappings:
Namespace Name Mixin selector intermediary method_3137Lnet/minecraft/class_746;method_3137()Vofficial sLfin;s()Vnamed closeScreenLnet/minecraft/client/network/ClientPlayerEntity;closeScreen()V
-
updateHealth
public void updateHealth(float health) - Mappings:
Namespace Name Mixin selector intermediary method_3138Lnet/minecraft/class_746;method_3138(F)Vofficial cLfin;c(F)Vnamed updateHealthLnet/minecraft/client/network/ClientPlayerEntity;updateHealth(F)V
-
sendAbilitiesUpdate
public void sendAbilitiesUpdate()- Overrides:
sendAbilitiesUpdatein classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7355Lnet/minecraft/class_1657;method_7355()Vofficial wLbym;w()Vnamed sendAbilitiesUpdateLnet/minecraft/entity/player/PlayerEntity;sendAbilitiesUpdate()V
-
isMainPlayer
public boolean isMainPlayer()- Overrides:
isMainPlayerin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7340Lnet/minecraft/class_1657;method_7340()Zofficial gLbym;g()Znamed isMainPlayerLnet/minecraft/entity/player/PlayerEntity;isMainPlayer()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 intermediary method_21754Lnet/minecraft/class_1309;method_21754()Zofficial fqLbfx;fq()Znamed isHoldingOntoLadderLnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
-
shouldSpawnSprintingParticles
public boolean shouldSpawnSprintingParticles()- Overrides:
shouldSpawnSprintingParticlesin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_27298Lnet/minecraft/class_1297;method_27298()Zofficial bfLbfh;bf()Znamed shouldSpawnSprintingParticlesLnet/minecraft/entity/Entity;shouldSpawnSprintingParticles()Z
-
shouldDisplaySoulSpeedEffects
public boolean shouldDisplaySoulSpeedEffects()- Overrides:
shouldDisplaySoulSpeedEffectsin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_27302Lnet/minecraft/class_1309;method_27302()Zofficial dOLbfx;dO()Znamed shouldDisplaySoulSpeedEffectsLnet/minecraft/entity/LivingEntity;shouldDisplaySoulSpeedEffects()Z
-
startRidingJump
protected void startRidingJump()- Mappings:
Namespace Name Mixin selector intermediary method_3133Lnet/minecraft/class_746;method_3133()Vofficial tLfin;t()Vnamed startRidingJumpLnet/minecraft/client/network/ClientPlayerEntity;startRidingJump()V
-
openRidingInventory
public void openRidingInventory()- Mappings:
Namespace Name Mixin selector intermediary method_3132Lnet/minecraft/class_746;method_3132()Vofficial uLfin;u()Vnamed openRidingInventoryLnet/minecraft/client/network/ClientPlayerEntity;openRidingInventory()V
-
setServerBrand
- Mappings:
Namespace Name Mixin selector intermediary method_3146Lnet/minecraft/class_746;method_3146(Ljava/lang/String;)Vofficial dLfin;d(Ljava/lang/String;)Vnamed setServerBrandLnet/minecraft/client/network/ClientPlayerEntity;setServerBrand(Ljava/lang/String;)V
-
getServerBrand
- Mappings:
Namespace Name Mixin selector intermediary method_3135Lnet/minecraft/class_746;method_3135()Ljava/lang/String;official vLfin;v()Ljava/lang/String;named getServerBrandLnet/minecraft/client/network/ClientPlayerEntity;getServerBrand()Ljava/lang/String;
-
getStatHandler
- Mappings:
Namespace Name Mixin selector intermediary method_3143Lnet/minecraft/class_746;method_3143()Lnet/minecraft/class_3469;official xLfin;x()Lams;named getStatHandlerLnet/minecraft/client/network/ClientPlayerEntity;getStatHandler()Lnet/minecraft/stat/StatHandler;
-
getRecipeBook
- Mappings:
Namespace Name Mixin selector intermediary method_3130Lnet/minecraft/class_746;method_3130()Lnet/minecraft/class_299;official yLfin;y()Lemt;named getRecipeBookLnet/minecraft/client/network/ClientPlayerEntity;getRecipeBook()Lnet/minecraft/client/recipebook/ClientRecipeBook;
-
onRecipeDisplayed
- Mappings:
Namespace Name Mixin selector intermediary method_3141Lnet/minecraft/class_746;method_3141(Lnet/minecraft/class_1860;)Vofficial aLfin;a(Lcja;)Vnamed onRecipeDisplayedLnet/minecraft/client/network/ClientPlayerEntity;onRecipeDisplayed(Lnet/minecraft/recipe/Recipe;)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 intermediary method_5691Lnet/minecraft/class_1297;method_5691()Iofficial BLbfh;B()Inamed getPermissionLevelLnet/minecraft/entity/Entity;getPermissionLevel()I
-
setClientPermissionLevel
public void setClientPermissionLevel(int clientPermissionLevel) - Mappings:
Namespace Name Mixin selector intermediary method_3147Lnet/minecraft/class_746;method_3147(I)Vofficial aLfin;a(I)Vnamed setClientPermissionLevelLnet/minecraft/client/network/ClientPlayerEntity;setClientPermissionLevel(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 intermediary method_7353Lnet/minecraft/class_1657;method_7353(Lnet/minecraft/class_2561;Z)Vofficial aLbym;a(Lsw;Z)Vnamed sendMessageLnet/minecraft/entity/player/PlayerEntity;sendMessage(Lnet/minecraft/text/Text;Z)V
-
pushOutOfBlocks
private void pushOutOfBlocks(double x, double z) - Mappings:
Namespace Name Mixin selector intermediary method_30673Lnet/minecraft/class_746;method_30673(DD)Vofficial cLfin;c(DD)Vnamed pushOutOfBlocksLnet/minecraft/client/network/ClientPlayerEntity;pushOutOfBlocks(DD)V
-
wouldCollideAt
- Mappings:
Namespace Name Mixin selector intermediary method_30674Lnet/minecraft/class_746;method_30674(Lnet/minecraft/class_2338;)Zofficial iLfin;i(Lgu;)Znamed wouldCollideAtLnet/minecraft/client/network/ClientPlayerEntity;wouldCollideAt(Lnet/minecraft/util/math/BlockPos;)Z
-
setExperience
public void setExperience(float progress, int total, int level) - Mappings:
Namespace Name Mixin selector intermediary method_3145Lnet/minecraft/class_746;method_3145(FII)Vofficial aLfin;a(FII)Vnamed setExperienceLnet/minecraft/client/network/ClientPlayerEntity;setExperience(FII)V
-
sendMessage
Sends a system message.- Specified by:
sendMessagein interfaceCommandOutput- Overrides:
sendMessagein classEntity- Mappings:
Namespace Name Mixin selector intermediary method_43496Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)Vofficial aLdr;a(Lsw;)Vnamed sendMessageLnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)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:
- Mappings:
Namespace Name Mixin selector intermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLbfh;b(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
setShowsDeathScreen
public void setShowsDeathScreen(boolean showsDeathScreen) - Mappings:
Namespace Name Mixin selector intermediary method_22420Lnet/minecraft/class_746;method_22420(Z)Vofficial bLfin;b(Z)Vnamed setShowsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;setShowsDeathScreen(Z)V
-
showsDeathScreen
public boolean showsDeathScreen()- Mappings:
Namespace Name Mixin selector intermediary method_22419Lnet/minecraft/class_746;method_22419()Zofficial zLfin;z()Znamed showsDeathScreenLnet/minecraft/client/network/ClientPlayerEntity;showsDeathScreen()Z
-
playSound
- Overrides:
playSoundin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_5783Lnet/minecraft/class_1297;method_5783(Lnet/minecraft/class_3414;FF)Vofficial aLbfh;a(Lamg;FF)Vnamed playSoundLnet/minecraft/entity/Entity;playSound(Lnet/minecraft/sound/SoundEvent;FF)V
-
playSound
- Overrides:
playSoundin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_17356Lnet/minecraft/class_1657;method_17356(Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)Vofficial aLbym;a(Lamg;Lami;FF)Vnamed playSoundLnet/minecraft/entity/player/PlayerEntity;playSound(Lnet/minecraft/sound/SoundEvent;Lnet/minecraft/sound/SoundCategory;FF)V
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarilyin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_6034Lnet/minecraft/class_1297;method_6034()Zofficial cVLbfh;cV()Znamed canMoveVoluntarilyLnet/minecraft/entity/Entity;canMoveVoluntarily()Z
-
setCurrentHand
- Overrides:
setCurrentHandin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6019Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)Vofficial cLbfx;c(Lbdv;)Vnamed setCurrentHandLnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
-
isUsingItem
public boolean isUsingItem()- Overrides:
isUsingItemin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6115Lnet/minecraft/class_1309;method_6115()Zofficial fiLbfx;fi()Znamed isUsingItemLnet/minecraft/entity/LivingEntity;isUsingItem()Z
-
clearActiveItem
public void clearActiveItem()- Overrides:
clearActiveItemin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6021Lnet/minecraft/class_1309;method_6021()Vofficial foLbfx;fo()Vnamed clearActiveItemLnet/minecraft/entity/LivingEntity;clearActiveItem()V
-
getActiveHand
- Overrides:
getActiveHandin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6058Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;official fjLbfx;fj()Lbdv;named getActiveHandLnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
-
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.
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vofficial aLbfh;a(Laby;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getJumpingMount
- Mappings:
Namespace Name Mixin selector intermediary method_45773Lnet/minecraft/class_746;method_45773()Lnet/minecraft/class_1316;official ALfin;A()Lbgi;named getJumpingMountLnet/minecraft/client/network/ClientPlayerEntity;getJumpingMount()Lnet/minecraft/entity/JumpingMount;
-
getMountJumpStrength
public float getMountJumpStrength()- Mappings:
Namespace Name Mixin selector intermediary method_3151Lnet/minecraft/class_746;method_3151()Fofficial CLfin;C()Fnamed getMountJumpStrengthLnet/minecraft/client/network/ClientPlayerEntity;getMountJumpStrength()F
-
shouldFilterText
public boolean shouldFilterText()- Overrides:
shouldFilterTextin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_33793Lnet/minecraft/class_1657;method_33793()Zofficial ULbym;U()Znamed shouldFilterTextLnet/minecraft/entity/player/PlayerEntity;shouldFilterText()Z
-
openEditSignScreen
- Overrides:
openEditSignScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7311Lnet/minecraft/class_1657;method_7311(Lnet/minecraft/class_2625;Z)Vofficial aLbym;a(Ldas;Z)Vnamed openEditSignScreenLnet/minecraft/entity/player/PlayerEntity;openEditSignScreen(Lnet/minecraft/block/entity/SignBlockEntity;Z)V
-
openCommandBlockMinecartScreen
- Overrides:
openCommandBlockMinecartScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7257Lnet/minecraft/class_1657;method_7257(Lnet/minecraft/class_1918;)Vofficial aLbym;a(Lcll;)Vnamed openCommandBlockMinecartScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockMinecartScreen(Lnet/minecraft/world/CommandBlockExecutor;)V
-
openCommandBlockScreen
- Overrides:
openCommandBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7323Lnet/minecraft/class_1657;method_7323(Lnet/minecraft/class_2593;)Vofficial aLbym;a(Lczu;)Vnamed openCommandBlockScreenLnet/minecraft/entity/player/PlayerEntity;openCommandBlockScreen(Lnet/minecraft/block/entity/CommandBlockBlockEntity;)V
-
openStructureBlockScreen
- Overrides:
openStructureBlockScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7303Lnet/minecraft/class_1657;method_7303(Lnet/minecraft/class_2633;)Vofficial aLbym;a(Ldax;)Vnamed openStructureBlockScreenLnet/minecraft/entity/player/PlayerEntity;openStructureBlockScreen(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
-
openJigsawScreen
- Overrides:
openJigsawScreenin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_16354Lnet/minecraft/class_1657;method_16354(Lnet/minecraft/class_3751;)Vofficial aLbym;a(Ldaj;)Vnamed openJigsawScreenLnet/minecraft/entity/player/PlayerEntity;openJigsawScreen(Lnet/minecraft/block/entity/JigsawBlockEntity;)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- Mappings:
Namespace Name Mixin selector intermediary method_7315Lnet/minecraft/class_1657;method_7315(Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Vofficial aLbym;a(Lcfx;Lbdv;)Vnamed useBookLnet/minecraft/entity/player/PlayerEntity;useBook(Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)V
-
addCritParticles
- Overrides:
addCritParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7277Lnet/minecraft/class_1657;method_7277(Lnet/minecraft/class_1297;)Vofficial aLbym;a(Lbfh;)Vnamed addCritParticlesLnet/minecraft/entity/player/PlayerEntity;addCritParticles(Lnet/minecraft/entity/Entity;)V
-
addEnchantedHitParticles
- Overrides:
addEnchantedHitParticlesin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7304Lnet/minecraft/class_1657;method_7304(Lnet/minecraft/class_1297;)Vofficial bLbym;b(Lbfh;)Vnamed addEnchantedHitParticlesLnet/minecraft/entity/player/PlayerEntity;addEnchantedHitParticles(Lnet/minecraft/entity/Entity;)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 alsoEntity.isInSneakingPose().- Overrides:
isSneakingin classEntity- Returns:
- whether the entity is sneaking
- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_5715Lnet/minecraft/class_1297;method_5715()Zofficial bPLbfh;bP()Znamed isSneakingLnet/minecraft/entity/Entity;isSneaking()Z
-
isInSneakingPose
public boolean isInSneakingPose()Returns whether the entity is in a crouching pose.Compared to
Entity.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 intermediary method_18276Lnet/minecraft/class_1297;method_18276()Zofficial bULbfh;bU()Znamed isInSneakingPoseLnet/minecraft/entity/Entity;isInSneakingPose()Z
-
shouldSlowDown
public boolean shouldSlowDown()- Mappings:
Namespace Name Mixin selector intermediary method_20303Lnet/minecraft/class_746;method_20303()Zofficial DLfin;D()Znamed shouldSlowDownLnet/minecraft/client/network/ClientPlayerEntity;shouldSlowDown()Z
-
tickNewAi
public void tickNewAi()- Overrides:
tickNewAiin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_6023Lnet/minecraft/class_1309;method_6023()Vofficial fcLbfx;fc()Vnamed tickNewAiLnet/minecraft/entity/LivingEntity;tickNewAi()V
-
isCamera
protected boolean isCamera()- Mappings:
Namespace Name Mixin selector intermediary method_3134Lnet/minecraft/class_746;method_3134()Zofficial ELfin;E()Znamed isCameraLnet/minecraft/client/network/ClientPlayerEntity;isCamera()Z
-
init
public void init()- Mappings:
Namespace Name Mixin selector intermediary method_33689Lnet/minecraft/class_746;method_33689()Vofficial GLfin;G()Vnamed initLnet/minecraft/client/network/ClientPlayerEntity;init()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_6007Lnet/minecraft/class_1309;method_6007()Vofficial b_Lbfx;b_()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
updatePostDeath
protected void updatePostDeath()- Overrides:
updatePostDeathin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_6108Lnet/minecraft/class_1309;method_6108()Vofficial dXLbfx;dX()Vnamed updatePostDeathLnet/minecraft/entity/LivingEntity;updatePostDeath()V
-
updateNausea
private void updateNausea()- Mappings:
Namespace Name Mixin selector intermediary method_18654Lnet/minecraft/class_746;method_18654()Vofficial NLfin;N()Vnamed updateNauseaLnet/minecraft/client/network/ClientPlayerEntity;updateNausea()V
-
tickRiding
public void tickRiding()- Overrides:
tickRidingin classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_5842Lnet/minecraft/class_1297;method_5842()Vofficial buLbfh;bu()Vnamed tickRidingLnet/minecraft/entity/Entity;tickRiding()V
-
isRiding
public boolean isRiding()- Mappings:
Namespace Name Mixin selector intermediary method_3144Lnet/minecraft/class_746;method_3144()Zofficial ILfin;I()Znamed isRidingLnet/minecraft/client/network/ClientPlayerEntity;isRiding()Z
-
removeStatusEffectInternal
@Nullable public @Nullable StatusEffectInstance removeStatusEffectInternal(@Nullable @Nullable StatusEffect type) 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(StatusEffect)is highly preferable.- Overrides:
removeStatusEffectInternalin classLivingEntity- Returns:
- the status effect removed
- Mappings:
Namespace Name Mixin selector intermediary method_6111Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;official cLbfx;c(Lbew;)Lbey;named removeStatusEffectInternalLnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
-
move
- Overrides:
movein classEntity- Mappings:
Namespace Name Mixin selector intermediary method_5784Lnet/minecraft/class_1297;method_5784(Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)Vofficial aLbfh;a(Lbgd;Leea;)Vnamed moveLnet/minecraft/entity/Entity;move(Lnet/minecraft/entity/MovementType;Lnet/minecraft/util/math/Vec3d;)V
-
isAutoJumpEnabled
public boolean isAutoJumpEnabled()- Mappings:
Namespace Name Mixin selector intermediary method_3149Lnet/minecraft/class_746;method_3149()Zofficial JLfin;J()Znamed isAutoJumpEnabledLnet/minecraft/client/network/ClientPlayerEntity;isAutoJumpEnabled()Z
-
autoJump
protected void autoJump(float dx, float dz) - Mappings:
Namespace Name Mixin selector intermediary method_3148Lnet/minecraft/class_746;method_3148(FF)Vofficial fLfin;f(FF)Vnamed autoJumpLnet/minecraft/client/network/ClientPlayerEntity;autoJump(FF)V
-
hasCollidedSoftly
- Overrides:
hasCollidedSoftlyin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_39759Lnet/minecraft/class_1297;method_39759(Lnet/minecraft/class_243;)Zofficial bLbfh;b(Leea;)Znamed hasCollidedSoftlyLnet/minecraft/entity/Entity;hasCollidedSoftly(Lnet/minecraft/util/math/Vec3d;)Z
-
shouldAutoJump
private boolean shouldAutoJump()- Mappings:
Namespace Name Mixin selector intermediary method_22119Lnet/minecraft/class_746;method_22119()Zofficial OLfin;O()Znamed shouldAutoJumpLnet/minecraft/client/network/ClientPlayerEntity;shouldAutoJump()Z
-
hasMovementInput
private boolean hasMovementInput()Returns whether the player has movement input.- Returns:
- whether the player has movement input
- Mappings:
Namespace Name Mixin selector intermediary method_22120Lnet/minecraft/class_746;method_22120()Zofficial PLfin;P()Znamed hasMovementInputLnet/minecraft/client/network/ClientPlayerEntity;hasMovementInput()Z
-
canStartSprinting
private boolean canStartSprinting()- Mappings:
Namespace Name Mixin selector intermediary method_48300Lnet/minecraft/class_746;method_48300()Zofficial QLfin;Q()Znamed canStartSprintingLnet/minecraft/client/network/ClientPlayerEntity;canStartSprinting()Z
-
canVehicleSprint
- Mappings:
Namespace Name Mixin selector intermediary method_48301Lnet/minecraft/class_746;method_48301(Lnet/minecraft/class_1297;)Zofficial cLfin;c(Lbfh;)Znamed canVehicleSprintLnet/minecraft/client/network/ClientPlayerEntity;canVehicleSprint(Lnet/minecraft/entity/Entity;)Z
-
isWalking
private boolean isWalking()- Mappings:
Namespace Name Mixin selector intermediary method_20623Lnet/minecraft/class_746;method_20623()Zofficial RLfin;R()Znamed isWalkingLnet/minecraft/client/network/ClientPlayerEntity;isWalking()Z
-
canSprint
private boolean canSprint()- Mappings:
Namespace Name Mixin selector intermediary method_46743Lnet/minecraft/class_746;method_46743()Zofficial TLfin;T()Znamed canSprintLnet/minecraft/client/network/ClientPlayerEntity;canSprint()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 intermediary method_3140Lnet/minecraft/class_746;method_3140()Fofficial KLfin;K()Fnamed getUnderwaterVisibilityLnet/minecraft/client/network/ClientPlayerEntity;getUnderwaterVisibility()F
-
method_51889
- Mappings:
Namespace Name Mixin selector intermediary method_51889Lnet/minecraft/class_746;method_51889(Lnet/minecraft/class_1934;)Vofficial aLfin;a(Lcmh;)Vnamed method_51889Lnet/minecraft/client/network/ClientPlayerEntity;method_51889(Lnet/minecraft/world/GameMode;)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 intermediary method_5869Lnet/minecraft/class_1297;method_5869()Zofficial aYLbfh;aY()Znamed isSubmergedInWaterLnet/minecraft/entity/Entity;isSubmergedInWater()Z
-
updateWaterSubmersionState
protected boolean updateWaterSubmersionState()- Overrides:
updateWaterSubmersionStatein classPlayerEntity- Mappings:
Namespace Name Mixin selector intermediary method_7295Lnet/minecraft/class_1657;method_7295()Zofficial fGLbym;fG()Znamed updateWaterSubmersionStateLnet/minecraft/entity/player/PlayerEntity;updateWaterSubmersionState()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 intermediary method_30951Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;official qLbfh;q(F)Leea;named getLeashPosLnet/minecraft/entity/Entity;getLeashPos(F)Lnet/minecraft/util/math/Vec3d;
-
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)- Mappings:
Namespace Name Mixin selector intermediary method_33592Lnet/minecraft/class_1657;method_33592(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;Lnet/minecraft/class_5536;)Vofficial aLbym;a(Lcfx;Lcfx;Lcbl;)Vnamed onPickupSlotClickLnet/minecraft/entity/player/PlayerEntity;onPickupSlotClick(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/ClickType;)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 intermediary method_43078Lnet/minecraft/class_1297;method_43078()Fofficial dzLbfh;dz()Fnamed getBodyYawLnet/minecraft/entity/Entity;getBodyYaw()F
-