public class EntityPlayerSP extends AbstractClientPlayer
EntityPlayer.EnumChatVisibility, EntityPlayer.EnumStatusEntity.EnumEntitySize| Modifier and Type | Field and Description |
|---|---|
protected Minecraft |
mc |
MovementInput |
movementInput |
float |
prevRenderArmPitch |
float |
prevRenderArmYaw |
float |
prevTimeInPortal |
float |
renderArmPitch |
float |
renderArmYaw |
int |
sprintingTicksLeft |
protected int |
sprintToggleTimer |
float |
timeInPortal |
locationStevePngcameraYaw, 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, fishEntity, flyToggleTimer, foodStats, inventory, inventoryContainer, openContainer, playerLocation, prevCameraYaw, sleeping, speedInAir, speedOnGround, xpCooldownarrowHitTimer, 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, swingProgressIntaddedToChunk, boundingBox, 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 |
|---|
EntityPlayerSP(Minecraft p_i1238_1_,
World p_i1238_2_,
Session p_i1238_3_,
int p_i1238_4_) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatComponentMessage(IChatComponent p_146105_1_) |
void |
addChatMessage(IChatComponent p_145747_1_) |
boolean |
canCommandSenderUseCommand(int p_70003_1_,
java.lang.String p_70003_2_) |
void |
closeScreen() |
void |
displayGUIAnvil(int p_82244_1_,
int p_82244_2_,
int p_82244_3_) |
void |
displayGUIBook(ItemStack p_71048_1_) |
void |
displayGUIChest(IInventory p_71007_1_) |
void |
displayGUIEnchantment(int p_71002_1_,
int p_71002_2_,
int p_71002_3_,
java.lang.String p_71002_4_) |
void |
displayGUIHopperMinecart(EntityMinecartHopper p_96125_1_) |
void |
displayGUIHorse(EntityHorse p_110298_1_,
IInventory p_110298_2_) |
void |
displayGUIMerchant(IMerchant p_71030_1_,
java.lang.String p_71030_2_) |
void |
displayGUIWorkbench(int p_71058_1_,
int p_71058_2_,
int p_71058_3_) |
protected void |
func_110318_g() |
protected boolean |
func_145771_j(double p_145771_1_,
double p_145771_3_,
double p_145771_5_) |
void |
func_146093_a(TileEntityHopper p_146093_1_) |
void |
func_146095_a(CommandBlockLogic p_146095_1_) |
void |
func_146098_a(TileEntityBrewingStand p_146098_1_) |
void |
func_146100_a(TileEntity p_146100_1_) |
void |
func_146101_a(TileEntityFurnace p_146101_1_) |
void |
func_146102_a(TileEntityDispenser p_146102_1_) |
void |
func_146104_a(TileEntityBeacon p_146104_1_) |
float |
getFOVMultiplier() |
float |
getHorseJumpPower() |
ChunkCoordinates |
getPlayerCoordinates() |
boolean |
isClientWorld() |
boolean |
isRidingHorse() |
boolean |
isSneaking() |
void |
onCriticalHit(Entity p_71009_1_) |
void |
onEnchantmentCritical(Entity p_71047_1_) |
void |
onItemPickup(Entity p_71001_1_,
int p_71001_2_) |
void |
onLivingUpdate() |
void |
playSound(java.lang.String p_85030_1_,
float p_85030_2_,
float p_85030_3_) |
void |
setPlayerSPHealth(float p_71150_1_) |
void |
setSprinting(boolean p_70031_1_) |
void |
setXPStats(float p_71152_1_,
int p_71152_2_,
int p_71152_3_) |
void |
updateEntityActionState() |
func_152121_a, func_152122_n, func_152123_o, getDownloadImageSkin, getLocationCape, getLocationSkin, getLocationSkinaddExhaustion, addExperience, addExperienceLevel, addMovementStat, addScore, addStat, addToPlayerScore, applyEntityAttributes, attackEntityFrom, attackTargetEntityWithCurrentItem, canAttackPlayer, canEat, canHarvestBlock, canPlayerEdit, canTriggerWalking, clearItemInUse, clonePlayer, damageArmor, damageEntity, destroyCurrentEquippedItem, dropOneItem, dropPlayerItemWithRandomChoice, entityInit, fall, func_145748_c_, func_146067_o, func_146094_a, func_146097_a, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorVisibility, getBedLocation, getBedOrientationInDegrees, getCommandSenderName, getCurrentArmor, getCurrentEquippedItem, getCurrentPlayerStrVsBlock, getDeathSound, getEntityWorld, getEquipmentInSlot, getExperiencePoints, getEyeHeight, getFoodStats, getGameProfile, getHeldItem, getHideCape, getHideCape, getHurtSound, getInventoryEnderChest, getItemIcon, getItemInUse, getItemInUseCount, getItemInUseDuration, getLastActiveItems, getMaxInPortalTime, getPortalCooldown, getScore, getSleepTimer, getSplashSound, getSwimSound, getTeam, getTotalArmorValue, getWorldScoreboard, getYOffset, handleHealthUpdate, interactWith, isBlocking, isCurrentToolAdventureModeExempt, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isUsingItem, joinEntityItemWithWorld, jump, mountEntity, moveEntityWithHeading, onDeath, onItemUseFinish, onKillEntity, onUpdate, openGui, preparePlayerToSpawn, readEntityFromNBT, resetHeight, respawnPlayer, sendPlayerAbilities, setAbsorptionAmount, setCurrentItemOrArmor, setDead, setGameType, setHideCape, setInWeb, setItemInUse, setScore, setSpawnChunk, shouldHeal, sleepInBedAt, stopUsingItem, triggerAchievement, updateItemUse, updateRidden, verifyRespawnCoordinates, wakeUpPlayer, writeEntityToNBT, xpBarCapaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, dropRareDrop, func_110142_aN, func_110146_f, func_142015_aE, func_146066_aG, func_152111_bt, func_152112_bu, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttributeMap, getCreatureAttribute, getEntityAttribute, getHealth, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getPosition, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, heal, 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, swingItem, updateAITasks, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffectsaddEntityCrashInfo, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, 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, getEntityId, getEntityString, getFlag, getMaxSafePointTries, getMountedYOffset, getParts, getShadowSize, getTeleportDirection, getUniqueID, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isEating, isEntityEqual, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isRiding, isSprinting, isWet, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onStruckByLightning, readFromNBT, setAir, setAngles, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSize, setSneaking, setVelocity, setWorld, shouldSetPosAfterLoading, toString, travelToDimension, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic MovementInput movementInput
protected Minecraft mc
protected int sprintToggleTimer
public int sprintingTicksLeft
public float renderArmYaw
public float renderArmPitch
public float prevRenderArmYaw
public float prevRenderArmPitch
public float timeInPortal
public float prevTimeInPortal
public void updateEntityActionState()
updateEntityActionState in class EntityPlayerpublic void onLivingUpdate()
onLivingUpdate in class EntityPlayerpublic float getFOVMultiplier()
public void closeScreen()
closeScreen in class EntityPlayerpublic void func_146100_a(TileEntity p_146100_1_)
func_146100_a in class EntityPlayerpublic void func_146095_a(CommandBlockLogic p_146095_1_)
func_146095_a in class EntityPlayerpublic void displayGUIBook(ItemStack p_71048_1_)
displayGUIBook in class EntityPlayerpublic void displayGUIChest(IInventory p_71007_1_)
displayGUIChest in class EntityPlayerpublic void func_146093_a(TileEntityHopper p_146093_1_)
func_146093_a in class EntityPlayerpublic void displayGUIHopperMinecart(EntityMinecartHopper p_96125_1_)
displayGUIHopperMinecart in class EntityPlayerpublic void displayGUIHorse(EntityHorse p_110298_1_, IInventory p_110298_2_)
displayGUIHorse in class EntityPlayerpublic void displayGUIWorkbench(int p_71058_1_,
int p_71058_2_,
int p_71058_3_)
displayGUIWorkbench in class EntityPlayerpublic void displayGUIEnchantment(int p_71002_1_,
int p_71002_2_,
int p_71002_3_,
java.lang.String p_71002_4_)
displayGUIEnchantment in class EntityPlayerpublic void displayGUIAnvil(int p_82244_1_,
int p_82244_2_,
int p_82244_3_)
displayGUIAnvil in class EntityPlayerpublic void func_146101_a(TileEntityFurnace p_146101_1_)
func_146101_a in class EntityPlayerpublic void func_146098_a(TileEntityBrewingStand p_146098_1_)
func_146098_a in class EntityPlayerpublic void func_146104_a(TileEntityBeacon p_146104_1_)
func_146104_a in class EntityPlayerpublic void func_146102_a(TileEntityDispenser p_146102_1_)
func_146102_a in class EntityPlayerpublic void displayGUIMerchant(IMerchant p_71030_1_, java.lang.String p_71030_2_)
displayGUIMerchant in class EntityPlayerpublic void onCriticalHit(Entity p_71009_1_)
onCriticalHit in class EntityPlayerpublic void onEnchantmentCritical(Entity p_71047_1_)
onEnchantmentCritical in class EntityPlayerpublic void onItemPickup(Entity p_71001_1_, int p_71001_2_)
onItemPickup in class EntityLivingBasepublic boolean isSneaking()
isSneaking in class Entitypublic void setPlayerSPHealth(float p_71150_1_)
public void addChatComponentMessage(IChatComponent p_146105_1_)
addChatComponentMessage in class EntityPlayerprotected boolean func_145771_j(double p_145771_1_,
double p_145771_3_,
double p_145771_5_)
func_145771_j in class Entitypublic void setSprinting(boolean p_70031_1_)
setSprinting in class EntityLivingBasepublic void setXPStats(float p_71152_1_,
int p_71152_2_,
int p_71152_3_)
public void addChatMessage(IChatComponent p_145747_1_)
public boolean canCommandSenderUseCommand(int p_70003_1_,
java.lang.String p_70003_2_)
public ChunkCoordinates getPlayerCoordinates()
public void playSound(java.lang.String p_85030_1_,
float p_85030_2_,
float p_85030_3_)
playSound in class EntityPlayerpublic boolean isClientWorld()
isClientWorld in class EntityLivingBasepublic boolean isRidingHorse()
public float getHorseJumpPower()
protected void func_110318_g()