public abstract class MixinWorldServer_UpdateBlocks extends java.lang.Object implements ICubicWorldServer
ICubicWorld.SurfaceType| Constructor and Description |
|---|
MixinWorldServer_UpdateBlocks() |
| Modifier and Type | Method and Description |
|---|---|
int |
redirectGetRandomTickSpeed(net.minecraft.world.GameRules gameRules,
java.lang.String ruleName)
This redirection (if selected by
CubicChunksMixinConfig)
will return value 0 instead of getGameRules().getInt("randomTickSpeed") for cubic type worlds. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforceChunk, getCubeCache, getCubeGenerator, reorderChunk, unforceChunk, unloadOldCubescanBeTopBlock, findTopBlock, findTopBlock, getActualHeight, getCubeFromBlockCoords, getCubeFromCubeCoords, getCubeFromCubeCoords, getEffectiveHeight, getMaxGenerationHeight, getMinGenerationHeight, getSurfaceForCube, getSurfaceForCube, isBlockColumnLoaded, isBlockColumnLoaded, isCubicWorld, testForCubes, testForCubes, testForCubesgetMaxHeight, getMinHeightpublic int redirectGetRandomTickSpeed(net.minecraft.world.GameRules gameRules,
java.lang.String ruleName)
CubicChunksMixinConfig)
will return value 0 instead of getGameRules().getInt("randomTickSpeed") for cubic type worlds.
Redirected function is located inside WorldServer.updateBlocks() function at a line 404.
Returned zero will cause if (i > 0) check at a line 474 to fail and random block ticks skipped.
For cubic worlds random block ticks handled inside Cube class.