Class ConjureItemSpell

java.lang.Object
com.binaris.wizardry.api.content.spell.Spell
com.binaris.wizardry.content.spell.abstr.ConjureItemSpell
Direct Known Subclasses:
ConjureArmor, ConjurePickaxe, ConjureSword, Flamecatcher, FlamingAxe, FrostAxe

public class ConjureItemSpell extends Spell
  • Field Details

    • SUPPORTED_ITEMS

      public static Set<net.minecraft.world.item.Item> SUPPORTED_ITEMS
  • Constructor Details

    • ConjureItemSpell

      public ConjureItemSpell(net.minecraft.world.item.Item item)
  • Method Details

    • cast

      public boolean cast(PlayerCastContext ctx)
      Specified by:
      cast in class Spell
    • conjureItem

      protected boolean conjureItem(PlayerCastContext ctx)
    • isSummoned

      public static boolean isSummoned(net.minecraft.world.item.ItemStack stack)
    • isSummonableItem

      public static boolean isSummonableItem(net.minecraft.world.item.Item item)
    • isSummonableItem

      public static boolean isSummonableItem(net.minecraft.world.item.ItemStack stack)
    • registerSupportedItem

      public static void registerSupportedItem(net.minecraft.world.item.Item item)
    • spawnParticles

      protected void spawnParticles(PlayerCastContext ctx)
    • addItemExtras

      protected net.minecraft.world.item.ItemStack addItemExtras(PlayerCastContext ctx, net.minecraft.world.item.ItemStack stack)
    • getPotencyLevel

      protected int getPotencyLevel(PlayerCastContext ctx)
    • properties

      @NotNull protected @NotNull SpellProperties properties()
      Specified by:
      properties in class Spell