Yes.
You need to use an image editor to change the terrain files (in /assets/images...) and replace at least one existing, unused block. Make sure the image editor you use supports transparencies, and make your image transparent wherever you need.
Then use the ModPE script methods below to make define the block:
Block.defineBlock(id, name, texture, materialSourceId, opaque, renderType);
Block.setRenderLayer(id, 1);
Yes.
You need to use an image editor to change the terrain files (in /assets/images...) and replace at least one existing, unused block. Make sure the image editor you use supports transparencies, and make your image transparent wherever you need.
Then use the ModPE script methods below to make define the block:
Block.defineBlock(id, name, texture, materialSourceId, opaque, renderType);
Block.setRenderLayer(id, 1);
It kinda works, it's transparent now, but you can see trough the world trough the block. Is there any way to fix this, or did I do something wrong? Picture of the problem: http://imgur.com/RnvtL6J (I just used the glass texture for testing purposes)
It kinda works, it's transparent now, but you can see trough the world trough the block. Is there any way to fix this, or did I do something wrong? Picture of the problem: http://imgur.com/RnvtL6J (I just used the glass texture for testing purposes)
This is a bug and I suggest asking @500 Internal Server Error know about it
It kinda works, it's transparent now, but you can see trough the world trough the block. Is there any way to fix this, or did I do something wrong? Picture of the problem: http://imgur.com/RnvtL6J (I just used the glass texture for testing purposes)
you cant do translucent blocks!
also ro fix this "bug" in Block.defineBlock(id, name, array, origin, boolean,render type); set tge boolean to false, onlyt set it to true if you are making opaque blocks, also if tou have a transparent block, i suggest using, Block.setLightOpacity(id, 0);
Rollback Post to RevisionRollBack
This is my signature..
clicked block quote Hey..How do i turn it off?Help! I'm scared This is my life now...
You need to use an image editor to change the terrain files (in /assets/images...) and replace at least one existing, unused block. Make sure the image editor you use supports transparencies, and make your image transparent wherever you need.
Then use the ModPE script methods below to make define the block:
Block.defineBlock(id, name, texture, materialSourceId, opaque, renderType);
Block.setRenderLayer(id, 1);
* Render layer "1" is for transparent blocks.
This tutorial is useful for more info:
http://www.minecraftforum.net/topic/2139181-custom-blocks-tutorial/
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
It kinda works, it's transparent now, but you can see trough the world trough the block. Is there any way to fix this, or did I do something wrong? Picture of the problem: http://imgur.com/RnvtL6J (I just used the glass texture for testing purposes)
This is a bug and I suggest asking @500 Internal Server Error know about it
you cant do translucent blocks!
also ro fix this "bug" in Block.defineBlock(id, name, array, origin, boolean,render type); set tge boolean to false, onlyt set it to true if you are making opaque blocks, also if tou have a transparent block, i suggest using, Block.setLightOpacity(id, 0);
sorry for all my perfect spelly