public class BluePowerBundledRedstoneDevice
extends java.lang.Object
implements com.bluepowermod.api.wire.redstone.IBundledDevice
| Constructor and Description |
|---|
BluePowerBundledRedstoneDevice(BundledRedstone module) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConnect(net.minecraftforge.common.util.ForgeDirection face,
com.bluepowermod.api.wire.redstone.IBundledDevice device,
com.bluepowermod.api.connect.ConnectionType connectionType) |
com.bluepowermod.api.misc.MinecraftColor |
getBundledColor(net.minecraftforge.common.util.ForgeDirection side) |
com.bluepowermod.api.connect.IConnectionCache<? extends com.bluepowermod.api.wire.redstone.IBundledDevice> |
getBundledConnectionCache() |
byte[] |
getBundledOutput(net.minecraftforge.common.util.ForgeDirection side) |
byte[] |
getBundledPower(net.minecraftforge.common.util.ForgeDirection face) |
net.minecraft.world.World |
getWorld() |
int |
getX() |
int |
getY() |
int |
getZ() |
boolean |
isNormalFace(net.minecraftforge.common.util.ForgeDirection side) |
void |
onBundledUpdate() |
void |
setBundledPower(net.minecraftforge.common.util.ForgeDirection face,
byte[] bytes) |
public BluePowerBundledRedstoneDevice(BundledRedstone module)
public net.minecraft.world.World getWorld()
getWorld in interface uk.co.qmunity.lib.vec.IWorldLocationpublic int getX()
getX in interface uk.co.qmunity.lib.vec.IWorldLocationpublic int getY()
getY in interface uk.co.qmunity.lib.vec.IWorldLocationpublic int getZ()
getZ in interface uk.co.qmunity.lib.vec.IWorldLocationpublic boolean canConnect(net.minecraftforge.common.util.ForgeDirection face,
com.bluepowermod.api.wire.redstone.IBundledDevice device,
com.bluepowermod.api.connect.ConnectionType connectionType)
canConnect in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic com.bluepowermod.api.connect.IConnectionCache<? extends com.bluepowermod.api.wire.redstone.IBundledDevice> getBundledConnectionCache()
getBundledConnectionCache in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic byte[] getBundledOutput(net.minecraftforge.common.util.ForgeDirection side)
getBundledOutput in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic void setBundledPower(net.minecraftforge.common.util.ForgeDirection face,
byte[] bytes)
setBundledPower in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic byte[] getBundledPower(net.minecraftforge.common.util.ForgeDirection face)
getBundledPower in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic void onBundledUpdate()
onBundledUpdate in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic com.bluepowermod.api.misc.MinecraftColor getBundledColor(net.minecraftforge.common.util.ForgeDirection side)
getBundledColor in interface com.bluepowermod.api.wire.redstone.IBundledDevicepublic boolean isNormalFace(net.minecraftforge.common.util.ForgeDirection side)
isNormalFace in interface com.bluepowermod.api.wire.redstone.IBundledDevice