Class ConjureItemTestHandler

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

public final class ConjureItemTestHandler extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static final record 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    conjureItemDespawn(net.minecraft.gametest.framework.GameTestHelper helper)
     
    static void
    spawnConjureItem(net.minecraft.gametest.framework.GameTestHelper helper)
    Here we just want to check if the way of spawning conjure items are working, in order to not make the test too complex we use the flamecatcher spell as it is one of the simple conjure item spells, and we just check if the player receives the item after casting the spell.

    Methods inherited from class java.lang.Object

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

    • spawnConjureItem

      public static void spawnConjureItem(net.minecraft.gametest.framework.GameTestHelper helper)
      Here we just want to check if the way of spawning conjure items are working, in order to not make the test too complex we use the flamecatcher spell as it is one of the simple conjure item spells, and we just check if the player receives the item after casting the spell.
    • conjureItemDespawn

      public static void conjureItemDespawn(net.minecraft.gametest.framework.GameTestHelper helper)