Started by
InfinitysDaughter
on
Topic category: Plugins and third-party tools
I have an entity that I want to be able to set a texture variant based on an item used. I have the procedure and it works perfectly, however when I reload the world the texture reverts back to the base texture for the mob. The procedure does use the GekoLib "set texture" procedure.
Here is the procedure I've used. Would anyone have an idea how to make the change permanent unless changed via another item?
Set an NBT which if present on tick update, sets the texture if it's not already.
Would that allow for the use of multiple textures? Or would that look for a texture and replace any other texture with that one?
you can only use one texture at a time, but you can change that texture depending on a condition by doing what I described.
I'm not really sure how to do that.
Would I use the set nbt tag block and if yes, would I do that for each texture change block? Then how would I test for the tag on tick?
AAAHHH!!!
I figured it out!
For anyone else trying to get this to work here are the 2 procedures I ended up with.
https://ibb.co/sgG58jw
https://ibb.co/G7d2pRf