Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

24M Downloads

[Bug] Cauldron uses last-inserted fluid for first-to-pull fluid

tengdann opened this issue ยท 3 comments

commented

Observed behaviour

When piping in water using automation mods (like Create), water becomes the only available fluid to withdraw, until the pumping stops. This renders scroll-washing/potion making automation severely inefficient.

This also renders semi-automatic refilling of the cauldron useless.

Expected behaviour

Water should be the last fluid that you can extract from the cauldron (only when no other bottleable fluid is present should you be able to extract water).

Steps to reproduce

  1. Place down a cauldron.
  2. Use a simple Create mechanical pump and fluid pipe setup to pump water in infinitely.
  3. Throw in scrolls and wait for them to turn into ink.
  4. Try and bottle the ink manually with empty bottles.

Server Type

Single Player

Crashlog

No response

Iron's Spells N Spellbooks version

1.21.1-3.14.2

Forge version

Neoforge 1.21.1 - 21.1.196

Other mods

create-1.21.1-6.0.6

Crashlog Check

  • I understand if this is a crashbug and I did not attach a crashlog, this will not be handled

Fabric Check

  • I understand if I am using Farbic APIs or Connector, this will not be handled
commented

the cauldron uses a stack-like approach when filling and emptying, meaning the last fluid input (the fluid on top) is the one that is extracted. ignoring water would make manually interacting with the cauldron less intuitive, and wouldn't inherently fix automation as there are plenty of recipes whose base fluid is not water.

a better solution would be to use filtered fluid pipes. in create's case, i can make a compatibility patch that allows this since they have a limited fluid filtering system

commented

Makes sense. That was the next thing I tried; glad to see that it'll be possible eventually!

commented

added in 3.14.6