Class AWTestHandler
java.lang.Object
com.binaris.wizardry.core.gametest.AWTestHandler
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplySpellsToWand(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand, Spell... spells) static voidcannotExceedBlankScrollLimit(net.minecraft.gametest.framework.GameTestHelper helper) static voidcannotExceedSpellBookLimit(net.minecraft.gametest.framework.GameTestHelper helper, Spell spell) static voidcannotExceedUpgradeLimit(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item upgradeItem) static voidcannotUpgradeMaxedArmor(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item armor, net.minecraft.world.item.Item upgradeItem) static voidcanUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand) Similar toupgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper, net.minecraft.world.item.Item), but this test uses an Arcane Tome with the tier determined by its item instance rather than its NBT data.static voidputSpellOnBlankScroll(net.minecraft.gametest.framework.GameTestHelper helper, Spell spell) static voidputSpellOnScrollFilled(net.minecraft.gametest.framework.GameTestHelper helper) static voidrepairWand(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand, net.minecraft.world.item.Item crystal) static voidupgradeNormalArmor(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item armor, net.minecraft.world.item.Item upgradeItem) static voidupgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand) Different tocanUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper, net.minecraft.world.item.Item), this test checks the possibility of upgrading a wand to the next tier using an Arcane Tome that has the tier stored in its NBT data instead of its item instance.
-
Method Details
-
applySpellsToWand
public static void applySpellsToWand(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand, Spell... spells) -
upgradeWandNextTierNBT
public static void upgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand) Different tocanUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper, net.minecraft.world.item.Item), this test checks the possibility of upgrading a wand to the next tier using an Arcane Tome that has the tier stored in its NBT data instead of its item instance. This is to ensure that both methods of storing the tier in the Arcane Tome work correctly and can be used interchangeably in the upgrade process. -
canUpgradeToNextTier
public static void canUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand) Similar toupgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper, net.minecraft.world.item.Item), but this test uses an Arcane Tome with the tier determined by its item instance rather than its NBT data. This ensures that the upgrade process correctly recognizes the tier from the item instance and can successfully upgrade the wand to the next tier using this method as well. -
putSpellOnBlankScroll
public static void putSpellOnBlankScroll(net.minecraft.gametest.framework.GameTestHelper helper, Spell spell) -
putSpellOnScrollFilled
public static void putSpellOnScrollFilled(net.minecraft.gametest.framework.GameTestHelper helper) -
upgradeNormalArmor
public static void upgradeNormalArmor(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item armor, net.minecraft.world.item.Item upgradeItem) -
cannotUpgradeMaxedArmor
public static void cannotUpgradeMaxedArmor(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item armor, net.minecraft.world.item.Item upgradeItem) -
repairWand
public static void repairWand(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand, net.minecraft.world.item.Item crystal) -
cannotExceedBlankScrollLimit
public static void cannotExceedBlankScrollLimit(net.minecraft.gametest.framework.GameTestHelper helper) -
cannotExceedSpellBookLimit
public static void cannotExceedSpellBookLimit(net.minecraft.gametest.framework.GameTestHelper helper, Spell spell) -
cannotExceedUpgradeLimit
public static void cannotExceedUpgradeLimit(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item upgradeItem)
-