blob: 5f4cf700394d279ddac0499bd69b98ced63e6b9e [file] [log] [blame] [raw]
package li.cil.oc.common.tileentity
import li.cil.oc.api.network._
import li.cil.oc.api.power.Provider
import net.minecraft.nbt.NBTTagCompound
class PowerDistributor extends Rotatable with Provider {
//MAXENERGY = 2000.0.toDouble
override val name = "powerdistributor"
override val visibility = Visibility.Network
override def updateEntity() {
super.updateEntity()
update()
}
override def readFromNBT(nbt: NBTTagCompound) {
super[Rotatable].readFromNBT(nbt)
super.readFromNBT(nbt)
}
override def writeToNBT(nbt: NBTTagCompound) {
super[Rotatable].writeToNBT(nbt)
super.writeToNBT(nbt)
}
}