public interface IPartCable extends IPart, IGridHost
Modifier and Type | Method and Description |
---|---|
boolean |
changeColor(AEColor newColor,
net.minecraft.entity.player.EntityPlayer who)
Change the color of the cable, this should cost a small amount of dye, or something.
|
AEColor |
getCableColor() |
AECableType |
getCableConnectionType() |
boolean |
isConnected(net.minecraftforge.common.util.ForgeDirection side)
used to tests if a cable connects to neighbors visually.
|
void |
setValidSides(java.util.EnumSet<net.minecraftforge.common.util.ForgeDirection> sides)
Change sides on the cables node.
|
BusSupport |
supportsBuses()
does this cable support buses?
|
addToWorld, cableConnectionRenderTo, canBePlacedOn, canConnectRedstone, getBreakingTexture, getDrops, getExternalFacingNode, getGridNode, getItemStack, getLightLevel, isLadder, isProvidingStrongPower, isProvidingWeakPower, isSolid, onActivate, onEntityCollision, onNeighborChanged, onPlacement, onShiftActivate, randomDisplayTick, readFromNBT, readFromStream, removeFromWorld, renderDynamic, renderInventory, renderStatic, requireDynamicRender, setPartHostInfo, writeToNBT, writeToStream
getBoxes
getCableConnectionType, getGridNode, securityBreak
BusSupport supportsBuses()
AEColor getCableColor()
AECableType getCableConnectionType()
boolean changeColor(AEColor newColor, net.minecraft.entity.player.EntityPlayer who)
newColor
- new colorvoid setValidSides(java.util.EnumSet<net.minecraftforge.common.util.ForgeDirection> sides)
Called by AE, do not invoke.
sides
- sides of cableboolean isConnected(net.minecraftforge.common.util.ForgeDirection side)
side
- neighbor side