Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
Block.getBedSpawnPosition(World world,
int x,
int y,
int z,
EntityPlayer player)
Returns the position that the player is moved to upon
waking up, or respawning at the bed.
|
static ChunkCoordinates |
BlockBed.getNearestEmptyChunkCoordinates(World par0World,
int par1,
int par2,
int par3,
int par4)
Gets the nearest empty chunk coordinates for the player to wake up from a bed into.
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
EntityOtherPlayerMP.getPlayerCoordinates()
Return the position for this command sender.
|
ChunkCoordinates |
EntityPlayerSP.getPlayerCoordinates()
Return the position for this command sender.
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
ICommandSender.getPlayerCoordinates()
Return the position for this command sender.
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
EntityLiving.getHomePosition() |
Modifier and Type | Field and Description |
---|---|
ChunkCoordinates |
EntityPlayer.playerLocation
The chunk coordinates of the bed the player is in (null if player isn't in a bed).
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
EntityPlayer.getBedLocation()
Returns the location of the bed the player will respawn at, or null if the player has not slept in a bed.
|
ChunkCoordinates |
EntityPlayerMP.getPlayerCoordinates()
Return the position for this command sender.
|
static ChunkCoordinates |
EntityPlayer.verifyRespawnCoordinates(World par0World,
ChunkCoordinates par1ChunkCoordinates,
boolean par2)
Ensure that a block enabling respawning exists at the specified coordinates and find an empty space nearby to
spawn.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayer.setSpawnChunk(ChunkCoordinates par1ChunkCoordinates,
boolean par2)
Defines a spawn coordinate to player spawn.
|
static ChunkCoordinates |
EntityPlayer.verifyRespawnCoordinates(World par0World,
ChunkCoordinates par1ChunkCoordinates,
boolean par2)
Ensure that a block enabling respawning exists at the specified coordinates and find an empty space nearby to
spawn.
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
RConConsoleSource.getPlayerCoordinates()
Return the position for this command sender.
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
MinecraftServer.getPlayerCoordinates()
Return the position for this command sender.
|
Modifier and Type | Method and Description |
---|---|
List |
ServerConfigurationManager.findPlayers(ChunkCoordinates par1ChunkCoordinates,
int par2,
int par3,
int par4,
int par5,
int par6,
int par7,
Map par8Map,
String par9Str,
String par10Str)
Find all players in a specified range and narrowing down by other parameters
|
Constructor and Description |
---|
PlayerPositionComparator(ChunkCoordinates par1ChunkCoordinates) |
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
TileEntityCommandBlock.getPlayerCoordinates()
Return the position for this command sender.
|
Modifier and Type | Method and Description |
---|---|
int |
ChunkCoordinates.compareChunkCoordinate(ChunkCoordinates par1ChunkCoordinates)
Compare the coordinate with another coordinate
|
float |
ChunkCoordinates.getDistanceSquaredToChunkCoordinates(ChunkCoordinates par1ChunkCoordinates)
Return the squared distance between this coordinates and the ChunkCoordinates given as argument.
|
Constructor and Description |
---|
ChunkCoordinates(ChunkCoordinates par1ChunkCoordinates) |
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
Village.getCenter() |
Modifier and Type | Class and Description |
---|---|
class |
PortalPosition |
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
WorldServer.getEntrancePortalLocation()
Gets the hard-coded portal location to use when entering this dimension.
|
ChunkCoordinates |
WorldProvider.getEntrancePortalLocation()
Gets the hard-coded portal location to use when entering this dimension.
|
ChunkCoordinates |
WorldProviderEnd.getEntrancePortalLocation()
Gets the hard-coded portal location to use when entering this dimension.
|
ChunkCoordinates |
WorldProvider.getRandomizedSpawnPoint() |
ChunkCoordinates |
WorldProvider.getSpawnPoint() |
ChunkCoordinates |
World.getSpawnPoint()
Returns the coordinates of the spawn point
|
Modifier and Type | Method and Description |
---|---|
ChunkCoordinates |
FakePlayer.getPlayerCoordinates() |