public class EntityPlayerMP extends EntityPlayer implements ICrafting
EntityPlayer.EnumChatVisibility, EntityPlayer.EnumStatus| Modifier and Type | Field and Description |
|---|---|
int |
currentWindowId |
boolean |
isChangingQuantityOnly |
java.util.List |
loadedChunks |
double |
managedPosX |
double |
managedPosZ |
MinecraftServer |
mcServer |
int |
ping |
boolean |
playerConqueredTheEnd |
NetHandlerPlayServer |
playerNetServerHandler |
ItemInWorldManager |
theItemInWorldManager |
cameraYaw, capabilities, experience, experienceLevel, experienceTotal, field_71085_bR, 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, renderOffsetX, renderOffsetY, renderOffsetZ, sleeping, speedInAir, speedOnGround, xpCooldownarrowHitTimer, attackedAtYaw, attackingPlayer, 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, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressIntaddedToChunk, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, 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| Constructor and Description |
|---|
EntityPlayerMP(MinecraftServer server,
WorldServer worldIn,
com.mojang.authlib.GameProfile profile,
ItemInWorldManager interactionManager) |
addExhaustion, addExperience, addMovementStat, addScore, addToPlayerScore, applyEntityAttributes, canEat, canHarvestBlock, canOpen, canPlayerEdit, canTriggerWalking, clearItemInUse, damageArmor, damageEntity, destroyCurrentEquippedItem, dropItem, dropOneItem, dropPlayerItemWithRandomChoice, entityInit, fall, func_175148_a, getAbsorptionAmount, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorVisibility, getBedLocation, getBedLocation, getBedOrientationInDegrees, getBedSpawnLocation, getBreakSpeed, getCurrentArmor, getCurrentEquippedItem, getDeathSound, getDefaultEyeHeight, getDisplayName, getDisplayNameString, getEquipmentInSlot, getExperiencePoints, getEyeHeight, getFallSoundString, getFoodStats, getGameProfile, getHeldItem, getHurtSound, getInventory, getInventoryEnderChest, getItemInUse, getItemInUseCount, getItemInUseDuration, getMaxInPortalTime, getName, getOfflineUUID, getPortalCooldown, getScore, getSleepTimer, getSplashSound, getSwimSound, getTeam, getToolDigEfficiency, getTotalArmorValue, getUUID, getWorldScoreboard, getXPSeed, getYOffset, handleHealthUpdate, hasReducedDebug, interactWith, isAllowEdit, isBlocking, isEntityInsideOpaqueBlock, isInvisibleToPlayer, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPushedByWater, isSpawnForced, isSpawnForced, isUser, isUsingItem, joinEntityItemWithWorld, jump, moveEntityWithHeading, onKillEntity, onLivingUpdate, openEditCommandBlock, openGui, playSound, preparePlayerToSpawn, refreshDisplayName, replaceItemInInventory, resetHeight, respawnPlayer, sendCommandFeedback, setAbsorptionAmount, setCurrentItemOrArmor, setDead, setInWeb, setReducedDebug, setScore, setSpawnChunk, setSpawnPoint, shouldHeal, stopUsingItem, triggerAchievement, updateEntityActionState, updateItemUse, updateRidden, xpBarCapaddPotionEffect, addRandomArmor, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, func_110146_f, func_146066_aG, func_175133_bi, func_175134_bD, func_175136_bO, func_180426_a, func_180466_bG, func_94060_bK, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getArrowCountInEntity, getAttributeMap, getCombatTracker, getCreatureAttribute, getEntityAttribute, getHealth, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, heal, isChild, isEntityAlive, isEntityUndead, isOnLadder, isOnSameTeam, isOnTeam, isPotionActive, isPotionActive, isPotionApplicable, isServerWorld, kill, knockBack, onDeathUpdate, onEntityUpdate, onKillCommand, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITick, updateArmSwingProgress, updatePotionEffectsaddEntityCrashInfo, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, func_145781_i, func_174807_aT, func_174815_a, func_174816_a, func_174817_o, func_174819_aU, func_174823_aP, func_174825_a, func_174834_g, func_180427_aV, getAir, getAlwaysRenderNameTag, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityData, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getExtendedProperties, getFlag, getHorizontalFacing, getMaxFallHeight, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPositionEyes, getPositionVector, getTeleportDirection, getUniqueID, getVectorForRotation, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityEqual, isEntityInvulnerable, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isRiding, isSilent, isSneaking, isSprinting, isWet, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onStruckByLightning, playStepSound, pushOutOfBlocks, rayTrace, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAlwaysRenderNameTag, setAngles, setCommandStat, setCustomNameTag, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInPortal, setInvisible, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setRotation, setSilent, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic NetHandlerPlayServer playerNetServerHandler
public final MinecraftServer mcServer
public final ItemInWorldManager theItemInWorldManager
public double managedPosX
public double managedPosZ
public final java.util.List loadedChunks
public int currentWindowId
public boolean isChangingQuantityOnly
public int ping
public boolean playerConqueredTheEnd
public EntityPlayerMP(MinecraftServer server, WorldServer worldIn, com.mojang.authlib.GameProfile profile, ItemInWorldManager interactionManager)
public void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class EntityPlayerpublic void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class EntityPlayerpublic void addExperienceLevel(int levels)
addExperienceLevel in class EntityPlayerpublic void removeExperienceLevel(int levels)
removeExperienceLevel in class EntityPlayerpublic void addSelfToInternalCraftingInventory()
public void func_152111_bt()
func_152111_bt in class EntityLivingBasepublic void func_152112_bu()
func_152112_bu in class EntityLivingBasepublic void onUpdate()
onUpdate in class EntityPlayerpublic void onUpdateEntity()
protected void updateBiomesExplored()
public void onDeath(DamageSource cause)
onDeath in class EntityPlayerpublic boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom in class EntityPlayerpublic boolean canAttackPlayer(EntityPlayer other)
canAttackPlayer in class EntityPlayerpublic void travelToDimension(int dimensionId)
travelToDimension in class Entitypublic boolean func_174827_a(EntityPlayerMP p_174827_1_)
func_174827_a in class Entitypublic void onItemPickup(Entity p_71001_1_, int p_71001_2_)
onItemPickup in class EntityLivingBasepublic EntityPlayer.EnumStatus trySleep(BlockPos bedLocation)
trySleep in class EntityPlayerpublic void wakeUpPlayer(boolean p_70999_1_,
boolean updateWorldFlag,
boolean setSpawn)
wakeUpPlayer in class EntityPlayerpublic void mountEntity(Entity entityIn)
mountEntity in class EntityLivingBaseprotected void func_180433_a(double p_180433_1_,
boolean p_180433_3_,
Block p_180433_4_,
BlockPos p_180433_5_)
func_180433_a in class EntityLivingBasepublic void handleFalling(double p_71122_1_,
boolean p_71122_3_)
public void openEditSign(TileEntitySign signTile)
openEditSign in class EntityPlayerpublic void getNextWindowId()
public void displayGui(IInteractionObject guiOwner)
displayGui in class EntityPlayerpublic void displayGUIChest(IInventory chestInventory)
displayGUIChest in class EntityPlayerpublic void displayVillagerTradeGui(IMerchant villager)
displayVillagerTradeGui in class EntityPlayerpublic void displayGUIHorse(EntityHorse horse, IInventory horseInventory)
displayGUIHorse in class EntityPlayerpublic void displayGUIBook(ItemStack bookStack)
displayGUIBook in class EntityPlayerpublic void sendSlotContents(Container containerToSend, int slotInd, ItemStack stack)
sendSlotContents in interface ICraftingpublic void sendContainerToPlayer(Container p_71120_1_)
public void sendContainerAndContentsToPlayer(Container containerToSend, java.util.List itemsList)
sendContainerAndContentsToPlayer in interface ICraftingpublic void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue)
sendProgressBarUpdate in interface ICraftingpublic void func_175173_a(Container p_175173_1_, IInventory p_175173_2_)
func_175173_a in interface ICraftingpublic void closeScreen()
closeScreen in class EntityPlayerpublic void updateHeldItem()
public void closeContainer()
public void setEntityActionState(float p_110430_1_,
float p_110430_2_,
boolean p_110430_3_,
boolean p_110430_4_)
public void addStat(StatBase stat, int amount)
addStat in class EntityPlayerpublic void func_175145_a(StatBase p_175145_1_)
func_175145_a in class EntityPlayerpublic void mountEntityAndWakeUp()
public void setPlayerHealthUpdated()
public void addChatComponentMessage(IChatComponent chatComponent)
addChatComponentMessage in class EntityPlayerprotected void onItemUseFinish()
onItemUseFinish in class EntityPlayerpublic void setItemInUse(ItemStack stack, int duration)
setItemInUse in class EntityPlayerpublic void clonePlayer(EntityPlayer oldPlayer, boolean respawnFromEnd)
clonePlayer in class EntityPlayerprotected void onNewPotionEffect(PotionEffect p_70670_1_)
onNewPotionEffect in class EntityLivingBaseprotected void onChangedPotionEffect(PotionEffect p_70695_1_, boolean p_70695_2_)
onChangedPotionEffect in class EntityLivingBaseprotected void onFinishedPotionEffect(PotionEffect p_70688_1_)
onFinishedPotionEffect in class EntityLivingBasepublic void setPositionAndUpdate(double x,
double y,
double z)
setPositionAndUpdate in class Entitypublic void onCriticalHit(Entity entityHit)
onCriticalHit in class EntityPlayerpublic void onEnchantmentCritical(Entity entityHit)
onEnchantmentCritical in class EntityPlayerpublic void sendPlayerAbilities()
sendPlayerAbilities in class EntityPlayerpublic WorldServer getServerForPlayer()
public void setGameType(WorldSettings.GameType gameType)
setGameType in class EntityPlayerpublic boolean isSpectator()
isSpectator in class EntityPlayerpublic void addChatMessage(IChatComponent message)
addChatMessage in interface ICommandSenderaddChatMessage in class Entitypublic boolean canUseCommand(int permLevel,
java.lang.String commandName)
canUseCommand in interface ICommandSendercanUseCommand in class Entitypublic java.lang.String getPlayerIP()
public void handleClientSettings(C15PacketClientSettings packetIn)
public EntityPlayer.EnumChatVisibility getChatVisibility()
public void loadResourcePack(java.lang.String url,
java.lang.String hash)
public BlockPos getPosition()
getPosition in interface ICommandSendergetPosition in class Entitypublic void markPlayerActive()
public StatisticsFile getStatFile()
public void func_152339_d(Entity p_152339_1_)
protected void func_175135_B()
func_175135_B in class EntityLivingBasepublic Entity getSpectatingEntity()
public void setSpectatingEntity(Entity p_175399_1_)
public void attackTargetEntityWithCurrentItem(Entity targetEntity)
attackTargetEntityWithCurrentItem in class EntityPlayerpublic long getLastActiveTime()
public IChatComponent getTabListDisplayName()