public abstract class EntityPlayer extends EntityLivingBase
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityPlayer.EnumChatVisibility |
static class |
EntityPlayer.EnumStatus |
| Modifier and Type | Field and Description |
|---|---|
float |
cameraYaw |
PlayerCapabilities |
capabilities |
float |
experience |
int |
experienceLevel |
int |
experienceTotal |
double |
field_71085_bR |
double |
field_71091_bM |
double |
field_71094_bP |
double |
field_71095_bQ |
double |
field_71096_bN |
double |
field_71097_bO |
EntityFishHook |
fishEntity |
protected int |
flyToggleTimer |
protected FoodStats |
foodStats |
InventoryPlayer |
inventory |
Container |
inventoryContainer |
Container |
openContainer |
static java.lang.String |
PERSISTED_NBT_TAG |
BlockPos |
playerLocation |
float |
prevCameraYaw |
float |
renderOffsetX |
float |
renderOffsetY |
float |
renderOffsetZ |
protected boolean |
sleeping |
protected float |
speedInAir |
protected float |
speedOnGround |
int |
xpCooldown |
arrowHitTimer, 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 |
|---|
EntityPlayer(World worldIn,
com.mojang.authlib.GameProfile p_i45324_2_) |
| Modifier and Type | Method and Description |
|---|---|
void |
addChatComponentMessage(IChatComponent chatComponent) |
void |
addExhaustion(float p_71020_1_) |
void |
addExperience(int amount) |
void |
addExperienceLevel(int levels) |
void |
addMovementStat(double p_71000_1_,
double p_71000_3_,
double p_71000_5_) |
void |
addScore(int p_85039_1_) |
void |
addStat(StatBase stat,
int amount) |
void |
addToPlayerScore(Entity entityIn,
int amount) |
protected void |
applyEntityAttributes() |
boolean |
attackEntityFrom(DamageSource source,
float amount) |
void |
attackTargetEntityWithCurrentItem(Entity targetEntity) |
boolean |
canAttackPlayer(EntityPlayer other) |
boolean |
canEat(boolean ignoreHunger) |
boolean |
canHarvestBlock(Block p_146099_1_) |
boolean |
canOpen(LockCode code) |
boolean |
canPlayerEdit(BlockPos p_175151_1_,
EnumFacing p_175151_2_,
ItemStack p_175151_3_) |
protected boolean |
canTriggerWalking() |
void |
clearItemInUse() |
void |
clonePlayer(EntityPlayer oldPlayer,
boolean respawnFromEnd) |
void |
closeScreen() |
protected void |
damageArmor(float p_70675_1_) |
protected void |
damageEntity(DamageSource damageSrc,
float damageAmount) |
void |
destroyCurrentEquippedItem() |
void |
displayGui(IInteractionObject guiOwner) |
void |
displayGUIBook(ItemStack bookStack) |
void |
displayGUIChest(IInventory chestInventory) |
void |
displayGUIHorse(EntityHorse horse,
IInventory horseInventory) |
void |
displayVillagerTradeGui(IMerchant villager) |
EntityItem |
dropItem(ItemStack droppedItem,
boolean dropAround,
boolean traceItem) |
EntityItem |
dropOneItem(boolean p_71040_1_) |
EntityItem |
dropPlayerItemWithRandomChoice(ItemStack itemStackIn,
boolean unused) |
protected void |
entityInit() |
void |
fall(float distance,
float damageMultiplier) |
void |
func_175145_a(StatBase p_175145_1_) |
boolean |
func_175148_a(EnumPlayerModelParts p_175148_1_) |
float |
getAbsorptionAmount() |
float |
getAIMoveSpeed() |
boolean |
getAlwaysRenderNameTagForRender() |
float |
getArmorVisibility() |
BlockPos |
getBedLocation() |
BlockPos |
getBedLocation(int dimension)
A dimension aware version of getBedLocation.
|
float |
getBedOrientationInDegrees() |
static BlockPos |
getBedSpawnLocation(World worldIn,
BlockPos bedLocation,
boolean forceSpawn) |
float |
getBreakSpeed(IBlockState state,
BlockPos pos) |
ItemStack |
getCurrentArmor(int slotIn) |
ItemStack |
getCurrentEquippedItem() |
protected java.lang.String |
getDeathSound() |
float |
getDefaultEyeHeight()
Returns the default eye height of the player
|
IChatComponent |
getDisplayName() |
java.lang.String |
getDisplayNameString()
Get the currently computed display name, cached for efficiency.
|
ItemStack |
getEquipmentInSlot(int slotIn) |
protected int |
getExperiencePoints(EntityPlayer player) |
float |
getEyeHeight() |
protected java.lang.String |
getFallSoundString(int damageValue) |
FoodStats |
getFoodStats() |
com.mojang.authlib.GameProfile |
getGameProfile() |
ItemStack |
getHeldItem() |
protected java.lang.String |
getHurtSound() |
ItemStack[] |
getInventory() |
InventoryEnderChest |
getInventoryEnderChest() |
ItemStack |
getItemInUse() |
int |
getItemInUseCount() |
int |
getItemInUseDuration() |
int |
getMaxInPortalTime() |
java.lang.String |
getName() |
static java.util.UUID |
getOfflineUUID(java.lang.String username) |
int |
getPortalCooldown() |
int |
getScore() |
int |
getSleepTimer() |
protected java.lang.String |
getSplashSound() |
protected java.lang.String |
getSwimSound() |
Team |
getTeam() |
float |
getToolDigEfficiency(Block p_180471_1_)
Deprecated.
|
int |
getTotalArmorValue() |
static java.util.UUID |
getUUID(com.mojang.authlib.GameProfile profile) |
Scoreboard |
getWorldScoreboard() |
int |
getXPSeed() |
double |
getYOffset() |
void |
handleHealthUpdate(byte p_70103_1_) |
boolean |
hasReducedDebug() |
boolean |
interactWith(Entity p_70998_1_) |
boolean |
isAllowEdit() |
boolean |
isBlocking() |
boolean |
isEntityInsideOpaqueBlock() |
boolean |
isInvisibleToPlayer(EntityPlayer player) |
protected boolean |
isMovementBlocked() |
protected boolean |
isPlayer() |
boolean |
isPlayerFullyAsleep() |
boolean |
isPlayerSleeping() |
boolean |
isPushedByWater() |
boolean |
isSpawnForced()
Deprecated.
|
boolean |
isSpawnForced(int dimension)
A dimension aware version of isSpawnForced.
|
abstract boolean |
isSpectator() |
boolean |
isUser() |
boolean |
isUsingItem() |
void |
joinEntityItemWithWorld(EntityItem p_71012_1_) |
void |
jump() |
void |
moveEntityWithHeading(float p_70612_1_,
float p_70612_2_) |
void |
onCriticalHit(Entity entityHit) |
void |
onDeath(DamageSource cause) |
void |
onEnchantmentCritical(Entity entityHit) |
protected void |
onItemUseFinish() |
void |
onKillEntity(EntityLivingBase entityLivingIn) |
void |
onLivingUpdate() |
void |
onUpdate() |
void |
openEditCommandBlock(CommandBlockLogic cmdBlockLogic) |
void |
openEditSign(TileEntitySign signTile) |
void |
openGui(java.lang.Object mod,
int modGuiId,
World world,
int x,
int y,
int z)
Opens a GUI with this player, uses FML's IGuiHandler system.
|
void |
playSound(java.lang.String name,
float volume,
float pitch) |
void |
preparePlayerToSpawn() |
void |
readEntityFromNBT(NBTTagCompound tagCompund) |
void |
refreshDisplayName()
Force the displayed name to refresh
|
void |
removeExperienceLevel(int levels) |
boolean |
replaceItemInInventory(int p_174820_1_,
ItemStack p_174820_2_) |
protected void |
resetHeight() |
void |
respawnPlayer() |
boolean |
sendCommandFeedback() |
void |
sendPlayerAbilities() |
void |
setAbsorptionAmount(float amount) |
void |
setCurrentItemOrArmor(int slotIn,
ItemStack stack) |
void |
setDead() |
void |
setGameType(WorldSettings.GameType gameType) |
void |
setInWeb() |
void |
setItemInUse(ItemStack stack,
int duration) |
void |
setReducedDebug(boolean reducedDebug) |
void |
setScore(int p_85040_1_) |
void |
setSpawnChunk(BlockPos pos,
boolean forced,
int dimension)
A dimension aware version of setSpawnChunk.
|
void |
setSpawnPoint(BlockPos pos,
boolean forced) |
boolean |
shouldHeal() |
void |
stopUsingItem() |
void |
triggerAchievement(StatBase achievementIn) |
EntityPlayer.EnumStatus |
trySleep(BlockPos bedLocation) |
protected void |
updateEntityActionState() |
protected void |
updateItemUse(ItemStack itemStackIn,
int p_71010_2_) |
void |
updateRidden() |
void |
wakeUpPlayer(boolean p_70999_1_,
boolean updateWorldFlag,
boolean setSpawn) |
void |
writeEntityToNBT(NBTTagCompound tagCompound) |
int |
xpBarCap() |
addPotionEffect, addRandomArmor, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, curePotionEffects, decreaseAirSupply, dismountEntity, dropEquipment, dropFewItems, func_110146_f, func_146066_aG, func_152111_bt, func_152112_bu, func_175133_bi, func_175134_bD, func_175135_B, func_175136_bO, func_180426_a, func_180433_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, mountEntity, onChangedPotionEffect, onDeathUpdate, onEntityUpdate, onFinishedPotionEffect, onItemPickup, onKillCommand, onNewPotionEffect, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAIMoveSpeed, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setRevengeTarget, setRotationYawHead, setSprinting, shouldRiderFaceForward, swingItem, updateAITick, updateArmSwingProgress, updatePotionEffectsaddChatMessage, addEntityCrashInfo, addVelocity, applyEntityCollision, canAttackWithItem, canRenderOnFire, canRiderInteract, canUseCommand, 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_174827_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, getPosition, 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, setPositionAndUpdate, setRotation, setSilent, setSize, setSneaking, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, spawnRunningParticles, toString, travelToDimension, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic static final java.lang.String PERSISTED_NBT_TAG
public InventoryPlayer inventory
public Container inventoryContainer
public Container openContainer
protected FoodStats foodStats
protected int flyToggleTimer
public float prevCameraYaw
public float cameraYaw
public int xpCooldown
public double field_71091_bM
public double field_71096_bN
public double field_71097_bO
public double field_71094_bP
public double field_71095_bQ
public double field_71085_bR
protected boolean sleeping
public BlockPos playerLocation
public float renderOffsetX
public float renderOffsetY
public float renderOffsetZ
public PlayerCapabilities capabilities
public int experienceLevel
public int experienceTotal
public float experience
protected float speedOnGround
protected float speedInAir
public EntityFishHook fishEntity
public EntityPlayer(World worldIn, com.mojang.authlib.GameProfile p_i45324_2_)
protected void applyEntityAttributes()
applyEntityAttributes in class EntityLivingBaseprotected void entityInit()
entityInit in class EntityLivingBasepublic ItemStack getItemInUse()
public int getItemInUseCount()
public boolean isUsingItem()
public int getItemInUseDuration()
public void stopUsingItem()
public void clearItemInUse()
public boolean isBlocking()
public void onUpdate()
onUpdate in class EntityLivingBasepublic int getMaxInPortalTime()
getMaxInPortalTime in class Entityprotected java.lang.String getSwimSound()
getSwimSound in class Entityprotected java.lang.String getSplashSound()
getSplashSound in class Entitypublic int getPortalCooldown()
getPortalCooldown in class Entitypublic void playSound(java.lang.String name,
float volume,
float pitch)
protected void updateItemUse(ItemStack itemStackIn, int p_71010_2_)
protected void onItemUseFinish()
public void handleHealthUpdate(byte p_70103_1_)
handleHealthUpdate in class EntityLivingBaseprotected boolean isMovementBlocked()
isMovementBlocked in class EntityLivingBasepublic void closeScreen()
public void updateRidden()
updateRidden in class EntityLivingBasepublic void preparePlayerToSpawn()
preparePlayerToSpawn in class Entityprotected void updateEntityActionState()
updateEntityActionState in class EntityLivingBasepublic void onLivingUpdate()
onLivingUpdate in class EntityLivingBasepublic int getScore()
public void setScore(int p_85040_1_)
public void addScore(int p_85039_1_)
public void onDeath(DamageSource cause)
onDeath in class EntityLivingBaseprotected java.lang.String getHurtSound()
getHurtSound in class EntityLivingBaseprotected java.lang.String getDeathSound()
getDeathSound in class EntityLivingBasepublic void addToPlayerScore(Entity entityIn, int amount)
addToPlayerScore in class Entitypublic EntityItem dropOneItem(boolean p_71040_1_)
public EntityItem dropPlayerItemWithRandomChoice(ItemStack itemStackIn, boolean unused)
public EntityItem dropItem(ItemStack droppedItem, boolean dropAround, boolean traceItem)
public void joinEntityItemWithWorld(EntityItem p_71012_1_)
@Deprecated public float getToolDigEfficiency(Block p_180471_1_)
public float getBreakSpeed(IBlockState state, BlockPos pos)
public boolean canHarvestBlock(Block p_146099_1_)
public void readEntityFromNBT(NBTTagCompound tagCompund)
readEntityFromNBT in class EntityLivingBasepublic void writeEntityToNBT(NBTTagCompound tagCompound)
writeEntityToNBT in class EntityLivingBasepublic boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom in class EntityLivingBasepublic boolean canAttackPlayer(EntityPlayer other)
protected void damageArmor(float p_70675_1_)
damageArmor in class EntityLivingBasepublic int getTotalArmorValue()
getTotalArmorValue in class EntityLivingBasepublic float getArmorVisibility()
protected void damageEntity(DamageSource damageSrc, float damageAmount)
damageEntity in class EntityLivingBasepublic void openEditSign(TileEntitySign signTile)
public void openEditCommandBlock(CommandBlockLogic cmdBlockLogic)
public void displayVillagerTradeGui(IMerchant villager)
public void displayGUIChest(IInventory chestInventory)
public void displayGUIHorse(EntityHorse horse, IInventory horseInventory)
public void displayGui(IInteractionObject guiOwner)
public void displayGUIBook(ItemStack bookStack)
public boolean interactWith(Entity p_70998_1_)
public ItemStack getCurrentEquippedItem()
public void destroyCurrentEquippedItem()
public double getYOffset()
getYOffset in class Entitypublic void attackTargetEntityWithCurrentItem(Entity targetEntity)
public void onCriticalHit(Entity entityHit)
public void onEnchantmentCritical(Entity entityHit)
public void respawnPlayer()
public boolean isEntityInsideOpaqueBlock()
isEntityInsideOpaqueBlock in class Entitypublic boolean isUser()
public com.mojang.authlib.GameProfile getGameProfile()
public EntityPlayer.EnumStatus trySleep(BlockPos bedLocation)
public void wakeUpPlayer(boolean p_70999_1_,
boolean updateWorldFlag,
boolean setSpawn)
public static BlockPos getBedSpawnLocation(World worldIn, BlockPos bedLocation, boolean forceSpawn)
public float getBedOrientationInDegrees()
public boolean isPlayerSleeping()
isPlayerSleeping in class EntityLivingBasepublic boolean isPlayerFullyAsleep()
public int getSleepTimer()
public void addChatComponentMessage(IChatComponent chatComponent)
public BlockPos getBedLocation()
@Deprecated public boolean isSpawnForced()
public void setSpawnPoint(BlockPos pos, boolean forced)
public void triggerAchievement(StatBase achievementIn)
public void addStat(StatBase stat, int amount)
public void func_175145_a(StatBase p_175145_1_)
public void jump()
jump in class EntityLivingBasepublic void moveEntityWithHeading(float p_70612_1_,
float p_70612_2_)
moveEntityWithHeading in class EntityLivingBasepublic float getAIMoveSpeed()
getAIMoveSpeed in class EntityLivingBasepublic void addMovementStat(double p_71000_1_,
double p_71000_3_,
double p_71000_5_)
public void fall(float distance,
float damageMultiplier)
fall in class EntityLivingBaseprotected void resetHeight()
resetHeight in class Entityprotected java.lang.String getFallSoundString(int damageValue)
getFallSoundString in class EntityLivingBasepublic void onKillEntity(EntityLivingBase entityLivingIn)
onKillEntity in class Entitypublic ItemStack getCurrentArmor(int slotIn)
getCurrentArmor in class EntityLivingBasepublic void addExperience(int amount)
public int getXPSeed()
public void removeExperienceLevel(int levels)
public void addExperienceLevel(int levels)
public int xpBarCap()
public void addExhaustion(float p_71020_1_)
public FoodStats getFoodStats()
public boolean canEat(boolean ignoreHunger)
public boolean shouldHeal()
public void setItemInUse(ItemStack stack, int duration)
public boolean isAllowEdit()
public boolean canPlayerEdit(BlockPos p_175151_1_, EnumFacing p_175151_2_, ItemStack p_175151_3_)
protected int getExperiencePoints(EntityPlayer player)
getExperiencePoints in class EntityLivingBaseprotected boolean isPlayer()
isPlayer in class EntityLivingBasepublic boolean getAlwaysRenderNameTagForRender()
getAlwaysRenderNameTagForRender in class EntityLivingBasepublic void clonePlayer(EntityPlayer oldPlayer, boolean respawnFromEnd)
protected boolean canTriggerWalking()
canTriggerWalking in class Entitypublic void sendPlayerAbilities()
public void setGameType(WorldSettings.GameType gameType)
public java.lang.String getName()
getName in interface ICommandSendergetName in class Entitypublic InventoryEnderChest getInventoryEnderChest()
public ItemStack getEquipmentInSlot(int slotIn)
getEquipmentInSlot in class EntityLivingBasepublic ItemStack getHeldItem()
getHeldItem in class EntityLivingBasepublic void setCurrentItemOrArmor(int slotIn,
ItemStack stack)
setCurrentItemOrArmor in class EntityLivingBasepublic boolean isInvisibleToPlayer(EntityPlayer player)
isInvisibleToPlayer in class Entitypublic abstract boolean isSpectator()
public ItemStack[] getInventory()
getInventory in class EntityLivingBasepublic boolean isPushedByWater()
isPushedByWater in class Entitypublic Scoreboard getWorldScoreboard()
public Team getTeam()
getTeam in class EntityLivingBasepublic IChatComponent getDisplayName()
getDisplayName in interface ICommandSendergetDisplayName in class Entitypublic float getEyeHeight()
getEyeHeight in class Entitypublic void setAbsorptionAmount(float amount)
setAbsorptionAmount in class EntityLivingBasepublic float getAbsorptionAmount()
getAbsorptionAmount in class EntityLivingBasepublic static java.util.UUID getUUID(com.mojang.authlib.GameProfile profile)
public static java.util.UUID getOfflineUUID(java.lang.String username)
public boolean canOpen(LockCode code)
public boolean func_175148_a(EnumPlayerModelParts p_175148_1_)
public boolean sendCommandFeedback()
sendCommandFeedback in interface ICommandSendersendCommandFeedback in class Entitypublic boolean replaceItemInInventory(int p_174820_1_,
ItemStack p_174820_2_)
replaceItemInInventory in class Entitypublic boolean hasReducedDebug()
public void setReducedDebug(boolean reducedDebug)
public void openGui(java.lang.Object mod,
int modGuiId,
World world,
int x,
int y,
int z)
mod - The mod trying to open a GUImodGuiId - GUI IDworld - Current Worldx - Passed directly to IGuiHandler, data meaningless Typically world X positiony - Passed directly to IGuiHandler, data meaningless Typically world Y positionz - Passed directly to IGuiHandler, data meaningless Typically world Z positionpublic BlockPos getBedLocation(int dimension)
dimension - The dimension to get the bed spawn forpublic boolean isSpawnForced(int dimension)
dimension - The dimension to get whether to check for a bed before spawning forpublic void setSpawnChunk(BlockPos pos, boolean forced, int dimension)
pos - The spawn point to set as the player-specific spawn point for the dimensionforced - Whether or not the respawn code should check for a bed at this location (true means it won't check for a bed)dimension - Which dimension to apply the player-specific respawn point topublic float getDefaultEyeHeight()
public java.lang.String getDisplayNameString()
public void refreshDisplayName()