Currently (Carpet Mod 1.3.22 in Minecraft 1.15.2), there appears to be no way to make it so an entity (such as a zombie) can't be interacted with or targeted directly by players, while keeping the entity visible. I would like if there was such a way.
A new function modify(e, 'interact', bool) (name subject to change) could be added. If set to false, will prevent the entity from being interacted with by players (they will simply target through as if it was a liquid block).
A use case would be to combine this with modify(e, 'no_clip', true), data merge entity [e] {Silent:1b,PersistenceRequired:1b,Invulnerable:1b}, as well as a repeating tp [e] @s to create a makeshift morph system.
Currently (Carpet Mod 1.3.22 in Minecraft 1.15.2), there appears to be no way to make it so an entity (such as a zombie) can't be interacted with or targeted directly by players, while keeping the entity visible. I would like if there was such a way.
A new function
modify(e, 'interact', bool)
(name subject to change) could be added. If set tofalse
, will prevent the entity from being interacted with by players (they will simply target through as if it was a liquid block).A use case would be to combine this with
modify(e, 'no_clip', true)
,data merge entity [e] {Silent:1b,PersistenceRequired:1b,Invulnerable:1b}
, as well as a repeatingtp [e] @s
to create a makeshift morph system.