Help with stacking items like a cauldron

Started by Vhit on

Topic category: Help with modding (Java Edition)

Last seen on 03:56, 29. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with stacking items like a cauldron
Wed, 08/14/2024 - 20:23 (edited)

I'm making a new block that I want you to be able to extract a bottled liquid from, but currently what happens is it always gives you only 1, even if you're holding an entire stack of glass bottles in your hand. I want it to act like a cauldron where you have to go one at a time and they fill up your inventory, not replace the item in your main hand. 

what I assume should happen is: when I click on the block with a bottle, it will keep the block as-is but fill one bottle from the stack. (currently it takes however many are in the stack and returns to you one) or when right-clicking with a bucket, turning it into normal soulsand and giving you a bucket of the liquid, which it does do, so I'm confused?

Edited by Vhit on Wed, 08/14/2024 - 20:23