-
Method Summary
com.mojang.serialization.DataResult<com.google.gson.JsonElement>
net.minecraft.resources.ResourceLocation
net.minecraft.world.item.ItemStack
net.minecraft.network.chat.Component
-
Method Details
-
getEncodedSpell
com.mojang.serialization.DataResult<com.google.gson.JsonElement> getEncodedSpell()
- Returns:
- The encoded spell of this prefab spell.
-
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
- Returns:
- The spell.