sp614x / optifine

1.8k stars 418 forks source link

[CEM] Add it so custom entity models will show up with tags #6334

Open TinyMandalorian opened 2 years ago

TinyMandalorian commented 2 years ago

Make it so that custom entity models can show up using minecrafts entity tags. ive noticed the only really good way to get cems to show up is through display names or biomes but i thought of something to make it alot better, custom entity tags.

heres a command example of a entity tag /summon zombie ~ ~ ~ {Tags:["CustomEntityModel"]}

then if you had the cem resource pack and if you added the optifine to specify tags it would show up for that mob

This would make displaying cems alot easier.

ewanhowell5195 commented 4 weeks ago

tags are server side only, so this is not possible, optifine does not have access to this data. optifine does now support nbt checks for entities, but it is only the client side nbt data. i will be closing this as it is not possible. what you can do as a workaround is put items in the armor slots of the entity and detect that through nbt checks