@ParametersAreNonnullByDefault @MethodsReturnNonnullByDefault public interface ICubicWorldServer extends ICubicWorld
ICubicWorld.SurfaceType| Modifier and Type | Method and Description |
|---|---|
void |
forceChunk(net.minecraftforge.common.ForgeChunkManager.Ticket ticket,
CubePos chunk)
CubicChunks equivalent of
ForgeChunkManager.forceChunk(ForgeChunkManager.Ticket, ChunkPos). |
ICubeProviderServer |
getCubeCache()
Returns the
ICubeProvider for this world, or throws NotCubicChunksWorldException
if this is not a CubicChunks world. |
ICubeGenerator |
getCubeGenerator() |
void |
reorderChunk(net.minecraftforge.common.ForgeChunkManager.Ticket ticket,
CubePos chunk)
CubicChunks equivalent of
ForgeChunkManager.reorderChunk(ForgeChunkManager.Ticket, ChunkPos)
Can accept tickets from different worlds. |
void |
unforceChunk(net.minecraftforge.common.ForgeChunkManager.Ticket ticket,
CubePos chunk)
CubicChunks equivalent of
ForgeChunkManager.unforceChunk(ForgeChunkManager.Ticket, ChunkPos)
Can accept tickets from different worlds. |
void |
unloadOldCubes()
Unloads or schedules unloading of no longer needed chunks from the world.
|
canBeTopBlock, findTopBlock, findTopBlock, getActualHeight, getCubeFromBlockCoords, getCubeFromCubeCoords, getCubeFromCubeCoords, getEffectiveHeight, getMaxGenerationHeight, getMinGenerationHeight, getSurfaceForCube, getSurfaceForCube, isBlockColumnLoaded, isBlockColumnLoaded, isCubicWorld, testForCubes, testForCubes, testForCubesgetMaxHeight, getMinHeightICubeProviderServer getCubeCache()
ICubicWorldICubeProvider for this world, or throws NotCubicChunksWorldException
if this is not a CubicChunks world.getCubeCache in interface ICubicWorldICubeGenerator getCubeGenerator()
void unloadOldCubes()
void forceChunk(net.minecraftforge.common.ForgeChunkManager.Ticket ticket,
CubePos chunk)
ForgeChunkManager.forceChunk(ForgeChunkManager.Ticket, ChunkPos).
Can accept tickets from different worlds.ticket - ForgeChunkManager ticketchunk - position of the cube to force loadvoid reorderChunk(net.minecraftforge.common.ForgeChunkManager.Ticket ticket,
CubePos chunk)
ForgeChunkManager.reorderChunk(ForgeChunkManager.Ticket, ChunkPos)
Can accept tickets from different worlds.ticket - ForgeChunkManager ticketchunk - position of the cube to reordervoid unforceChunk(net.minecraftforge.common.ForgeChunkManager.Ticket ticket,
CubePos chunk)
ForgeChunkManager.unforceChunk(ForgeChunkManager.Ticket, ChunkPos)
Can accept tickets from different worlds.ticket - ForgeChunkManager ticketchunk - position of the cube to unforce