添加QBZ191蓝图配方

This commit is contained in:
Atsuishio 2025-07-06 03:21:11 +08:00 committed by Light_Quanta
parent 1f565e145a
commit ccb8dc7417
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959
3 changed files with 57 additions and 0 deletions

View file

@ -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"
]
}
}

View file

@ -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"
}
}

View file

@ -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());