Example) /fishingknockback config world world_the_end - world_the_end Set the world so that the fishing rod knockback does not apply. (The entity is the same.) (The entity is the same.) Also, if the item already exists in the config, the item will be erased!
1. It sort of depends on the game engine you're using, but you can accomplish this effect by adding some relative force in the opposite direction of your character. For each weapon, you will designate some force for the variable, and when you fire, apply that amount of force to your actor. To add a little more cool effect, you can even make the
/execute as @a at @s run tp @s @e[tag=knockback,limit=1,sort=nearest,distance=..2] and remove the armor stand: /execute as @e[tag=knockback] at @s unless block ~ ~-1 ~ air run kill @s. there's your template, now try to experiment with that. sorry if some syntax is wrong because I'm writing this off the top of my head. Hjq65.