Advertisement
Guest User

Untitled

a guest
Jul 29th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public boolean onBlockPlacedBy(World world, int i, int j, int k, int l, EntityLiving entityliving)
  2. {
  3. l = world.getBlockId(i, j - 1, k);
  4. if(l==0)
  5. {
  6. world.setBlockWithNotify( i, j, k, 0);
  7. }
  8. if(l==102)
  9. {
  10. world.setBlockWithNotify( i, j, k, 0);
  11.  
  12. }
  13.  
  14. return true;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement