package info.u_team.u_team_test.init;

import info.u_team.u_team_core.util.registry.BaseRegistryUtil;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.enchantment.AutoSmeltEnchantment;
import net.minecraft.enchantment.Enchantment;
import net.minecraftforge.event.RegistryEvent.Register;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber;
import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;

@EventBusSubscriber(modid = TestMod.MODID, bus = Bus.MOD)
public class TestEnchantments {
	
	public static final Enchantment AUTO_SMELT = new AutoSmeltEnchantment("auto_smelt");
	
	@SubscribeEvent
	public static void register(Register<Enchantment> event) {
		BaseRegistryUtil.getAllRegistryEntriesAndApplyNames(TestMod.MODID, Enchantment.class).forEach(event.getRegistry()::register);
	}
	
}

@@ -62,821 +62,215 @@
 eam_
-core.util.registry.BaseRegistryUtil;%0Aimport info.u_team.u_team_test.TestMod;%0Aimport info.u_team.u_team_test.enchantment.AutoSmeltEnchantment;%0Aimport net.minecraft.enchantment.Enchantment;%0Aimport net.minecraftforge.event.RegistryEvent.Register;%0Aimport net.minecraftforge.eventbus.api.SubscribeEvent;%0Aimport net.minecraftforge.fml.common.Mod.EventBusSubscriber;%0Aimport net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus;%0A%0A@EventBusSubscriber(modid = TestMod.MODID, bus = Bus.MOD)%0Apublic class TestEnchantments %7B%0A%09%0A%09public static final Enchantment AUTO_SMELT = new AutoSmeltEnchantment(%22auto_smelt%22);%0A%09%0A%09@SubscribeEvent%0A%09public static void register(Register%3CEnchantment%3E event) %7B%0A%09%09BaseRegistryUtil.getAllRegistryEntriesAndApplyNames(TestMod.MODID, Enchantment.class).forEach(event.getRegistry()::register);%0A%09%7D
+test.enchantment.AutoSmeltEnchantment;%0Aimport net.minecraft.enchantment.Enchantment;%0A%0Apublic class TestEnchantments %7B%0A%09%0A%09public static final Enchantment AUTO_SMELT = new AutoSmeltEnchantment(%22auto_smelt%22);%0A%09
 %0A%09%0A%7D

Remove unused annotations for test enchantments