public abstract class AbstractClientPlayer extends EntityPlayer
EntityPlayer.EnumChatVisibility, EntityPlayer.SleepResult| Modifier and Type | Field and Description |
|---|---|
float |
rotateElytraX |
float |
rotateElytraY |
float |
rotateElytraZ |
abilities, bedLocation, cameraYaw, chasingPosX, chasingPosY, chasingPosZ, enderChest, experience, experienceLevel, experienceTotal, eyesInWaterPlayer, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, LEFT_SHOULDER_ENTITY, MAIN_HAND, openContainer, PERSISTED_NBT_TAG, PLAYER_MODEL_FLAG, prevCameraYaw, prevChasingPosX, prevChasingPosY, prevChasingPosZ, REACH_DISTANCE, renderOffsetX, renderOffsetY, renderOffsetZ, RIGHT_SHOULDER_ENTITY, sleeping, spawnForced, spawnForcedMap, spawnPos, spawnPosMap, speedInAir, xpCooldown, xpSeedactiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, field_208001_bq, field_208002_br, hurtTime, idleTime, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, world| Constructor and Description |
|---|
AbstractClientPlayer(World worldIn,
com.mojang.authlib.GameProfile playerProfile) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadDownloadImageData |
getDownloadImageSkin(ResourceLocation resourceLocationIn,
java.lang.String username) |
float |
getFovModifier() |
ResourceLocation |
getLocationCape() |
ResourceLocation |
getLocationElytra() |
ResourceLocation |
getLocationSkin() |
static ResourceLocation |
getLocationSkin(java.lang.String username) |
protected NetworkPlayerInfo |
getPlayerInfo() |
java.lang.String |
getSkinType() |
boolean |
hasPlayerInfo() |
boolean |
hasSkin() |
boolean |
isCreative() |
boolean |
isPlayerInfoSet() |
boolean |
isSpectator() |
addExhaustion, addExperienceLevel, addItemStackToInventory, addMovementStat, addScore, addShoulderEntity, addStat, addStat, addStat, addStat, applyEntityCollision, attackEntityFrom, attackTargetEntityWithCurrentItem, blockUsingShield, canAttackPlayer, canEat, canHarvestBlock, canOpen, canPlayerEdit, canTriggerWalking, canUseCommandBlock, closeScreen, createCooldownTracker, damageArmor, damageEntity, damageShield, destroyVanishingCursedItems, disableShield, displayGui, displayGUIChest, displayVillagerTradeGui, doWaterSplashEffect, dropItem, dropItem, dropItem, dropItemAndGetStack, fall, func_207402_f, func_208017_dF, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorInventoryList, getArmorVisibility, getBedLocation, getBedLocation, getBedOrientationInDegrees, getBedSpawnLocation, getCapability, getCooldownPeriod, getCooldownTracker, getCooledAttackStrength, getDeathSound, getDefaultEyeHeight, getDigSpeed, getDigSpeed, getDisplayName, getExperiencePoints, getEyeHeight, getFallSound, getFireImmuneTicks, getFoodStats, getGameProfile, getHeldEquipment, getHighspeedSplashSound, getHurtSound, getInventoryEnderChest, getItemStackFromSlot, getLeftShoulderEntity, getLuck, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getPrefixes, getPrimaryHand, getRightShoulderEntity, getScore, getScoreboardName, getSleepTimer, getSoundCategory, getSpawnDimension, getSplashSound, getSuffixes, getSwimSound, getUUID, getWorldScoreboard, getXPSeed, getYOffset, giveExperiencePoints, handleStatusUpdate, hasReducedDebug, interactOn, isAllowEdit, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isNormalCube, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isSpawnForced, isSwimming, isUser, isWearing, jump, livingTick, onCriticalHit, onDeath, onEnchant, onEnchantmentCritical, onKillEntity, openBook, openCommandBlock, openHorseInventory, openMinecartCommandBlock, openSignEditor, openStructureBlock, playSound, preparePlayerToSpawn, readAdditional, registerAttributes, registerData, remove, replaceItemInInventory, resetCooldown, resetRecipes, respawnPlayer, sendPlayerAbilities, sendStatusMessage, setAbsorptionAmount, setGameType, setInWeb, setItemStackToSlot, setLeftShoulderEntity, setPrimaryHand, setReducedDebug, setRightShoulderEntity, setScore, setSpawnDimenion, setSpawnPoint, setSpawnPoint, shouldHeal, spawnShoulderEntities, spawnSweepParticles, spinAttack, stopRiding, takeStat, tick, travel, trySleep, unlockRecipes, unlockRecipes, updateEntityActionState, updateEyesInWaterPlayer, updateRidden, updateSize, updateSwimming, wakeUpPlayer, writeAdditional, xpBarCapaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attackable, attackEntityAsMob, attemptTeleport, baseTick, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, determineNextAir, dismountEntity, dropEquipment, dropFewItems, dropLoot, frostWalk, func_195061_cb, func_203010_cG, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributeMap, getCombatTracker, getCreatureAttribute, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getMaxHealth, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getWaterSlowDown, getYaw, handleFluidJump, hasItemInSlot, heal, isActiveItemStackBlocking, isAlive, isChild, isElytraFlying, isEntityUndead, isHandActive, isOnLadder, isPotionActive, isPotionApplicable, isServerWorld, isSpinAttacking, knockBack, lerp, lookAt, markPotionsDirty, markVelocityChanged, moveRelative, notifyDataManagerChange, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onKillCommand, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playHurtSound, remove, removeActivePotionEffect, removePotionEffect, renderBrokenItemStack, resetActiveHand, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setHeadRotation, setHealth, setHeldItem, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, startSpinAttack, stopActiveHand, swingArm, updateActiveHand, updateArmSwingProgress, updateDistance, updateFallState, updateItemUse, updatePotionEffects, updatePotionMetadata, updateSpinAttackaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, areEyesInFluid, awardKillScore, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, func_212321_a, getAdjustedHorizontalFacing, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDistance, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyePosition, getFlag, getForward, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMirroredYaw, getMountedYOffset, getParts, getPassengers, getPermissionLevel, getPitch, getPitchYaw, getPosition, getPositionVector, getPushReaction, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getSubmergedHeight, getTags, getTeam, getTeleportDirection, getType, getUniqueID, getVectorForRotation, handleFluidAcceleration, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, hitByEntity, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCustomNameVisible, isEntityEqual, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInvisible, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isPassenger, isPassenger, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, makeFlySound, move, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onRemovedFromWorld, onStruckByLightning, playFlySound, playStepSound, playSwimSound, processInitialInteract, pushOutOfBlocks, rayTrace, read, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setDropItemsWhenDead, setEntityId, setFire, setFlag, setGlowing, setInvisible, setInvulnerable, setLocationAndAngles, setNoGravity, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSize, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, toString, updatePassenger, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBeRiddenInWater, canRiderInteract, deserializeNBT, getEntity, getPickedResult, isCreatureType, serializeNBT, shouldRenderInPass, shouldRiderSitgetCapabilitypublic float rotateElytraX
public float rotateElytraY
public float rotateElytraZ
public AbstractClientPlayer(World worldIn, com.mojang.authlib.GameProfile playerProfile)
public boolean isSpectator()
isSpectator in class EntityPlayerpublic boolean isCreative()
isCreative in class EntityPlayerpublic boolean hasPlayerInfo()
@Nullable protected NetworkPlayerInfo getPlayerInfo()
public boolean hasSkin()
public ResourceLocation getLocationSkin()
@Nullable public ResourceLocation getLocationCape()
public boolean isPlayerInfoSet()
@Nullable public ResourceLocation getLocationElytra()
public static ThreadDownloadImageData getDownloadImageSkin(ResourceLocation resourceLocationIn, java.lang.String username)
public static ResourceLocation getLocationSkin(java.lang.String username)
public java.lang.String getSkinType()
public float getFovModifier()