This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
component:redstone [2014/07/10 09:05] vexatos |
component:redstone [2015/04/05 15:18] rashy |
||
---|---|---|---|
Line 40: | Line 40: | ||
Set the wireless redstone frequency to use.\\ | Set the wireless redstone frequency to use.\\ | ||
//Added in OC 1.3. Only available on tier two redstone cards.// | //Added in OC 1.3. Only available on tier two redstone cards.// | ||
+ | - `getWakeThreshold():number` | ||
+ | Gets the current wake-up threshold. | ||
+ | - `setWakeThreshold(threshold:number):number` | ||
+ | Sets the wake-up threshold to the specified number. | ||
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. |