Skip to content

Commit

Permalink
* Removed defaulted part recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
SigmundGranaas committed Nov 21, 2024
1 parent 0bb209e commit c8126a7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"generator_type": "forgero:mapped_recipe_generator",
"identifier": "forgero:${material.name}-${part}-paper",
"variables": {
"material": {
"type": "TOOL_MATERIAL"
},
"part": ["pickaxe_head", "axe_head", "hoe_head", "shovel_head", "handle", "binding"]
},
"type": "minecraft:crafting_shapeless",
"ingredients": [
{
"item": "forgero:${material.name}-${part}"
},
{
"item": "minecraft:paper"
}
],
"result": {
"item": "forgero:${part}-schematic"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ private void registerAARPRecipes(StateService service) {
ARRPGenerator.register(new RepairKitResourceGenerator(ForgeroConfigurationLoader.configuration, service));
if (ForgeroConfigurationLoader.configuration.enableRecipesForAllSchematics) {
ARRPGenerator.register(() -> new AllPartToAllSchematicsGenerator(service, new PartToSchematicGenerator.SchematicRecipeCreator(), new PartToSchematicGenerator.AllVariantFilter()));
} else {
ARRPGenerator.register(() -> new PartToSchematicGenerator(service, new PartToSchematicGenerator.SchematicRecipeCreator(), new PartToSchematicGenerator.BaseVariantFilter()));
}

ARRPGenerator.register(() -> new WoodPartsTag(ForgeroStateRegistry.TREE));
Expand Down

0 comments on commit c8126a7

Please sign in to comment.