Blast Resistance for entities

Started by BlueRedCommand on Tue, 04/21/2020 - 20:30

Topic category: Help with modding (Java Edition)

Last seen on 20:31, 19. May 2020
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Blast Resistance for entities
Tue, 04/21/2020 - 20:30

While I tried to add an explosion item' he did lots damage to the player (you know, explosion level 100 can kill the player very easily), and I'd an idea to protect him with resistance effect that will not resist him from other damage's types.

When I tried to find something like that in the 'Procedure' element I didn't find something that can help me to protect him even with something that isn't effect, (I know there isn't effect that do this in the game itself, but maybe something close to that will be in those input-blocks in the procedure).

Thanks  for the help.

Last seen on 01:27, 5. Sep 2020
Joined Apr 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think the resistance idea…
Tue, 04/21/2020 - 21:59

I think the resistance idea will still work with a little tweaking. You could try adding the resistance effect for a very short time like say 1 tick. During that 1 tick of resistance, the explosion occurs. Because the effect would only be there for such a short time, the resistance effect would ONLY protect the player from the explosion. That's what I'm thinking would work.