package info.u_team.u_team_test.init;

import info.u_team.u_team_test.enchantment.AutoSmeltEnchantment;
import net.minecraft.enchantment.Enchantment;

public class TestEnchantments {
	
	public static final Enchantment AUTO_SMELT = new AutoSmeltEnchantment("auto_smelt");
	
	
}

@@ -32,16 +32,56 @@
 .init;%0A%0A
+import info.u_team.u_team_test.TestMod;%0A
 import i
@@ -187,40 +187,268 @@
 nt;%0A
-%0Apublic class TestEnchantments %7B
+import net.minecraftforge.eventbus.api.IEventBus;%0Aimport net.minecraftforge.registries.*;%0A%0Apublic class TestEnchantments %7B%0A%09%0A%09public static final DeferredRegister%3CEnchantment%3E ENCHANTMENTS = DeferredRegister.create(ForgeRegistries.ENCHANTMENTS, TestMod.MODID);
 %0A%09%0A%09
@@ -534,12 +534,91 @@
 lt%22);%0A%09%0A
+%09public static void register(IEventBus bus) %7B%0A%09%09ENCHANTMENTS.register(bus);%0A%09%7D%0A
 %09%0A%7D%0A

Add deferred register to enchantments