Modpack-1.12.2/scripts/gear.zs
2022-11-01 19:14:43 +01:00

58 lines
1.8 KiB
Text

import crafttweaker.item.IItemStack as IItemStack;
import mods.jei.JEI.removeAndHide as rh;
rh(<forestry:gear_tin>);
rh(<forestry:gear_bronze>);
rh(<forestry:gear_copper>);
rh(<appliedenergistics2:material:40>);
val gearsToRemove = [
<appliedenergistics2:material:40>,
<thermalfoundation:material:22>,
<thermalfoundation:material:23>,
<thermalfoundation:material:24>,
<thermalfoundation:material:25>,
<thermalfoundation:material:26>,
<thermalfoundation:material:27>,
<thermalfoundation:material:256>,
<thermalfoundation:material:257>,
<thermalfoundation:material:258>,
<thermalfoundation:material:259>,
<thermalfoundation:material:260>,
<thermalfoundation:material:261>,
<thermalfoundation:material:262>,
<thermalfoundation:material:263>,
<thermalfoundation:material:264>,
<thermalfoundation:material:288>,
<thermalfoundation:material:289>,
<thermalfoundation:material:290>,
<thermalfoundation:material:291>,
<thermalfoundation:material:292>,
<thermalfoundation:material:293>,
<thermalfoundation:material:294>,
<thermalfoundation:material:295>,
] as IItemStack[];
for items in gearsToRemove {
recipes.remove(items);
}
recipes.addShaped("TE Wooden Gear",
<thermalfoundation:material:22>,
[[null, <ore:plankWood>, null],
[<ore:plankWood>, null, <ore:plankWood>],
[null, <ore:plankWood>, null]]);
recipes.addShaped("TE Stone Gear Direct",
<thermalfoundation:material:23>,
[[<ore:plankWood>, <ore:cobblestone>, <ore:plankWood>],
[<ore:cobblestone>, null, <ore:cobblestone>],
[<ore:plankWood>, <ore:cobblestone>, <ore:plankWood>]]);
recipes.addShaped("TE Stone Gear Wood",
<thermalfoundation:material:23>,
[[null, <ore:cobblestone>, null],
[<ore:cobblestone>, <ore:gearWood>, <ore:cobblestone>],
[null, <ore:cobblestone>, null]]);