blob: b7b647d297b1370d3d981f9fb118b09d0c39f590 [file] [log] [blame] [raw]
package li.cil.oc.server.driver
import li.cil.oc.api.driver.Slot
import li.cil.oc.server.component
import li.cil.oc.{Config, Items}
import net.minecraft.item.ItemStack
object NetworkCard extends Item {
def worksWith(item: ItemStack) = isOneOf(item, Items.lan)
override def createEnvironment(item: ItemStack) = new component.NetworkCard()
def slot(item: ItemStack) = Slot.Card
}