Skip to content

Commit

Permalink
made flint tool recipes match gt6
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinsdar committed Apr 17, 2023
1 parent 0ce0fe3 commit e445123
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,16 @@ public static void init(Consumer<FinishedRecipe> consumer, AntimatterRecipeProvi
of('W', AntimatterDefaultTools.WIRE_CUTTER.getTag(), 'R', PropertyIngredient.builder("primary").tool(AntimatterDefaultTools.PLUNGER, true).types(AntimatterMaterialTypes.ROD).build(), 'I', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.PLATE).tags(HANDLE, RUBBERTOOLS).build(), 'F', AntimatterDefaultTools.FILE.getTag()), "WII", " RI", "R F");

provider.addToolRecipe(TOOL_BUILDER.get(AntimatterDefaultTools.PICKAXE.getId()), consumer, Ref.ID, "flint_" + AntimatterDefaultTools.PICKAXE.getId() + "_" + "recipe", "antimatter_tools",
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.PICKAXE.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "III", " R ", " R ");
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.PICKAXE.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "III", " R ");

provider.addToolRecipe(TOOL_BUILDER.get(AntimatterDefaultTools.AXE.getId()), consumer, Ref.ID, "flint_" + AntimatterDefaultTools.AXE.getId() + "_" + "recipe", "antimatter_tools",
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.AXE.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "II", "IR", " R");
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.AXE.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "II", "IR");

provider.addToolRecipe(TOOL_BUILDER.get(AntimatterDefaultTools.SWORD.getId()), consumer, Ref.ID, "flint_" + AntimatterDefaultTools.SWORD.getId() + "_" + "recipe", "antimatter_tools",
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.SWORD.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "I", "I", "R");

provider.addToolRecipe(TOOL_BUILDER.get(AntimatterDefaultTools.SHOVEL.getId()), consumer, Ref.ID, "flint_" + AntimatterDefaultTools.SHOVEL.getId() + "_" + "recipe", "antimatter_tools",
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.SHOVEL.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "I", "R", "R");
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.SHOVEL.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "I", "R");

provider.addToolRecipe(TOOL_BUILDER.get(AntimatterDefaultTools.HOE.getId()), consumer, Ref.ID, "flint_" + AntimatterDefaultTools.HOE.getId() + "_" + "recipe", "antimatter_tools",
"has_flint", provider.hasSafeItem(AntimatterMaterialTypes.GEM.getMaterialTag(AntimatterMaterials.Flint)), AntimatterDefaultTools.HOE.getToolStack(AntimatterMaterials.Flint, Material.NULL), of('I', PropertyIngredient.builder("primary").types(AntimatterMaterialTypes.GEM).tags(FLINT).build(), 'R', PropertyIngredient.builder("secondary").types(AntimatterMaterialTypes.ROD).tags(HANDLE).build()), "II", " R", " R");
Expand Down

0 comments on commit e445123

Please sign in to comment.