Rebalance concrete recipes

This commit is contained in:
Andrew-71 2024-04-28 23:00:32 +03:00
parent 61b73c6372
commit 60c43b93da
10 changed files with 22 additions and 22 deletions

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:beige_concrete" "item": "new_soviet:beige_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:blue_concrete" "item": "new_soviet:blue_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -11,11 +11,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" B ", "SBS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 8, "count": 9,
"item": "new_soviet:concrete" "item": "new_soviet:concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:dark_green_concrete" "item": "new_soviet:dark_green_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:green_concrete" "item": "new_soviet:green_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:orange_concrete" "item": "new_soviet:orange_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:red_concrete" "item": "new_soviet:red_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:white_concrete" "item": "new_soviet:white_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -14,11 +14,11 @@
}, },
"pattern": [ "pattern": [
"SBS", "SBS",
" D ", "SDS",
"SBS" "SBS"
], ],
"result": { "result": {
"count": 6, "count": 9,
"item": "new_soviet:yellow_concrete" "item": "new_soviet:yellow_concrete"
}, },
"show_notification": true "show_notification": true

View file

@ -128,20 +128,20 @@ public class RecipeGenerator extends FabricRecipeProvider {
private void concreteRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible dye) { private void concreteRecipe(Consumer<RecipeJsonProvider> exporter, ItemConvertible output, ItemConvertible dye) {
if (dye == null) { // Base concrete gives 2 more but requires an extra iron bar if (dye == null) { // Base concrete gives 2 more but requires an extra iron bar
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, output, 8) ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, output, 9)
.input('B', Blocks.IRON_BARS).input('S', Blocks.STONE) .input('B', Blocks.IRON_BARS).input('S', Blocks.STONE)
.pattern("SBS") .pattern("SBS")
.pattern(" B ") .pattern("SBS")
.pattern("SBS") .pattern("SBS")
.criterion(hasItem(Blocks.IRON_BARS), conditionsFromItem(Blocks.IRON_BARS)) .criterion(hasItem(Blocks.IRON_BARS), conditionsFromItem(Blocks.IRON_BARS))
.criterion(hasItem(Blocks.STONE), conditionsFromItem(Blocks.STONE)) .criterion(hasItem(Blocks.STONE), conditionsFromItem(Blocks.STONE))
.offerTo(exporter); .offerTo(exporter);
return; return;
} }
ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, output, 6) ShapedRecipeJsonBuilder.create(RecipeCategory.BUILDING_BLOCKS, output, 9)
.input('D', dye).input('B', Blocks.IRON_BARS).input('S', Blocks.STONE) .input('D', dye).input('B', Blocks.IRON_BARS).input('S', Blocks.STONE)
.pattern("SBS") .pattern("SBS")
.pattern(" D ") .pattern("SDS")
.pattern("SBS") .pattern("SBS")
.criterion(hasItem(dye), conditionsFromItem(dye)) .criterion(hasItem(dye), conditionsFromItem(dye))
.criterion(hasItem(Blocks.IRON_BARS), conditionsFromItem(Blocks.IRON_BARS)) .criterion(hasItem(Blocks.IRON_BARS), conditionsFromItem(Blocks.IRON_BARS))