I'd like to use the ModPE setTile function to generate blocks that require an additional decimal value, such as mossy stone brick. Is this currently possible? If not, is it on the roadmap?
I'd like to use the ModPE setTile function to generate blocks that require an additional decimal value, such as mossy stone. Is this currently possible? If not, is it on the roadmap?
48 is the ID for mossy cobblestone and not mossy stone brick. Perhaps I should have said mossy stone brick? Mossy stone brick is actually 981 so It has an additional decimal number, both 98 ( for cut stone ) and the 1 decimal to note it's the mossy style. Many blocks require a second decimal to define them and I'd like to know if there is a way to do this in ModPE.
48 is the ID for mossy cobblestone and not mossy stone brick. Perhaps I should have said mossy stone brick? Mossy stone brick is actually 981 so It has an additional decimal number, both 98 ( for cut stone ) and the 1 decimal to note it's the mossy style. Many blocks require a second decimal to define them and I'd like to know if there is a way to do this in ModPE.
You disnt listen to him.
He said MOSSY STONE BRICK SETTILE.
Btw, here is the correct code:
setTile (x, y, z, 98, 1);
or
addItemInventory (98, 1, 1)
Android only however.
So simple, worked as advertised. I didn't try it since I didn't see it in the documentation, but I guess I picked just the right time to start messing with ModPE in Blocklauncher. It's to bad for iPad folks it doesn't work for them at this time, but I'm developing on Android anyways.
Thanks,
Russ
48 is the ID for mossy cobblestone and not mossy stone brick. Perhaps I should have said mossy stone brick? Mossy stone brick is actually 981 so It has an additional decimal number, both 98 ( for cut stone ) and the 1 decimal to note it's the mossy style. Many blocks require a second decimal to define them and I'd like to know if there is a way to do this in ModPE.
Thanks,
Russ
So simple, worked as advertised. I didn't try it since I didn't see it in the documentation, but I guess I picked just the right time to start messing with ModPE in Blocklauncher. It's to bad for iPad folks it doesn't work for them at this time, but I'm developing on Android anyways.
Thanks Donald!
Russ
The function is partly BlockLauncher only. That code will not work on iOS if you are using damage.