Started by
TheCatalystGaming
on
Topic category: Help with Minecraft modding (Java Edition)
As the title says, I'm wondering if there is any way to have an explosion that is fairly powerful, but doesn't destroy blocks, only damaging and knocking back entities.
world.getWorld().createExplosion(null, (int) x, (int) y, (int) z, (float) 3, Explosion.Mode.NONE);
I think this will work but I can't check as MCreator has either removed or accidently prevented the code view from working.
just use the explode block, if you're using block coding, and set the effect to NONE.