Class WandTestHandler

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

public final class WandTestHandler extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    siphonUpgradePlayerKillMob(net.minecraft.gametest.framework.GameTestHelper helper)
    Tests the siphon upgrade's behavior when a player kills a mob.
    static void
    wandBasicMovement(net.minecraft.gametest.framework.GameTestHelper helper)
    Tests basic spell navigation through a wand's spell list.
    static void
    wandCircularSelection(net.minecraft.gametest.framework.GameTestHelper helper)
    Verifies that selecting next/previous spells wraps around correctly when cyclin through all spell slots multiple times.
    static void
    wandLiteralIndex(net.minecraft.gametest.framework.GameTestHelper helper)
    Verifies that selecting a specific spell slot by literal index correctly changes the active spell to the spell at that index.
    static void
    wandLiteralIndexPartiallyEmpty(net.minecraft.gametest.framework.GameTestHelper helper)
    Tests direct spell selection by index on a wand with only one spell loaded.
    static void
    wandPartiallyEmpty(net.minecraft.gametest.framework.GameTestHelper helper)
    Tests spell navigation when a wand has only one spell loaded, this should be cycling starting on that spell and then return to it

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • wandBasicMovement

      public static void wandBasicMovement(net.minecraft.gametest.framework.GameTestHelper helper)
      Tests basic spell navigation through a wand's spell list. Basically, checks if the previous/next spell selection on wand is working.
    • wandPartiallyEmpty

      public static void wandPartiallyEmpty(net.minecraft.gametest.framework.GameTestHelper helper)
      Tests spell navigation when a wand has only one spell loaded, this should be cycling starting on that spell and then return to it
    • wandCircularSelection

      public static void wandCircularSelection(net.minecraft.gametest.framework.GameTestHelper helper)
      Verifies that selecting next/previous spells wraps around correctly when cyclin through all spell slots multiple times.
    • wandLiteralIndex

      public static void wandLiteralIndex(net.minecraft.gametest.framework.GameTestHelper helper)
      Verifies that selecting a specific spell slot by literal index correctly changes the active spell to the spell at that index.
    • wandLiteralIndexPartiallyEmpty

      public static void wandLiteralIndexPartiallyEmpty(net.minecraft.gametest.framework.GameTestHelper helper)
      Tests direct spell selection by index on a wand with only one spell loaded.
    • siphonUpgradePlayerKillMob

      public static void siphonUpgradePlayerKillMob(net.minecraft.gametest.framework.GameTestHelper helper)
      Tests the siphon upgrade's behavior when a player kills a mob.