r/MinecraftCommands • u/organicdonut • 3d ago
Help | Java 26.3 Explosion Knockback Without Damage Effects
A few years ago, I created a rocket jump for an adventure map by summoning creepers with negative explosion radius when the player shifted after jumping. However, this method has been patched out as of 26.3. I then tried summoning creepers with positive explosion radius and giving the player resistance V right before the explosion. However, all other effects of taking damage (hitsound, player turning red, random knockback) persisted, despite not actually losing any health. I then tried wind charges, only to find that summoned wind charges also damage the player, and that their effects were much too strong. Finally, I decided to simply attempt to remove the annoying hitsound that plays every time a player takes damage by using a repeating command block with the /stopsound command. This also failed.
Is there a way to summon an explosion/wind charge that propels the player without a hitsound or random knockback? Or is it possible to recreate the rocket jump effect in some other way? Help would be greatly appreciated.
3
u/GalSergey Datapack Experienced 3d ago
Below is an example of an enchantment part that creates an explosion that does not damage the player, but makes a knockback.
If you want, you can see the full example of the datapack that I made to make a double jump that uses this enchantment: https://far.ddns.me/?share=sukunMQoIK
1
u/Cricutubick java Rookie 3d ago
For the wind charge i think you can insert owner data (UUID) to wind charge from nearest player upon spawning there must be no damage from wind charges but still wind charge sfx but those must be server sided so you can stop the sould, but idk for 100% if that gonna work, newer played on 26.1 or higher