cc-tweaked / CC-Tweaked

Just another ComputerCraft fork
https://tweaked.cc
882 stars 206 forks source link

Fluid generic api is not available on Fabric #1822

Open PalTheTaur opened 1 month ago

PalTheTaur commented 1 month ago

Minecraft Version

1.20.1

Version

1.110.3

Details

Testing with create, CC:Tweaked, and fabric api, no other mods.

latest.log

just placing a tank, filling with water, and calling the peripherals program shows none, and then doing further testing with stuff like peripheral.call and peripheral.wrap also return nil.

SquidDev commented 1 month ago

Thanks for the report!

Yeah, unfortunately neither the fluid or energy storage APIs are available on Fabric right now. The current interface was very much designed around Forge's interface(s) and makes it tricky to adapt to Fabric.

It's something I want to improve, but not quite sure the best way to do it yet.

SirEdvin commented 1 month ago

Do you mean the problem with units?

@PalTheTaur you can use UnlimitedPeripheralWorks to get a fluid and energy peripherals for Fabric :)