public class WorldClient extends World
activeChunkSet, captureBlockSnapshots, capturedBlockSnapshots, chunkProvider, DIST_HASH_MAGIC, entitiesById, findingSpawnPoint, isRemote, loadedEntityList, loadedTileEntityList, mapStorage, MAX_ENTITY_RADIUS, perWorldStorage, playerEntities, prevRainingStrength, prevThunderingStrength, provider, rainingStrength, rand, restoringBlockSnapshots, saveHandler, scheduledUpdatesAreImmediate, spawnHostileMobs, spawnPeacefulMobs, theProfiler, thunderingStrength, tickableTileEntities, unloadedEntityList, updateLCG, villageCollectionObj, weatherEffects, worldAccesses, worldInfo, worldScoreboard
Constructor and Description |
---|
WorldClient(NetHandlerPlayClient p_i45063_1_,
WorldSettings p_i45063_2_,
int p_i45063_3_,
EnumDifficulty p_i45063_4_,
Profiler p_i45063_5_) |
Modifier and Type | Method and Description |
---|---|
void |
addEntityToWorld(int p_73027_1_,
Entity p_73027_2_) |
CrashReportCategory |
addWorldInfoToCrashReport(CrashReport report) |
protected IChunkProvider |
createChunkProvider() |
void |
doPreChunk(int p_73025_1_,
int p_73025_2_,
boolean p_73025_3_) |
void |
doVoidFogParticles(int p_73029_1_,
int p_73029_2_,
int p_73029_3_) |
boolean |
func_180503_b(BlockPos p_180503_1_,
IBlockState p_180503_2_) |
Entity |
getEntityByID(int id) |
protected int |
getRenderDistanceChunks() |
void |
invalidateBlockReceiveRegion(int p_73031_1_,
int p_73031_2_,
int p_73031_3_,
int p_73031_4_,
int p_73031_5_,
int p_73031_6_) |
void |
makeFireworks(double x,
double y,
double z,
double motionX,
double motionY,
double motionZ,
NBTTagCompound compund) |
void |
onEntityAdded(Entity p_72923_1_) |
void |
onEntityRemoved(Entity p_72847_1_) |
void |
playSound(double x,
double y,
double z,
java.lang.String soundName,
float volume,
float pitch,
boolean distanceDelay) |
void |
playSoundAtPos(BlockPos p_175731_1_,
java.lang.String p_175731_2_,
float p_175731_3_,
float p_175731_4_,
boolean p_175731_5_) |
void |
removeAllEntities() |
void |
removeEntity(Entity p_72900_1_) |
Entity |
removeEntityFromWorld(int p_73028_1_) |
void |
sendQuittingDisconnectingPacket() |
void |
setWorldScoreboard(Scoreboard p_96443_1_) |
void |
setWorldTime(long time) |
boolean |
spawnEntityInWorld(Entity p_72838_1_) |
void |
tick() |
protected void |
updateBlocks() |
protected void |
updateWeather() |
addBlockEvent, addTileEntities, addTileEntity, addWeatherEffect, addWorldAccess, calculateInitialSkylight, calculateInitialWeather, calculateInitialWeatherBody, calculateSkylightSubtracted, canBlockBePlaced, canBlockFreeze, canBlockFreezeBody, canBlockSeeSky, canLightningStrike, canMineBlockBody, canSeeSky, canSnowAt, canSnowAtBody, checkBlockCollision, checkLight, checkLightFor, checkNoEntityCollision, checkNoEntityCollision, checkSessionLock, countEntities, countEntities, createExplosion, destroyBlock, doesBlockHaveSolidTopSurface, drawCloudsBody, extendedLevelsInChunkCache, extinguishFire, findNearestEntityWithinAABB, forceBlockUpdateTick, func_147461_a, func_147470_e, func_175636_b, func_175662_w, func_175665_u, func_175674_a, func_175675_v, func_175712_a, func_180497_b, getActualHeight, getBiomeGenForCoords, getBiomeGenForCoordsBody, getBlockDensity, getBlockLightOpacity, getBlockState, getCelestialAngle, getCelestialAngleRadians, getChunkFromBlockCoords, getChunkFromChunkCoords, getChunkProvider, getChunksLowestHorizon, getClosestPlayer, getClosestPlayerToEntity, getCloudColour, getCollidingBoundingBoxes, getCombinedLight, getCurrentDate, getCurrentMoonPhaseFactor, getCurrentMoonPhaseFactorBody, getDebugLoadedEntities, getDifficulty, getDifficultyForLocation, getEntities, getEntitiesWithinAABB, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, getFogColor, getGameRules, getGroundAboveSeaLevel, getHeight, getHorizon, getHorizon, getLastLightningBolt, getLight, getLight, getLightBrightness, getLightFor, getLightFromNeighbors, getLightFromNeighborsFor, getLoadedEntityList, getMapStorage, getMoonPhase, getPendingBlockUpdates, getPersistentChunks, getPerWorldStorage, getPlayerEntityByName, getPlayerEntityByUUID, getPlayers, getPrecipitationHeight, getProviderName, getRainStrength, getRedstonePower, getSaveHandler, getScoreboard, getSeed, getSkyColor, getSkyColorBody, getSkylightSubtracted, getSpawnPoint, getStarBrightness, getStarBrightnessBody, getStrongholdPos, getStrongPower, getStrongPower, getSunBrightness, getSunBrightnessBody, getSunBrightnessFactor, getThunderStrength, getTileEntity, getTopSolidOrLiquidBlock, getTotalWorldTime, getUniqueDataId, getVillageCollection, getWorldBorder, getWorldChunkManager, getWorldInfo, getWorldTime, getWorldType, handleMaterialAcceleration, init, initialize, isAABBInMaterial, isAirBlock, isAnyLiquid, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockIndirectlyGettingPowered, isBlockinHighHumidity, isBlockLoaded, isBlockLoaded, isBlockModifiable, isBlockNormalCube, isBlockPowered, isBlockTickPending, isChunkLoaded, isDaytime, isFindingSpawnPoint, isInsideBorder, isMaterialInBB, isRaining, isSidePowered, isSideSolid, isSideSolid, isSpawnChunk, isThundering, joinEntityInSurroundings, loadEntities, loadItemData, markAndNotifyBlock, markBlockForUpdate, markBlockRangeForRenderUpdate, markBlockRangeForRenderUpdate, markBlocksDirtyVertical, markChunkDirty, markTileEntityForRemoval, newExplosion, notifyBlockOfStateChange, notifyLightSet, notifyNeighborsOfStateChange, notifyNeighborsOfStateExcept, notifyNeighborsRespectDebug, playAuxSFX, playAuxSFXAtEntity, playBroadcastSound, playMoodSoundAndCheckLight, playRecord, playSoundAtEntity, playSoundEffect, playSoundToNearExcept, rayTraceBlocks, rayTraceBlocks, rayTraceBlocks, removePlayerEntityDangerously, removeTileEntity, removeWorldAccess, scheduleUpdate, sendBlockBreakProgress, setActivePlayerChunksAndCheckLight, setAllowedSpawnTypes, setBlockState, setBlockState, setBlockToAir, setEntityState, setInitialSpawnLocation, setItemData, setLastLightningBolt, setLightFor, setRainStrength, setRandomSeed, setSkylightSubtracted, setSpawnPoint, setThunderStrength, setTileEntity, setTotalWorldTime, spawnParticle, spawnParticle, tickUpdates, unloadEntities, updateAllPlayersSleepingFlag, updateBlockTick, updateComparatorOutputLevel, updateEntities, updateEntity, updateEntityWithOptionalForce, updateWeatherBody
public WorldClient(NetHandlerPlayClient p_i45063_1_, WorldSettings p_i45063_2_, int p_i45063_3_, EnumDifficulty p_i45063_4_, Profiler p_i45063_5_)
public void invalidateBlockReceiveRegion(int p_73031_1_, int p_73031_2_, int p_73031_3_, int p_73031_4_, int p_73031_5_, int p_73031_6_)
protected IChunkProvider createChunkProvider()
createChunkProvider
in class World
protected void updateBlocks()
updateBlocks
in class World
public void doPreChunk(int p_73025_1_, int p_73025_2_, boolean p_73025_3_)
public boolean spawnEntityInWorld(Entity p_72838_1_)
spawnEntityInWorld
in class World
public void removeEntity(Entity p_72900_1_)
removeEntity
in class World
public void onEntityAdded(Entity p_72923_1_)
onEntityAdded
in class World
public void onEntityRemoved(Entity p_72847_1_)
onEntityRemoved
in class World
public void addEntityToWorld(int p_73027_1_, Entity p_73027_2_)
public Entity getEntityByID(int id)
getEntityByID
in class World
public Entity removeEntityFromWorld(int p_73028_1_)
public boolean func_180503_b(BlockPos p_180503_1_, IBlockState p_180503_2_)
public void sendQuittingDisconnectingPacket()
sendQuittingDisconnectingPacket
in class World
protected void updateWeather()
updateWeather
in class World
protected int getRenderDistanceChunks()
getRenderDistanceChunks
in class World
public void doVoidFogParticles(int p_73029_1_, int p_73029_2_, int p_73029_3_)
public void removeAllEntities()
public CrashReportCategory addWorldInfoToCrashReport(CrashReport report)
addWorldInfoToCrashReport
in class World
public void playSoundAtPos(BlockPos p_175731_1_, java.lang.String p_175731_2_, float p_175731_3_, float p_175731_4_, boolean p_175731_5_)
public void playSound(double x, double y, double z, java.lang.String soundName, float volume, float pitch, boolean distanceDelay)
public void makeFireworks(double x, double y, double z, double motionX, double motionY, double motionZ, NBTTagCompound compund)
makeFireworks
in class World
public void setWorldScoreboard(Scoreboard p_96443_1_)
public void setWorldTime(long time)
setWorldTime
in class World