Started by
notduc
on
Topic category: Help with Minecraft modding (Java Edition)
- Do damage types matter other than the death message?
- Is there a way to deal damage ignoring i-frames (when they turn red) but still have effects? (like knockback)
Questions regarding custom damage types:
- Is there a way to make it display missing hearts? (like how when a player attacks)
- can you make it ignore iframes?
entityiterator.invulnerableTime = 0;
Is there a way to do that without custom code? And can you make custom damage types ignore iframes?
Technically you can avoid using custom code, but it's much simpler to just use a custom code snippet as such: https://imgur.com/JQgJpZ9
It should be possible to make custom damage types ignore iframes. If you detect when an entity takes damage from your custom damage source, you can set their iframe duration to 0.
How long does it last? The IFrame remover