blob: d173fc0fdfa47839d49d24708726aeae454c77b1 [file] [log] [blame] [raw]
package li.cil.oc.common.tileentity
import li.cil.oc.api.Network
import li.cil.oc.api.network.Visibility
import li.cil.oc.common.block
class Cable extends Environment {
val node = Network.newNode(this, Visibility.None).create()
def neighbors = block.Cable.neighbors(worldObj, xCoord, yCoord, zCoord)
override def getRenderBoundingBox =
block.Cable.
bounds(worldObj, xCoord, yCoord, zCoord).
offset(xCoord, yCoord, zCoord)
}