All Known Implementing Classes:
PrefabSpell

public interface IPrefabSpell
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.resources.ResourceLocation
     
    net.minecraft.world.item.ItemStack
     
    net.minecraft.network.chat.Component
     
     
  • Method Details

    • makeSpell

      net.minecraft.world.item.ItemStack makeSpell()
      Returns:
      A spell item stack built from this prefab spell.
    • icon

      net.minecraft.resources.ResourceLocation icon()
      Returns:
      The icon of the spell.
    • name

      net.minecraft.network.chat.Component name()
      Returns:
      The name of the spell.
    • spell

      ISpell spell()
      Returns:
      The spell.