public interface BundledRedstone extends Module
| Modifier and Type | Method and Description |
|---|---|
short |
getBundledRedstoneInput(int channel)
Get the current bundled input value on the specified channel.
|
int |
getBundledRedstoneOutput(int channel)
Get the current bundled redstone output on the specified channel.
|
void |
setBundledRedstoneInput(int channel,
short value)
Set the new bundled input value on the specified channel.
|
getCasing, getFace, onActivate, onBeforeWriteComplete, onData, onData, onDisabled, onDisposed, onEnabled, onInstalled, onUninstalled, onWriteComplete, readFromNBT, render, step, writeToNBTint getBundledRedstoneOutput(int channel)
channel - the bundle channel to get the value of.void setBundledRedstoneInput(int channel,
short value)
channel - the bundled channel to set the value of.value - the new input value on the channel.short getBundledRedstoneInput(int channel)
channel - the bundled channel to get the input value of.