Started by Toibithieunang on Mon, 07/18/2022 - 05:40 Topic category: Help with Minecraft modding (Java Edition) Any help would be appreciated. Sorry for bad English. Jump to top this is the simplest way to do this. if you want it to deal 3 damage, then change the number 0 to the damage you want -1. Jump to top Permalink Log in or register to post comments get the health of thw entity and if its at your threshold then don't deal damage els deal damage put all this in a wait statement Jump to top Permalink Log in or register to post comments heres some pseudo-code :- wait 200 ticks: if not {[get health of 'event/target entity '] == 1}: deal damage of type 'generic' Jump to top Permalink Log in or register to post comments note that there is a NOT there before teh condition Jump to top Permalink Log in or register to post comments And you're English ant that bad ;) Jump to top Permalink Log in or register to post comments in fact its pretty good Jump to top Permalink Log in or register to post comments I'm tried, but when a zombie hits me, The effect will wait 10 seconds and rapidly deal damage to me and I died from being killed by the effect. Here is the proceduce: Jump to top Permalink Log in or register to post comments
this is the simplest way to do this. if you want it to deal 3 damage, then change the number 0 to the damage you want -1. Jump to top Permalink Log in or register to post comments
get the health of thw entity and if its at your threshold then don't deal damage els deal damage put all this in a wait statement Jump to top Permalink Log in or register to post comments
heres some pseudo-code :- wait 200 ticks: if not {[get health of 'event/target entity '] == 1}: deal damage of type 'generic' Jump to top Permalink Log in or register to post comments
note that there is a NOT there before teh condition Jump to top Permalink Log in or register to post comments
I'm tried, but when a zombie hits me, The effect will wait 10 seconds and rapidly deal damage to me and I died from being killed by the effect. Here is the proceduce: Jump to top Permalink Log in or register to post comments
this is the simplest way to do this. if you want it to deal 3 damage, then change the number 0 to the damage you want -1.
get the health of thw entity and if its at your threshold then don't deal damage els deal damage put all this in a wait statement
heres some pseudo-code :-
wait 200 ticks:
if not {[get health of 'event/target entity '] == 1}:
deal damage of type 'generic'
note that there is a NOT there before teh condition
And you're English ant that bad ;)
in fact its pretty good
I'm tried, but when a zombie hits me, The effect will wait 10 seconds and rapidly deal damage to me and I died from being killed by the effect.
Here is the proceduce: