Package net.minecraft.entity.player
Class OtherClientPlayerEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.player.PlayerEntity
net.minecraft.client.network.AbstractClientPlayerEntity
net.minecraft.entity.player.OtherClientPlayerEntity
- All Implemented Interfaces:
CommandSource
Client player entity used by incoming mp players
- Mappings:
Namespace Name official cipintermediary net/minecraft/class_519named net/minecraft/entity/player/OtherClientPlayerEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate doubleprivate doubleprivate doubleprivate doubleprivate doubleFields inherited from class net.minecraft.entity.player.PlayerEntity
abilities, abilityResyncCountdown, capeX, capeY, capeZ, experienceLevel, experiencePickUpDelay, experienceProgress, field_3993, field_3994, field_4005, field_4006, field_4009, fishHook, hungerManager, inBed, inventory, openScreenHandler, playerScreenHandler, pos, prevCapeX, prevCapeY, prevCapeZ, prevStrideDistance, strideDistance, totalExperienceFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionOtherClientPlayerEntity(World world, com.mojang.authlib.GameProfile profile) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUseCommand(int permissionLevel, String commandLiteral) booleandamage(DamageSource source, float amount) voidsendMessage(Text text) voidsetArmorSlot(int armorSlot, ItemStack item) voidtick()voidvoidupdateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) Methods inherited from class net.minecraft.client.network.AbstractClientPlayerEntity
canRenderCapeTexture, getElytraTexture, getModel, getPlayerListEntry, getSkinId, getSkinTexture, getSpeed, hasSkinTexture, isSpectator, loadSkinMethods inherited from class net.minecraft.entity.player.PlayerEntity
addCritParticles, addEnchantedHitParticles, addExhaustion, addExperience, addMessage, addScore, afterSpawn, applyDamage, awaken, canClimb, canConsume, canFly, canFoodHeal, canModify, canModifyWorld, closeHandledScreen, copyFrom, damageArmor, decrementXp, drink, dropItem, dropSelectedItem, dropStack, equip, findRespawnPosition, getAbsorption, getArmorProtectionValue, getArmorStacks, getDeathSound, getDefaultNetherPortalCooldown, getEnchantmentTableSeed, getEnderChestInventory, getEyeHeight, getFallSound, getGameProfile, getHeightOffset, getHungerManager, getHurtSound, getItemUseTicks, getMainHandStack, getMainSlot, getMaxNetherPortalTime, getMovementSpeed, getNextLevelExperience, getOfflinePlayerUuid, getReducedDebugInfo, getRemainingUseTime, getScore, getScoreboard, getScoreboardTeam, getSleepTimer, getSpawnPosition, getSplashSound, getStackInHand, getSwimSound, getTranslationKey, getUsedItem, getUuidFromProfile, getXpToDrop, handleFallDamage, handleStatus, incrementStat, incrementStat, incrementXp, initDataTracker, initializeAttributes, isInsideWall, isInvisibleTo, isMainPlayer, isPartVisible, isScreenLocked, isSleeping, isSleepingLongEnough, isSpawnForced, isUsingEffectiveTool, isUsingItem, jump, method_11235, method_11238, method_2610, method_2611, method_3153, method_3170, method_3183, method_3209, method_3215, method_3216, method_4485, method_4575, method_6344, onKilled, onKilledOther, onSwimmingStart, openBookEditScreen, openCommandBlockScreen, openEditSignScreen, openHandledScreen, openHorseInventory, openInventory, openTradingScreen, playSound, readCustomDataFromNbt, remove, removeSelectedSlotItem, requestRespawn, resetUseItem, sendAbilitiesUpdate, sendCommandFeedback, setAbsorption, setInLava, setPlayerSpawn, setReducedDebugInfo, setScore, setUseItem, shouldAlwaysDropXp, shouldDamagePlayer, shouldRenderName, spawnItemEntity, stopUsingItem, tickNewAi, tickRiding, travel, updateKilledAdvancementCriterion, useItem, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyEnchantmentsToDamage, baseTick, canMoveVoluntarily, canSee, clearStatusEffects, collides, destroy, dropLoot, dropXp, endCombat, enterCombat, fall, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2634, method_2649, method_2658, method_4472, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAttacker, setHeadYaw, setHealth, setJumping, setMovementSpeed, setSprinting, setStuckArrows, shouldDropXp, startRiding, swingHand, tickCramming, tickHandSwing, tickStatusEffects, tryAttack, turnHead, updatePotionVisibilityMethods inherited from class net.minecraft.entity.Entity
addVelocity, attemptSprintingParticles, burn, canAvoidTraps, canExplosionDestroyBlock, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getEntity, getEntityId, getFlag, getHardCollisionBox, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMountedHeightOffset, getParts, getPos, getRotationVector, getSafeFallDistance, getSavedEntityId, getTargetingMargin, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInvisible, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isSwimming, isTouchingLava, isTouchingWater, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_8364, move, onLightningStrike, onPlayerCollision, openInventory, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, saveSelfToNbt, saveToNbt, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
field_1769
private boolean field_1769- Mappings:
Namespace Name Mixin selector official aLcip;a:Zintermediary field_1769Lnet/minecraft/class_519;field_1769:Znamed field_1769Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1769:Z
-
field_1770
private int field_1770- Mappings:
Namespace Name Mixin selector official bLcip;b:Iintermediary field_1770Lnet/minecraft/class_519;field_1770:Inamed field_1770Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1770:I
-
field_1771
private double field_1771- Mappings:
Namespace Name Mixin selector official cLcip;c:Dintermediary field_1771Lnet/minecraft/class_519;field_1771:Dnamed field_1771Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1771:D
-
field_1772
private double field_1772- Mappings:
Namespace Name Mixin selector official dLcip;d:Dintermediary field_1772Lnet/minecraft/class_519;field_1772:Dnamed field_1772Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1772:D
-
field_1773
private double field_1773- Mappings:
Namespace Name Mixin selector official eLcip;e:Dintermediary field_1773Lnet/minecraft/class_519;field_1773:Dnamed field_1773Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1773:D
-
field_1774
private double field_1774- Mappings:
Namespace Name Mixin selector official fLcip;f:Dintermediary field_1774Lnet/minecraft/class_519;field_1774:Dnamed field_1774Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1774:D
-
field_1775
private double field_1775- Mappings:
Namespace Name Mixin selector official gLcip;g:Dintermediary field_1775Lnet/minecraft/class_519;field_1775:Dnamed field_1775Lnet/minecraft/entity/player/OtherClientPlayerEntity;field_1775:D
-
-
Constructor Details
-
OtherClientPlayerEntity
- Mappings:
Namespace Name Mixin selector official <init>Lahd;<init>(Laqu;Lcom/mojang/authlib/GameProfile;)Vintermediary <init>Lnet/minecraft/class_988;<init>(Lnet/minecraft/class_1150;Lcom/mojang/authlib/GameProfile;)Vnamed <init>Lnet/minecraft/entity/player/PlayerEntity;<init>(Lnet/minecraft/world/World;Lcom/mojang/authlib/GameProfile;)V
-
-
Method Details
-
damage
- Overrides:
damagein classPlayerEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(Lwh;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
updateTrackedPositionAndAngles
public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps, boolean interpolate) - Overrides:
updateTrackedPositionAndAnglesin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLwv;a(DDDFFIZ)Vintermediary method_2488Lnet/minecraft/class_864;method_2488(DDDFFIZ)Vnamed updateTrackedPositionAndAnglesLnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFIZ)V
-
tick
public void tick()- Overrides:
tickin classPlayerEntity- Mappings:
Namespace Name Mixin selector official s_Lwv;s_()Vintermediary method_2558Lnet/minecraft/class_864;method_2558()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classPlayerEntity- Mappings:
Namespace Name Mixin selector official mLxm;m()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
setArmorSlot
- Overrides:
setArmorSlotin classPlayerEntity- Mappings:
Namespace Name Mixin selector official cLwv;c(ILamj;)Vintermediary method_2527Lnet/minecraft/class_864;method_2527(ILnet/minecraft/class_1071;)Vnamed setArmorSlotLnet/minecraft/entity/Entity;setArmorSlot(ILnet/minecraft/item/ItemStack;)V
-
sendMessage
- Specified by:
sendMessagein interfaceCommandSource- Overrides:
sendMessagein classEntity- Mappings:
Namespace Name Mixin selector official aLae;a(Lho;)Vintermediary method_5505Lnet/minecraft/class_1061;method_5505(Lnet/minecraft/class_1982;)Vnamed sendMessageLnet/minecraft/command/CommandSource;sendMessage(Lnet/minecraft/text/Text;)V
-
canUseCommand
- Specified by:
canUseCommandin interfaceCommandSource- Overrides:
canUseCommandin classEntity- Mappings:
Namespace Name Mixin selector official aLae;a(ILjava/lang/String;)Zintermediary method_3333Lnet/minecraft/class_1061;method_3333(ILjava/lang/String;)Znamed canUseCommandLnet/minecraft/command/CommandSource;canUseCommand(ILjava/lang/String;)Z
-
getBlockPos
- Specified by:
getBlockPosin interfaceCommandSource- Overrides:
getBlockPosin classEntity- Mappings:
Namespace Name Mixin selector official cLae;c()Ldt;intermediary method_4086Lnet/minecraft/class_1061;method_4086()Lnet/minecraft/class_2552;named getBlockPosLnet/minecraft/command/CommandSource;getBlockPos()Lnet/minecraft/util/math/BlockPos;
-