with this it would be possible:
1: create chests and other animated nodes (with entities) since we do not have animations for nodes
2: create items with custom 3d models
i know that there are not so direct means of doing these things (they are inefficient on a large scale)
my proposal for this would be(for every stack with the registered name):
Code: Select all
minetest.register_istack_pockerface_render("mymod:mynode",{
mesh = "mymesh.obj",--or .b3d
texture = "mytex.png",
})
Code: Select all
local stack = ItemStack("mymod:mynode 99")
stack.set_pokerface_render({
mesh = "mymesh.obj",--or .b3d
texture = "mytex.png",
})
Code: Select all
animation = {
speed: 20,
snippet: { x=0, y = 12 },
},
https://youtu.be/2zsKpt004oE