fix: hazmat recipes (WTF?)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Timo Ley 2023-01-02 10:42:54 +01:00
parent 248e7d7606
commit 113cf7b024
2 changed files with 32 additions and 12 deletions

View file

@ -23,7 +23,7 @@ apply plugin: 'maven-publish'
sourceCompatibility = JavaVersion.VERSION_1_8 sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8
version = "1.1.0" version = "1.1.1"
group = "universalelectricity" group = "universalelectricity"
archivesBaseName = "atomicscience" archivesBaseName = "atomicscience"

View file

@ -216,16 +216,36 @@ public class Recipes {
.ingredient(AtomicScience.bElectromagnetBoiler) .ingredient(AtomicScience.bElectromagnetBoiler)
.register(); .register();
for (ItemArmor armorPiece : new RecipeBuilder(new ShapedOreRecipeAdapter())
new ItemArmor[] {Items.leather_helmet, Items.leather_chestplate, .output(AtomicScience.itHazmatHelmet)
Items.leather_leggings, Items.leather_boots}) { .pattern("SSS", " A ", "SCS")
new RecipeBuilder(new ShapedOreRecipeAdapter()) .ingredient('A', Items.leather_helmet)
.output(AtomicScience.itHazmatHelmet) .ingredient('C', BasicComponents.itemCircuitBasic)
.pattern("SSS", " A ", "SCS") .ingredient('S', Blocks.wool)
.ingredient('A', armorPiece) .register();
.ingredient('C', BasicComponents.itemCircuitBasic)
.ingredient('S', Blocks.wool) new RecipeBuilder(new ShapedOreRecipeAdapter())
.register(); .output(AtomicScience.itHazmatChestplate)
} .pattern("SSS", " A ", "SCS")
.ingredient('A', Items.leather_chestplate)
.ingredient('C', BasicComponents.itemCircuitBasic)
.ingredient('S', Blocks.wool)
.register();
new RecipeBuilder(new ShapedOreRecipeAdapter())
.output(AtomicScience.itHazmanLeggings)
.pattern("SSS", " A ", "SCS")
.ingredient('A', Items.leather_leggings)
.ingredient('C', BasicComponents.itemCircuitBasic)
.ingredient('S', Blocks.wool)
.register();
new RecipeBuilder(new ShapedOreRecipeAdapter())
.output(AtomicScience.itHazmatBoots)
.pattern("SSS", " A ", "SCS")
.ingredient('A', Items.leather_boots)
.ingredient('C', BasicComponents.itemCircuitBasic)
.ingredient('S', Blocks.wool)
.register();
} }
} }