Class AWTestHandler

java.lang.Object
com.binaris.wizardry.core.gametest.AWTestHandler

public class AWTestHandler extends Object
  • 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 to canUpgradeToNextTier(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 to upgradeWandNextTierNBT(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)