Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers
This page relates to Immersive Intelligence, which has built-in support!

Rotary Input

The RotaryInput package can be used to make a Tile Entity supported by the Immersive Intelligence Transmission Box.

Importing the Package

script.zs
import mods.immersiveintelligence.RotaryInput;

Adding Tile Entities

Parameters

TypeNameRequired
Type
String
Name
Classpath
Required
Yes
Type
float
Name
Torque
Required
Yes

For default torque values, check IIconfig file for dynamo_windmill_torque and dynamo_watermill_torque.

Syntax

script.zs
mods.immersiveintelligence.RotaryInput.addInput(String classPath, float torque);

Example

script.zs
mods.immersiveintelligence.RotaryInput.addInput("com.examplemod.tile.ExampleTile", 20);