diff --git a/src/generated/resources/data/superbwarfare/advancement/recipes/misc/qbz_191_blueprint.json b/src/generated/resources/data/superbwarfare/advancement/recipes/misc/qbz_191_blueprint.json new file mode 100644 index 000000000..8d7e8a4f1 --- /dev/null +++ b/src/generated/resources/data/superbwarfare/advancement/recipes/misc/qbz_191_blueprint.json @@ -0,0 +1,32 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_qbz_191_blueprint": { + "conditions": { + "items": [ + { + "items": "superbwarfare:qbz_191_blueprint" + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "superbwarfare:qbz_191_blueprint" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_the_recipe", + "has_qbz_191_blueprint" + ] + ], + "rewards": { + "recipes": [ + "superbwarfare:qbz_191_blueprint" + ] + } +} \ No newline at end of file diff --git a/src/generated/resources/data/superbwarfare/recipe/qbz_191_blueprint.json b/src/generated/resources/data/superbwarfare/recipe/qbz_191_blueprint.json new file mode 100644 index 000000000..bfa48ced6 --- /dev/null +++ b/src/generated/resources/data/superbwarfare/recipe/qbz_191_blueprint.json @@ -0,0 +1,24 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:lapis_lazuli" + }, + "S": { + "item": "superbwarfare:qbz_191_blueprint" + } + }, + "pattern": [ + "#S#", + "#C#", + "###" + ], + "result": { + "count": 2, + "id": "superbwarfare:qbz_191_blueprint" + } +} \ No newline at end of file diff --git a/src/main/java/com/atsuishio/superbwarfare/datagen/ModRecipeProvider.java b/src/main/java/com/atsuishio/superbwarfare/datagen/ModRecipeProvider.java index 037853695..8d4af13ce 100644 --- a/src/main/java/com/atsuishio/superbwarfare/datagen/ModRecipeProvider.java +++ b/src/main/java/com/atsuishio/superbwarfare/datagen/ModRecipeProvider.java @@ -181,6 +181,7 @@ public class ModRecipeProvider extends RecipeProvider { copyBlueprint(writer, ModItems.TASER_BLUEPRINT.get()); copyBlueprint(writer, ModItems.M_1911_BLUEPRINT.get()); copyBlueprint(writer, ModItems.QBZ_95_BLUEPRINT.get()); + copyBlueprint(writer, ModItems.QBZ_191_BLUEPRINT.get()); copyBlueprint(writer, ModItems.K_98_BLUEPRINT.get()); copyBlueprint(writer, ModItems.MOSIN_NAGANT_BLUEPRINT.get()); copyBlueprint(writer, ModItems.JAVELIN_BLUEPRINT.get());