public class EntityClientPlayerMP extends EntityPlayerSP
EntityPlayer.EnumChatVisibility, EntityPlayer.EnumStatus
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
NetHandlerPlayClient |
sendQueue |
mc, movementInput, prevRenderArmPitch, prevRenderArmYaw, prevTimeInPortal, renderArmPitch, renderArmYaw, sprintingTicksLeft, sprintToggleTimer, timeInPortal
locationStevePng
cameraYaw, capabilities, experience, experienceLevel, experienceTotal, eyeHeight, 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, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, openContainer, PERSISTED_NBT_TAG, playerLocation, prevCameraYaw, sleeping, speedInAir, speedOnGround, xpCooldown
arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, dead, deathTime, entityAge, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, prevCameraPitch, prevHealth, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressInt
addedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize
Constructor and Description |
---|
EntityClientPlayerMP(Minecraft p_i45064_1_,
World p_i45064_2_,
Session p_i45064_3_,
NetHandlerPlayClient p_i45064_4_,
StatFileWriter p_i45064_5_) |
Modifier and Type | Method and Description |
---|---|
void |
addStat(StatBase par1StatBase,
int par2)
Adds a value to a statistic field.
|
boolean |
attackEntityFrom(DamageSource par1DamageSource,
float par2)
Called when the entity is attacked.
|
void |
closeScreen()
sets current screen to null (used on escape buttons of GUIs); sets current crafting inventory back to the 2x2
square
|
void |
closeScreenNoPacket()
Closes the GUI screen without sending a packet to the server
|
protected void |
damageEntity(DamageSource par1DamageSource,
float par2)
Deals damage to the entity.
|
EntityItem |
dropOneItem(boolean par1)
Called when player presses the drop item key
|
protected void |
func_110318_g() |
void |
func_110322_i() |
void |
func_142020_c(java.lang.String par1Str) |
java.lang.String |
func_142021_k() |
StatFileWriter |
getStatFileWriter() |
void |
heal(float par1)
Heal living entity (param: amount of half-hearts)
|
void |
joinEntityItemWithWorld(EntityItem par1EntityItem)
Joins the passed in entity item with the world.
|
void |
mountEntity(Entity par1Entity)
Called when a player mounts an entity.
|
void |
onUpdate()
Called to update the entity's position/logic.
|
void |
respawnPlayer() |
void |
sendChatMessage(java.lang.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 |
setPlayerSPHealth(float par1)
Updates health locally.
|
void |
swingItem()
Swings the item the player is holding.
|
addChatComponentMessage, addChatMessage, canCommandSenderUseCommand, displayGUIAnvil, displayGUIBook, displayGUIChest, displayGUIEnchantment, displayGUIHopperMinecart, displayGUIHorse, displayGUIMerchant, displayGUIWorkbench, func_145771_j, func_146093_a, func_146095_a, func_146098_a, func_146100_a, func_146101_a, func_146102_a, func_146104_a, getFOVMultiplier, getHorseJumpPower, getPlayerCoordinates, isClientWorld, isRidingHorse, isSneaking, onCriticalHit, onEnchantmentCritical, onItemPickup, onLivingUpdate, playSound, setSprinting, setXPStats, updateEntityActionState
getCapeUrl, getDownloadImageCape, getDownloadImageSkin, getLocationCape, getLocationCape, getLocationSkin, getLocationSkin, getLocationSkull, getSkinUrl, getTextureCape, getTextureSkin, setupCustomSkin
addExhaustion, addExperience, addExperienceLevel, addMovementStat, addScore, addToPlayerScore, applyEntityAttributes, attackTargetEntityWithCurrentItem, canAttackPlayer, canEat, canHarvestBlock, canPlayerEdit, canTriggerWalking, clearItemInUse, clonePlayer, damageArmor, destroyCurrentEquippedItem, dropPlayerItemWithRandomChoice, entityInit, fall, func_145748_c_, func_146067_o, func_146094_a, func_146097_a, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorVisibility, getBedLocation, getBedLocation, getBedOrientationInDegrees, getBreakSpeed, getCommandSenderName, getCurrentArmor, getCurrentEquippedItem, getCurrentPlayerStrVsBlock, getDeathSound, getDefaultEyeHeight, getDisplayName, getEntityWorld, getEquipmentInSlot, getExperiencePoints, getEyeHeight, getFoodStats, getGameProfile, getHeldItem, getHideCape, getHideCape, getHurtSound, getInventoryEnderChest, getItemIcon, getItemInUse, getItemInUseCount, getItemInUseDuration, getLastActiveItems, getMaxInPortalTime, getPortalCooldown, getPosition, getScore, getSleepTimer, getSplashSound, getSwimSound, getTeam, getTotalArmorValue, getWorldScoreboard, getYOffset, handleHealthUpdate, interactWith, isBlocking, isCurrentToolAdventureModeExempt, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isSpawnForced, isUsingItem, jump, moveEntityWithHeading, onDeath, onItemUseFinish, onKillEntity, openGui, preparePlayerToSpawn, readEntityFromNBT, refreshDisplayName, resetHeight, setAbsorptionAmount, setCurrentItemOrArmor, setDead, setGameType, setHideCape, setInWeb, setItemInUse, setScore, setSpawnChunk, setSpawnChunk, shouldHeal, sleepInBedAt, stopUsingItem, triggerAchievement, updateItemUse, updateRidden, verifyRespawnCoordinates, wakeUpPlayer, writeEntityToNBT, xpBarCap
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, dropRareDrop, func_110142_aN, func_110146_f, func_142015_aE, func_146066_aG, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttributeMap, getCreatureAttribute, getEntityAttribute, getHealth, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, isAIEnabled, isChild, isEntityAlive, isEntityUndead, isOnLadder, isOnSameTeam, isOnTeam, isPotionActive, isPotionActive, isPotionApplicable, kill, knockBack, onChangedPotionEffect, onDeathUpdate, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, performHurtAnimation, rayTrace, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setRotationYawHead, shouldRiderFaceForward, updateAITasks, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects
addEntityCrashInfo, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getFlag, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getShadowSize, getTeleportDirection, getUniqueID, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSprinting, isWet, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onStruckByLightning, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public final NetHandlerPlayClient sendQueue
public EntityClientPlayerMP(Minecraft p_i45064_1_, World p_i45064_2_, Session p_i45064_3_, NetHandlerPlayClient p_i45064_4_, StatFileWriter p_i45064_5_)
public boolean attackEntityFrom(DamageSource par1DamageSource, float par2)
attackEntityFrom
in class EntityPlayer
public void heal(float par1)
heal
in class EntityLivingBase
public void mountEntity(Entity par1Entity)
mountEntity
in class EntityPlayer
public void onUpdate()
onUpdate
in class EntityPlayer
public void sendMotionUpdates()
public EntityItem dropOneItem(boolean par1)
dropOneItem
in class EntityPlayer
public void joinEntityItemWithWorld(EntityItem par1EntityItem)
joinEntityItemWithWorld
in class EntityPlayer
public void sendChatMessage(java.lang.String par1Str)
public void swingItem()
swingItem
in class EntityLivingBase
public void respawnPlayer()
respawnPlayer
in class EntityPlayer
protected void damageEntity(DamageSource par1DamageSource, float par2)
damageEntity
in class EntityPlayer
public void closeScreen()
closeScreen
in class EntityPlayerSP
public void closeScreenNoPacket()
public void setPlayerSPHealth(float par1)
setPlayerSPHealth
in class EntityPlayerSP
public void addStat(StatBase par1StatBase, int par2)
addStat
in class EntityPlayer
public void sendPlayerAbilities()
sendPlayerAbilities
in class EntityPlayer
protected void func_110318_g()
func_110318_g
in class EntityPlayerSP
public void func_110322_i()
public void func_142020_c(java.lang.String par1Str)
public java.lang.String func_142021_k()
public StatFileWriter getStatFileWriter()