blob: f181c86ef4538f5d8a058c690404aba70d1a41a4 [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
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()
}