package com.thebrokenrail.sorcerycraft.spell.registry; import com.thebrokenrail.sorcerycraft.SorceryCraft; import com.thebrokenrail.sorcerycraft.spell.CoolingSpell; import com.thebrokenrail.sorcerycraft.spell.DamageSpell; import com.thebrokenrail.sorcerycraft.spell.DissolveSpell; import com.thebrokenrail.sorcerycraft.spell.FlameSpell; import com.thebrokenrail.sorcerycraft.spell.HealSpell; import com.thebrokenrail.sorcerycraft.spell.InwardSpell; import com.thebrokenrail.sorcerycraft.spell.LevitateSpell; import com.thebrokenrail.sorcerycraft.spell.LightningSpell; import com.thebrokenrail.sorcerycraft.spell.SteadfastSpell; import com.thebrokenrail.sorcerycraft.spell.TeleportSpell; import net.minecraft.util.Identifier; @SuppressWarnings("unused") public class Spells { public static final Identifier HEAL_SPELL; public static final Identifier DAMAGE_SPELL; public static final Identifier DISSOLVE_SPELL; public static final Identifier STEADFAST_SPELL; public static final Identifier FLAME_SPELL; public static final Identifier LEVITATE_SPELL; public static final Identifier TELEPORT_SPELL; public static final Identifier INWARD_SPELL; public static final Identifier COOLING_SPELL; public static final Identifier LIGHTNING_SPELL; static { HEAL_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "heal_spell"), HealSpell.class); DAMAGE_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "damage_spell"), DamageSpell.class); DISSOLVE_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "dissolve_spell"), DissolveSpell.class); STEADFAST_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "steadfast_spell"), SteadfastSpell.class); FLAME_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "flame_spell"), FlameSpell.class); LEVITATE_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "levitate_spell"), LevitateSpell.class); TELEPORT_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "teleport_spell"), TeleportSpell.class); INWARD_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "inward_spell"), InwardSpell.class); COOLING_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "cooling_spell"), CoolingSpell.class); LIGHTNING_SPELL = SpellRegistry.register(new Identifier(SorceryCraft.NAMESPACE, "lightning_spell"), LightningSpell.class); } }