cx384
cx384
As appgurueu wrote, you need to do this in a Client Side Mod (CSM). `minetest.register_on_death` does only exist for Client Side Mods. Look here to learn more about client side...
Yeah, the compatibility is only for old Minetest versions which use a new MTG version. I don't know how compatibility issues are typically handled in Minetest, but the first two...
It's rebased now. Note that `builtin/game/hotbar.lua` is temporary, any will be removed when #14346 gets merged. So the hotbar is not defined in `builtin/game/statbars.lua`. (This also makes it a little...
Rebased again.
That's a weird bug. At first, I thought, that the padding is wrong or about a rounding error. I was able to reproduce it if I set the `hud_scaling` setting...
Rebased again. ♥️
Thank you for the review. > In the image below I marked the expected positions in blue. I assume this mismatch is caused by your definition of the hotbar origin...
I changed the alignment. Now it works like all other elements. Only for type `inventory` if the alignment is unspecified, it is set to `(1,1)`. This ensures that deprecated elements...
Rebased again. I hope this PR gets more reviews such that I don't have to rebase it all the time.
Rebased, now it uses the refactored builtin HUD code.