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_flag
addedToChunk, 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, spawnExplosionParticle
addEntityID, 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, writeToNBT
public 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 EntityLiving
public void onUpdate()
onUpdate
in class EntityLiving
protected boolean isMovementBlocked()
isMovementBlocked
in class EntityLiving
protected void closeScreen()
public void updateCloak()
updateCloak
in class Entity
public void updateRidden()
updateRidden
in class EntityLiving
public void preparePlayerToSpawn()
preparePlayerToSpawn
in class Entity
protected void updatePlayerActionState()
updatePlayerActionState
in class EntityLiving
public void onLivingUpdate()
onLivingUpdate
in class EntityLiving
public int getScore()
public void onDeath(Entity entity)
onDeath
in class EntityLiving
public void addToPlayerScore(Entity entity, int i)
addToPlayerScore
in class Entity
public 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 EntityLiving
public void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT
in class EntityLiving
public 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 EntityLiving
protected void resetHeight()
public boolean attackEntityFrom(Entity entity, int i)
attackEntityFrom
in class EntityLiving
protected boolean func_27025_G()
protected void alertWolves(EntityLiving entityliving, boolean flag)
protected void damageEntity(int i)
damageEntity
in class EntityLiving
public 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 Entity
public 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 Entity
public boolean isEntityInsideOpaqueBlock()
isEntityInsideOpaqueBlock
in class Entity
public 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 EntityLiving
public 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 EntityLiving
public void moveEntityWithHeading(float f, float f1)
moveEntityWithHeading
in class EntityLiving
protected void fall(float f)
fall
in class EntityLiving
public void onKillEntity(EntityLiving entityliving)
onKillEntity
in class Entity
public int getItemIcon(ItemStack itemstack)
getItemIcon
in class EntityLiving
public void setInPortal()
setInPortal
in class Entity