Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity)
- {
- if (entity.isSneaking())
- {
- return false;
- }
- else
- {
- entity.attackEntityFrom(DamageSource.explosion, 1);
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement