Package net.minecraft.client.network
Class AbstractClientPlayerEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.player.PlayerEntity
net.minecraft.client.network.AbstractClientPlayerEntity
- All Implemented Interfaces:
EntityLike
,CommandOutput
,Nameable
- Direct Known Subclasses:
ClientPlayerEntity
,OtherClientPlayerEntity
@Environment(CLIENT) public abstract class AbstractClientPlayerEntity extends PlayerEntity
- Mappings:
Namespace Name official egt
intermediary net/minecraft/class_742
named net/minecraft/client/network/AbstractClientPlayerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.player.PlayerEntity
PlayerEntity.SleepFailureReason
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private PlayerListEntry
cachedScoreboardEntry
ClientWorld
clientWorld
float
elytraPitch
float
elytraRoll
float
elytraYaw
Fields inherited from class net.minecraft.entity.player.PlayerEntity
abilityResyncCountdown, capeX, capeY, capeZ, currentScreenHandler, enchantmentTableSeed, enderChestInventory, experienceLevel, experiencePickUpDelay, experienceProgress, field_7509, fishHook, hungerManager, isSubmergedInWater, LEFT_SHOULDER_ENTITY, MAIN_ARM, PLAYER_MODEL_PARTS, playerScreenHandler, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, RIGHT_SHOULDER_ENTITY, STANDING_DIMENSIONS, strideDistance, totalExperience
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description AbstractClientPlayerEntity(ClientWorld world, com.mojang.authlib.GameProfile profile)
-
Method Summary
Modifier and Type Method Description boolean
canRenderCapeTexture()
boolean
canRenderElytraTexture()
Identifier
getCapeTexture()
Identifier
getElytraTexture()
String
getModel()
protected PlayerListEntry
getPlayerListEntry()
static Identifier
getSkinId(String playerName)
Identifier
getSkinTexture()
float
getSpeed()
boolean
hasSkinTexture()
boolean
isCreative()
Returns whether this player is in creative mode.boolean
isSpectator()
static PlayerSkinTexture
loadSkin(Identifier id, String playerName)
Methods inherited from class net.minecraft.entity.player.PlayerEntity
addCritParticles, addEnchantedHitParticles, addExhaustion, addExperience, addExperienceLevels, addScore, addShoulderEntity, adjustMovementForSneaking, applyDamage, applyEnchantmentCosts, attack, attackLivingEntity, canConsume, canEquip, canFly, canFoodHeal, canHarvest, canModifyBlocks, canPlaceOn, canTakeDamage, checkFallFlying, clipAtLedge, closeHandledScreen, createCooldownManager, createPlayerAttributes, damage, damageArmor, damageShield, disableShield, dismountVehicle, doesNotSuffocate, dropInventory, dropItem, dropItem, dropSelectedItem, dropShoulderEntities, eatFood, equipStack, findRespawnPosition, getAbilities, getAbsorptionAmount, getActiveEyeHeight, getArmorItems, getArrowType, getAttackCooldownProgress, getAttackCooldownProgressPerTick, getBlockBreakingSpeed, getBurningDuration, getCurrentExperience, getDeathSound, getDefaultNetherPortalCooldown, getDimensions, getDisplayName, getEnchantmentTableSeed, getEnderChestInventory, getEntityName, getEquippedStack, getFallSound, getGameProfile, getHeightOffset, getHighSpeedSplashSound, getHungerManager, getHurtSound, getInventory, getItemCooldownManager, getItemsHand, getLuck, getMainArm, getMaxNetherPortalTime, getMovementSpeed, getName, getNextLevelExperience, getOfflinePlayerUuid, getPoses, getScore, getScoreboard, getShoulderEntityLeft, getShoulderEntityRight, getSleepTimer, getSoundCategory, getSplashSound, getSwimSound, getUuidFromProfile, getVelocityMultiplier, giveItemStack, handleFallDamage, handleStatus, hasReducedDebugInfo, increaseStat, increaseStat, increaseTravelMotionStats, incrementStat, incrementStat, initDataTracker, interact, isBlockBreakingRestricted, isCreativeLevelTwoOp, isImmobile, isInvulnerableTo, isMainPlayer, isOnSoulSpeedBlock, isPartVisible, isPlayer, isSleepingLongEnough, isSwimming, isUsingSpyglass, jump, lockRecipes, method_29500, method_30951, method_32318, method_33570, method_33592, onDeath, onKilledOther, onSwimmingStart, openCommandBlockMinecartScreen, openCommandBlockScreen, openEditBookScreen, openEditSignScreen, openHandledScreen, openHorseInventory, openJigsawScreen, openStructureBlockScreen, playSound, playSound, readCustomDataFromTag, remove, requestRespawn, resetLastAttackedTicks, resetStat, sendAbilitiesUpdate, sendMessage, sendTradeOffers, setAbsorptionAmount, setFireTicks, setMainArm, setReducedDebugInfo, setScore, setShoulderEntityLeft, setShoulderEntityRight, shouldAlwaysDropXp, shouldCancelInteraction, shouldDamagePlayer, shouldDismount, shouldRenderName, shouldSwimInFluids, slowMovement, spawnSweepAttackParticles, startFallFlying, stopFallFlying, takeShieldHit, tick, tickMovement, tickNewAi, tickRiding, travel, trySleep, unlockRecipes, unlockRecipes, updateSize, updateSwimming, updateWaterSubmersionState, vanishCursedItems, wakeUp, wakeUp, writeCustomDataToTag
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, baseTick, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canMoveVoluntarily, canSee, canTarget, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, deserializeBrain, displaySoulSpeedEffects, drop, dropEquipment, dropLoot, dropXp, endCombat, enterCombat, fall, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getLootContextBuilder, getLootTable, getMainHandStack, getMaxHealth, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isInsideWall, isInSwimmingPose, isMobOrPlayer, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_30633, method_31079, method_33579, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playHurtSound, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldDisplaySoulSpeedEffects, shouldDropLoot, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, turnHead, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPickBlockStack, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isRemoved, isSilent, isSneaking, isSneaky, isSprinting, isSubmergedIn, isSubmergedInWater, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_29919, method_30330, method_31744, method_32877, method_33332, method_33567, method_33568, method_33569, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, playFlySound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
cachedScoreboardEntry
- Mappings:
Namespace Name Mixin selector official e
Legt;e:Leec;
intermediary field_3901
Lnet/minecraft/class_742;field_3901:Lnet/minecraft/class_640;
named cachedScoreboardEntry
Lnet/minecraft/client/network/AbstractClientPlayerEntity;cachedScoreboardEntry:Lnet/minecraft/client/network/PlayerListEntry;
-
elytraPitch
public float elytraPitch- Mappings:
Namespace Name Mixin selector official a
Legt;a:F
intermediary field_3900
Lnet/minecraft/class_742;field_3900:F
named elytraPitch
Lnet/minecraft/client/network/AbstractClientPlayerEntity;elytraPitch:F
-
elytraYaw
public float elytraYaw- Mappings:
Namespace Name Mixin selector official b
Legt;b:F
intermediary field_3899
Lnet/minecraft/class_742;field_3899:F
named elytraYaw
Lnet/minecraft/client/network/AbstractClientPlayerEntity;elytraYaw:F
-
elytraRoll
public float elytraRoll- Mappings:
Namespace Name Mixin selector official c
Legt;c:F
intermediary field_3898
Lnet/minecraft/class_742;field_3898:F
named elytraRoll
Lnet/minecraft/client/network/AbstractClientPlayerEntity;elytraRoll:F
-
clientWorld
- Mappings:
Namespace Name Mixin selector official d
Legt;d:Ledy;
intermediary field_17892
Lnet/minecraft/class_742;field_17892:Lnet/minecraft/class_638;
named clientWorld
Lnet/minecraft/client/network/AbstractClientPlayerEntity;clientWorld:Lnet/minecraft/client/world/ClientWorld;
-
-
Constructor Details
-
AbstractClientPlayerEntity
- Mappings:
Namespace Name Mixin selector official <init>
Legt;<init>(Ledy;Lcom/mojang/authlib/GameProfile;)V
intermediary <init>
Lnet/minecraft/class_742;<init>(Lnet/minecraft/class_638;Lcom/mojang/authlib/GameProfile;)V
named <init>
Lnet/minecraft/client/network/AbstractClientPlayerEntity;<init>(Lnet/minecraft/client/world/ClientWorld;Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
isSpectator
public boolean isSpectator()- Specified by:
isSpectator
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official a_
Laqv;a_()Z
intermediary method_7325
Lnet/minecraft/class_1297;method_7325()Z
named isSpectator
Lnet/minecraft/entity/Entity;isSpectator()Z
-
isCreative
public boolean isCreative()Returns whether this player is in creative mode.- Specified by:
isCreative
in classPlayerEntity
- Mappings:
Namespace Name Mixin selector official b_
Lbhl;b_()Z
intermediary method_7337
Lnet/minecraft/class_1657;method_7337()Z
named isCreative
Lnet/minecraft/entity/player/PlayerEntity;isCreative()Z
-
canRenderCapeTexture
public boolean canRenderCapeTexture()- Mappings:
Namespace Name Mixin selector official c
Legt;c()Z
intermediary method_3125
Lnet/minecraft/class_742;method_3125()Z
named canRenderCapeTexture
Lnet/minecraft/client/network/AbstractClientPlayerEntity;canRenderCapeTexture()Z
-
getPlayerListEntry
- Mappings:
Namespace Name Mixin selector official f
Legt;f()Leec;
intermediary method_3123
Lnet/minecraft/class_742;method_3123()Lnet/minecraft/class_640;
named getPlayerListEntry
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getPlayerListEntry()Lnet/minecraft/client/network/PlayerListEntry;
-
hasSkinTexture
public boolean hasSkinTexture()- Mappings:
Namespace Name Mixin selector official n
Legt;n()Z
intermediary method_3127
Lnet/minecraft/class_742;method_3127()Z
named hasSkinTexture
Lnet/minecraft/client/network/AbstractClientPlayerEntity;hasSkinTexture()Z
-
getSkinTexture
- Mappings:
Namespace Name Mixin selector official o
Legt;o()Lwb;
intermediary method_3117
Lnet/minecraft/class_742;method_3117()Lnet/minecraft/class_2960;
named getSkinTexture
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSkinTexture()Lnet/minecraft/util/Identifier;
-
getCapeTexture
- Mappings:
Namespace Name Mixin selector official p
Legt;p()Lwb;
intermediary method_3119
Lnet/minecraft/class_742;method_3119()Lnet/minecraft/class_2960;
named getCapeTexture
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getCapeTexture()Lnet/minecraft/util/Identifier;
-
canRenderElytraTexture
public boolean canRenderElytraTexture()- Mappings:
Namespace Name Mixin selector official r
Legt;r()Z
intermediary method_3126
Lnet/minecraft/class_742;method_3126()Z
named canRenderElytraTexture
Lnet/minecraft/client/network/AbstractClientPlayerEntity;canRenderElytraTexture()Z
-
getElytraTexture
- Mappings:
Namespace Name Mixin selector official u
Legt;u()Lwb;
intermediary method_3122
Lnet/minecraft/class_742;method_3122()Lnet/minecraft/class_2960;
named getElytraTexture
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getElytraTexture()Lnet/minecraft/util/Identifier;
-
loadSkin
- Mappings:
Namespace Name Mixin selector official a
Legt;a(Lwb;Ljava/lang/String;)Lerl;
intermediary method_3120
Lnet/minecraft/class_742;method_3120(Lnet/minecraft/class_2960;Ljava/lang/String;)Lnet/minecraft/class_1046;
named loadSkin
Lnet/minecraft/client/network/AbstractClientPlayerEntity;loadSkin(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Lnet/minecraft/client/texture/PlayerSkinTexture;
-
getSkinId
- Mappings:
Namespace Name Mixin selector official d
Legt;d(Ljava/lang/String;)Lwb;
intermediary method_3124
Lnet/minecraft/class_742;method_3124(Ljava/lang/String;)Lnet/minecraft/class_2960;
named getSkinId
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSkinId(Ljava/lang/String;)Lnet/minecraft/util/Identifier;
-
getModel
- Mappings:
Namespace Name Mixin selector official v
Legt;v()Ljava/lang/String;
intermediary method_3121
Lnet/minecraft/class_742;method_3121()Ljava/lang/String;
named getModel
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getModel()Ljava/lang/String;
-
getSpeed
public float getSpeed()- Mappings:
Namespace Name Mixin selector official w
Legt;w()F
intermediary method_3118
Lnet/minecraft/class_742;method_3118()F
named getSpeed
Lnet/minecraft/client/network/AbstractClientPlayerEntity;getSpeed()F
-