This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
component:redstone [2015/08/29 17:51] flying_lizard fixed a typo |
component:redstone [2016/01/05 23:58] sylphio |
||
---|---|---|---|
Line 49: | Line 49: | ||
- `setWakeThreshold(threshold:number):number` | - `setWakeThreshold(threshold:number):number` | ||
Sets the wake-up threshold to the specified number. | Sets the wake-up threshold to the specified number. | ||
+ | - `getComparatorInput(side:number:number):number` | ||
+ | Get the comparator input on the specified side. | ||
Note that for mods such as ProjectRed, low values (such as the vanilla maximum of 15) may not function as expected for simple on/off values (opening a door for example), because they have a larger value range. You may need to use a higher value, such as 255. | Note that for mods such as ProjectRed, low values (such as the vanilla maximum of 15) may not function as expected for simple on/off values (opening a door for example), because they have a larger value range. You may need to use a higher value, such as 255. |