Class RegistryUtils
java.lang.Object
com.binaris.wizardry.api.content.util.RegistryUtils
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.item.ItemStackcreateArcaneTome(SpellTier tier) static net.minecraft.world.item.ItemStackgetArcaneTome(SpellTier tier) static net.minecraft.world.item.ItemgetArmor(WizardArmorMaterial material, Element element, net.minecraft.util.RandomSource randomSource) static net.minecraft.world.item.ItemgetArmor(WizardArmorMaterial material, Element element, net.minecraft.world.entity.EquipmentSlot slot) static net.minecraft.world.item.ItemgetCrystal(Element element) static ElementgetRandomElement(net.minecraft.util.RandomSource random) static @NotNull SpellgetSpell(net.minecraft.world.item.ItemStack stack) static @NotNull SpellgetSpellFromNbt(net.minecraft.nbt.CompoundTag tag) static net.minecraft.world.item.Itemstatic booleanisSafelyEnchantable(net.minecraft.world.item.Item item) static booleanisSafelyEnchantable(net.minecraft.world.item.ItemStack stack) static net.minecraft.world.item.ItemStackstatic net.minecraft.world.item.ItemStackspellBookItem(Spell spell)
-
Field Details
-
SPELL_KEY
-
-
Method Details
-
getWand
-
getCrystal
-
getArmor
public static net.minecraft.world.item.Item getArmor(WizardArmorMaterial material, Element element, net.minecraft.util.RandomSource randomSource) -
getArmor
public static net.minecraft.world.item.Item getArmor(WizardArmorMaterial material, Element element, net.minecraft.world.entity.EquipmentSlot slot) -
getSpells
-
getRandomElement
-
setSpell
public static net.minecraft.world.item.ItemStack setSpell(net.minecraft.world.item.ItemStack stack, Spell spell) -
spellBookItem
-
createArcaneTome
-
getArcaneTome
-
getSpell
-
getSpellFromNbt
-
isSafelyEnchantable
public static boolean isSafelyEnchantable(net.minecraft.world.item.ItemStack stack) -
isSafelyEnchantable
public static boolean isSafelyEnchantable(net.minecraft.world.item.Item item)
-