blob: 2ae339da7d9607a28e2991763119be535f855609 [file] [log] [blame] [raw]
package li.cil.oc.common.block
import li.cil.oc.Settings
import li.cil.oc.common.tileentity
import net.minecraft.world.World
// TODO Remove in 1.7
class AccessPoint extends Switch with traits.PowerAcceptor {
override protected def customTextures = Array(
None,
Some("AccessPointTop"),
Some("SwitchSide"),
Some("SwitchSide"),
Some("SwitchSide"),
Some("SwitchSide")
)
// ----------------------------------------------------------------------- //
override def energyThroughput = Settings.get.accessPointRate
override def createTileEntity(world: World, metadata: Int) = new tileentity.AccessPoint()
}