Hi there! I'm hosting a spigot 1.11 server, and I'm making a client mod which changes the model of entities with certain names.
Since it is a client-side mod, I can't bind the model on a custom Item class like most tutorials.
I've figured a way to load and bake the model, cache it, then render it in RenderLivingEvent.Pre event. Here's the result, a horse "disguised" as the model:
The only problem here is, obviously, the model won't be loaded, everything else works like a charm.
I have uploaded all relevant code and assets to a repository: https://github.com/SmilingTrickster/rendercloudmodel
Here's where the model is loaded and cached: https://github.com/SmilingTrickster/rendercloudmodel/blob/master/java/com/mcorg/maccaronne/client/resources/model/ModelResource.java#L44
Here's the rendering code entry: https://github.com/SmilingTrickster/rendercloudmodel/blob/master/java/com/mcorg/maccaronne/client/equip/MountModelRenderer.java#L60
Any help is greatly appreciated