blob: d35153a648cc4a34aaaa21f262652cd8a89fcdb0 [file] [log] [blame] [raw]
package li.cil.oc.server.components
import li.cil.oc.api.INetworkNode
import net.minecraft.nbt.NBTTagCompound
abstract class ItemComponent(val nbt: NBTTagCompound) extends INetworkNode {
address = nbt.getInteger("address")
override def address_=(value: Int) = {
super.address_=(value)
nbt.setInteger("address", address)
}
}