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