Started by
Wooddent
on
Topic category: Help with Minecraft modding (Java Edition)
Is it really not possible? That seems to be the common consensus, vanilla Minecraft has several examples, e.g. wolves and ghasts. I'm willing to dig deep into the code, Indiana Jones style, just help give me directions, please. I would rather not do the whole "make another mob and replace them by killing one and spawning the other" thing, because it's noticeable and clunky.
I looked around the Entity and LivingEntity class files and didn't see anything relevant.
If you are going to do the 'make another mob and replace them' thing, you can despawn a mob using a procedure; that works better.
Right but it's still then a different enemy, with different health points and different name tag name for example. Killing it would be impossible if it kept spawning a new mob every time it attacked.
Using the geckolib plugin and a geckolib mob theres a set entity texture procedure