I know how i can create explotions, but how do i make them that the explotion don't destroy the world but only hurt players?
world.createExplosion (x, y, z, float power, boolean setBlocksOnFire, boolean damageWorld) You want the last boolean to be false. Probably the one before, too.