public class WorldServer extends World
Modifier and Type | Field and Description |
---|---|
static WeightedRandomChestContent[] |
bonusChestContent |
boolean |
levelSaving |
ChunkProviderServer |
theChunkProviderServer |
activeChunkSet, chunkProvider, difficultySetting, DIST_HASH_MAGIC, findingSpawnPoint, isRemote, lastLightningBolt, loadedEntityList, loadedTileEntityList, mapStorage, playerEntities, prevRainingStrength, prevThunderingStrength, provider, rainingStrength, rand, saveHandler, scheduledUpdatesAreImmediate, skylightSubtracted, spawnHostileMobs, spawnPeacefulMobs, theProfiler, thunderingStrength, unloadedEntityList, updateLCG, villageCollectionObj, villageSiegeObj, weatherEffects, worldAccesses, worldInfo, worldScoreboard
Constructor and Description |
---|
WorldServer(MinecraftServer p_i45284_1_,
ISaveHandler p_i45284_2_,
java.lang.String p_i45284_3_,
int p_i45284_4_,
WorldSettings p_i45284_5_,
Profiler p_i45284_6_) |
Modifier and Type | Method and Description |
---|---|
void |
addBlockEvent(int p_147452_1_,
int p_147452_2_,
int p_147452_3_,
Block p_147452_4_,
int p_147452_5_,
int p_147452_6_) |
boolean |
addWeatherEffect(Entity p_72942_1_) |
boolean |
areAllPlayersAsleep() |
boolean |
canMineBlock(EntityPlayer p_72962_1_,
int p_72962_2_,
int p_72962_3_,
int p_72962_4_) |
protected void |
createBonusChest() |
protected IChunkProvider |
createChunkProvider() |
protected void |
createSpawnPosition(WorldSettings p_73052_1_) |
void |
flush() |
void |
func_147446_b(int p_147446_1_,
int p_147446_2_,
int p_147446_3_,
Block p_147446_4_,
int p_147446_5_,
int p_147446_6_) |
protected void |
func_147456_g() |
java.util.List |
func_147486_a(int p_147486_1_,
int p_147486_2_,
int p_147486_3_,
int p_147486_4_,
int p_147486_5_,
int p_147486_6_) |
void |
func_147487_a(java.lang.String p_147487_1_,
double p_147487_2_,
double p_147487_4_,
double p_147487_6_,
int p_147487_8_,
double p_147487_9_,
double p_147487_11_,
double p_147487_13_,
double p_147487_15_) |
protected int |
func_152379_p() |
MinecraftServer |
func_73046_m() |
Teleporter |
getDefaultTeleporter() |
Entity |
getEntityByID(int p_73045_1_) |
EntityTracker |
getEntityTracker() |
ChunkCoordinates |
getEntrancePortalLocation() |
java.util.List |
getPendingBlockUpdates(Chunk p_72920_1_,
boolean p_72920_2_) |
PlayerManager |
getPlayerManager() |
protected void |
initialize(WorldSettings p_72963_1_) |
boolean |
isBlockTickScheduledThisTick(int p_147477_1_,
int p_147477_2_,
int p_147477_3_,
Block p_147477_4_) |
Explosion |
newExplosion(Entity p_72885_1_,
double p_72885_2_,
double p_72885_4_,
double p_72885_6_,
float p_72885_8_,
boolean p_72885_9_,
boolean p_72885_10_) |
void |
onEntityAdded(Entity p_72923_1_) |
void |
onEntityRemoved(Entity p_72847_1_) |
void |
resetUpdateEntityTick() |
void |
saveAllChunks(boolean p_73044_1_,
IProgressUpdate p_73044_2_) |
void |
saveChunkData() |
protected void |
saveLevel() |
void |
scheduleBlockUpdate(int p_147464_1_,
int p_147464_2_,
int p_147464_3_,
Block p_147464_4_,
int p_147464_5_) |
void |
scheduleBlockUpdateWithPriority(int p_147454_1_,
int p_147454_2_,
int p_147454_3_,
Block p_147454_4_,
int p_147454_5_,
int p_147454_6_) |
void |
setEntityState(Entity p_72960_1_,
byte p_72960_2_) |
void |
setSpawnLocation() |
BiomeGenBase.SpawnListEntry |
spawnRandomCreature(EnumCreatureType p_73057_1_,
int p_73057_2_,
int p_73057_3_,
int p_73057_4_) |
void |
tick() |
boolean |
tickUpdates(boolean p_72955_1_) |
void |
updateAllPlayersSleepingFlag() |
void |
updateEntities() |
void |
updateEntityWithOptionalForce(Entity p_72866_1_,
boolean p_72866_2_) |
protected void |
updateWeather() |
protected void |
wakeAllPlayers() |
addLoadedEntities, addWorldAccess, addWorldInfoToCrashReport, blockExists, calculateInitialSkylight, calculateSkylightSubtracted, canBlockFreeze, canBlockSeeTheSky, canLightningStrikeAt, canPlaceEntityOnSide, checkBlockCollision, checkChunksExist, checkNoEntityCollision, checkNoEntityCollision, checkSessionLock, chunkExists, countEntities, createExplosion, destroyBlockInWorldPartially, doChunksNearChunkExist, doesBlockHaveSolidTopSurface, extendedLevelsInChunkCache, extinguishFire, findClosestStructure, findNearestEntityWithinAABB, func_147447_a, func_147448_a, func_147450_X, func_147451_t, func_147453_f, func_147457_a, func_147461_a, func_147462_b, func_147467_a, func_147469_q, func_147470_e, func_147473_B, func_147478_e, func_147479_m, func_147480_a, func_152378_a, func_82738_a, getActualHeight, getBiomeGenForCoords, getBlock, getBlockDensity, getBlockLightValue_do, getBlockLightValue, getBlockMetadata, getBlockPowerInput, getCelestialAngle, getCelestialAngleRadians, getChunkFromBlockCoords, getChunkFromChunkCoords, getChunkHeightMapMinimum, getChunkProvider, getClosestPlayer, getClosestPlayerToEntity, getClosestVulnerablePlayer, getClosestVulnerablePlayerToEntity, getCloudColour, getCollidingBoundingBoxes, getCurrentDate, getCurrentMoonPhaseFactor, getDebugLoadedEntities, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, getEntitiesWithinAABBExcludingEntity, getEntityPathToXYZ, getFogColor, getFullBlockLightValue, getGameRules, getHeight, getHeightValue, getHorizon, getIndirectPowerLevelTo, getIndirectPowerOutput, getLightBrightness, getLightBrightnessForSkyBlocks, getLoadedEntityList, getMoonPhase, getPathEntityToEntity, getPlayerEntityByName, getPrecipitationHeight, getProviderName, getRainStrength, getSavedLightValue, getSaveHandler, getScoreboard, getSeed, getSkyBlockTypeBrightness, getSkyColor, getSpawnPoint, getStarBrightness, getStrongestIndirectPower, getSunBrightness, getTileEntity, getTopBlock, getTopSolidOrLiquidBlock, getTotalWorldTime, getUniqueDataId, getWeightedThunderStrength, getWorldChunkManager, getWorldInfo, getWorldTime, handleMaterialAcceleration, isAABBInMaterial, isAirBlock, isAnyLiquid, isBlockFreezable, isBlockFreezableNaturally, isBlockHighHumidity, isBlockIndirectlyGettingPowered, isBlockNormalCubeDefault, isBlockProvidingPowerTo, isDaytime, isMaterialInBB, isRaining, isThundering, joinEntityInSurroundings, loadItemData, makeFireworks, markBlockForUpdate, markBlockRangeForRenderUpdate, markBlocksDirtyVertical, markTileEntityChunkModified, notifyBlockChange, notifyBlockOfNeighborChange, notifyBlocksOfNeighborChange, notifyBlocksOfNeighborChange, playAuxSFX, playAuxSFXAtEntity, playBroadcastSound, playRecord, playSound, playSoundAtEntity, playSoundEffect, playSoundToNearExcept, rayTraceBlocks, rayTraceBlocks, removeEntity, removePlayerEntityDangerously, removeTileEntity, removeWorldAccess, selectEntitiesWithinAABB, sendQuittingDisconnectingPacket, setActivePlayerChunksAndCheckLight, setAllowedSpawnTypes, setBlock, setBlock, setBlockMetadataWithNotify, setBlockToAir, setItemData, setLightValue, setRainStrength, setRandomSeed, setSpawnLocation, setThunderStrength, setTileEntity, setWorldTime, spawnEntityInWorld, spawnParticle, unloadEntities, updateEntity, updateLightByType
public ChunkProviderServer theChunkProviderServer
public boolean levelSaving
public static final WeightedRandomChestContent[] bonusChestContent
public WorldServer(MinecraftServer p_i45284_1_, ISaveHandler p_i45284_2_, java.lang.String p_i45284_3_, int p_i45284_4_, WorldSettings p_i45284_5_, Profiler p_i45284_6_)
public BiomeGenBase.SpawnListEntry spawnRandomCreature(EnumCreatureType p_73057_1_, int p_73057_2_, int p_73057_3_, int p_73057_4_)
public void updateAllPlayersSleepingFlag()
updateAllPlayersSleepingFlag
in class World
protected void wakeAllPlayers()
public boolean areAllPlayersAsleep()
public void setSpawnLocation()
setSpawnLocation
in class World
protected void func_147456_g()
func_147456_g
in class World
public boolean isBlockTickScheduledThisTick(int p_147477_1_, int p_147477_2_, int p_147477_3_, Block p_147477_4_)
isBlockTickScheduledThisTick
in class World
public void scheduleBlockUpdate(int p_147464_1_, int p_147464_2_, int p_147464_3_, Block p_147464_4_, int p_147464_5_)
scheduleBlockUpdate
in class World
public void scheduleBlockUpdateWithPriority(int p_147454_1_, int p_147454_2_, int p_147454_3_, Block p_147454_4_, int p_147454_5_, int p_147454_6_)
scheduleBlockUpdateWithPriority
in class World
public void func_147446_b(int p_147446_1_, int p_147446_2_, int p_147446_3_, Block p_147446_4_, int p_147446_5_, int p_147446_6_)
func_147446_b
in class World
public void updateEntities()
updateEntities
in class World
public void resetUpdateEntityTick()
public boolean tickUpdates(boolean p_72955_1_)
tickUpdates
in class World
public java.util.List getPendingBlockUpdates(Chunk p_72920_1_, boolean p_72920_2_)
getPendingBlockUpdates
in class World
public void updateEntityWithOptionalForce(Entity p_72866_1_, boolean p_72866_2_)
updateEntityWithOptionalForce
in class World
protected IChunkProvider createChunkProvider()
createChunkProvider
in class World
public java.util.List func_147486_a(int p_147486_1_, int p_147486_2_, int p_147486_3_, int p_147486_4_, int p_147486_5_, int p_147486_6_)
public boolean canMineBlock(EntityPlayer p_72962_1_, int p_72962_2_, int p_72962_3_, int p_72962_4_)
canMineBlock
in class World
protected void initialize(WorldSettings p_72963_1_)
initialize
in class World
protected void createSpawnPosition(WorldSettings p_73052_1_)
protected void createBonusChest()
public ChunkCoordinates getEntrancePortalLocation()
public void saveAllChunks(boolean p_73044_1_, IProgressUpdate p_73044_2_) throws MinecraftException
MinecraftException
public void saveChunkData()
protected void saveLevel() throws MinecraftException
MinecraftException
public void onEntityAdded(Entity p_72923_1_)
onEntityAdded
in class World
public void onEntityRemoved(Entity p_72847_1_)
onEntityRemoved
in class World
public Entity getEntityByID(int p_73045_1_)
getEntityByID
in class World
public boolean addWeatherEffect(Entity p_72942_1_)
addWeatherEffect
in class World
public void setEntityState(Entity p_72960_1_, byte p_72960_2_)
setEntityState
in class World
public Explosion newExplosion(Entity p_72885_1_, double p_72885_2_, double p_72885_4_, double p_72885_6_, float p_72885_8_, boolean p_72885_9_, boolean p_72885_10_)
newExplosion
in class World
public void addBlockEvent(int p_147452_1_, int p_147452_2_, int p_147452_3_, Block p_147452_4_, int p_147452_5_, int p_147452_6_)
addBlockEvent
in class World
public void flush()
protected void updateWeather()
updateWeather
in class World
protected int func_152379_p()
func_152379_p
in class World
public MinecraftServer func_73046_m()
public EntityTracker getEntityTracker()
public PlayerManager getPlayerManager()
public Teleporter getDefaultTeleporter()
public void func_147487_a(java.lang.String p_147487_1_, double p_147487_2_, double p_147487_4_, double p_147487_6_, int p_147487_8_, double p_147487_9_, double p_147487_11_, double p_147487_13_, double p_147487_15_)