Immunity to Suffocation

Started by Joe Wrench on

Topic category: Feature requests and ideas for MCreator

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Immunity to Suffocation

I think you should be able to make entities immune to suffocation like you can to drowning and attacks. I was trying to make a technical entity, like an area effect cloud or marker armor stand, and was able to make it immune to just about everything except suffocation in blocks. Including this as well would make it possible to make more versatile entities.

Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Put this in your mob's code …
Sun, 02/26/2023 - 07:15

Put this in your mob's code 

if (source == DamageSource.IN_WALL)
return false;
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
VuFlub where exactly i have…
Fri, 12/22/2023 - 18:32

VuFlub where exactly i have to put this code?

Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
in the hurt(DamageSource…
Sun, 07/21/2024 - 20:03

in the hurt(DamageSource source, float amount) bracket