Package net.minecraft.world.chunk
Class AbstractChunkProvider
java.lang.Object
net.minecraft.world.chunk.AbstractChunkProvider
- All Implemented Interfaces:
AutoCloseable,IChunkLightProvider
- Direct Known Subclasses:
ClientChunkProvider,ServerChunkProvider
public abstract class AbstractChunkProvider
extends Object
implements IChunkLightProvider, AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()abstract StringgetChunk(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_) getChunkForLighting(int p_217202_1_, int p_217202_2_) getChunkNow(int p_225313_1_, int p_225313_2_) abstract WorldLightManagerbooleanhasChunk(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, waitMethods inherited from interface net.minecraft.world.chunk.IChunkLightProvider
getLevel, onLightUpdate
-
Constructor Details
-
AbstractChunkProvider
public AbstractChunkProvider()
-
-
Method Details
-
getChunk
-
getChunkNow
-
getChunkForLighting
- 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
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
getLightEngine
-
setSpawnSettings
public void setSpawnSettings(boolean p_217203_1_, boolean p_217203_2_) -
updateChunkForced
-
isEntityTickingChunk
-
isEntityTickingChunk
-
isTickingChunk
-