com.magistuarmory.effects.ModEffects Maven / Gradle / Ivy
package com.magistuarmory.effects;
import com.magistuarmory.EpicKnights;
import dev.architectury.registry.registries.DeferredRegister;
import dev.architectury.registry.registries.RegistrySupplier;
import net.minecraft.core.Registry;
import net.minecraft.world.effect.MobEffect;
public class ModEffects
{
public static final DeferredRegister EFFECTS = DeferredRegister.create(EpicKnights.ID, Registry.f_122900_);
public static final RegistrySupplier LACERATION = EFFECTS.register("laceration", () -> LacerationEffect.INSTANCE);
public static void init()
{
EFFECTS.register();
}
}