Author Topic: Question regarding 'over-writing' default bricks.  (Read 2373 times)

If I were to make a brick just like a default brick so i can easily change the section that this brick is in, for example put the pine tree brick in a 'Trees' section by just using it's .blb and such, would it still be loaded if I load a save that had the default pine tree, and would other people still load the default tree in place of this 'new' tree if i gave a save to someone else?
« Last Edit: December 11, 2013, 02:45:20 PM by Crispy_ »


If I were to make a brick just like a default brick so i can easily change the section that this brick is in, for example put the pine tree brick in a 'Trees' section by just using it's .blb and such, would it still be loaded if I load a save that had the default pine tree, and would other people still load the default tree in place of this 'new' tree if i gave a save to someone else?
Yes. It will load fine as long as the UI name isn't changed.

Okay so I just tried this and it seems it's not working, like the default is ovewriting mine instead. I might not have the data name thing correct, though. I named it "pinetreedefaultData". Is this correct? If not, where can I find the pine tree brick's data name?
« Last Edit: December 11, 2013, 03:13:23 PM by Crispy_ »

Okay so I just tried this and it seems it's not working, like the default is ovewriting mine instead. I might not have the data name thing correct, though. I named it "pinetreedefaultData". Is this correct? If not, where can I find the pine tree brick's data name?
To find the datablock name of a brick plant the brick and do /getID. Then in the console, put echo(theID.getDataBlock().getName()); and the console will echo the datablock name.

It worked perfectly, just like I wanted! Thanks for helping!



I tested loading ACM City and the pine trees still loaded in their spots. Yay!