Page 1 of 1

Can i use mesh drawtype inside these standard tables...

Posted: Mon Feb 04, 2019 19:17
by Andrey01
This is about 'bed_definition' table. There`s only sample of 'nodebox' using in game_api.txt. Can i use 'mesh' drawtype instead?

Also, can i use that in 'door_definition' ?

Re: Can i use mesh drawtype inside these standard tables...

Posted: Tue Feb 05, 2019 05:13
by sofar
beds: https://github.com/minetest/minetest_ga ... pi.lua#L25

no. You can not change it to another drawtype.

doors: https://github.com/minetest/minetest_ga ... t.lua#L430

No. It is already a mesh node.

Re: Can i use mesh drawtype inside these standard tables...

Posted: Tue Feb 05, 2019 14:31
by Andrey01
Yeah, but then i need to write own Beds API to allow a player to sleep and due to the beds def table doesn`t accept other drawtypes.