blob: 31edfec4aff71b72cb0f136f374bcc5336673fa7 [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 readFromNBT(nbt: NBTTagCompound) {
super.readFromNBT(nbt)
geolyzer.load(nbt)
}
override def writeToNBT(nbt: NBTTagCompound) {
super.writeToNBT(nbt)
geolyzer.save(nbt)
}
}