Created
May 22, 2021 11:47
-
-
Save Kage-Yami/ed583d56f7e2ce03724ddb1fc47d4518 to your computer and use it in GitHub Desktop.
CraftTweaker script with OR'd tags issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tags needed to emulate tag-only ingredient ORs | |
// <tag:items:yami:enriching_coals>.add(<tag:items:minecraft:coals>); | |
// <tag:items:yami:enriching_coals>.add(<tag:items:forge:dusts/coal>); | |
// Add recipes for crushed aluminum ore | |
<recipetype:minecraft:smelting>.addRecipe("smelt_crushed_aluminum", <item:tmechworks:aluminum_ingot>, <item:create:crushed_aluminum_ore>, 0.1, 200); | |
<recipetype:minecraft:blasting>.addRecipe("blast_crushed_aluminum", <item:tmechworks:aluminum_ingot>, <item:create:crushed_aluminum_ore>, 0.1, 100); | |
<recipetype:create:splashing>.addRecipe( | |
"wash_crushed_aluminum", | |
[ | |
<item:tmechworks:aluminum_nugget> * 10, | |
<item:tmechworks:aluminum_nugget> % 50, | |
<item:tmechworks:aluminum_nugget> % 50, | |
<item:tmechworks:aluminum_nugget> % 50, | |
<item:tmechworks:aluminum_nugget> % 50, | |
<item:tmechworks:aluminum_nugget> % 50 | |
], | |
<item:create:crushed_aluminum_ore> | |
); | |
// Add recipe for Crushed Brass from Copper Dust | |
<recipetype:create:mixing>.removeRecipe(<item:create:crushed_brass> * 2); | |
<recipetype:create:mixing>.addRecipe("mix_crushed_brass", "heated", <item:create:crushed_brass> * 2, [ | |
<item:create:crushed_copper_ore> | <tag:items:forge:dusts/copper>, | |
<item:create:crushed_zinc_ore> | |
]); | |
// EXAMPLE BRASS RECIPES - REMOVE ME!! | |
<recipetype:minecraft:smelting>.addRecipe("smelt_crushed_brass", <item:create:crushed_brass>, <item:create:brass_ingot>, 0.1, 200); | |
<recipetype:minecraft:blasting>.addRecipe("blast_crushed_brass", <item:create:crushed_brass>, <item:create:brass_ingot>, 0.1, 100); | |
<recipetype:create:splashing>.addRecipe( | |
"wash_crushed_brass", | |
[ | |
<item:create:brass_nugget> * 10, | |
<item:create:brass_nugget> % 50, | |
<item:create:brass_nugget> % 50, | |
<item:create:brass_nugget> % 50, | |
<item:create:brass_nugget> % 50, | |
<item:create:brass_nugget> % 50 | |
], | |
<item:create:crushed_brass> | |
); | |
// Add recipes for Enriched Iron | |
<recipetype:create:mixing>.addRecipe("mix_enriched_iron", "heated", <item:mekanism:enriched_iron>, [ | |
<item:create:crushed_iron_ore> | <tag:items:forge:ingots/iron> | <tag:items:forge:dusts/iron>, | |
// <tag:items:yami:enriching_coals> | |
<tag:items:minecraft:coals> | <tag:items:forge:dusts/coal> | |
]); | |
// Add recipes for Bronze | |
// Add recipes for Refined Obsidian | |
// Add recipes for Refined Glowstone | |
// Add recipes for Steel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment