public class ClientWorld extends World
addedTileEntityList, captureBlockSnapshots, capturedBlockSnapshots, chunkProvider, dimension, DIST_HASH_MAGIC, isRemote, loadedTileEntityList, LOGGER, prevRainingStrength, prevThunderingStrength, processingLoadedTiles, rainingStrength, rand, restoringBlockSnapshots, thunderingStrength, tickableTileEntities, tileEntitiesToBeRemoved, updateLCG, worldInfo
Constructor and Description |
---|
ClientWorld(ClientPlayNetHandler p_i51056_1_,
WorldSettings p_i51056_2_,
DimensionType dimType,
int p_i51056_4_,
IProfiler p_i51056_5_,
WorldRenderer p_i51056_6_) |
Modifier and Type | Method and Description |
---|---|
void |
addEntitiesToChunk(Chunk p_217417_1_) |
void |
addEntity(int p_217411_1_,
Entity p_217411_2_) |
void |
addLightning(LightningBoltEntity p_217410_1_) |
void |
addOptionalParticle(IParticleData particleData,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addParticle(IParticleData particleData,
boolean forceAlwaysRender,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addParticle(IParticleData particleData,
double x,
double y,
double z,
double xSpeed,
double ySpeed,
double zSpeed) |
void |
addPlayer(int p_217408_1_,
AbstractClientPlayerEntity p_217408_2_) |
void |
animateTick(int posX,
int posY,
int posZ) |
void |
animateTick(int x,
int y,
int z,
int offset,
java.util.Random random,
boolean holdingBarrier,
BlockPos.MutableBlockPos pos) |
boolean |
chunkExists(int chunkX,
int chunkZ) |
CrashReportCategory |
fillCrashReport(CrashReport report) |
void |
func_217399_a(MapData p_217399_1_) |
void |
func_217404_b(IParticleData p_217404_1_,
boolean p_217404_2_,
double p_217404_3_,
double p_217404_5_,
double p_217404_7_,
double p_217404_9_,
double p_217404_11_,
double p_217404_13_) |
MapData |
func_217406_a(java.lang.String p_217406_1_) |
void |
func_217418_a(Entity p_217418_1_) |
void |
func_217420_a(Entity p_217420_1_,
Entity p_217420_2_) |
void |
func_217423_b(Entity p_217423_1_) |
int |
func_217425_f() |
void |
func_225319_b(BlockPos p_225319_1_,
BlockState p_225319_2_,
BlockState p_225319_3_) |
java.lang.Iterable<Entity> |
getAllEntities() |
ClientChunkProvider |
getChunkProvider() |
Entity |
getEntityByID(int id) |
int |
getNextMapId() |
ITickList<Block> |
getPendingBlockTicks() |
ITickList<Fluid> |
getPendingFluidTicks() |
java.util.List<AbstractClientPlayerEntity> |
getPlayers() |
RecipeManager |
getRecipeManager() |
Scoreboard |
getScoreboard() |
NetworkTagManager |
getTags() |
void |
invalidateRegionAndSetBlock(BlockPos pos,
BlockState state) |
void |
makeFireworks(double x,
double y,
double z,
double motionX,
double motionY,
double motionZ,
CompoundNBT compound) |
void |
markSurroundingsForRerender(int sectionX,
int sectionY,
int sectionZ) |
void |
notifyBlockUpdate(BlockPos pos,
BlockState oldState,
BlockState newState,
int flags) |
void |
onChunkUnloaded(Chunk p_217409_1_) |
void |
playBroadcastSound(int id,
BlockPos pos,
int data) |
void |
playEvent(PlayerEntity player,
int type,
BlockPos pos,
int data) |
void |
playMovingSound(PlayerEntity p_217384_1_,
Entity p_217384_2_,
SoundEvent p_217384_3_,
SoundCategory p_217384_4_,
float p_217384_5_,
float p_217384_6_) |
void |
playSound(BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
playSound(double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
playSound(PlayerEntity player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
void |
removeAllEntities() |
void |
removeEntityFromWorld(int eid) |
void |
sendBlockBreakProgress(int breakerId,
BlockPos pos,
int progress) |
void |
sendPacketToServer(IPacket<?> packetIn) |
void |
sendQuittingDisconnectingPacket() |
void |
setDayTime(long time) |
void |
setScoreboard(Scoreboard scoreboardIn) |
void |
tick(java.util.function.BooleanSupplier hasTimeLeft) |
void |
tickEntities() |
addBlockEvent, addTileEntities, addTileEntity, advanceTime, calculateInitialSkylight, calculateInitialWeather, calculateInitialWeatherBody, canMineBlockBody, checkBlockCollision, close, createExplosion, createExplosion, createExplosion, destroyBlock, extinguishFire, findBlockstateInArea, findNearestStructure, func_217383_a, func_217390_a, func_217391_K, func_217393_a, func_217400_a, func_225316_b, getActualHeight, getBiome, getBiomeBody, getBlockState, getCelestialAngleRadians, getChunk, getChunk, getChunkAt, getChunkStatus, getCloudColorBody, getCloudColour, getDayTime, getDifficultyForLocation, getDimension, getEntitiesInAABBexcluding, getEntitiesWithinAABB, getEntitiesWithinAABB, getFluidState, getFogColor, getGameRules, getGameTime, getGroundAboveSeaLevel, getHeight, getHeight, getHorizon, getLastLightningBolt, getLightFor, getLightSubtracted, getMaxEntityRadius, getProfiler, getProviderName, getRainStrength, getRandom, getRedstonePower, getRedstonePowerFromNeighbors, getSeaLevel, getSeed, getServer, getSkyColor, getSkyColorBody, getSkylightSubtracted, getSpawnPoint, getStarBrightness, getStarBrightnessBody, getStrongPower, getSunBrightness, getSunBrightnessBody, getThunderStrength, getTileEntity, getWorld, getWorldBorder, getWorldInfo, getWorldType, hasBlockState, increaseMaxEntityRadius, isBlockinHighHumidity, isBlockModifiable, isBlockPowered, isBlockPresent, isDaytime, isFlammableWithin, isMaterialInBB, isOutsideBuildHeight, isRaining, isRainingAt, isRemote, isSaveDisabled, isSidePowered, isThundering, isValid, isYOutOfBounds, markAndNotifyBlock, markChunkDirty, neighborChanged, notifyNeighbors, notifyNeighborsOfStateChange, notifyNeighborsOfStateExcept, playSound, removeBlock, removeTileEntity, setAllowedSpawnTypes, setBlockState, setBlockState, setEntityState, setGameTime, setInitialSpawnLocation, setLastLightningBolt, setRainStrength, setSpawnPoint, setThunderStrength, setTileEntity, updateComparatorOutputLevel
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkNoEntityCollision, getCelestialAngle, getCurrentMoonPhaseFactor, getDifficulty, getEmptyCollisionShapes, getMoonPhase, playEvent
func_225317_b, func_225318_b, getClosestEntity, getClosestEntityWithinAABB, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getClosestPlayer, getEntitiesWithinAABB, getEntitiesWithinAABBExcludingEntity, getPlayerByUuid, getTargettableEntitiesWithinAABB, getTargettablePlayersWithinAABB, isPlayerWithin
areCollisionShapesEmpty, areCollisionShapesEmpty, canBlockSeeSky, checkNoEntityCollision, containsAnyLiquid, func_217350_a, getBrightness, getChunk, getChunk, getCollisionShapes, getCollisionShapes, getLight, getNeighborAwareLightSubtracted, getStrongPower, hasWater, isAirBlock, isAreaLoaded, isAreaLoaded, isAreaLoaded, isBlockLoaded, isCollisionBoxesEmpty, isCollisionBoxesEmpty
getCombinedLight, isSkyLightMax
func_217296_a, func_217300_a, getHeight, getLightValue, getMaxLightLevel, rayTraceBlocks
getMaxHeight
addEntity
getCapability, getCapability
public ClientWorld(ClientPlayNetHandler p_i51056_1_, WorldSettings p_i51056_2_, DimensionType dimType, int p_i51056_4_, IProfiler p_i51056_5_, WorldRenderer p_i51056_6_)
public void tick(java.util.function.BooleanSupplier hasTimeLeft)
public java.lang.Iterable<Entity> getAllEntities()
public void tickEntities()
public void func_217418_a(Entity p_217418_1_)
public void func_217423_b(Entity p_217423_1_)
public void onChunkUnloaded(Chunk p_217409_1_)
public boolean chunkExists(int chunkX, int chunkZ)
public int func_217425_f()
public void addLightning(LightningBoltEntity p_217410_1_)
public void addPlayer(int p_217408_1_, AbstractClientPlayerEntity p_217408_2_)
public void addEntity(int p_217411_1_, Entity p_217411_2_)
public void removeEntityFromWorld(int eid)
public void addEntitiesToChunk(Chunk p_217417_1_)
@Nullable public Entity getEntityByID(int id)
getEntityByID
in class World
public void invalidateRegionAndSetBlock(BlockPos pos, BlockState state)
public void sendQuittingDisconnectingPacket()
sendQuittingDisconnectingPacket
in class World
public void animateTick(int posX, int posY, int posZ)
public void animateTick(int x, int y, int z, int offset, java.util.Random random, boolean holdingBarrier, BlockPos.MutableBlockPos pos)
public void removeAllEntities()
public CrashReportCategory fillCrashReport(CrashReport report)
fillCrashReport
in class World
public void playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent soundIn, SoundCategory category, float volume, float pitch)
public void playMovingSound(@Nullable PlayerEntity p_217384_1_, Entity p_217384_2_, SoundEvent p_217384_3_, SoundCategory p_217384_4_, float p_217384_5_, float p_217384_6_)
playMovingSound
in class World
public void playSound(BlockPos pos, SoundEvent soundIn, SoundCategory category, float volume, float pitch, boolean distanceDelay)
public void playSound(double x, double y, double z, SoundEvent soundIn, SoundCategory category, float volume, float pitch, boolean distanceDelay)
public void makeFireworks(double x, double y, double z, double motionX, double motionY, double motionZ, @Nullable CompoundNBT compound)
makeFireworks
in class World
public void sendPacketToServer(IPacket<?> packetIn)
sendPacketToServer
in class World
public RecipeManager getRecipeManager()
getRecipeManager
in class World
public void setScoreboard(Scoreboard scoreboardIn)
public void setDayTime(long time)
setDayTime
in class World
public ClientChunkProvider getChunkProvider()
getChunkProvider
in interface IWorld
getChunkProvider
in class World
@Nullable public MapData func_217406_a(java.lang.String p_217406_1_)
func_217406_a
in class World
public void func_217399_a(MapData p_217399_1_)
func_217399_a
in class World
public int getNextMapId()
getNextMapId
in class World
public Scoreboard getScoreboard()
getScoreboard
in class World
public NetworkTagManager getTags()
public void notifyBlockUpdate(BlockPos pos, BlockState oldState, BlockState newState, int flags)
notifyBlockUpdate
in class World
public void func_225319_b(BlockPos p_225319_1_, BlockState p_225319_2_, BlockState p_225319_3_)
func_225319_b
in class World
public void markSurroundingsForRerender(int sectionX, int sectionY, int sectionZ)
public void sendBlockBreakProgress(int breakerId, BlockPos pos, int progress)
sendBlockBreakProgress
in class World
public void playBroadcastSound(int id, BlockPos pos, int data)
playBroadcastSound
in class World
public void playEvent(@Nullable PlayerEntity player, int type, BlockPos pos, int data)
public void addParticle(IParticleData particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
addParticle
in interface IWorld
addParticle
in class World
public void addParticle(IParticleData particleData, boolean forceAlwaysRender, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
addParticle
in class World
public void addOptionalParticle(IParticleData particleData, double x, double y, double z, double xSpeed, double ySpeed, double zSpeed)
addOptionalParticle
in class World
public void func_217404_b(IParticleData p_217404_1_, boolean p_217404_2_, double p_217404_3_, double p_217404_5_, double p_217404_7_, double p_217404_9_, double p_217404_11_, double p_217404_13_)
func_217404_b
in class World
public java.util.List<AbstractClientPlayerEntity> getPlayers()