Package tschipp.linear.gametest
Class LineBuildingGameTest
java.lang.Object
tschipp.linear.gametest.LineBuildingGameTest
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaBlockThatMayNotBePlacedIsGivenBack(net.minecraft.gametest.framework.GameTestHelper helper) static voidaCircleGoesAroundTheStart(net.minecraft.gametest.framework.GameTestHelper helper) static voidaHeldItemHandsOutItsOwnBlocks(net.minecraft.gametest.framework.GameTestHelper helper) static voidaLineGoesWhereTheModeSays(net.minecraft.gametest.framework.GameTestHelper helper) static voidaModeThePlayerDoesNotHaveBuildsNothing(net.minecraft.gametest.framework.GameTestHelper helper) static voidanEndOutOfReachIsRefused(net.minecraft.gametest.framework.GameTestHelper helper) static voidaRefusedPlacementKeepsTheBlock(net.minecraft.gametest.framework.GameTestHelper helper) static voidaSneakClickWithABlockIsHeldBack(net.minecraft.gametest.framework.GameTestHelper helper) static voidaSphereIsHollow(net.minecraft.gametest.framework.GameTestHelper helper) static voidaSupplyPaysWhileTheLastBlockStaysInHand(net.minecraft.gametest.framework.GameTestHelper helper) static voidblacklistedBlocksDrawNothing(net.minecraft.gametest.framework.GameTestHelper helper) static voidtheInventoryPaysBeforeTheLastBlockInHand(net.minecraft.gametest.framework.GameTestHelper helper) static voidtheLastBlockInHandGoesOnlyWhenNothingElseIsLeft(net.minecraft.gametest.framework.GameTestHelper helper) static voidtheLineStopsWhenTheBlocksRunOut(net.minecraft.gametest.framework.GameTestHelper helper)
-
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)
-