MeatWheeze / NeepMeat

A Minecraft technology mod for the Fabric mod loader
GNU Lesser General Public License v3.0
13 stars 5 forks source link

Compound Injector can't be reloaded #15

Closed Derpford closed 2 months ago

Derpford commented 2 months ago

The Compound Injector says that you can "Click with an Integration Fluid Cartridge in inventory to reload". However, it doesn't do this, and having looked at the class file for it, it doesn't look like this behavior's implemented at all.

MeatWheeze commented 2 months ago

Ah, the tooltip text is too ambiguous. You have to click on the Compound Injector with an cartridge while in your inventory to reload it.

The behaviour is here: https://github.com/MeatWheeze/NeepMeat/blob/7cc902c38d14114c1097296dbc3ee541d54e85fc/src/main/java/com/neep/neepmeat/item/CompoundInjectorItem.java#L90

Derpford commented 2 months ago

That'd explain it. Clicking on the Compound Injector with an integration fluid cartridge in inventory refills it. I'm not super familiar with java or fabric and haven't touched minecraft modding in a while, so I missed onClicked while skimming the file :P

I'm not sure how to disambiguate the tooltip without making it too wordy. Maybe "With inventory open: Right-click on this item with an Integration Fluid Cartridge to reload"?