MehVahdJukaar / polytone

Other
46 stars 5 forks source link

[CIM Suggestion?] #87

Open SebSemos opened 2 months ago

SebSemos commented 2 months ago

Just playing around to update some of my packs with cit to 1.21. I had some item beiing displayed if held by an entity with a custom name. I don't think this is acutally possible? If yes, sorry to be a dummy :p

If no, could it be in the future? For reference, I was using chime and it translated into something like this

            "predicate": {
                "entity":{"nbt": {"CustomName": "{\"text\":\"Derp\"}"}}
                    }

I'd also suggest something similar but based of random textures entities, if using random textures With Entity texture/model feature, there has been introduced a .propertie rule beiing textureSuffix and modelSuffix. So idk, maybe there is a way to get custom item from the actual texture of the entity holding it? For my own pack I would love that the item match the texture without any other input. This would be perfect (I think :p ) But I guess this could be useful to other packs too. 🤷‍♂️

MehVahdJukaar commented 2 months ago

for random texture theres EMF so no point in adding that feature. For the rest you can use "entity_tag" field

SebSemos commented 2 months ago

But EMF doesnt change the items.

As for the entity_tag... I have yet to be succesful, but that on my end. Missed that on the wiki yesterday 🙈