The orientation is stored in param2, like with drawtype="facedir". Think of it like the way default:torch has different orientations. nodebox 684 Node-based data application for visualization and generative design nodebox-editor 7 Simple 3D editor for creating Minetest nodeboxes.
#Minetest nodebox code
You may want to read other people’s code and see how they did it.īut remember, you can only use cuboids. There are also fences, tables, stairs, bee hives. Theoretically, you could put as many boxes into the fixed table as you want but please don’t overdo it, for performance reasons.įixed nodeboxes can be much more complex than stairs. If you use more than one box, you have to use this style. And it starts at Z=0, which is the “cutting it in half”.Īlso note the parameter “fixed” here is a table of box tables.
#Minetest nodebox mod
This mod uses nodeboxes to supply a complete set of 3D pipes and tubes. The second one is which is interesting here: Look how it starts at Y=0, this is needed to place it on top of the slab. 5 debian rec: minetest-mod-mesecons: Digital circuitry blocks for minetest. Note that the first box is EXACTLY the same as the slab box.