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
liquidlogged nodes #14480
Comments
IMHO implementing a proper generic multipart-like API will be more useful (and could also be used for fluidlogging) |
Sorry for the late reply. I think "waterlogged" / more generally "liquidlogged" nodes are a sensible feature request. I have some rough ideas for how this could look but these still need to be fleshed out.
Yes, that's true. It's also not really feasible to go over / extend this limit due to our selection box & collision box logic. Nodes getting too large breaks too many invariants too strongly. There are also other things players may want underwater: Underwater torches, mesh nodes - not just plants. So yes, we need something better than plantlike_rooted for better "waterlogging".
Yes, it makes sense to have nodes that are both a "liquid" (flowing or source) node and some other drawtype. For all liquid logic purposes, these nodes could be treated as if they were the appropriate liquid, though we need to be careful when updating nodes. For drawing, we would have to draw both the node and the water. This means that param2 won't be usable for flowingliquid + something else nodes. API-wise, there could be a new node definition field, something like |
@appgurueu I don't know if it will be necessary to use it with a floating liquid ( |
Problem
it is not possible to create a 1:1 equivalent for liquidlogged MC nodes at this time:
This block can looks like MC with some tricks, but other things is not available:
Plantlike_rooted height only works at small range (API says param2/16 so 16m). MC kelp have 26m as default limit, but you just get unlimited height if you know how to use it (this is not an MC bug). So this means in MC kelp can be around 380m high - param2 only offers 256 possible values :(
Solutions
In my opinion, the easiest way will be to change the liquid rules and use liquid nodes (combined function - as liquid source and plant etc.) instead plantlike_rooted.
key (info about possible sources),
value (function to determine when place this node).
Alternatives
Use Minecraft instead Minetest 👎
Additional context
No response
The text was updated successfully, but these errors were encountered: