public class EntityPlayerSP extends EntityPlayer
| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.client.Minecraft |
mc |
MovementInput |
movementInput |
bedChunkCoordinates, craftingInventory, dimension, field_20061_w, field_20062_v, field_20063_u, field_20064_t, field_20065_s, field_20066_r, field_22061_z, field_22062_y, field_22063_x, field_774_f, field_775_e, field_9371_f, fishEntity, inPortal, inventory, inventorySlots, isSwinging, playerCloakUrl, prevTimeInPortal, score, sleeping, swingProgressInt, timeInPortal, timeUntilPortal, usernameattackedAtYaw, 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 |
|---|
EntityPlayerSP(net.minecraft.client.Minecraft minecraft,
World world,
Session session,
int i) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatMessage(java.lang.String s) |
void |
addStat(StatBase statbase,
int i) |
void |
closeScreen() |
void |
displayGUIChest(IInventory iinventory) |
void |
displayGUIDispenser(TileEntityDispenser tileentitydispenser) |
void |
displayGUIEditSign(TileEntitySign tileentitysign) |
void |
displayGUIFurnace(TileEntityFurnace tileentityfurnace) |
void |
displayWorkbenchGUI(int i,
int j,
int k) |
void |
func_6420_o() |
int |
getPlayerArmorValue() |
void |
handleKeyPress(int i,
boolean flag) |
boolean |
isSneaking() |
void |
moveEntity(double d,
double d1,
double d2) |
void |
onItemPickup(Entity entity,
int i) |
void |
onLivingUpdate() |
protected boolean |
pushOutOfBlocks(double d,
double d1,
double d2) |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
resetPlayerKeyState() |
void |
respawnPlayer() |
void |
sendChatMessage(java.lang.String s) |
void |
setHealth(int i) |
void |
updatePlayerActionState() |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addToPlayerScore, alertWolves, attackEntityFrom, attackTargetEntityWithCurrentItem, canHarvestBlock, damageEntity, destroyCurrentEquippedItem, dropCurrentItem, dropPlayerItem, dropPlayerItemWithRandomChoice, entityInit, fall, func_22060_M, func_25060_a, func_27025_G, getBedOrientationInDegrees, getCurrentEquippedItem, getCurrentPlayerStrVsBlock, getEyeHeight, getItemIcon, getPlayerSpawnCoordinate, getScore, getYOffset, isEntityInsideOpaqueBlock, isMovementBlocked, isPlayerFullyAsleep, isPlayerSleeping, joinEntityItemWithWorld, jump, moveEntityWithHeading, onDeath, onItemStackChanged, onKillEntity, onUpdate, preparePlayerToSpawn, resetHeight, setEntityDead, setInPortal, setPlayerSpawnCoordinate, sleepInBedAt, swingItem, triggerAchievement, updateCloak, updateRidden, useCurrentItemOnEntity, wakeUpPlayercanBeCollidedWith, 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, isWet, mountEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onStruckByLightning, outfitWithItem, readFromNBT, setBeenAttacked, setEntityFlag, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setVelocity, setWorld, updateFallState, updateRiderPosition, writeToNBTpublic MovementInput movementInput
protected net.minecraft.client.Minecraft mc
public void moveEntity(double d,
double d1,
double d2)
moveEntity in class Entitypublic void updatePlayerActionState()
updatePlayerActionState in class EntityPlayerpublic void onLivingUpdate()
onLivingUpdate in class EntityPlayerpublic void resetPlayerKeyState()
public void handleKeyPress(int i,
boolean flag)
public void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class EntityPlayerpublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class EntityPlayerpublic void closeScreen()
closeScreen in class EntityPlayerpublic void displayGUIEditSign(TileEntitySign tileentitysign)
displayGUIEditSign in class EntityPlayerpublic void displayGUIChest(IInventory iinventory)
displayGUIChest in class EntityPlayerpublic void displayWorkbenchGUI(int i,
int j,
int k)
displayWorkbenchGUI in class EntityPlayerpublic void displayGUIFurnace(TileEntityFurnace tileentityfurnace)
displayGUIFurnace in class EntityPlayerpublic void displayGUIDispenser(TileEntityDispenser tileentitydispenser)
displayGUIDispenser in class EntityPlayerpublic void onItemPickup(Entity entity, int i)
onItemPickup in class EntityPlayerpublic int getPlayerArmorValue()
public void sendChatMessage(java.lang.String s)
public boolean isSneaking()
isSneaking in class Entitypublic void setHealth(int i)
public void respawnPlayer()
respawnPlayer in class EntityPlayerpublic void func_6420_o()
func_6420_o in class EntityPlayerpublic void addChatMessage(java.lang.String s)
addChatMessage in class EntityPlayerpublic void addStat(StatBase statbase, int i)
addStat in class EntityPlayerprotected boolean pushOutOfBlocks(double d,
double d1,
double d2)
pushOutOfBlocks in class Entity