Class LineBuildingGameTest

java.lang.Object
tschipp.linear.gametest.LineBuildingGameTest

public class LineBuildingGameTest extends Object
Building lines on the server: what gets placed, what gets used up, and what gets refused. Uses a hand-made survival player, since makeMockServerPlayerInLevel is always creative.
  • Constructor Details

    • LineBuildingGameTest

      public LineBuildingGameTest()
  • Method Details

    • aLineGoesWhereTheModeSays

      public static void aLineGoesWhereTheModeSays(net.minecraft.gametest.framework.GameTestHelper helper)
    • aCircleGoesAroundTheStart

      public static void aCircleGoesAroundTheStart(net.minecraft.gametest.framework.GameTestHelper helper)
    • aSphereIsHollow

      public static void aSphereIsHollow(net.minecraft.gametest.framework.GameTestHelper helper)
    • theLineStopsWhenTheBlocksRunOut

      public static void theLineStopsWhenTheBlocksRunOut(net.minecraft.gametest.framework.GameTestHelper helper)
    • blacklistedBlocksDrawNothing

      public static void blacklistedBlocksDrawNothing(net.minecraft.gametest.framework.GameTestHelper helper)
    • anEndOutOfReachIsRefused

      public static void anEndOutOfReachIsRefused(net.minecraft.gametest.framework.GameTestHelper helper)
    • aModeThePlayerDoesNotHaveBuildsNothing

      public static void aModeThePlayerDoesNotHaveBuildsNothing(net.minecraft.gametest.framework.GameTestHelper helper)
    • aSupplyPaysWhileTheLastBlockStaysInHand

      public static void aSupplyPaysWhileTheLastBlockStaysInHand(net.minecraft.gametest.framework.GameTestHelper helper)
    • theLastBlockInHandGoesOnlyWhenNothingElseIsLeft

      public static void theLastBlockInHandGoesOnlyWhenNothingElseIsLeft(net.minecraft.gametest.framework.GameTestHelper helper)
    • theInventoryPaysBeforeTheLastBlockInHand

      public static void theInventoryPaysBeforeTheLastBlockInHand(net.minecraft.gametest.framework.GameTestHelper helper)
    • aHeldItemHandsOutItsOwnBlocks

      public static void aHeldItemHandsOutItsOwnBlocks(net.minecraft.gametest.framework.GameTestHelper helper)
    • aBlockThatMayNotBePlacedIsGivenBack

      public static void aBlockThatMayNotBePlacedIsGivenBack(net.minecraft.gametest.framework.GameTestHelper helper)
    • aRefusedPlacementKeepsTheBlock

      public static void aRefusedPlacementKeepsTheBlock(net.minecraft.gametest.framework.GameTestHelper helper)
    • aSneakClickWithABlockIsHeldBack

      public static void aSneakClickWithABlockIsHeldBack(net.minecraft.gametest.framework.GameTestHelper helper)