Class GameTestsPartGuiRemoval

java.lang.Object
org.cyclops.integrateddynamics.gametest.GameTestsPartGuiRemoval

public class GameTestsPartGuiRemoval extends Object
Tests that part guis close, instead of crashing the server, when their part is removed while open.
  • Field Details

    • TEMPLATE_EMPTY

      public static final String TEMPLATE_EMPTY
      See Also:
    • POS

      public static final net.minecraft.core.BlockPos POS
  • Constructor Details

    • GameTestsPartGuiRemoval

      public GameTestsPartGuiRemoval()
  • Method Details

    • testGuiClosesOnPartRemoval

      protected void testGuiClosesOnPartRemoval(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)
    • partPos

      protected PartPos partPos(net.minecraft.gametest.framework.GameTestHelper helper)
    • 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)