Download Thermal Expansion Specialization Hooks — Minecraft Mods — ModStock

Thermal Expansion Specialization Hooks

Active

Downloads

0

Last update

11 months ago
Client
Addons

A quick something I whipped up to allow modpack authors to add overrides for certain Thermal Expansion machine specializations.

Originally I created a pull request to the 1.12 Thermal Expansion Github repository; however, 1.12 Thermal Expansion is completely unsupported, so I decided to take the code and write a mod to patch the hooks in.

 

Due to the massive size of Thermal Expansion, I kept the code to a minimum to guarantee compatibility with existing mods and modpacks. Currently supported specializations:

  • Trivection Chamber (Redstone Furnace)
  • Flux Anodizers (Redstone Furnace)
  • Tectonic Initiator (Pulverizer)
  • Pyro-Concentrator (Induction Smelter)

 

Assuming CraftTweaker and ModTweaker are installed, the following ZenScript methods will be added:

Trivection Chamber

//mods.thermalexpansion.RedstoneFurnace.addFoodOverride(IIngredient input, boolean value);
mods.thermalexpansion.RedstoneFurnace.addFoodOverride(<item:minecraft:potato>, false);

//mods.thermalexpansion.RedstoneFurnace.removeFoodOverride(IIngredient input);
mods.thermalexpansion.RedstoneFurnace.removeFoodOverride(<item:minecraft:potato>);

//mods.thermalexpansion.RedstoneFurnace.hasFoodOverride(IIngredient input);
mods.thermalexpansion.RedstoneFurnace.hasFoodOverride(<item:minecraft:potato>);

 

Flux Anodizers

//mods.thermalexpansion.RedstoneFurnace.addOreOverride(IIngredient input, boolean value);
mods.thermalexpansion.RedstoneFurnace.addOreOverride(<item:minecraft:cobblestone>, true);

//mods.thermalexpansion.RedstoneFurnace.removeOreOverride(IIngredient input);
mods.thermalexpansion.RedstoneFurnace.removeOreOverride(<ore:oreNickel>);

//mods.thermalexpansion.RedstoneFurnace.hasOreOverride(IIngredient input);
mods.thermalexpansion.RedstoneFurnace.hasOreOverride(<item:minecraft:cobblestone>);

 

Tectonic Initiator

//mods.thermalexpansion.Pulverizer.addOreOverride(IIngredient input, boolean value);
mods.thermalexpansion.Pulverizer.addOreOverride(<item:minecraft:blaze_rod>, true);

//mods.thermalexpansion.Pulverizer.removeOreOverride(IIngredient input);
mods.thermalexpansion.Pulverizer.removeOreOverride(<item:minecraft:blaze_rod>);

//mods.thermalexpansion.Pulverizer.hasOreOverride(IIngredient input);
mods.thermalexpansion.Pulverizer.hasOreOverride(<item:minecraft:blaze_rod>);

 

Pyro-Concentrator

//mods.thermalexpansion.InductionSmelter.addOreOverride(IIngredient input, boolean value);
mods.thermalexpansion.InductionSmelter.addOreOverride(<ore:clusterIron>, true);

//mods.thermalexpansion.InductionSmelter.removeOreOverride(IIngredient input);
mods.thermalexpansion.InductionSmelter.removeOreOverride(<ore:clusterIron>);

//mods.thermalexpansion.InductionSmelter.hasOreOverride(IIngredient input);
mods.thermalexpansion.InductionSmelter.hasOreOverride(<ore:clusterIron>);
Project members
JoshieGemFinder

JoshieGemFinder