Started by
VioletPyre
on
Topic category: Help with Minecraft modding (Java Edition)
Hello ! I am currently trying to do a "Fireball" thingy that crashes down and deals 325 damage (i know it's a lot but in my mod it isn't really) in a range of 4.
To make it the simplest at possible, when it hits the ground / entities , it rolls a procedure to deal 325 dmg and then it's done. Apparently the procedure :
[If : ][Does entity exist at x: [x] y: [y] z: [z] in square cube with side [4] of type [CUSTOM:SkeletonsMoblv1]] ##(This is an exemple, i would rather that it hits EVERY mob except players.)
do : Deal [325] damage to [Event/target entity] type : [IN_FIRE]
isn't what is the key to this functionality. Any help would be appreciated. (MCREATOR 2020.4 - FORGE 1.15.2)
You can't do all mobs in an area yet. Just add an explosion that has a power of 5.
Well yes, but actually no. I need a Set damage number and setting "Explosion power 5" will destroy my map. For now i was trying with only one mob to test it out but i can't apparently.
well then, just lock the code of the procedure and change the "Explosion.Mode.BREAK" to "Explosion.Mode.NONE", so that it'll explode but not destroy any block.
Hmm, I'll take that risky look, but do I lock the code BEFORE or AFTER ? Because wouldn't it prevent me from editing the codes if it's lock then ??
after you're sure of the procedure.
also, here's an example for that:
Cool ! Thank you ! I think i might use that as a substitute until I find my way to make it like I would want, but in some other of my mods, explosions without breaking everything would be an amazing thing !
no problem :)