Package net.minecraft.world.chunk
Class AbstractChunkProvider
- java.lang.Object
-
- net.minecraft.world.chunk.AbstractChunkProvider
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IChunkLightProvider
- Direct Known Subclasses:
ClientChunkProvider,ServerChunkProvider
public abstract class AbstractChunkProvider extends java.lang.Object implements IChunkLightProvider, java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description AbstractChunkProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()abstract java.lang.StringgatherStats()ChunkgetChunk(int p_217205_1_, int p_217205_2_, boolean p_217205_3_)abstract IChunkgetChunk(int p_212849_1_, int p_212849_2_, ChunkStatus p_212849_3_, boolean p_212849_4_)IBlockReadergetChunkForLighting(int p_217202_1_, int p_217202_2_)ChunkgetChunkNow(int p_225313_1_, int p_225313_2_)abstract WorldLightManagergetLightEngine()booleanhasChunk(int p_73149_1_, int p_73149_2_)booleanisEntityTickingChunk(Entity p_217204_1_)booleanisEntityTickingChunk(ChunkPos p_222865_1_)booleanisTickingChunk(BlockPos p_222866_1_)voidsetSpawnSettings(boolean p_217203_1_, boolean p_217203_2_)voidupdateChunkForced(ChunkPos p_217206_1_, boolean p_217206_2_)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.chunk.IChunkLightProvider
getLevel, onLightUpdate
-
-
-
-
Method Detail
-
getChunk
@Nullable public Chunk getChunk(int p_217205_1_, int p_217205_2_, boolean p_217205_3_)
-
getChunkNow
@Nullable public Chunk getChunkNow(int p_225313_1_, int p_225313_2_)
-
getChunkForLighting
@Nullable public IBlockReader getChunkForLighting(int p_217202_1_, int p_217202_2_)
- Specified by:
getChunkForLightingin interfaceIChunkLightProvider
-
hasChunk
public boolean hasChunk(int p_73149_1_, int p_73149_2_)
-
getChunk
@Nullable public abstract IChunk getChunk(int p_212849_1_, int p_212849_2_, ChunkStatus p_212849_3_, boolean p_212849_4_)
-
gatherStats
public abstract java.lang.String gatherStats()
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
getLightEngine
public abstract WorldLightManager getLightEngine()
-
setSpawnSettings
public void setSpawnSettings(boolean p_217203_1_, boolean p_217203_2_)
-
updateChunkForced
public void updateChunkForced(ChunkPos p_217206_1_, boolean p_217206_2_)
-
isEntityTickingChunk
public boolean isEntityTickingChunk(Entity p_217204_1_)
-
isEntityTickingChunk
public boolean isEntityTickingChunk(ChunkPos p_222865_1_)
-
isTickingChunk
public boolean isTickingChunk(BlockPos p_222866_1_)
-
-