Started by
FeriOxi
on
Topic category: Help with Minecraft modding (Java Edition)
I am creating a sword that deals a lot of damage but when I hit the mob i want to kill it spawns A LOT of hearts particle
Edited by FeriOxi on Thu, 07/18/2024 - 18:22
set the damage of the sword to a low number, then in the triggers tab add a procedure for the trigger "when living entity is hit with tool"
procedure: https://imgur.com/a/Zi6Vn44
(set the level amplifiers of the potion effects to the number you want of course)
unfortunately this wont work for me since the sword's damage changes based on the player stats
https://imgur.com/a/34S2rKk
can't the effect level just also be of strength variable and I think you can manually spawn the particles in with the particle procedure also based on your strength and other variables
You could do that based on the stats the level amplifier changes, because I don't think there Is aother way of removing particles from vanilla entities
But isn't the max level amplifier 255? (in my mod mobs can have more than 500 hp)
yes but every level deals 3 hp of damage, so it's enough, and if it isn't just give the effect two times
can't I just execute a command that removes every partical in an area?
I Guess, but then if there are other particles they Will be removed, like if you are in the nether after you attack you won't see the ambience particles for some time, but I mean, It's your mod, do what you want
Ok thanks a lot for your help
You're welcome