@FunctionalInterface
public interface IBundledRedstoneProvider
| Modifier and Type | Method and Description |
|---|---|
int |
getBundledRedstoneOutput(World world,
BlockPos pos,
EnumFacing side)
Produce an bundled redstone output from a block location.
|
int getBundledRedstoneOutput(World world,
BlockPos pos,
EnumFacing side)
world - The world this block is in.pos - The position this block is at.side - The side to extract the bundled redstone output from.ComputerCraftAPI.registerBundledRedstoneProvider(IBundledRedstoneProvider)