More Immersive Wires

More Immersive Wires

2M Downloads

Compatibility with AppliedE

border999 opened this issue ยท 2 comments

commented
commented

I'll replace that with a capability lookup, but I also have a custom modem:
https://github.com/tom5454/More-Immersive-Wires/blob/1.20/src/main/java/com/tom/morewires/compat/cc/CCModemConnectorBlockEntity.java
I don't see any API that would let me create a custom wired modem.

commented

If possible @tom5454, it's better to avoid depending on CC's internals here. For instance, the usage of ComponentAccess/PlatformHelper.createWiredElementAccess can just be replaced by a normal capability lookup. CC's README has some info on how to just depend on the API so you don't accidentally pull in internal code.