plethora icon indicating copy to clipboard operation
plethora copied to clipboard

Immersive Engineering support in 1.12.2

Open Cubicllama opened this issue 4 years ago • 3 comments

Back in 1.7.10, IE provided it's own computercraft support. Nowadays, they only support opencomputers. Is there any way to get this functionality in 1.12.2? The basic RF and inventory stuff is better than nothing, but it would be nice to properly control things again.

Cubicllama avatar Jan 12 '20 21:01 Cubicllama

Would you be able to answer the questions in the mod integration template? It just helps me get an idea of what specific functionality you need.

SquidDev avatar Jan 12 '20 21:01 SquidDev

Sure.

Explaination/Justification: IE (Immersive Engineering) is a tech mod that primarily deals in multiblock machines. It also tends to avoid having any kind of GUI for a lot of its machines, so sadly they are impenitrable via plethoras general purpose intergration for inventories.

Most IE machines have a dedicated input block for redstone control. In the past, this was also used to attach the machines as peripherals, and still is for opencomputers. (Currently, with plethora installed, you can still wrap the machines as a peripheral, but you just get the getMetadata function)

Use cases: Generally, the funtionality in the past was about seeing into the internal details of the machines. For example. the crusher (its way of ore doubling) had functions for viewing what it was currently crushing, and what was in its input queue.

Having rooted around in the IE JAR a little, the inbuilt opencomputers support for 1.12.2 is kept as uncompiled .java files. If you like, I could attach them. Obviously, OC is a little different from CC, but it does still show which machines need support, and what methods they need. I have no idea how plausible it would be to simply convert the code, but that seems like it would save a lot of effort.

Cubicllama avatar Jan 12 '20 22:01 Cubicllama

Quick link to the IE compat code for Open Computers: https://github.com/BluSunrize/ImmersiveEngineering/tree/master/src/main/java/blusunrize/immersiveengineering/common/util/compat/opencomputers

Nerdpie avatar Jan 18 '20 18:01 Nerdpie