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/04/05 15:18] rashy |
component:redstone [2015/08/03 00:02] gamax92 Fix colors api link |
||
---|---|---|---|
Line 17: | Line 17: | ||
This can be an arbitrarily large number for mods that support this. For vanilla interaction it is clamped to the interval [0, 15]. | This can be an arbitrarily large number for mods that support this. For vanilla interaction it is clamped to the interval [0, 15]. | ||
- `getBundledInput(side: number, color: number): number` | - `getBundledInput(side: number, color: number): number` | ||
- | Like `getInput`, but for bundled input, reading the value for the channel with the specified [[color|API/Colors]].\\ | + | Like `getInput`, but for bundled input, reading the value for the channel with the specified [[api:colors|API/Colors]].\\ |
//As of OC 1.3: only available on a tier two redstone card.// | //As of OC 1.3: only available on a tier two redstone card.// | ||
- `getBundledOutput(side: number, color: number): number` | - `getBundledOutput(side: number, color: number): number` | ||
- | Like `getOutput`, but for bundled output, getting the value for the channel with the specified [[color|API/Colors]].\\ | + | Like `getOutput`, but for bundled output, getting the value for the channel with the specified [[api:colors|API/Colors]].\\ |
//As of OC 1.3: only available on a tier two redstone card.// | //As of OC 1.3: only available on a tier two redstone card.// | ||
- `setBundledOutput(side: number, color: number, value: number): number` | - `setBundledOutput(side: number, color: number, value: number): number` | ||
- | Like `setOutput`, but for bundled output, setting the value for the channel with the specified [[color|API/Colors]].\\ | + | Like `setOutput`, but for bundled output, setting the value for the channel with the specified [[api:colors|API/Colors]].\\ |
//As of OC 1.3: only available on a tier two redstone card.// | //As of OC 1.3: only available on a tier two redstone card.// | ||
- `getWirelessInput():number` | - `getWirelessInput():number` |