How do I change entity texture and make rideable via procedures.

Started by BlobStep on

Topic category: Help with modding (Java Edition)

Last seen on 19:20, 20. Oct 2023
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I change entity texture and make rideable via procedures.

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.

Last seen on 20:10, 21. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
...Yes, but only using weird…
Fri, 10/20/2023 - 19:29

...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.