mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 03:36:47 -04:00
fixed redlogic interface stripping
This commit is contained in:
parent
78e22a0384
commit
3ebda93e94
@ -1,14 +1,20 @@
|
|||||||
package li.cil.oc.common.tileentity
|
package li.cil.oc.common.tileentity
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.Optional.Interface
|
||||||
import cpw.mods.fml.common.{Optional, Loader}
|
import cpw.mods.fml.common.{Optional, Loader}
|
||||||
import li.cil.oc.Settings
|
import li.cil.oc.Settings
|
||||||
import li.cil.oc.util.ExtendedNBT._
|
import li.cil.oc.util.ExtendedNBT._
|
||||||
import mods.immibis.redlogic.api.wiring.{IInsulatedRedstoneWire, IBundledUpdatable, IBundledEmitter}
|
import mods.immibis.redlogic.api.wiring.{IInsulatedRedstoneWire, IBundledUpdatable, IBundledEmitter}
|
||||||
|
import net.minecraft.block.Block
|
||||||
import net.minecraft.nbt.{NBTTagIntArray, NBTTagCompound}
|
import net.minecraft.nbt.{NBTTagIntArray, NBTTagCompound}
|
||||||
import net.minecraftforge.common.ForgeDirection
|
import net.minecraftforge.common.ForgeDirection
|
||||||
import net.minecraft.block.Block
|
|
||||||
import powercrystals.minefactoryreloaded.api.rednet.IRedNetNetworkContainer
|
import powercrystals.minefactoryreloaded.api.rednet.IRedNetNetworkContainer
|
||||||
|
import scala.Array
|
||||||
|
|
||||||
|
@Optional.InterfaceList(Array(
|
||||||
|
new Interface(iface = "mods.immibis.redlogic.api.wiring.IBundledEmitter", modid = "RedLogic"),
|
||||||
|
new Interface(iface = "mods.immibis.redlogic.api.wiring.IBundledUpdatable", modid = "RedLogic")
|
||||||
|
))
|
||||||
trait BundledRedstone extends Redstone with IBundledEmitter with IBundledUpdatable {
|
trait BundledRedstone extends Redstone with IBundledEmitter with IBundledUpdatable {
|
||||||
|
|
||||||
private val _bundledInput = Array.fill(6)(Array.fill(16)(-1))
|
private val _bundledInput = Array.fill(6)(Array.fill(16)(-1))
|
||||||
|
@ -13,8 +13,6 @@ import net.minecraftforge.common.ForgeDirection
|
|||||||
|
|
||||||
@Optional.InterfaceList(Array(
|
@Optional.InterfaceList(Array(
|
||||||
new Interface(iface = "mods.immibis.redlogic.api.wiring.IConnectable", modid = "RedLogic"),
|
new Interface(iface = "mods.immibis.redlogic.api.wiring.IConnectable", modid = "RedLogic"),
|
||||||
new Interface(iface = "mods.immibis.redlogic.api.wiring.IBundledEmitter", modid = "RedLogic"),
|
|
||||||
new Interface(iface = "mods.immibis.redlogic.api.wiring.IBundledUpdatable", modid = "RedLogic"),
|
|
||||||
new Interface(iface = "mods.immibis.redlogic.api.wiring.IRedstoneEmitter", modid = "RedLogic"),
|
new Interface(iface = "mods.immibis.redlogic.api.wiring.IRedstoneEmitter", modid = "RedLogic"),
|
||||||
new Interface(iface = "mods.immibis.redlogic.api.wiring.IRedstoneUpdatable", modid = "RedLogic")
|
new Interface(iface = "mods.immibis.redlogic.api.wiring.IRedstoneUpdatable", modid = "RedLogic")
|
||||||
))
|
))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user