public static void registerFunctions() { LootFunctionManager.registerFunction(new CreateStats.Serializer()); LootFunctionManager.registerFunction(new CreateSpecial.Serializer()); LootFunctionManager.registerFunction(new CreateCommon.Serializer()); LootFunctionManager.registerFunction(new CreateUncommon.Serializer()); LootFunctionManager.registerFunction(new CreateRare.Serializer()); LootFunctionManager.registerFunction(new CreateLegendary.Serializer()); LootFunctionManager.registerFunction(new CreateExotic.Serializer()); }
public static void init(@Nonnull FMLPreInitializationEvent event) { LootFunctionManager.registerFunction(new LootSelector.Serializer()); LootFunctionManager.registerFunction(new SetRandomEnergy.Serializer()); LootFunctionManager.registerFunction(new SetRandomDarkUpgrade.Serializer()); AnvilCapacitorRecipe.create(); }