Started by
BlobStep
on
Topic category: Help with Minecraft modding (Java Edition)
I'm using the current version (2023.3), and am currently trying to figure out how to change an entity's texture using procedures (in this case it being a texture of the mob with a saddle). I then want to make it ridable because of the saddle. Is it possible to do this when the player right clicks on them with a saddle.
...Yes, but only using weird workarounds. I usually do this by creating a separate, saddled version of the entity, with a unique texture and rideable properties. Then you can use a 'when entity right clicked' procedure to despawn the original entity and spawn in a saddled version, keeping the health, rotation, and other stuff the same. There'll usually still be a little visual hiccup, but I haven't really found a better way to do this with MCreator's built in tools.
How do you keep the health of the entity?