Class EBTestCentral.ArcaneWorkbench
java.lang.Object
com.binaris.wizardry.core.gametest.EBTestCentral.ArcaneWorkbench
- Enclosing class:
- EBTestCentral
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplySpellsToWand(net.minecraft.gametest.framework.GameTestHelper helper) Applies the given spells to the wand using a dummy arcane workbench.static voidcannotExceedBlankScrollLimit(net.minecraft.gametest.framework.GameTestHelper helper) Tests that blank scrolls cannot exceed the stack limit of 16 in the workbench center slot.static voidcannotExceedSpellBookLimit(net.minecraft.gametest.framework.GameTestHelper helper) Tests that spell books cannot exceed the stack limit of 1 per slot in the workbench.static voidcannotExceedUpgradeLimit(net.minecraft.gametest.framework.GameTestHelper helper) Tests that upgrade items cannot exceed the stack limit of 1 in the upgrade slot.static voidcannotUpgradeMaxedArmor(net.minecraft.gametest.framework.GameTestHelper helper) Tests that maxed out wizard armor cannot be upgraded further.static voidcanUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper helper) static voidputSpellOnBlankScroll(net.minecraft.gametest.framework.GameTestHelper helper) Puts the given spell into a new spell scroll using a blank scrollstatic voidputSpellOnScrollFilled(net.minecraft.gametest.framework.GameTestHelper helper) Try to put a spell into a not blank scroll, should be falsestatic voidrepairWand(net.minecraft.gametest.framework.GameTestHelper helper) Tests repairing a damaged wand using 1 crystal.static voidupgradeNormalArmor(net.minecraft.gametest.framework.GameTestHelper helper) Tests upgrading normal wizard armor to a higher tier using an upgrade item.static voidupgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper helper)
-
Constructor Details
-
ArcaneWorkbench
public ArcaneWorkbench()
-
-
Method Details
-
applySpellsToWand
public static void applySpellsToWand(net.minecraft.gametest.framework.GameTestHelper helper) Applies the given spells to the wand using a dummy arcane workbench. It could fail if the spells aren't inside the wand after being applied. -
upgradeWandNextTierNBT
public static void upgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper helper) Different tocanUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper).Checks if the given wand can be upgraded to the next tier (in case if it's not a master wand) based on a NBT arcane tome (doesn't work on forge)
-
canUpgradeToNextTier
public static void canUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper helper) Different toupgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper).Checks if the given wand can be upgraded to the next tier (in case if it's not a master wand) based on an item instance based arcane tome. (doesn't work on forge)
-
putSpellOnBlankScroll
public static void putSpellOnBlankScroll(net.minecraft.gametest.framework.GameTestHelper helper) Puts the given spell into a new spell scroll using a blank scroll -
putSpellOnScrollFilled
public static void putSpellOnScrollFilled(net.minecraft.gametest.framework.GameTestHelper helper) Try to put a spell into a not blank scroll, should be false -
upgradeNormalArmor
public static void upgradeNormalArmor(net.minecraft.gametest.framework.GameTestHelper helper) Tests upgrading normal wizard armor to a higher tier using an upgrade item. -
cannotUpgradeMaxedArmor
public static void cannotUpgradeMaxedArmor(net.minecraft.gametest.framework.GameTestHelper helper) Tests that maxed out wizard armor cannot be upgraded further. -
repairWand
public static void repairWand(net.minecraft.gametest.framework.GameTestHelper helper) Tests repairing a damaged wand using 1 crystal. -
cannotExceedBlankScrollLimit
public static void cannotExceedBlankScrollLimit(net.minecraft.gametest.framework.GameTestHelper helper) Tests that blank scrolls cannot exceed the stack limit of 16 in the workbench center slot. -
cannotExceedSpellBookLimit
public static void cannotExceedSpellBookLimit(net.minecraft.gametest.framework.GameTestHelper helper) Tests that spell books cannot exceed the stack limit of 1 per slot in the workbench. -
cannotExceedUpgradeLimit
public static void cannotExceedUpgradeLimit(net.minecraft.gametest.framework.GameTestHelper helper) Tests that upgrade items cannot exceed the stack limit of 1 in the upgrade slot.
-