Class GameTestsCableTicking
java.lang.Object
org.cyclops.integrateddynamics.gametest.GameTestsCableTicking
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.core.BlockPosstatic final net.minecraft.core.BlockPosstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static net.minecraft.world.level.block.state.BlockStateloadLegacyBlockState(net.minecraft.gametest.framework.GameTestHelper helper, boolean waterlogged) Worlds from before the ticking property was added have cables saved without it.voidtestCableTickingIdleChunkUnloadKeepsNetwork(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleConnectionUpdate(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleLoadFallbackTicking(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleLoadRevalidatesNetwork(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleStops(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleWakesForDisplayPanel(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleWakesForRedstonePulse(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingIdleWakesOnPartAdded(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingLegacyBlockState(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingLegacyBlockStateWithPart(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCableTickingWithPart(net.minecraft.gametest.framework.GameTestHelper helper)
-
Field Details
-
TEMPLATE_EMPTY
- See Also:
-
POS
public static final net.minecraft.core.BlockPos POS -
PULSE_POS
public static final net.minecraft.core.BlockPos PULSE_POS
-
-
Constructor Details
-
GameTestsCableTicking
public GameTestsCableTicking()
-
-
Method Details
-
testCableTickingIdleStops
public void testCableTickingIdleStops(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingWithPart
public void testCableTickingWithPart(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleWakesOnPartAdded
public void testCableTickingIdleWakesOnPartAdded(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleConnectionUpdate
public void testCableTickingIdleConnectionUpdate(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleLoadRevalidatesNetwork
public void testCableTickingIdleLoadRevalidatesNetwork(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleChunkUnloadKeepsNetwork
public void testCableTickingIdleChunkUnloadKeepsNetwork(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleLoadFallbackTicking
public void testCableTickingIdleLoadFallbackTicking(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleWakesForRedstonePulse
public void testCableTickingIdleWakesForRedstonePulse(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingIdleWakesForDisplayPanel
public void testCableTickingIdleWakesForDisplayPanel(net.minecraft.gametest.framework.GameTestHelper helper) -
loadLegacyBlockState
protected static net.minecraft.world.level.block.state.BlockState loadLegacyBlockState(net.minecraft.gametest.framework.GameTestHelper helper, boolean waterlogged) Worlds from before the ticking property was added have cables saved without it. These must load as ticking cables, so that they link to their network before becoming idle. -
testCableTickingLegacyBlockState
public void testCableTickingLegacyBlockState(net.minecraft.gametest.framework.GameTestHelper helper) -
testCableTickingLegacyBlockStateWithPart
public void testCableTickingLegacyBlockStateWithPart(net.minecraft.gametest.framework.GameTestHelper helper)
-