Class GameTestsVariableCopy
java.lang.Object
org.cyclops.integrateddynamics.gametest.GameTestsVariableCopy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcollectVariableCards(List<net.minecraft.world.item.ItemStack> cards, net.minecraft.world.item.ItemStack itemStack) protected List<net.minecraft.world.item.ItemStack> craftVariableCopy(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.ItemStack withData, net.minecraft.world.item.ItemStack withoutData, net.minecraft.world.inventory.ContainerInput clickType) Craft the given variable cards into a copy, as a player would in a crafting table.protected voidtestCopyVariableKeepsLabel(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.inventory.ContainerInput clickType) voidtestCopyVariableKeepsLabelOnBothCards(net.minecraft.gametest.framework.GameTestHelper helper) voidtestCopyVariableKeepsLabelOnBothCardsQuickMove(net.minecraft.gametest.framework.GameTestHelper helper) Shift-clicking the result crafts until the result changes, so the copy must not be left behind in a state where another recipe can consume it.voidtestCopyVariableMultipleTimes(net.minecraft.gametest.framework.GameTestHelper helper) Shift-clicking must keep crafting copies for as long as there are blank cards to copy onto.voidtestCopyVariableWithoutLabel(net.minecraft.gametest.framework.GameTestHelper helper)
-
Field Details
-
TEMPLATE_EMPTY
- See Also:
-
POS
public static final net.minecraft.core.BlockPos POS
-
-
Constructor Details
-
GameTestsVariableCopy
public GameTestsVariableCopy()
-
-
Method Details
-
testCopyVariableKeepsLabelOnBothCards
public void testCopyVariableKeepsLabelOnBothCards(net.minecraft.gametest.framework.GameTestHelper helper) -
testCopyVariableKeepsLabelOnBothCardsQuickMove
public void testCopyVariableKeepsLabelOnBothCardsQuickMove(net.minecraft.gametest.framework.GameTestHelper helper) Shift-clicking the result crafts until the result changes, so the copy must not be left behind in a state where another recipe can consume it. -
testCopyVariableKeepsLabel
protected void testCopyVariableKeepsLabel(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.inventory.ContainerInput clickType) -
testCopyVariableMultipleTimes
public void testCopyVariableMultipleTimes(net.minecraft.gametest.framework.GameTestHelper helper) Shift-clicking must keep crafting copies for as long as there are blank cards to copy onto. -
testCopyVariableWithoutLabel
public void testCopyVariableWithoutLabel(net.minecraft.gametest.framework.GameTestHelper helper) -
craftVariableCopy
protected List<net.minecraft.world.item.ItemStack> craftVariableCopy(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.ItemStack withData, net.minecraft.world.item.ItemStack withoutData, net.minecraft.world.inventory.ContainerInput clickType) Craft the given variable cards into a copy, as a player would in a crafting table.- Parameters:
helper- The game test helper.withData- A variable card holding a variable.withoutData- A blank variable card.clickType- How the player takes the result out of the result slot.- Returns:
- All variable cards the player holds afterwards, including the ones left in the crafting grid.
-
collectVariableCards
protected void collectVariableCards(List<net.minecraft.world.item.ItemStack> cards, net.minecraft.world.item.ItemStack itemStack)
-