@FunctionalInterface
public interface IBundledRedstoneProvider
| Modifier and Type | Method and Description |
|---|---|
int |
getBundledRedstoneOutput(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
Produce an bundled redstone output from a block location.
|
int getBundledRedstoneOutput(@Nonnull
net.minecraft.world.World world,
@Nonnull
net.minecraft.util.math.BlockPos pos,
@Nonnull
net.minecraft.util.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)