opekope2 / OptiGUI

Blazing fast custom GUI textures on Fabric and Quilt with built-in OptiFine custom GUI resource pack support
https://opekope2.dev/OptiGUI/
MIT License
22 stars 4 forks source link

Properties rework #32

Closed opekope2 closed 1 year ago

opekope2 commented 1 year ago

OptiGUI is getting its own properties files, independent of the OptiFine ones.

This will allow resource pack creators to add more advanced features than OptiFine supports, which would be impossible to cram into the OptiFine properties, while making the resource pack compatible with OptiFine.

This, however, brings a breaking change: support for every OptiGUI extension feature (added in v1.1.0 or the 2.0.0 betas) will be removed from the OptiFine format, and instead, these will be available throught the new OptiGUI format.

The new format will be similar to the OptiFine format, and just as simple. A sneak peek of what's planned (as it's not yet finalized):

container=chest
_barrel=true
texture=<replacement.png>

becomes

[barrel]
texture=<replacement.png>

(While also fixing some annoying things with OptiFine's format)

OptiGUI will continue to support the OptiFine format.

opekope2 commented 1 year ago

At this point, if a resource pack only contains texture.<path>, but no texture, it will log a warning. I plan to make it toggle-able in the future, and I also plan to make a toggle-able GUI to show the warnings (in a future release)