Class WorkbenchUtils

java.lang.Object
com.binaris.wizardry.api.content.util.WorkbenchUtils

public final class WorkbenchUtils extends Object
  • Method Details

    • rechargeManaFromCrystals

      public static boolean rechargeManaFromCrystals(net.minecraft.world.inventory.Slot centre, net.minecraft.world.inventory.Slot crystals)
    • getManaValuePerCrystal

      public static int getManaValuePerCrystal(net.minecraft.world.item.ItemStack crystal)
    • applySpellBooks

      public static boolean applySpellBooks(net.minecraft.world.inventory.Slot centre, net.minecraft.world.inventory.Slot[] spellBooks, SpellContext ctx)
    • canBindSpell

      public static boolean canBindSpell(Spell spell, List<Spell> spells, SpellTier origin, int slot, SpellContext ctx)
    • updateSpellSlot

      public static void updateSpellSlot(net.minecraft.world.item.ItemStack wand, List<Spell> spells, int slot, Spell spell)