blob: ff2c8aebaefe4b3db2ebc5ba4dd183f28a6c82ee [file] [log] [blame] [raw]
package li.cil.oc.common.tileentity
import li.cil.oc.server.component
import net.minecraft.nbt.NBTTagCompound
class Geolyzer extends traits.Environment {
val geolyzer = new component.Geolyzer(this)
def node = geolyzer.node
override def canUpdate = false
override def readFromNBTForServer(nbt: NBTTagCompound) {
super.readFromNBTForServer(nbt)
geolyzer.load(nbt)
}
override def writeToNBTForServer(nbt: NBTTagCompound) {
super.writeToNBTForServer(nbt)
geolyzer.save(nbt)
}
}