For my mod I want a player receive drowning damage for 10sec, every second 1 heart of damage.
The damage part is no problem using
player.attackEntityFrom(DamageSource.drown, 2);
but how can I make this repeat every second for 10 seconds?
8 replies
Important Information
By using this site, you agree to our Terms of Use.