Class VirtualChunkSource
java.lang.Object
net.minecraft.world.level.chunk.ChunkSource
com.jozufozu.flywheel.core.virtual.VirtualChunkSource
- All Implemented Interfaces:
AutoCloseable,net.minecraft.world.level.chunk.LightChunkGetter
public class VirtualChunkSource
extends net.minecraft.world.level.chunk.ChunkSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.chunk.ChunkAccessgetChunk(int x, int z) net.minecraft.world.level.chunk.ChunkAccessgetChunk(int x, int z, net.minecraft.world.level.chunk.ChunkStatus status, boolean p_212849_4_) net.minecraft.world.level.BlockGettergetChunkForLighting(int x, int z) net.minecraft.world.level.LevelgetLevel()net.minecraft.world.level.lighting.LevelLightEngineintvoidtick(BooleanSupplier p_202162_, boolean p_202163_) Methods inherited from class net.minecraft.world.level.chunk.ChunkSource
close, getChunk, getChunkNow, hasChunk, setSpawnSettings, updateChunkForcedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.chunk.LightChunkGetter
onLightUpdate
-
Field Details
-
chunks
-
-
Constructor Details
-
VirtualChunkSource
-
-
Method Details
-
getChunkForLighting
public net.minecraft.world.level.BlockGetter getChunkForLighting(int x, int z) - Specified by:
getChunkForLightingin interfacenet.minecraft.world.level.chunk.LightChunkGetter- Overrides:
getChunkForLightingin classnet.minecraft.world.level.chunk.ChunkSource
-
getLevel
public net.minecraft.world.level.Level getLevel() -
getChunk
public net.minecraft.world.level.chunk.ChunkAccess getChunk(int x, int z, net.minecraft.world.level.chunk.ChunkStatus status, boolean p_212849_4_) - Specified by:
getChunkin classnet.minecraft.world.level.chunk.ChunkSource
-
getChunk
public net.minecraft.world.level.chunk.ChunkAccess getChunk(int x, int z) -
gatherStats
- Specified by:
gatherStatsin classnet.minecraft.world.level.chunk.ChunkSource
-
getLightEngine
public net.minecraft.world.level.lighting.LevelLightEngine getLightEngine()- Specified by:
getLightEnginein classnet.minecraft.world.level.chunk.ChunkSource
-
tick
- Specified by:
tickin classnet.minecraft.world.level.chunk.ChunkSource
-
getLoadedChunksCount
public int getLoadedChunksCount()- Specified by:
getLoadedChunksCountin classnet.minecraft.world.level.chunk.ChunkSource
-