Skip to content

Crafting Bowl: Simplify implemenation#49

Open
khoidauminh wants to merge 2 commits intoLet-s-Do-Collection:1.21.1from
khoidauminh:1.21.1-bowl-simplify
Open

Crafting Bowl: Simplify implemenation#49
khoidauminh wants to merge 2 commits intoLet-s-Do-Collection:1.21.1from
khoidauminh:1.21.1-bowl-simplify

Conversation

@khoidauminh
Copy link
Contributor

@khoidauminh khoidauminh commented Feb 26, 2026

I saw that it was checking the ingredients against recipes for presumably every tick when stirring, so I've changed the code so that it only matches once when stirred is exactly STIRS_NEEDED. stirred will go above STIRS_NEEDED by 1 value if a recipe match is found, so now only values greater than STIRS_NEEDED will change the bowl sprite to full.

Some more small changes:

  • Any interaction on a finished bowl will always pop out its items. This is so that you dont accidentally add an item into a finished bowl.
  • Adding items to the bowl resets its STIRRED property. This completes the recipe fix above.
  • Remainder items stay in the bowl and is popped out with the result item.
  • You can stirr a full bowl even with an item on the hand, for personal convenience :]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant