Do we need to add this to the template file also, so translators know it needs translating?
Usually you could have a lua object but no C++ object behind it. I think we need to check pos to assume it's there before considering deleting.
We did have another pr here that had lower complexity:
https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/3563/files
Not sure if it's better or worse, and there was a slight flaw with it,…
I feel we should check set pos in a variable and check it first. If the entity is yet to load, it won't have a position and cannot use that position to create it. Usually checking a pos is a good way to see if an entity is there. Same with checking velocity etc. to try and get the actual object.
I think the question is whether the node has been converted to an _orphan node. If it hasn't, it's probably on us and our logic. If it has, the ABM probably ain't doing great.
On the topic of ABM's though, if we want to improve things, we could potentially make them more frequent with less chance. So if for example, it runs on every node every 10s, making it run on…
In minetest engine, each 16x16x16 map blocks can be in one of four states:
- Loaded and ABMs running
- Loaded without running ABMs
- Emerging (Loading from disk or generating) …
This should be investigated as part of VoxeLibre/VoxeLibre#4304. This may require a feature as described in VoxeLibre/VoxeLibre#25…
I would caution against use of timers. I recently unpicked it from kelp. Basically it used 20% of the CPU because it avoided ABM's. The code was complex, messy, and worse performing than the abm's…
Deprecation to me means this is going to break in the future. We're 3 years in the future, so it's something that is worth doing for the mapgen update.
I would second closing it. It's not official for a long time. It's the pack of last resort if we cannot create our own art and that somehow the art we are missing in PP isn't derivative or a…
I think for some reason mobs spawned from eggs are tamed.
It should sink in water, but maybe a boat that could be used on lava could make sense?
That's a point, but are you going to break this to the striders? Their whole purpose in life could come…
Expected behaviour: If an anvil breaks due to falling, items in the anvil's inventory slots should drop as items. I'm not sure what the MC behaviour is but it seems harsh to delete items…