public class EntityClientPlayerMP extends EntityPlayerSP
| Modifier and Type | Field and Description |
|---|---|
NetClientHandler |
sendQueue |
movementInput, prevRenderArmPitch, prevRenderArmYaw, prevTimeInPortal, renderArmPitch, renderArmYaw, sprintingTicksLeft, timeInPortalcameraYaw, capabilities, 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, inventoryContainer, maxHealth, openContainer, PERSISTED_NBT_TAG, playerLocation, prevCameraYaw, sleepTimer, username, xpCooldownarrowHitTimer, attackedAtYaw, attackTime, cameraPitch, carryoverDamage, deathTime, experienceValue, field_70730_aX, field_70731_aW, field_70769_ao, field_70770_ap, field_94063_bt, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, landMovementFactor, limbSwing, limbYaw, livingSoundTime, maxHurtResistantTime, maxHurtTime, pickUpLootProability, prevCameraPitch, prevHealth, prevLimbYaw, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, renderYawOffset, rotationYawHead, swingProgress, swingProgressInt, targetTasks, tasksaddedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, field_98038_p, fireResistance, height, hurtResistantTime, ignoreFrustumCheck, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntityClientPlayerMP(Minecraft par1Minecraft,
World par2World,
Session par3Session,
NetClientHandler par4NetClientHandler) |
| Modifier and Type | Method and Description |
|---|---|
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(boolean par1)
Called when player presses the drop item key
|
boolean |
func_71066_bF() |
void |
func_92015_f() |
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.
|
addChatMessage, canCommandSenderUseCommand, displayGUIAnvil, displayGUIBeacon, displayGUIBook, displayGUIBrewingStand, displayGUIChest, displayGUIDispenser, displayGUIEditSign, displayGUIEnchantment, displayGUIFurnace, displayGUIHopper, displayGUIHopperMinecart, displayGUIMerchant, displayGUIWorkbench, getFOVMultiplier, getHeldItem, getPlayerCoordinates, isSneaking, moveEntity, onCriticalHit, onEnchantmentCritical, onItemPickup, onLivingUpdate, playSound, sendChatToPlayer, setSprinting, setXPStats, updateCloak, updateEntityActionStateaddExhaustion, addExperience, addExperienceLevel, addMovementStat, addScore, addToPlayerScore, attackTargetEntityWithCurrentItem, canCurrentToolHarvestBlock, canEat, canHarvestBlock, canPickUpLoot, canPlayerEdit, clearItemInUse, clonePlayer, destroyCurrentEquippedItem, dropPlayerItem, dropPlayerItemWithRandomChoice, func_82243_bO, func_94059_bO, func_94062_bN, func_96092_aw, func_96122_a, func_98034_c, getBedLocation, getBedOrientationInDegrees, getCommandSenderName, getCurrentArmor, getCurrentEquippedItem, getCurrentItemOrArmor, getCurrentPlayerStrVsBlock, getCurrentPlayerStrVsBlock, getEntityName, getEyeHeight, getFoodStats, getHideCape, getInventoryEnderChest, getItemIcon, getItemInUse, getItemInUseCount, getItemInUseDuration, getLastActiveItems, getMaxHealth, getMaxInPortalTime, getPortalCooldown, getScore, getSleepTimer, getTeam, getTotalArmorValue, getTranslatedEntityName, getTranslator, getWorldScoreboard, getYOffset, handleHealthUpdate, interactWith, isBlocking, isEntityInsideOpaqueBlock, isPlayerFullyAsleep, isPlayerSleeping, isSpawnForced, isUsingItem, mountEntity, moveEntityWithHeading, onDeath, onKillEntity, openGui, preparePlayerToSpawn, readEntityFromNBT, setCurrentItemOrArmor, setDead, setGameType, setInWeb, setItemInUse, setScore, setSpawnChunk, shouldHeal, sleepInBedAt, stopUsingItem, translateString, triggerAchievement, updateRidden, verifyRespawnCoordinates, wakeUpPlayer, writeEntityToNBT, xpBarCapaddPotionEffect, attackEntityAsMob, canAttackClass, canBeCollidedWith, canBePushed, canBeSteered, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, curePotionEffects, detachHome, eatGrassBonus, faceEntity, func_104002_bU, func_82143_as, func_94056_bM, func_94057_bL, func_94058_c, func_94060_bK, func_94061_f, func_96120_a, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getArmorItemForSlot, getArmorPosition, getArrowCountInEntity, getAttackTarget, getCanSpawnHere, getCreatureAttribute, getEntitySenses, getHealth, getHomePosition, getJumpHelper, getLastAttackingEntity, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getRotationYawHead, getSpeedModifier, getSwingProgress, getTalkInterval, getTexture, getVerticalFaceSpeed, hasHome, initCreature, isChild, isEntityAlive, isEntityUndead, isOnLadder, isPotionActive, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, knockBack, onEntityUpdate, performHurtAnimation, playLivingSound, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAIMoveSpeed, setArrowCountInEntity, setAttackTarget, setCanPickUpLoot, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, shouldRiderFaceForward, spawnExplosionParticleaddEntityID, addNotRiddenEntityID, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, copyDataFrom, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_82146_a, func_82149_j, func_85029_a, func_85031_j, func_96091_a, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getExtendedProperties, getMountedYOffset, getParts, getPersistentID, getPickedResult, getShadowSize, getTeleportDirection, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInvulnerable, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSprinting, isWet, moveFlying, onCollideWithPlayer, onStruckByLightning, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setEating, setFire, setInPortal, setInvisible, setLocationAndAngles, setPosition, setPositionAndRotation, setSneaking, setVelocity, setWorld, shouldRenderInPass, shouldRiderSit, toString, travelToDimension, unmountEntity, updateRiderPosition, writeToNBTpublic NetClientHandler sendQueue
public EntityClientPlayerMP(Minecraft par1Minecraft, World par2World, Session par3Session, NetClientHandler par4NetClientHandler)
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
attackEntityFrom in class EntityPlayerpublic void heal(int par1)
heal in class EntityLivingpublic void onUpdate()
onUpdate in class EntityPlayerpublic void sendMotionUpdates()
public EntityItem dropOneItem(boolean par1)
dropOneItem in class EntityPlayerpublic void joinEntityItemWithWorld(EntityItem par1EntityItem)
joinEntityItemWithWorld in class EntityPlayerpublic void sendChatMessage(String par1Str)
public void swingItem()
swingItem in class EntityLivingpublic void respawnPlayer()
respawnPlayer in class EntityPlayerpublic void closeScreen()
closeScreen in class EntityPlayerSPpublic void func_92015_f()
public void setHealth(int par1)
setHealth in class EntityPlayerSPpublic void addStat(StatBase par1StatBase, int par2)
addStat in class EntityPlayerSPpublic void incrementStat(StatBase par1StatBase, int par2)
public void sendPlayerAbilities()
sendPlayerAbilities in class EntityPlayerpublic boolean func_71066_bF()
func_71066_bF in class EntityPlayer