package org.cneko.justarod;

import net.minecraft.enchantment.Enchantment;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.util.Identifier;
import org.jetbrains.annotations.NotNull;

import static org.cneko.justarod.Justarod.MODID;

public class JREnchantments {
    public static final Identifier HYSTERECTOMY_ID = Identifier.of(MODID,"hysterectomy");
    public static final RegistryKey<Enchantment> HYSTERECTOMY = of(HYSTERECTOMY_ID);
    public static final Identifier UTERUS_INSTALLATION_ID = Identifier.of(MODID,"uterus_installation");
    public static final RegistryKey<Enchantment> UTERUS_INSTALLATION = of(UTERUS_INSTALLATION_ID);
    public static final Identifier ARTIFICIAL_ABORTION_ID = Identifier.of(MODID,"artificial_abortion");
    public static final RegistryKey<Enchantment> ARTIFICIAL_ABORTION = of(ARTIFICIAL_ABORTION_ID);
    public static final Identifier MASTECTOMY_ID = Identifier.of(MODID,"mastectomy");
    public static final RegistryKey<Enchantment> MASTECTOMY = of(MASTECTOMY_ID);
    public static final Identifier ORCHIECTOMY_ID = Identifier.of(MODID,"orchiectomy");
    public static final RegistryKey<Enchantment> ORCHIECTOMY = of(ORCHIECTOMY_ID);
    public static final Identifier AMPUTATING_ID = Identifier.of(MODID,"amputating");
    public static final RegistryKey<Enchantment> AMPUTATING = of(AMPUTATING_ID);
    public static final Identifier PRECISION_ID = Identifier.of(MODID,"precision");
    public static final RegistryKey<Enchantment> PRECISION = of(PRECISION_ID);
    public static final Identifier BEHEADING_ID = Identifier.of(MODID,"beheading");
    public static final RegistryKey<Enchantment> BEHEADING = of(BEHEADING_ID);
    public static final Identifier HEMORRHOIDECTOMY_ID = Identifier.of(MODID,"hemorrhoidectomy");
    public static final RegistryKey<Enchantment> HEMORRHOIDECTOMY = of(HEMORRHOIDECTOMY_ID);
    public static final Identifier MEIOSIS_ID = Identifier.of(MODID,"meiosis");
    public static final RegistryKey<Enchantment> MEIOSIS = of(MEIOSIS_ID);
    public static final Identifier HYMENOTOMY_ID = Identifier.of(MODID,"hymenotomy");
    public static final RegistryKey<Enchantment> HYMENOTOMY = of(HYMENOTOMY_ID);
    public static final Identifier LAPAROSCOPY_ID = Identifier.of(MODID,"laparoscopy");
    public static final RegistryKey<Enchantment> LAPAROSCOPY = of(LAPAROSCOPY_ID);

    public static RegistryKey<Enchantment> of(Identifier id) {
        return RegistryKey.of(RegistryKeys.ENCHANTMENT, id);
    }
}
