[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4866: Undefined array key "database_gc"
FOSS gamedev and creative worlds • View topic - Can I change node parameter on runtime?
Page 1 of 1

Can I change node parameter on runtime?

PostPosted: Sun May 15, 2016 15:45
by burli
I want to change the parameter of a node at runtime (not replace)

e.g. I have a wooden node, but I want to replace the texture with stone

Is that possible?

Re: Can I change node parameter on runtime?

PostPosted: Sun May 15, 2016 16:36
by kaeza
It's not possible ATM. There are (were?) some work in a so-called `meta_set_nodedef` branch (don't have a link handy) that would allow modifying node parameters per node (i.e. per block, using node metadata, not the global definition, IIRC), but it's not in a working state AFAIK.

Re: Can I change node parameter on runtime?

PostPosted: Sun May 15, 2016 16:54
by burli
Found this and I think I will find another way cause I don't like this

Storage space; Currently it stores the whole itemdef in the meta.