sp614x / optifine

1.81k stars 418 forks source link

[suggestion] CIT layers #949

Open geenium opened 7 years ago

geenium commented 7 years ago

I have a feeling this might be way too complicated to implement.

Ability to specify a layer to add/replace texture on for item in cit property file.

ie layer=<0-4 | all> default - all

Specifying a layer would add the texture to that layer for the item, or if there is a texture on that layer replace it, setting layer to 'all' would only use the texture specified and remove other texures on all layers if there is any.

sp614x commented 7 years ago

Items models don't have layers: https://minecraft.gamepedia.com/Model#Item_models How should the layers be implemented?

geenium commented 7 years ago

I'm referring to the layer textures that item/generated can use. Generated items have 5 layers, layer0 - layer4 they are specified in the textures compound for items.

sp614x commented 7 years ago

The baked model used in the game does not have information about the layers. It may be possible to detect the layer textures if the model is "builtin/generated".