public final class RedstoneIntegration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static RedstoneIntegration |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
addBundledRedstoneInputProvider(BundledRedstoneInputProvider provider) |
void |
addCallback(BundledRedstoneOutputChangedCallback callback) |
void |
addRedstoneInputProvider(RedstoneInputProvider provider) |
int |
getBundledRedstoneInput(BundledRedstone module,
int channel) |
int |
getRedstoneInput(Redstone module) |
void |
onBundledRedstoneOutputChanged(BundledRedstoneOutputChangedEvent event) |
public static final RedstoneIntegration INSTANCE
public void addCallback(BundledRedstoneOutputChangedCallback callback)
public void addRedstoneInputProvider(RedstoneInputProvider provider)
public void addBundledRedstoneInputProvider(BundledRedstoneInputProvider provider)
public int getRedstoneInput(Redstone module)
public int getBundledRedstoneInput(BundledRedstone module, int channel)
public void onBundledRedstoneOutputChanged(BundledRedstoneOutputChangedEvent event)