This page relates to Immersive Intelligence, which has built-in support!
Rotary Input
Link to rotary-input
The RotaryInput
package can be used to make a Tile Entity supported by the Immersive Intelligence Transmission Box.
Importing the Package
Link to importing-the-package
ZenScript Copyimport mods.immersiveintelligence.RotaryInput;
Adding Tile Entities
Link to adding-tile-entities
Parameters
Link to parameters
Type | Name | Required |
---|---|---|
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
Link to syntax
ZenScript Copymods.immersiveintelligence.RotaryInput.addInput(String classPath, float torque);
Example
Link to example
ZenScript Copymods.immersiveintelligence.RotaryInput.addInput("com.examplemod.tile.ExampleTile", 20);