|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Entity
net.minecraft.src.EntityLiving
net.minecraft.src.EntityPlayer
net.minecraft.src.EntityPlayerSP
net.minecraft.src.EntityClientPlayerMP
public class EntityClientPlayerMP
Field Summary | |
---|---|
NetClientHandler |
sendQueue
|
Fields inherited from class net.minecraft.src.EntityPlayerSP |
---|
movementInput, prevRenderArmPitch, prevRenderArmYaw, renderArmPitch, renderArmYaw, sprintingTicksLeft |
Fields inherited from class net.minecraft.src.EntityPlayer |
---|
cameraYaw, capabilities, craftingInventory, dimension, experience, experienceLevel, experienceTotal, field_71079_bU, field_71082_cx, field_71085_bR, field_71089_bV, field_71091_bM, field_71094_bP, field_71095_bQ, field_71096_bN, field_71097_bO, field_71098_bD, fishEntity, inventory, inventorySlots, isSwinging, playerCloakUrl, playerLocation, prevCameraYaw, prevTimeInPortal, score, swingProgressInt, timeInPortal, timeUntilPortal, username, xpCooldown |
Fields inherited from class net.minecraft.src.EntityLiving |
---|
arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, field_70730_aX, field_70731_aW, field_70769_ao, field_70770_ap, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, legSwing, legYaw, maxHurtResistantTime, maxHurtTime, prevCameraPitch, prevHealth, prevLegYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, tasks |
Constructor Summary | |
---|---|
EntityClientPlayerMP(Minecraft par1Minecraft,
World par2World,
Session par3Session,
NetClientHandler par4NetClientHandler)
|
Method Summary | |
---|---|
void |
addStat(StatBase par1StatBase,
int par2)
Adds a value to a statistic field. |
boolean |
attackEntityFrom(DamageSource par1DamageSource,
int par2)
Called when the entity is attacked. |
void |
closeScreen()
sets current screen to null (used on escape buttons of GUIs) |
EntityItem |
dropOneItem()
Called when player presses the drop item key |
boolean |
func_71066_bF()
|
void |
heal(int par1)
Heal living entity (param: amount of half-hearts) |
void |
incrementStat(StatBase par1StatBase,
int par2)
Used by NetClientHandler.handleStatistic |
void |
joinEntityItemWithWorld(EntityItem par1EntityItem)
Joins the passed in entity item with the world. |
void |
onUpdate()
Called to update the entity's position/logic. |
void |
respawnPlayer()
|
void |
sendChatMessage(String par1Str)
Sends a chat message from the player. |
void |
sendMotionUpdates()
Send updated motion and position information to the server |
void |
sendPlayerAbilities()
Sends the player's abilities to the server (if there is one). |
void |
setHealth(int par1)
Updates health locally. |
void |
swingItem()
Swings the item the player is holding. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public NetClientHandler sendQueue
Constructor Detail |
---|
public EntityClientPlayerMP(Minecraft par1Minecraft, World par2World, Session par3Session, NetClientHandler par4NetClientHandler)
Method Detail |
---|
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom
in class EntityPlayer
public void heal(int par1)
heal
in class EntityLiving
public void onUpdate()
onUpdate
in class EntityPlayer
public void sendMotionUpdates()
public EntityItem dropOneItem()
dropOneItem
in class EntityPlayer
public void joinEntityItemWithWorld(EntityItem par1EntityItem)
joinEntityItemWithWorld
in class EntityPlayer
public void sendChatMessage(String par1Str)
public void swingItem()
swingItem
in class EntityPlayer
public void respawnPlayer()
respawnPlayer
in class EntityPlayer
public void closeScreen()
closeScreen
in class EntityPlayerSP
public void setHealth(int par1)
setHealth
in class EntityPlayerSP
public void addStat(StatBase par1StatBase, int par2)
addStat
in class EntityPlayerSP
public void incrementStat(StatBase par1StatBase, int par2)
public void sendPlayerAbilities()
sendPlayerAbilities
in class EntityPlayer
public boolean func_71066_bF()
func_71066_bF
in class EntityPlayer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |