If you make the texture array a multiple of six it'll define it for multiple damage value, so if you set [["stone",0],["stone",0],["stone",0],["stone",0],["stone",0],["stone",0],["grass",0],["grass",0],["grass",0],["grass",0],["grass",0],["grass",0]] as the texture of the block setTile(blockId,0) will have a stone texture and setTile(blockId,1) will have a grass texture
I didn't know this was possible either before but I just thought to myself it might work, turns out it does
So in this way you can pretty much add an infinite amount of blocks to the game!
Thought I'd share this for any other modders who's find this useful. This way you also just have to create one block for blocks like furnaces that have a orientation depending texture, and it doesn't take up a ton of block ids
Rollback Post to RevisionRollBack
Check out all my other Minecraft PE scripts and the permissions on my site: wilco375.github.io
If you make the texture array a multiple of six it'll define it for multiple damage value, so if you set [["stone",0],["stone",0],["stone",0],["stone",0],["stone",0],["stone",0],["grass",0],["grass",0],["grass",0],["grass",0],["grass",0],["grass",0]] as the texture of the block setTile(blockId,0) will have a stone texture and setTile(blockId,1) will have a grass texture
I didn't know this was possible either before but I just thought to myself it might work, turns out it does
So in this way you can pretty much add an infinite amount of blocks to the game!
Thought I'd share this for any other modders who's find this useful. This way you also just have to create one block for blocks like furnaces that have a orientation depending texture, and it doesn't take up a ton of block ids
If you make the texture array a multiple of six it'll define it for multiple damage value, so if you set [["stone",0],["stone",0],["stone",0],["stone",0],["stone",0],["stone",0],["grass",0],["grass",0],["grass",0],["grass",0],["grass",0],["grass",0]] as the texture of the block setTile(blockId,0) will have a stone texture and setTile(blockId,1) will have a grass texture
I didn't know this was possible either before but I just thought to myself it might work, turns out it does
So in this way you can pretty much add an infinite amount of blocks to the game!
Thought I'd share this for any other modders who's find this useful. This way you also just have to create one block for blocks like furnaces that have a orientation depending texture, and it doesn't take up a ton of block ids
Check out all my other Minecraft PE scripts and the permissions on my site: wilco375.github.io
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumYup, but I already knew that because of Zhuowei's Custom blocks tutorial thread. >> http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/mcpe-mod-tool-discussion/1987726-custom-blocks-tutorial
Well, didn't know that was in that thread. Pretty dure I read that a while back, may just nog have read it carefully enough then
Check out all my other Minecraft PE scripts and the permissions on my site: wilco375.github.io