public abstract class EntityPlayer extends EntityLiving
| Modifier and Type | Field and Description |
|---|---|
ChunkCoordinates |
bedChunkCoordinates |
Container |
craftingInventory |
int |
dimension |
double |
field_20061_w |
double |
field_20062_v |
double |
field_20063_u |
double |
field_20064_t |
double |
field_20065_s |
double |
field_20066_r |
float |
field_22061_z |
float |
field_22062_y |
float |
field_22063_x |
float |
field_774_f |
float |
field_775_e |
byte |
field_9371_f |
EntityFish |
fishEntity |
protected boolean |
inPortal |
InventoryPlayer |
inventory |
Container |
inventorySlots |
boolean |
isSwinging |
java.lang.String |
playerCloakUrl |
float |
prevTimeInPortal |
int |
score |
protected boolean |
sleeping |
int |
swingProgressInt |
float |
timeInPortal |
int |
timeUntilPortal |
java.lang.String |
username |
attackedAtYaw, attackTime, cameraPitch, deathTime, defaultPitch, entityAge, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9328_R, field_9345_F, field_9346_af, field_9349_D, field_9351_C, field_9353_B, field_9355_A, field_9358_y, field_9359_x, field_9360_w, field_9361_v, field_9362_u, field_9363_r, field_9365_p, health, heartsHalvesLife, hurtTime, isJumping, isMultiplayerEntity, maxHurtTime, moveForward, moveSpeed, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevHealth, prevRenderYawOffset, prevSwingProgress, randomYawVelocity, renderYawOffset, scoreValue, swingProgress, texture, unused_flagaddedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityPlayer(World world) |
canBeCollidedWith, canBePushed, canBreatheUnderwater, canDespawn, canEntityBeSeen, dropFewItems, faceEntity, func_25026_x, func_27021_X, getCanSpawnHere, getCurrentTarget, getDeathSound, getDropItemId, getEntityTexture, getHeldItem, getHurtSound, getLivingSound, getLook, getLookVec, getMaxSpawnedInChunk, getPosition, getSoundVolume, getSwingProgress, getTalkInterval, handleHealthUpdate, hasCurrentTarget, heal, isEntityAlive, isOnLadder, kill, knockBack, onEntityDeath, onEntityUpdate, performHurtAnimation, playLivingSound, rayTrace, setPositionAndRotation2, setSize, spawnExplosionParticleaddEntityID, addVelocity, applyEntityCollision, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getMountedYOffset, getShadowSize, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onStruckByLightning, outfitWithItem, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityFlag, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setVelocity, setWorld, updateFallState, updateRiderPosition, writeToNBTpublic InventoryPlayer inventory
public Container inventorySlots
public Container craftingInventory
public byte field_9371_f
public int score
public float field_775_e
public float field_774_f
public boolean isSwinging
public int swingProgressInt
public java.lang.String username
public int dimension
public java.lang.String playerCloakUrl
public double field_20066_r
public double field_20065_s
public double field_20064_t
public double field_20063_u
public double field_20062_v
public double field_20061_w
protected boolean sleeping
public ChunkCoordinates bedChunkCoordinates
public float field_22063_x
public float field_22062_y
public float field_22061_z
public int timeUntilPortal
protected boolean inPortal
public float timeInPortal
public float prevTimeInPortal
public EntityFish fishEntity
public EntityPlayer(World world)
protected void entityInit()
entityInit in class EntityLivingpublic void onUpdate()
onUpdate in class EntityLivingprotected boolean isMovementBlocked()
isMovementBlocked in class EntityLivingprotected void closeScreen()
public void updateCloak()
updateCloak in class Entitypublic void updateRidden()
updateRidden in class EntityLivingpublic void preparePlayerToSpawn()
preparePlayerToSpawn in class Entityprotected void updatePlayerActionState()
updatePlayerActionState in class EntityLivingpublic void onLivingUpdate()
onLivingUpdate in class EntityLivingpublic int getScore()
public void onDeath(Entity entity)
onDeath in class EntityLivingpublic void addToPlayerScore(Entity entity, int i)
addToPlayerScore in class Entitypublic void dropCurrentItem()
public void dropPlayerItem(ItemStack itemstack)
public void dropPlayerItemWithRandomChoice(ItemStack itemstack, boolean flag)
protected void joinEntityItemWithWorld(EntityItem entityitem)
public float getCurrentPlayerStrVsBlock(Block block)
public boolean canHarvestBlock(Block block)
public void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class EntityLivingpublic void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class EntityLivingpublic void displayGUIChest(IInventory iinventory)
public void displayWorkbenchGUI(int i,
int j,
int k)
public void onItemPickup(Entity entity, int i)
public float getEyeHeight()
getEyeHeight in class EntityLivingprotected void resetHeight()
public boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom in class EntityLivingprotected boolean func_27025_G()
protected void alertWolves(EntityLiving entityliving, boolean flag)
protected void damageEntity(int i)
damageEntity in class EntityLivingpublic void displayGUIFurnace(TileEntityFurnace tileentityfurnace)
public void displayGUIDispenser(TileEntityDispenser tileentitydispenser)
public void displayGUIEditSign(TileEntitySign tileentitysign)
public void useCurrentItemOnEntity(Entity entity)
public ItemStack getCurrentEquippedItem()
public void destroyCurrentEquippedItem()
public double getYOffset()
getYOffset in class Entitypublic void swingItem()
public void attackTargetEntityWithCurrentItem(Entity entity)
public void respawnPlayer()
public abstract void func_6420_o()
public void onItemStackChanged(ItemStack itemstack)
public void setEntityDead()
setEntityDead in class Entitypublic boolean isEntityInsideOpaqueBlock()
isEntityInsideOpaqueBlock in class Entitypublic EnumStatus sleepInBedAt(int i, int j, int k)
public void wakeUpPlayer(boolean flag,
boolean flag1,
boolean flag2)
public static ChunkCoordinates func_25060_a(World world, ChunkCoordinates chunkcoordinates)
public float getBedOrientationInDegrees()
public boolean isPlayerSleeping()
isPlayerSleeping in class EntityLivingpublic boolean isPlayerFullyAsleep()
public int func_22060_M()
public void addChatMessage(java.lang.String s)
public ChunkCoordinates getPlayerSpawnCoordinate()
public void setPlayerSpawnCoordinate(ChunkCoordinates chunkcoordinates)
public void triggerAchievement(StatBase statbase)
public void addStat(StatBase statbase, int i)
protected void jump()
jump in class EntityLivingpublic void moveEntityWithHeading(float f,
float f1)
moveEntityWithHeading in class EntityLivingprotected void fall(float f)
fall in class EntityLivingpublic void onKillEntity(EntityLiving entityliving)
onKillEntity in class Entitypublic int getItemIcon(ItemStack itemstack)
getItemIcon in class EntityLivingpublic void setInPortal()
setInPortal in class Entity