Can someone tell me how to make it where if you place a block, and there's something next to it, it makes it change both blocks. Without having to tap the blocks.
this one would help if you want to change the blocks regrardless of what they are.
//in the setTile area there is the word CHANGE just set that to what you want the ids for the blocks changed to be
// the top one is right and second one is left
function useItem(x,y,z,i,b,s)
{
if(I!=0&&b!0)
{
setTile(x+1,y+1,z,CHANGE,0);
setTile(x-1,y,z,CHANGE,0);
}
}
I hoped that helped!
Rollback Post to RevisionRollBack
knowing how to CODE is the closest thing to having a superpower.
The Meaning of Life, the Universe, and Everything.
Location:
Auckland
Join Date:
9/20/2014
Posts:
126
Minecraft:
softmage114486
Xbox:
softmage114486
Member Details
The only thing is that if you have x+1 or x-1 it will only change those two block and if you wanted ones to change from like east to west youd need to put z+1 and z-1
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...
{
var a = Level.getTile(x, y, z);
if(itemId==a&&blockId!=0)
{
setTile(x+1, y, z, a, 0)
}
}
This might help?
I hoped that helped!