add the mess of the recipe generator code

This commit is contained in:
modmuss50 2019-07-30 12:13:17 +01:00
parent 7e2bf482a2
commit 9a92325da3
4 changed files with 186 additions and 210 deletions

View file

@ -121,7 +121,7 @@ public class TechReborn implements ModInitializer {
CommandRegistry.INSTANCE.register(false, dispatcher -> dispatcher.register(CommandManager.literal("recipe").executes(context -> {
try {
RecipeTemplate.generate(context.getSource().getPlayer());
RecipeTemplate.generateFromInv(context.getSource().getPlayer());
} catch (Exception e){
e.printStackTrace();
}