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
targetCompatibility = JavaVersion.VERSION_1_8
version = "1.1.0"
version = "1.1.1"
group = "universalelectricity"
archivesBaseName = "atomicscience"

View file

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