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