YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.WorldServerMulti Class Reference
Inheritance diagram for net.minecraft.world.WorldServerMulti:
net.minecraft.world.WorldServer net.minecraft.world.World net.minecraft.world.IBlockAccess

Public Member Functions

 WorldServerMulti (MinecraftServer par1MinecraftServer, ISaveHandler par2ISaveHandler, String par3Str, int par4, WorldSettings par5WorldSettings, WorldServer par6WorldServer, Profiler par7Profiler, ILogAgent par8ILogAgent)
 
- Public Member Functions inherited from net.minecraft.world.WorldServer
 WorldServer (MinecraftServer par1MinecraftServer, ISaveHandler par2ISaveHandler, String par3Str, int par4, WorldSettings par5WorldSettings, Profiler par6Profiler, ILogAgent par7ILogAgent)
 
void tick ()
 
SpawnListEntry spawnRandomCreature (EnumCreatureType par1EnumCreatureType, int par2, int par3, int par4)
 
void updateAllPlayersSleepingFlag ()
 
boolean areAllPlayersAsleep ()
 
void setSpawnLocation ()
 
boolean isBlockTickScheduled (int par1, int par2, int par3, int par4)
 
void scheduleBlockUpdate (int par1, int par2, int par3, int par4, int par5)
 
void func_82740_a (int par1, int par2, int par3, int par4, int par5, int par6)
 
void scheduleBlockUpdateFromLoad (int par1, int par2, int par3, int par4, int par5, int par6)
 
void updateEntities ()
 
void resetUpdateEntityTick ()
 
boolean tickUpdates (boolean par1)
 
List getPendingBlockUpdates (Chunk par1Chunk, boolean par2)
 
void updateEntityWithOptionalForce (Entity par1Entity, boolean par2)
 
void uncheckedUpdateEntity (Entity par1Entity, boolean par2)
 
List getAllTileEntityInBox (int par1, int par2, int par3, int par4, int par5, int par6)
 
boolean canMineBlock (EntityPlayer par1EntityPlayer, int par2, int par3, int par4)
 
boolean canMineBlockBody (EntityPlayer par1EntityPlayer, int par2, int par3, int par4)
 
ChunkCoordinates getEntrancePortalLocation ()
 
void saveAllChunks (boolean par1, IProgressUpdate par2IProgressUpdate) throws MinecraftException
 
void func_104140_m ()
 
void releaseEntitySkin (Entity par1Entity)
 
Entity getEntityByID (int par1)
 
boolean addWeatherEffect (Entity par1Entity)
 
void setEntityState (Entity par1Entity, byte par2)
 
Explosion newExplosion (Entity par1Entity, double par2, double par4, double par6, float par8, boolean par9, boolean par10)
 
void addBlockEvent (int par1, int par2, int par3, int par4, int par5, int par6)
 
void flush ()
 
MinecraftServer getMinecraftServer ()
 
EntityTracker getEntityTracker ()
 
PlayerManager getPlayerManager ()
 
Teleporter getDefaultTeleporter ()
 
File getChunkSaveLocation ()
 
- Public Member Functions inherited from net.minecraft.world.World
BiomeGenBase getBiomeGenForCoords (int par1, int par2)
 
BiomeGenBase getBiomeGenForCoordsBody (int par1, int par2)
 
WorldChunkManager getWorldChunkManager ()
 
 World (ISaveHandler par1ISaveHandler, String par2Str, WorldProvider par3WorldProvider, WorldSettings par4WorldSettings, Profiler par5Profiler, ILogAgent par6ILogAgent)
 
 World (ISaveHandler par1ISaveHandler, String par2Str, WorldSettings par3WorldSettings, WorldProvider par4WorldProvider, Profiler par5Profiler, ILogAgent par6ILogAgent)
 
void setSpawnLocation ()
 
int getFirstUncoveredBlock (int par1, int par2)
 
int getBlockId (int par1, int par2, int par3)
 
boolean isAirBlock (int par1, int par2, int par3)
 
boolean blockHasTileEntity (int par1, int par2, int par3)
 
int blockGetRenderType (int par1, int par2, int par3)
 
boolean blockExists (int par1, int par2, int par3)
 
boolean doChunksNearChunkExist (int par1, int par2, int par3, int par4)
 
boolean checkChunksExist (int par1, int par2, int par3, int par4, int par5, int par6)
 
Chunk getChunkFromBlockCoords (int par1, int par2)
 
Chunk getChunkFromChunkCoords (int par1, int par2)
 
boolean setBlock (int par1, int par2, int par3, int par4, int par5, int par6)
 
Material getBlockMaterial (int par1, int par2, int par3)
 
int getBlockMetadata (int par1, int par2, int par3)
 
boolean setBlockMetadataWithNotify (int par1, int par2, int par3, int par4, int par5)
 
boolean setBlockToAir (int par1, int par2, int par3)
 
boolean destroyBlock (int par1, int par2, int par3, boolean par4)
 
boolean setBlock (int par1, int par2, int par3, int par4)
 
void markBlockForUpdate (int par1, int par2, int par3)
 
void notifyBlockChange (int par1, int par2, int par3, int par4)
 
void markBlocksDirtyVertical (int par1, int par2, int par3, int par4)
 
void markBlockRangeForRenderUpdate (int par1, int par2, int par3, int par4, int par5, int par6)
 
void notifyBlocksOfNeighborChange (int par1, int par2, int par3, int par4)
 
void notifyBlocksOfNeighborChange (int par1, int par2, int par3, int par4, int par5)
 
void notifyBlockOfNeighborChange (int par1, int par2, int par3, int par4)
 
boolean isBlockTickScheduled (int par1, int par2, int par3, int par4)
 
boolean canBlockSeeTheSky (int par1, int par2, int par3)
 
int getFullBlockLightValue (int par1, int par2, int par3)
 
int getBlockLightValue (int par1, int par2, int par3)
 
int getBlockLightValue_do (int par1, int par2, int par3, boolean par4)
 
int getHeightValue (int par1, int par2)
 
int getChunkHeightMapMinimum (int par1, int par2)
 
int getSkyBlockTypeBrightness (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4)
 
int getSavedLightValue (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4)
 
void setLightValue (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4, int par5)
 
void markBlockForRenderUpdate (int par1, int par2, int par3)
 
int getLightBrightnessForSkyBlocks (int par1, int par2, int par3, int par4)
 
float getBrightness (int par1, int par2, int par3, int par4)
 
float getLightBrightness (int par1, int par2, int par3)
 
boolean isDaytime ()
 
MovingObjectPosition rayTraceBlocks (Vec3 par1Vec3, Vec3 par2Vec3)
 
MovingObjectPosition rayTraceBlocks_do (Vec3 par1Vec3, Vec3 par2Vec3, boolean par3)
 
MovingObjectPosition rayTraceBlocks_do_do (Vec3 par1Vec3, Vec3 par2Vec3, boolean par3, boolean par4)
 
void playSoundAtEntity (Entity par1Entity, String par2Str, float par3, float par4)
 
void playSoundToNearExcept (EntityPlayer par1EntityPlayer, String par2Str, float par3, float par4)
 
void playSoundEffect (double par1, double par3, double par5, String par7Str, float par8, float par9)
 
void playSound (double par1, double par3, double par5, String par7Str, float par8, float par9, boolean par10)
 
void playRecord (String par1Str, int par2, int par3, int par4)
 
void spawnParticle (String par1Str, double par2, double par4, double par6, double par8, double par10, double par12)
 
boolean addWeatherEffect (Entity par1Entity)
 
boolean spawnEntityInWorld (Entity par1Entity)
 
void releaseEntitySkin (Entity par1Entity)
 
void removeEntity (Entity par1Entity)
 
void removePlayerEntityDangerously (Entity par1Entity)
 
void addWorldAccess (IWorldAccess par1IWorldAccess)
 
List getCollidingBoundingBoxes (Entity par1Entity, AxisAlignedBB par2AxisAlignedBB)
 
List getCollidingBlockBounds (AxisAlignedBB par1AxisAlignedBB)
 
int calculateSkylightSubtracted (float par1)
 
void removeWorldAccess (IWorldAccess par1IWorldAccess)
 
float getSunBrightness (float par1)
 
Vec3 getSkyColor (Entity par1Entity, float par2)
 
Vec3 getSkyColorBody (Entity par1Entity, float par2)
 
float getCelestialAngle (float par1)
 
int getMoonPhase ()
 
float getCelestialAngleRadians (float par1)
 
Vec3 getCloudColour (float par1)
 
Vec3 drawCloudsBody (float par1)
 
Vec3 getFogColor (float par1)
 
int getPrecipitationHeight (int par1, int par2)
 
int getTopSolidOrLiquidBlock (int par1, int par2)
 
float getStarBrightness (float par1)
 
float getStarBrightnessBody (float par1)
 
void scheduleBlockUpdate (int par1, int par2, int par3, int par4, int par5)
 
void func_82740_a (int par1, int par2, int par3, int par4, int par5, int par6)
 
void scheduleBlockUpdateFromLoad (int par1, int par2, int par3, int par4, int par5, int par6)
 
void updateEntities ()
 
void addTileEntity (Collection par1Collection)
 
void updateEntity (Entity par1Entity)
 
void updateEntityWithOptionalForce (Entity par1Entity, boolean par2)
 
boolean checkNoEntityCollision (AxisAlignedBB par1AxisAlignedBB)
 
boolean checkNoEntityCollision (AxisAlignedBB par1AxisAlignedBB, Entity par2Entity)
 
boolean checkBlockCollision (AxisAlignedBB par1AxisAlignedBB)
 
boolean isAnyLiquid (AxisAlignedBB par1AxisAlignedBB)
 
boolean isBoundingBoxBurning (AxisAlignedBB par1AxisAlignedBB)
 
boolean handleMaterialAcceleration (AxisAlignedBB par1AxisAlignedBB, Material par2Material, Entity par3Entity)
 
boolean isMaterialInBB (AxisAlignedBB par1AxisAlignedBB, Material par2Material)
 
boolean isAABBInMaterial (AxisAlignedBB par1AxisAlignedBB, Material par2Material)
 
Explosion createExplosion (Entity par1Entity, double par2, double par4, double par6, float par8, boolean par9)
 
Explosion newExplosion (Entity par1Entity, double par2, double par4, double par6, float par8, boolean par9, boolean par10)
 
float getBlockDensity (Vec3 par1Vec3, AxisAlignedBB par2AxisAlignedBB)
 
boolean extinguishFire (EntityPlayer par1EntityPlayer, int par2, int par3, int par4, int par5)
 
String getDebugLoadedEntities ()
 
String getProviderName ()
 
TileEntity getBlockTileEntity (int par1, int par2, int par3)
 
void setBlockTileEntity (int par1, int par2, int par3, TileEntity par4TileEntity)
 
void removeBlockTileEntity (int par1, int par2, int par3)
 
void markTileEntityForDespawn (TileEntity par1TileEntity)
 
boolean isBlockOpaqueCube (int par1, int par2, int par3)
 
boolean isBlockNormalCube (int par1, int par2, int par3)
 
boolean func_85174_u (int par1, int par2, int par3)
 
boolean doesBlockHaveSolidTopSurface (int par1, int par2, int par3)
 
boolean isBlockTopFacingSurfaceSolid (Block par1Block, int par2)
 
boolean isBlockNormalCubeDefault (int par1, int par2, int par3, boolean par4)
 
void calculateInitialSkylight ()
 
void setAllowedSpawnTypes (boolean par1, boolean par2)
 
void tick ()
 
void calculateInitialWeatherBody ()
 
void updateWeatherBody ()
 
void toggleRain ()
 
boolean isBlockFreezable (int par1, int par2, int par3)
 
boolean isBlockFreezableNaturally (int par1, int par2, int par3)
 
boolean canBlockFreeze (int par1, int par2, int par3, boolean par4)
 
boolean canBlockFreezeBody (int par1, int par2, int par3, boolean par4)
 
boolean canSnowAt (int par1, int par2, int par3)
 
boolean canSnowAtBody (int par1, int par2, int par3)
 
void updateAllLightTypes (int par1, int par2, int par3)
 
void updateLightByType (EnumSkyBlock par1EnumSkyBlock, int par2, int par3, int par4)
 
boolean tickUpdates (boolean par1)
 
List getPendingBlockUpdates (Chunk par1Chunk, boolean par2)
 
List getEntitiesWithinAABBExcludingEntity (Entity par1Entity, AxisAlignedBB par2AxisAlignedBB)
 
List getEntitiesWithinAABBExcludingEntity (Entity par1Entity, AxisAlignedBB par2AxisAlignedBB, IEntitySelector par3IEntitySelector)
 
List getEntitiesWithinAABB (Class par1Class, AxisAlignedBB par2AxisAlignedBB)
 
List selectEntitiesWithinAABB (Class par1Class, AxisAlignedBB par2AxisAlignedBB, IEntitySelector par3IEntitySelector)
 
Entity findNearestEntityWithinAABB (Class par1Class, AxisAlignedBB par2AxisAlignedBB, Entity par3Entity)
 
List getLoadedEntityList ()
 
void updateTileEntityChunkAndDoNothing (int par1, int par2, int par3, TileEntity par4TileEntity)
 
int countEntities (Class par1Class)
 
void addLoadedEntities (List par1List)
 
void unloadEntities (List par1List)
 
boolean canPlaceEntityOnSide (int par1, int par2, int par3, int par4, boolean par5, int par6, Entity par7Entity, ItemStack par8ItemStack)
 
PathEntity getPathEntityToEntity (Entity par1Entity, Entity par2Entity, float par3, boolean par4, boolean par5, boolean par6, boolean par7)
 
PathEntity getEntityPathToXYZ (Entity par1Entity, int par2, int par3, int par4, float par5, boolean par6, boolean par7, boolean par8, boolean par9)
 
int isBlockProvidingPowerTo (int par1, int par2, int par3, int par4)
 
int getBlockPowerInput (int par1, int par2, int par3)
 
boolean getIndirectPowerOutput (int par1, int par2, int par3, int par4)
 
int getIndirectPowerLevelTo (int par1, int par2, int par3, int par4)
 
boolean isBlockIndirectlyGettingPowered (int par1, int par2, int par3)
 
int getStrongestIndirectPower (int par1, int par2, int par3)
 
EntityPlayer getClosestPlayerToEntity (Entity par1Entity, double par2)
 
EntityPlayer getClosestPlayer (double par1, double par3, double par5, double par7)
 
EntityPlayer getClosestVulnerablePlayerToEntity (Entity par1Entity, double par2)
 
EntityPlayer getClosestVulnerablePlayer (double par1, double par3, double par5, double par7)
 
EntityPlayer getPlayerEntityByName (String par1Str)
 
void sendQuittingDisconnectingPacket ()
 
void checkSessionLock () throws MinecraftException
 
void func_82738_a (long par1)
 
long getSeed ()
 
long getTotalWorldTime ()
 
long getWorldTime ()
 
void setWorldTime (long par1)
 
ChunkCoordinates getSpawnPoint ()
 
void setSpawnLocation (int par1, int par2, int par3)
 
void joinEntityInSurroundings (Entity par1Entity)
 
boolean canMineBlock (EntityPlayer par1EntityPlayer, int par2, int par3, int par4)
 
boolean canMineBlockBody (EntityPlayer par1EntityPlayer, int par2, int par3, int par4)
 
void setEntityState (Entity par1Entity, byte par2)
 
IChunkProvider getChunkProvider ()
 
void addBlockEvent (int par1, int par2, int par3, int par4, int par5, int par6)
 
ISaveHandler getSaveHandler ()
 
WorldInfo getWorldInfo ()
 
GameRules getGameRules ()
 
void updateAllPlayersSleepingFlag ()
 
float getWeightedThunderStrength (float par1)
 
float getRainStrength (float par1)
 
void setRainStrength (float par1)
 
boolean isThundering ()
 
boolean isRaining ()
 
boolean canLightningStrikeAt (int par1, int par2, int par3)
 
boolean isBlockHighHumidity (int par1, int par2, int par3)
 
void setItemData (String par1Str, WorldSavedData par2WorldSavedData)
 
WorldSavedData loadItemData (Class par1Class, String par2Str)
 
int getUniqueDataId (String par1Str)
 
void func_82739_e (int par1, int par2, int par3, int par4, int par5)
 
void playAuxSFX (int par1, int par2, int par3, int par4, int par5)
 
void playAuxSFXAtEntity (EntityPlayer par1EntityPlayer, int par2, int par3, int par4, int par5, int par6)
 
int getHeight ()
 
int getActualHeight ()
 
IUpdatePlayerListBox func_82735_a (EntityMinecart par1EntityMinecart)
 
Random setRandomSeed (int par1, int par2, int par3)
 
ChunkPosition findClosestStructure (String par1Str, int par2, int par3, int par4)
 
boolean extendedLevelsInChunkCache ()
 
double getHorizon ()
 
CrashReportCategory addWorldInfoToCrashReport (CrashReport par1CrashReport)
 
void destroyBlockInWorldPartially (int par1, int par2, int par3, int par4, int par5)
 
Vec3Pool getWorldVec3Pool ()
 
Calendar getCurrentDate ()
 
void func_92088_a (double par1, double par3, double par5, double par7, double par9, double par11, NBTTagCompound par13NBTTagCompound)
 
Scoreboard getScoreboard ()
 
void func_96440_m (int par1, int par2, int par3, int par4)
 
ILogAgent getWorldLogAgent ()
 
void addTileEntity (TileEntity entity)
 
boolean isBlockSolidOnSide (int x, int y, int z, ForgeDirection side)
 
boolean isBlockSolidOnSide (int x, int y, int z, ForgeDirection side, boolean _default)
 
ImmutableSetMultimap
< ChunkCoordIntPair, Ticket > 
getPersistentChunks ()
 
int getBlockLightOpacity (int x, int y, int z)
 
int countEntities (EnumCreatureType type, boolean forSpawnCount)
 

Protected Member Functions

void saveLevel () throws MinecraftException
 
- Protected Member Functions inherited from net.minecraft.world.WorldServer
void wakeAllPlayers ()
 
void tickBlocksAndAmbiance ()
 
IChunkProvider createChunkProvider ()
 
void initialize (WorldSettings par1WorldSettings)
 
void createSpawnPosition (WorldSettings par1WorldSettings)
 
void createBonusChest ()
 
void saveLevel () throws MinecraftException
 
void obtainEntitySkin (Entity par1Entity)
 
void updateWeather ()
 
- Protected Member Functions inherited from net.minecraft.world.World
void finishSetup ()
 
void initialize (WorldSettings par1WorldSettings)
 
boolean chunkExists (int par1, int par2)
 
void obtainEntitySkin (Entity par1Entity)
 
void updateWeather ()
 
void setActivePlayerChunksAndCheckLight ()
 
void moodSoundAndLightCheck (int par1, int par2, Chunk par3Chunk)
 
void tickBlocksAndAmbiance ()
 

Additional Inherited Members

- Public Attributes inherited from net.minecraft.world.WorldServer
ChunkProviderServer theChunkProviderServer
 
boolean canNotSave
 
boolean allPlayersSleeping
 
List< TeleportercustomTeleporters = new ArrayList<Teleporter>()
 
- Static Public Attributes inherited from net.minecraft.world.WorldServer
static final
WeightedRandomChestContent[] 
bonusChestContent = new WeightedRandomChestContent[] {new WeightedRandomChestContent(Item.stick.itemID, 0, 1, 3, 10), new WeightedRandomChestContent(Block.planks.blockID, 0, 1, 3, 10), new WeightedRandomChestContent(Block.wood.blockID, 0, 1, 3, 10), new WeightedRandomChestContent(Item.axeStone.itemID, 0, 1, 1, 3), new WeightedRandomChestContent(Item.axeWood.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.pickaxeStone.itemID, 0, 1, 1, 3), new WeightedRandomChestContent(Item.pickaxeWood.itemID, 0, 1, 1, 5), new WeightedRandomChestContent(Item.appleRed.itemID, 0, 2, 3, 5), new WeightedRandomChestContent(Item.bread.itemID, 0, 2, 3, 3)}
 
- Protected Attributes inherited from net.minecraft.world.WorldServer
Set< ChunkCoordIntPairdoneChunks = new HashSet<ChunkCoordIntPair>()
 

Constructor & Destructor Documentation

net.minecraft.world.WorldServerMulti.WorldServerMulti ( MinecraftServer  par1MinecraftServer,
ISaveHandler  par2ISaveHandler,
String  par3Str,
int  par4,
WorldSettings  par5WorldSettings,
WorldServer  par6WorldServer,
Profiler  par7Profiler,
ILogAgent  par8ILogAgent 
)

Member Function Documentation

void net.minecraft.world.WorldServerMulti.saveLevel ( ) throws MinecraftException
protected

Saves the chunks to disk.


The documentation for this class was generated from the following file: