public class BluePowerRedstoneDevice
extends java.lang.Object
implements com.bluepowermod.api.wire.redstone.IRedstoneDevice
| Constructor and Description |
|---|
BluePowerRedstoneDevice(Redstone module) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConnect(net.minecraftforge.common.util.ForgeDirection face,
com.bluepowermod.api.wire.redstone.IRedstoneDevice device,
com.bluepowermod.api.connect.ConnectionType connectionType) |
com.bluepowermod.api.connect.IConnectionCache<? extends com.bluepowermod.api.wire.redstone.IRedstoneDevice> |
getRedstoneConnectionCache() |
byte |
getRedstonePower(net.minecraftforge.common.util.ForgeDirection face) |
net.minecraft.world.World |
getWorld() |
int |
getX() |
int |
getY() |
int |
getZ() |
boolean |
isNormalFace(net.minecraftforge.common.util.ForgeDirection face) |
void |
onRedstoneUpdate() |
void |
setRedstonePower(net.minecraftforge.common.util.ForgeDirection face,
byte value) |
public BluePowerRedstoneDevice(Redstone 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.IRedstoneDevice device,
com.bluepowermod.api.connect.ConnectionType connectionType)
canConnect in interface com.bluepowermod.api.wire.redstone.IRedstoneDevicepublic com.bluepowermod.api.connect.IConnectionCache<? extends com.bluepowermod.api.wire.redstone.IRedstoneDevice> getRedstoneConnectionCache()
getRedstoneConnectionCache in interface com.bluepowermod.api.wire.redstone.IRedstoneDevicepublic byte getRedstonePower(net.minecraftforge.common.util.ForgeDirection face)
getRedstonePower in interface com.bluepowermod.api.wire.redstone.IRedstoneDevicepublic void setRedstonePower(net.minecraftforge.common.util.ForgeDirection face,
byte value)
setRedstonePower in interface com.bluepowermod.api.wire.redstone.IRedstoneDevicepublic void onRedstoneUpdate()
onRedstoneUpdate in interface com.bluepowermod.api.wire.redstone.IRedstoneDevicepublic boolean isNormalFace(net.minecraftforge.common.util.ForgeDirection face)
isNormalFace in interface com.bluepowermod.api.wire.redstone.IRedstoneDevice