SirEdvin / UnlimitedPeripheralWorks

Extreme compact CC:R and CC:T mod that tries to make everything, that even possible a peripheral
MIT License
9 stars 3 forks source link

Create integration overwrites native ComputerCraft APIs of Create Crafts & Additions #52

Open Syncinus opened 14 hours ago

Syncinus commented 14 hours ago

Create Crafts & Additions (https://github.com/mrh0/createaddition/tree/main) provides native ComputerCraft support for a couple of the blocks it adds (https://github.com/mrh0/createaddition/blob/main/COMPUTERCRAFT.md). The issue is that when you also have UnlimitedPeripheralWorks installed it overwrites the CC&A native APIs resulting in the electric motor no longer having a "setSpeed" function for example and instead having "getConfiguration", "getScrollValue", "setScrollValue", etc. This seems to persist even when disabling the Create integration in config.

Syncinus commented 14 hours ago

For reference I'm on Fabric 1.20.1 using CC&A 1,2,4, UPW 1.4.4, and CC:T 1.113.1.

SirEdvin commented 8 hours ago

It is very strange if it persist even after disabling in configuration. But for reference, setScrollValue should behave close to setSpeed

SirEdvin commented 8 hours ago

Also, using peripheralworks:ignore is not a hacky fix, it is specifically designed to handle such cases, when you need to disable UPW for certail blocks.