I am in ios and i changed it a little. I made it to use diamond sword on glowstone it will make the bookshelf dissapear, but when i click on wooden plank to come back up only 1 bookshelf comes up not the second one please help
//Hidden Door by pbog1
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==276&&blockId==89)
{
setTile(x,y-1,z,0);
setTile(x,y-2,z,0);
Could you perhaps make a hidden windows modscript? It would be like the same method except tapping the block would destroy block/blocks underneath and place glass, then of course it would close it back up. I've attempted making it but it has just been fails.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Video Script
Video Script
Video Script
Video Script
//Hidden Door by pbog1function useItem(x,y,z,itemId,blockId,side){ if(itemId==345&&blockId==1) { setTile(x,y-1,z,0); setTile(x,y-2,z,0); } else if(blockId==17) { setTile(x,y+1,z,47) setTile(x,y+2,z,47) } }I am secretly a modder, who works only for himself, seldom publishes.
Ps: how to create a spoiler on the forum
but replace { and } with [ and ]
//Hidden Door by pbog1
function useItem(x,y,z,itemId,blockId,side)
{
if(itemId==276&&blockId==89)
{
setTile(x,y-1,z,0);
setTile(x,y-2,z,0);
}
else if(blockId==5)
{
setTile(x,y+1,z,47)
setTile(x,y+2,z,47)
}
}