public abstract class AbstractClientPlayer extends EntityPlayer
EntityPlayer.EnumChatVisibility, EntityPlayer.SleepResult
Modifier and Type | Field and Description |
---|---|
float |
rotateElytraX |
float |
rotateElytraY |
float |
rotateElytraZ |
cameraYaw, capabilities, chasingPosX, chasingPosY, chasingPosZ, experience, experienceLevel, experienceTotal, eyeHeight, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, MAIN_HAND, openContainer, PERSISTED_NBT_TAG, PLAYER_MODEL_FLAG, playerLocation, prevCameraYaw, prevChasingPosX, prevChasingPosY, prevChasingPosZ, renderOffsetX, renderOffsetY, renderOffsetZ, sleeping, speedInAir, speedOnGround, xpCooldown
activeItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, HAND_STATES, hurtTime, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180
addedToChunk, cachedUniqueIdString, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, fireResistance, firstUpdate, forceSpawn, glowing, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj
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() |
addChatComponentMessage, addExhaustion, addExperience, addExperienceLevel, addMovementStat, addPrefix, addScore, addStat, addStat, addSuffix, addToPlayerScore, applyEntityAttributes, applyEntityCollision, attackEntityFrom, attackTargetEntityWithCurrentItem, canAttackPlayer, canEat, canHarvestBlock, canOpen, canPlayerEdit, canTriggerWalking, clonePlayer, closeScreen, createCooldownTracker, damageArmor, damageEntity, damageShield, dismountRidingEntity, displayGui, displayGUIChest, displayGuiCommandBlock, displayGuiEditCommandCart, displayVillagerTradeGui, dropItem, dropItem, dropItem, dropItemAndGetStack, entityInit, fall, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorInventoryList, getArmorVisibility, getBedLocation, getBedLocation, getBedOrientationInDegrees, getBedSpawnLocation, getCapability, getCooldownPeriod, getCooldownTracker, getCooledAttackStrength, getDeathSound, getDefaultEyeHeight, getDigSpeed, getDigSpeed, getDisplayName, getDisplayNameString, getExperiencePoints, getEyeHeight, getFallSound, getFoodStats, getGameProfile, getHeldEquipment, getHurtSound, getInventoryEnderChest, getItemStackFromSlot, getLuck, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getPrefixes, getPrimaryHand, getScore, getSleepTimer, getSoundCategory, getSplashSound, getSuffixes, getSwimSound, getTeam, getUUID, getWorldScoreboard, getXPSeed, getYOffset, handleStatusUpdate, hasAchievement, hasCapability, hasReducedDebug, interact, isAllowEdit, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isSpawnForced, isUser, isWearing, jump, moveEntityWithHeading, onCriticalHit, onDeath, onEnchantmentCritical, onKillEntity, onLivingUpdate, onUpdate, openBook, openEditSign, openGui, openGuiHorseInventory, playSound, preparePlayerToSpawn, readEntityFromNBT, refreshDisplayName, removeExperienceLevel, replaceItemInInventory, resetCooldown, resetHeight, respawnPlayer, sendCommandFeedback, sendPlayerAbilities, setAbsorptionAmount, setDead, setGameType, setInWeb, setItemStackToSlot, setPrimaryHand, setReducedDebug, setScore, setSpawnChunk, setSpawnPoint, shouldHeal, spawnSweepParticles, takeStat, trySleep, updateEntityActionState, updateRidden, updateSize, wakeUpPlayer, writeEntityToNBT, xpBarCap
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, areAllPotionsAmbient, attackEntityAsMob, attemptTeleport, canBeCollidedWith, canBeHitWithPotion, canBePushed, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, dropLoot, frostWalk, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttackingEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, handleJumpLava, handleJumpWater, heal, isActiveItemStackBlocking, isChild, isElytraFlying, isEntityAlive, isEntityUndead, isHandActive, isOnLadder, isPotionActive, isPotionApplicable, isServerWorld, kill, knockBack, markPotionsDirty, notifyDataManagerChange, onChangedPotionEffect, onDeathUpdate, onEntityUpdate, onFinishedPotionEffect, onItemPickup, onItemUseFinish, onKillCommand, onNewPotionEffect, performHurtAnimation, playEquipSound, playHurtSound, removeActivePotionEffect, removePotionEffect, renderBrokenItemStack, resetActiveHand, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setHeldItem, setJumping, setLastAttacker, setPositionAndRotationDirect, setRenderYawOffset, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, stopActiveHand, swingArm, updateActiveHand, updateArmSwingProgress, updateDistance, updateFallState, updateItemUse, updatePotionEffects, updatePotionMetadata
addChatMessage, addEntityCrashInfo, addPassenger, addTag, addTrackingPlayer, addVelocity, applyEnchantments, applyOrientationToEntity, applyPlayerInteraction, canBeAttackedWithItem, canBeRidden, canCommandSenderUseCommand, canFitPassenger, canPassengerSteer, canRenderOnFire, canRiderInteract, changeDimension, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, deserializeNBT, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAdjustedHorizontalFacing, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCommandStats, getControllingPassenger, getCustomNameTag, getDataManager, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getFlag, getHorizontalFacing, getHoverEvent, getLastPortalVec, getLowestRidingEntity, getMaxFallHeight, getMirroredYaw, getMountedYOffset, getParts, getPassengers, getPersistentID, getPickedResult, getPosition, getPositionEyes, getPositionVector, getPushReaction, getRecursivePassengers, getRecursivePassengersByType, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getServer, getTags, getTeleportDirection, getUniqueID, getVectorForRotation, handleWaterMovement, hasCustomName, hashCode, hitByEntity, ignoreItemEntityData, isBeingRidden, isBurning, isCreatureType, isEntityEqual, isEntityInvulnerable, isGlowing, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isNonBoss, isOffsetPositionInLiquid, isOnSameTeam, isOnScoreboardTeam, isOutsideBorder, isPassenger, isRiding, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSprinting, isWet, moveEntity, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onStruckByLightning, playStepSound, processInitialInteract, pushOutOfBlocks, rayTrace, readFromNBT, removePassenger, removePassengers, removeTag, removeTrackingPlayer, resetEntityId, resetPositionToBB, serializeNBT, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCommandStats, setCustomNameTag, setDropItemsWhenDead, setEntityBoundingBox, setEntityId, setEntityInvulnerable, setFire, setFlag, setGlowing, setInvisible, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPortal, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRenderDistanceWeight, setRotation, setSilent, setSize, setSneaking, setUniqueId, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, toString, updatePassenger, verifyExplosion, writeToNBT, writeToNBTAtomically, writeToNBTOptional
public float rotateElytraX
public float rotateElytraY
public float rotateElytraZ
public AbstractClientPlayer(World worldIn, com.mojang.authlib.GameProfile playerProfile)
public boolean isSpectator()
isSpectator
in class EntityPlayer
public boolean isCreative()
isCreative
in class EntityPlayer
public 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()