A few things:
- @rudzik8, the function as you have written there doesn't actually modify the tables.
v = material
updates the local variablev
not the table contents. For that, you need…
It looks like for the translation "Schmiedevorlage 'Küste'" the code currently can't handle "Küste", as "coast" isn't a translated string, I'm not sure if you can nest translated string inside…
This should be inv:set_stack()
to make the right half of double chests work correctly. For the left half of chests top_inv == inv
.
For the latest commit, try this:
- Make double chest
- Create a stack of 1 item that can have a max stack size of 64 (i.e. sand)
- Open right-hand side of double chest
- Shift-click 1…
One thing that makes slimes spawn a lot less in MC is that they need 2x2 blocks afaik to spawn and then decide if large, med or small slime spawn. Maybe that would help? Is there a airblock…
I suspect that an entity will be needed to pass to punch() to make the message work as desired. If minetest engine supported passing a fake player to this API call, that would probably be the way…
The use of :get_list() without a corresponding :set_list() is supicious. I believe that :get_list() returns a list of ItemStack objects that need to be passed back to :set_list() to take effect. Not sure how this code worked before.
You don't need to put these in local variables to return. You can put the return inside the if statement block.
A couple of things. I'll do a proper test and review later when I have time.
This looks like #2456 - drowning occurs if the top part of the player and/or mob is in water, even if the head is not underwater. Hopefully PR #4412 will fix this problem.
That PR probably…
Looking the code over I found a few things that could be improved, a grammatical mistake in the documentation and a nitpick.