11 downloads


Description:
A melee weapon that applies Knockback 10, spawns a visual-only explosion on hit, then for 2 seconds launches the target through blocks, destroying all non‐unbreakable blocks and killing nearby mobs in a 4-block radius along its trajectory.
Manage versions and create new iterations of this mod.
This will create a new mod based on "Annihilation Baton" with your modifications. The original mod will remain unchanged and you'll be credited as the author of the remix.
This will create a new version of "Annihilation Baton" for Minecraft Java 1.20.1. The original mod will remain unchanged.
11
Nov 30, 2025, 03:06 PM
User request: Create a custom weapon named “Annihilation Baton.” When the player hits any mob with this baton, apply Knockback 10 and immediately trigger the following server-side logic: spawn a visual-only explosion at the mob’s position (full explosion particle + explosion sound, but zero damage to blocks/entities). Then, for the next 2 seconds (40 ticks), continuously simulate the mob being launched through the environment: every tick, break all blocks within a 4-block radius sphere centered on the mob’s current position (not the original position). Breaking blocks means instantly setting all non-unbreakable blocks inside that radius to air. During these same 40 ticks, instantly kill all mobs (excluding players and the attacker) that enter the 4-block radius. This effect must smoothly follow the mob in real time so that if the mob is flying backward from knockback, blocks visually disappear in a tunnel behind it. If the mob dies immediately on the hit, use its last velocity vector and continue updating the “tunneling” epicenter by simulating its expected movement for 40 ticks. The explosion effect must always trigger even if the target is killed instantly. Ensure performance-safe ticking (40 scheduled callbacks) and prevent duplicate triggers if the attacker hits multiple mobs. All logic must process modded blocks and modded mobs as well. Edit v2: -make a new texture for the baton -make the baton do half a heart of damage -reduce knockback to 6 Edit v3: -ensure the mob does not die -ensure you can see the mob moving and breaking the blocks as it moves Edit v4: -make it now knockback 10 Edit v5: -increase knockback to 15 -reduce time from 2 seconds to 1 second Edit v6: -once hit, make sure the mob flies diagonally upwards, rather than just sideways Edit v7: Shift-rightclick now enables combo mode: - when the mob reaches the peak of its height after being hit, it teleports the player next to the mob, allowing the player to hit the mob again while mid air Edit v8: for combo mode: -teleport the player next to the mob that was hit exactly one second after the original hit -ensure the player is facing the mob Edit v9: in combo mode: -after teleporting the player to the mob, automatically hit the mob, making the combo automatic Edit v10: add an extra 10-tick delay before teleporting the player to the mob
0
Nov 30, 2025, 02:13 PM
User request: Create a custom weapon named “Annihilation Baton.” When the player hits any mob with this baton, apply Knockback 10 and immediately trigger the following server-side logic: spawn a visual-only explosion at the mob’s position (full explosion particle + explosion sound, but zero damage to blocks/entities). Then, for the next 2 seconds (40 ticks), continuously simulate the mob being launched through the environment: every tick, break all blocks within a 4-block radius sphere centered on the mob’s current position (not the original position). Breaking blocks means instantly setting all non-unbreakable blocks inside that radius to air. During these same 40 ticks, instantly kill all mobs (excluding players and the attacker) that enter the 4-block radius. This effect must smoothly follow the mob in real time so that if the mob is flying backward from knockback, blocks visually disappear in a tunnel behind it. If the mob dies immediately on the hit, use its last velocity vector and continue updating the “tunneling” epicenter by simulating its expected movement for 40 ticks. The explosion effect must always trigger even if the target is killed instantly. Ensure performance-safe ticking (40 scheduled callbacks) and prevent duplicate triggers if the attacker hits multiple mobs. All logic must process modded blocks and modded mobs as well. Edit v2: -make a new texture for the baton -make the baton do half a heart of damage -reduce knockback to 6 Edit v3: -ensure the mob does not die -ensure you can see the mob moving and breaking the blocks as it moves Edit v4: -make it now knockback 10 Edit v5: -increase knockback to 15 -reduce time from 2 seconds to 1 second Edit v6: -once hit, make sure the mob flies diagonally upwards, rather than just sideways Edit v7: Shift-rightclick now enables combo mode: - when the mob reaches the peak of its height after being hit, it teleports the player next to the mob, allowing the player to hit the mob again while mid air Edit v8: for combo mode: -teleport the player next to the mob that was hit exactly one second after the original hit -ensure the player is facing the mob Edit v9: in combo mode: -after teleporting the player to the mob, automatically hit the mob, making the combo automatic
0
Nov 30, 2025, 02:04 PM
User request: Create a custom weapon named “Annihilation Baton.” When the player hits any mob with this baton, apply Knockback 10 and immediately trigger the following server-side logic: spawn a visual-only explosion at the mob’s position (full explosion particle + explosion sound, but zero damage to blocks/entities). Then, for the next 2 seconds (40 ticks), continuously simulate the mob being launched through the environment: every tick, break all blocks within a 4-block radius sphere centered on the mob’s current position (not the original position). Breaking blocks means instantly setting all non-unbreakable blocks inside that radius to air. During these same 40 ticks, instantly kill all mobs (excluding players and the attacker) that enter the 4-block radius. This effect must smoothly follow the mob in real time so that if the mob is flying backward from knockback, blocks visually disappear in a tunnel behind it. If the mob dies immediately on the hit, use its last velocity vector and continue updating the “tunneling” epicenter by simulating its expected movement for 40 ticks. The explosion effect must always trigger even if the target is killed instantly. Ensure performance-safe ticking (40 scheduled callbacks) and prevent duplicate triggers if the attacker hits multiple mobs. All logic must process modded blocks and modded mobs as well. Edit v2: -make a new texture for the baton -make the baton do half a heart of damage -reduce knockback to 6 Edit v3: -ensure the mob does not die -ensure you can see the mob moving and breaking the blocks as it moves Edit v4: -make it now knockback 10 Edit v5: -increase knockback to 15 -reduce time from 2 seconds to 1 second Edit v6: -once hit, make sure the mob flies diagonally upwards, rather than just sideways Edit v7: Shift-rightclick now enables combo mode: - when the mob reaches the peak of its height after being hit, it teleports the player next to the mob, allowing the player to hit the mob again while mid air Edit v8: for combo mode: -teleport the player next to the mob that was hit exactly one second after the original hit -ensure the player is facing the mob
Click here for installation instructions
This mod is licensed under the CreativeMode Mods License.