mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-19 04:06:43 -04:00
Apparently gradle hates me.
This commit is contained in:
parent
40dc7c5df0
commit
e3d3e3c7f9
13
src/api/java/codechicken/lib/vec/Vector3.java
Normal file
13
src/api/java/codechicken/lib/vec/Vector3.java
Normal file
@ -0,0 +1,13 @@
|
||||
package codechicken.lib.vec;
|
||||
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
// Fake dummy class (it's not shipped, only used in compilation), because
|
||||
// I can't get gradle to give a shit about dependencies in the API compilation
|
||||
// tasks.
|
||||
public class Vector3 {
|
||||
public static Vector3 fromTileEntityCenter(TileEntity tileEntity) {
|
||||
return null;
|
||||
}
|
||||
}
|
@ -5,6 +5,8 @@ import li.cil.oc.api.network.Arguments
|
||||
import net.minecraft.inventory.IInventory
|
||||
import net.minecraftforge.common.ForgeDirection
|
||||
|
||||
import scala.language.implicitConversions
|
||||
|
||||
object ExtendedArguments {
|
||||
|
||||
implicit def extendedArguments(args: Arguments) = new ExtendedArguments(args)
|
||||
|
@ -3,6 +3,8 @@ package li.cil.oc.util.mods
|
||||
import codechicken.wirelessredstone.core.{WirelessReceivingDevice, WirelessTransmittingDevice}
|
||||
import li.cil.oc.server.component.RedstoneWireless
|
||||
|
||||
import scala.language.reflectiveCalls
|
||||
|
||||
object WirelessRedstoneCBE {
|
||||
private def ether = try Option(Class.forName("codechicken.wirelessredstone.core.RedstoneEther").getMethod("server").invoke(null).asInstanceOf[ {
|
||||
def addReceivingDevice(device: WirelessReceivingDevice)
|
||||
|
@ -3,6 +3,8 @@ package li.cil.oc.util.mods
|
||||
import li.cil.oc.server.component.RedstoneWireless
|
||||
import net.minecraft.world.World
|
||||
|
||||
import scala.language.reflectiveCalls
|
||||
|
||||
object WirelessRedstoneSV {
|
||||
private val ether = try {
|
||||
Option(Class.forName("wirelessredstone.ether.RedstoneEther").getMethod("getInstance").invoke(null).asInstanceOf[ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user