-
-
Notifications
You must be signed in to change notification settings - Fork 62
Blossoming Pots Optimizations, Compatibility & Tests #1160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
runcows
commented
Sep 14, 2025
- Adds smithed.block checks
- Adds smithed.strict to all blossoming pots entities
- Changes second stage of mangrove propagule in decorated pot. The difference can only be seen with Vanilla Tweaks' visual sapling growth resource pack. All of the other saplings already support it, I had just missed this one previously
- Removes flower pot perma marker. Item data is now stored on the block display itself as custom data
- A lot of misc changes I made when looking through my old code
- Vanilla tweaks does have a second stage, I just missed it - Personally I don't think this warrants an upgrade path to upgrade old display entities, but i might change my mind later
- I have no idea why the tests aren't working. They worked on my machine :(
- fairly positive it was guidebook being given to dummys after a tick, considering the tests show a written book in the mainhand. - So now I will clear written book
…into blossoming-pots-revisited
TheThanathor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in game and everything worked as expected.
Didn't check the update paths though, so if someone has some time to run through them that would be nice
Bloo-dev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FInally submitting this review I had lingering. I found nothing major, but can attest that the code looks good!
|
|
||
| # kill flower pot displays, perma marker, and temp marker | ||
| # kill flower pot displays, and temp marker | ||
| kill @e[type=minecraft:block_display,tag=gm4_blossoming_pots.display.flower_pot,distance=..0.1] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this intentionally not have a limit=1?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, many of the flower pot displays use 2 display entities. With the storage being set up to be flexible, there is intentionally no limit so that a developer could in theory put as many displays as they want. In practice, I don't know if we'll ever use more than 3 though