#Change a mobs texture when it has a certain name
5 messages · Page 1 of 1 (latest)
you can look at how a rabbit named Toast does it, check RabbitEntityRenderer and RabbitEntityRenderState (yarn)
ive done that, but im not sure how i would do a mixin for it or what i would do with it
use fabric api's FabricRenderState implementation to setData a boolean or whatever on the renderstate based on the name (see createRenderState), then getDataOrDefault that boolean in the getTexture method
Resource packs