public class WrappedChunkProvider
extends net.minecraft.world.chunk.AbstractChunkProvider
| Modifier and Type | Field and Description |
|---|---|
java.util.HashMap<java.lang.Long,WrappedChunk> |
chunks |
| Constructor and Description |
|---|
WrappedChunkProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
gatherStats() |
net.minecraft.world.chunk.IChunk |
getChunk(int x,
int z) |
net.minecraft.world.chunk.IChunk |
getChunk(int x,
int z,
net.minecraft.world.chunk.ChunkStatus status,
boolean p_212849_4_) |
net.minecraft.world.IBlockReader |
getChunkForLighting(int x,
int z) |
net.minecraft.world.IBlockReader |
getLevel() |
net.minecraft.world.lighting.WorldLightManager |
getLightEngine() |
java.util.stream.Stream<net.minecraft.util.math.BlockPos> |
getLightSources() |
WrappedChunkProvider |
setWorld(PlacementSimulationWorld world) |
close, getChunk, getChunkNow, hasChunk, isEntityTickingChunk, isEntityTickingChunk, isTickingChunk, setSpawnSettings, updateChunkForcedpublic java.util.HashMap<java.lang.Long,WrappedChunk> chunks
public WrappedChunkProvider setWorld(PlacementSimulationWorld world)
public java.util.stream.Stream<net.minecraft.util.math.BlockPos> getLightSources()
@Nullable
public net.minecraft.world.IBlockReader getChunkForLighting(int x,
int z)
getChunkForLighting in interface net.minecraft.world.chunk.IChunkLightProvidergetChunkForLighting in class net.minecraft.world.chunk.AbstractChunkProviderpublic net.minecraft.world.IBlockReader getLevel()
@Nullable
public net.minecraft.world.chunk.IChunk getChunk(int x,
int z,
net.minecraft.world.chunk.ChunkStatus status,
boolean p_212849_4_)
getChunk in class net.minecraft.world.chunk.AbstractChunkProviderpublic net.minecraft.world.chunk.IChunk getChunk(int x,
int z)
public java.lang.String gatherStats()
gatherStats in class net.minecraft.world.chunk.AbstractChunkProviderpublic net.minecraft.world.lighting.WorldLightManager getLightEngine()
getLightEngine in class net.minecraft.world.chunk.AbstractChunkProvider