Skip to content

Commit

Permalink
Fix glass dupe using aurora (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ableytner authored Nov 16, 2024
1 parent 96cf06c commit 722b73e
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1710,14 +1710,30 @@ public void run() {
}

if (ZTones.isModLoaded()) {
// for recycling
GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(ZTones.ID, "stoneTile", 8L, 0),
bits,
GTModHandler.RecipeBits.REVERSIBLE,
new Object[] { " S ", "STS", " S ", 'S', new ItemStack(Blocks.stone_slab, 1), 'T',
new ItemStack(Blocks.stone, 1) });
GTModHandler.removeRecipeByOutput(GTModHandler.getModItem(ZTones.ID, "stoneTile", 8L, 0));
// actual
GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(ZTones.ID, "stoneTile", 8L, 0),
bits4,
new Object[] { "SSS", "STS", "SSS", 'S', new ItemStack(Blocks.stone_slab, 1), 'T',
new ItemStack(Blocks.stone, 1) });
// for recycling
GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(ZTones.ID, "auroraBlock", 8L, 0),
bits,
GTModHandler.RecipeBits.REVERSIBLE,
new Object[] { " G ", "GDG", " G ", 'G', new ItemStack(Blocks.glass, 1), 'D',
new ItemStack(Items.dye, 1, GTValues.W) });
GTModHandler.removeRecipeByOutput(GTModHandler.getModItem(ZTones.ID, "auroraBlock", 8L, 0));
// actual
GTModHandler.addCraftingRecipe(
GTModHandler.getModItem(ZTones.ID, "auroraBlock", 8L, 0),
bits4,
new Object[] { "GGG", "GDG", "GGG", 'G', new ItemStack(Blocks.glass, 1), 'D',
new ItemStack(Items.dye, 1, GTValues.W) });
GTModHandler.addCraftingRecipe(
Expand Down

0 comments on commit 722b73e

Please sign in to comment.