Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Thermoelectric

The Thermoelectric package can be used to register or unregister temperatures for blocks to allow them to power the Immersive Engineering Thermoelectric Generator. Liquids inherently have a temperature, so they do not and cannot be registered. Temperatures are in Kelvin.

Calling The Package

You can call the Thermoelectric package using mods.immersiveengineering.Thermoelectric.

Add Temperature Source

RequiredTypeData Type
Required
Required
Type
Target Block
Data Type
IIngredient
Required
Required
Type
Temperature (K)
Data Type
Integer

Example

script.zs
//Example:
mods.immersiveengineering.Thermoelectric.addTemperatureSource(IIngredient source, int temperature);
mods.immersiveengineering.Thermoelectric.addTemperatureSource(<minecraft:obsidian>, 1272);

Remove Temperature Source

RequiredTypeData Type
Required
Required
Type
Target Block
Data Type
IIngredient

Example

script.zs
//Example:
mods.immersiveengineering.Thermoelectric.removeTemperatureSource(IIngredient source);
mods.immersiveengineering.Thermoelectric.removeTemperatureSource(<minecraft:obsidian>);