Can someone see what is wrong with this code. Its supposed to make it so I can silk touch diamond ore with a diamond pickaxe. Plz this is my first mod I need help
function destroyBlock(x, y, z, I, {if(I==278&&b==56) {
preventDefault() ;
destroyBlock(x, y, z) ;
Level.dropItem(x, y, z, 0.5, 56, 1);
}
}
function destroyBlock(x, y, z, I,
preventDefault() ;
destroyBlock(x, y, z) ;
Level.dropItem(x, y, z, 0.5, 56, 1);
}
}
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumfunction destroyBlock(x,y,z,side){ if(Player.getCarriedItem()==278){ if(getTile(x,y,z)==56){ Level.dropItem(x,y,z,1,56,1,0); preventDefault(); } } }Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!
NOT true.
Follow @Darth377Apps
Please check out my Twitter account!

I have been working on a few games!
Give me ALL THE INTERNETS!