Topic category: Help with modding (Java Edition)
In general, I make a cart - entity.
There are cases when she can drive her body partially into other blocks. It suits me, but there is such a moment as strangulation.
I can't turn it off in any way. The maximum it is possible to cancel the event with damage by excluding damage options, but the mob still glows red, although it does not receive damage.
I need to either turn off the entity's red glow when taking choke damage, or turn off choke.
How to do it?