Advertisement
riking

Untitled

Dec 23rd, 2011
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
  2.     {
  3.         if (!entity.isSneaking())
  4.         {
  5.             entity.attackEntityFrom(DamageSource.explosion, 1);
  6.         }
  7.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement