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)
      Applies the given spells to the wand
    • 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).

      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

    • canUpgradeToNextTier

      public static void canUpgradeToNextTier(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand)
      Different to upgradeWandNextTierNBT(net.minecraft.gametest.framework.GameTestHelper, net.minecraft.world.item.Item).

      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.

    • putSpellOnBlankScroll

      public static void putSpellOnBlankScroll(net.minecraft.gametest.framework.GameTestHelper helper, Spell spell)
      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, net.minecraft.world.item.Item armor, net.minecraft.world.item.Item upgradeItem)
      Tests upgrading normal wizard armor to a higher tier using an upgrade item.
    • cannotUpgradeMaxedArmor

      public static void cannotUpgradeMaxedArmor(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item armor, net.minecraft.world.item.Item upgradeItem)
      Tests that maxed out wizard armor cannot be upgraded further.
    • repairWand

      public static void repairWand(net.minecraft.gametest.framework.GameTestHelper helper, net.minecraft.world.item.Item wand, net.minecraft.world.item.Item crystal)
      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, Spell spell)
      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, net.minecraft.world.item.Item upgradeItem)
      Tests that upgrade items cannot exceed the stack limit of 1 in the upgrade slot.