public class WorldServerMulti extends WorldServer
customTeleporters, disableLevelSaving, doneChunks, villageSiege
captureBlockSnapshots, capturedBlockSnapshots, chunkProvider, DIST_HASH_MAGIC, entitiesById, eventListeners, findingSpawnPoint, isRemote, loadedEntityList, loadedTileEntityList, lootTable, mapStorage, MAX_ENTITY_RADIUS, pathListener, perWorldStorage, playerEntities, prevRainingStrength, prevThunderingStrength, provider, rainingStrength, rand, restoringBlockSnapshots, saveHandler, scheduledUpdatesAreImmediate, spawnHostileMobs, spawnPeacefulMobs, theProfiler, thunderingStrength, tickableTileEntities, unloadedEntityList, updateLCG, villageCollectionObj, weatherEffects, worldInfo, worldScoreboard
Constructor and Description |
---|
WorldServerMulti(MinecraftServer server,
ISaveHandler saveHandlerIn,
int dimensionId,
WorldServer delegate,
Profiler profilerIn) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Syncs all changes to disk and wait for completion.
|
World |
init() |
void |
saveAdditionalData()
Called during saving of a world to give children worlds a chance to save additional data.
|
protected void |
saveLevel()
Saves the chunks to disk.
|
addBlockEvent, addScheduledTask, addWeatherEffect, adjustPosToNearbyEntity, areAllPlayersAsleep, canCreatureTypeSpawnHere, canMineBlockBody, createBonusChest, createChunkProvider, findNearestStructure, getChunkProvider, getChunkSaveLocation, getDefaultTeleporter, getEntityFromUuid, getEntityTracker, getMinecraftServer, getPendingBlockUpdates, getPendingBlockUpdates, getPlayerChunkMap, getSpawnCoordinate, getSpawnListEntryForTypeAt, getStructureTemplateManager, initialize, isBlockModifiable, isBlockTickPending, isCallingFromMinecraftThread, isChunkLoaded, isUpdateScheduled, loadEntities, newExplosion, onEntityAdded, onEntityRemoved, playerCheckLight, resetUpdateEntityTick, saveAllChunks, saveChunkData, scheduleBlockUpdate, scheduleUpdate, setEntityState, setInitialSpawnLocation, spawnEntity, spawnParticle, spawnParticle, spawnParticle, tick, tickPlayers, tickUpdates, updateAllPlayersSleepingFlag, updateBlocks, updateBlockTick, updateEntities, updateEntityWithOptionalForce, updateWeather, wakeAllPlayers
addEventListener, addTileEntities, addTileEntity, addWorldInfoToCrashReport, calculateInitialSkylight, calculateInitialWeather, calculateInitialWeatherBody, calculateSkylightSubtracted, canBlockFreeze, canBlockFreezeBody, canBlockFreezeNoWater, canBlockFreezeWater, canBlockSeeSky, canSeeSky, canSnowAt, canSnowAtBody, checkBlockCollision, checkLight, checkLightFor, checkNoEntityCollision, checkNoEntityCollision, checkSessionLock, collidesWithAnyBlock, containsAnyLiquid, countEntities, countEntities, createExplosion, destroyBlock, extinguishFire, findNearestEntityWithinAABB, func_191503_g, getActualHeight, getBiome, getBiomeForCoordsBody, getBiomeProvider, getBlockDensity, getBlockLightOpacity, getBlockState, getCapability, getCelestialAngle, getCelestialAngleRadians, getChunkFromBlockCoords, getChunkFromChunkCoords, getChunksLowestHorizon, getClosestPlayer, getClosestPlayer, getClosestPlayerToEntity, getCloudColorBody, getCloudColour, getCollisionBoxes, getCombinedLight, getCurrentDate, getCurrentMoonPhaseFactor, getCurrentMoonPhaseFactorBody, getDebugLoadedEntities, getDifficulty, getDifficultyForLocation, getEntities, getEntitiesInAABBexcluding, getEntitiesWithinAABB, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, getEntityByID, getFogColor, getGameRules, getGroundAboveSeaLevel, getHeight, getHeight, getHeight, getHorizon, getLastLightningBolt, getLight, getLight, getLightBrightness, getLightFor, getLightFromNeighbors, getLightFromNeighborsFor, getLoadedEntityList, getLootTableManager, getMapStorage, getMoonPhase, getNearestAttackablePlayer, getNearestAttackablePlayer, getNearestAttackablePlayer, getNearestPlayerNotCreative, getPersistentChunkIterable, getPersistentChunks, getPerWorldStorage, getPlayerEntityByName, getPlayerEntityByUUID, getPlayers, getPrecipitationHeight, getProviderName, getRainStrength, getRedstonePower, getSaveHandler, getScoreboard, getSeaLevel, getSeed, getSkyColor, getSkyColorBody, getSkylightSubtracted, getSpawnPoint, getStarBrightness, getStarBrightnessBody, getStrongPower, getStrongPower, getSunBrightness, getSunBrightnessBody, getSunBrightnessFactor, getThunderStrength, getTileEntity, getTopSolidOrLiquidBlock, getTotalWorldTime, getUniqueDataId, getVillageCollection, getWorldBorder, getWorldInfo, getWorldTime, getWorldType, handleMaterialAcceleration, hasCapability, immediateBlockTick, initCapabilities, isAirBlock, isAnyPlayerWithinRangeAt, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockFullCube, isBlockIndirectlyGettingPowered, isBlockinHighHumidity, isBlockLoaded, isBlockLoaded, isBlockNormalCube, isBlockPowered, isChunkGeneratedAt, isDaytime, isFlammableWithin, isMaterialInBB, isOutsideBuildHeight, isRaining, isRainingAt, isSidePowered, isSideSolid, isSideSolid, isSpawnChunk, isThundering, isValid, joinEntityInSurroundings, loadData, makeFireworks, markAndNotifyBlock, markBlockRangeForRenderUpdate, markBlockRangeForRenderUpdate, markBlocksDirtyVertical, markChunkDirty, markTileEntityForRemoval, mayPlace, neighborChanged, notifyBlockUpdate, notifyLightSet, notifyNeighborsOfStateChange, notifyNeighborsOfStateExcept, notifyNeighborsRespectDebug, observedNeighborChanged, playBroadcastSound, playEvent, playEvent, playMoodSoundAndCheckLight, playRecord, playSound, playSound, playSound, rayTraceBlocks, rayTraceBlocks, rayTraceBlocks, removeEntity, removeEntityDangerously, removeEventListener, removeTileEntity, sendBlockBreakProgress, sendPacketToServer, sendQuittingDisconnectingPacket, setAllowedSpawnTypes, setBlockState, setBlockState, setBlockToAir, setData, setLastLightningBolt, setLightFor, setRainStrength, setRandomSeed, setSeaLevel, setSkylightSubtracted, setSpawnPoint, setThunderStrength, setTileEntity, setTotalWorldTime, setWorldTime, spawnAlwaysVisibleParticle, spawnParticle, spawnParticle, unloadEntities, updateComparatorOutputLevel, updateEntity, updateObservingBlocksAt, updateWeatherBody
public WorldServerMulti(MinecraftServer server, ISaveHandler saveHandlerIn, int dimensionId, WorldServer delegate, Profiler profilerIn)
protected void saveLevel() throws MinecraftException
saveLevel
in class WorldServer
MinecraftException
public World init()
init
in class WorldServer
public void flush()
flush
in class WorldServer
public void saveAdditionalData()