Class GameTestsPartGuiRemoval
java.lang.Object
org.cyclops.integrateddynamics.gametest.GameTestsPartGuiRemoval
Tests that part guis close, instead of crashing the server, when their part is removed while open.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PartPospartPos(net.minecraft.gametest.framework.GameTestHelper helper) protected voidtestGuiClosesOnPartRemoval(net.minecraft.gametest.framework.GameTestHelper helper, IPartType<?, ?> partType, Function<PartPos, net.minecraft.world.MenuProvider> menuProvider, Class<? extends net.minecraft.world.inventory.AbstractContainerMenu> menuClass, boolean removeCable) voidtestPartGuiRemovalAspectSettings(net.minecraft.gametest.framework.GameTestHelper helper) voidtestPartGuiRemovalAspectSettingsCable(net.minecraft.gametest.framework.GameTestHelper helper) voidtestPartGuiRemovalOffsets(net.minecraft.gametest.framework.GameTestHelper helper) voidtestPartGuiRemovalPanel(net.minecraft.gametest.framework.GameTestHelper helper) voidtestPartGuiRemovalReader(net.minecraft.gametest.framework.GameTestHelper helper) voidtestPartGuiRemovalSettings(net.minecraft.gametest.framework.GameTestHelper helper) voidtestPartGuiRemovalWriter(net.minecraft.gametest.framework.GameTestHelper helper)
-
Field Details
-
TEMPLATE_EMPTY
- See Also:
-
POS
public static final net.minecraft.core.BlockPos POS
-
-
Constructor Details
-
GameTestsPartGuiRemoval
public GameTestsPartGuiRemoval()
-
-
Method Details
-
testGuiClosesOnPartRemoval
-
partPos
-
testPartGuiRemovalAspectSettings
public void testPartGuiRemovalAspectSettings(net.minecraft.gametest.framework.GameTestHelper helper) -
testPartGuiRemovalAspectSettingsCable
public void testPartGuiRemovalAspectSettingsCable(net.minecraft.gametest.framework.GameTestHelper helper) -
testPartGuiRemovalReader
public void testPartGuiRemovalReader(net.minecraft.gametest.framework.GameTestHelper helper) -
testPartGuiRemovalWriter
public void testPartGuiRemovalWriter(net.minecraft.gametest.framework.GameTestHelper helper) -
testPartGuiRemovalPanel
public void testPartGuiRemovalPanel(net.minecraft.gametest.framework.GameTestHelper helper) -
testPartGuiRemovalSettings
public void testPartGuiRemovalSettings(net.minecraft.gametest.framework.GameTestHelper helper) -
testPartGuiRemovalOffsets
public void testPartGuiRemovalOffsets(net.minecraft.gametest.framework.GameTestHelper helper)
-