[BUG] How it works for Barrel? And other containers.
YoungSoulluoS opened this issue · 4 comments
YoungSoulluoS commented
Is there an existing issue for this?
- I have searched the existing issues
Expected Behavior
Actual Behavior
Steps To Reproduce
Loader and its version
quilt-loader-0.19.2-1.20.1
OptiGUI version
2.1.3
Behavior difference
- Behavior is different from OptiGUI documentation
- Behavior is different from OptiFine
- Behavior is different from expected (or straight up doesn't work)
Anything else
If there is something I don't understand, please explain how.
YoungSoulluoS commented
Same question on Zombie Horse, Skeleton Horse, Chest Boat, Chest Minecart and Trader Llama.
opekope2 commented
Your are looking at the OptiFine resource loader code, which converts OptiFine properties to OptiGUI INI. OptiFine has no support for barrels, so writing container=barrel
won't work.
What you have to do is create a file in /assets/optigui/gui/
(for example, /assets/optigui/gui/barrel.ini
, and do the following, as written in the docs:
[barrel]
texture=barrel.png
Do not forget the PNG extension.
For chest boats, here's my resource pack
YoungSoulluoS commented
Ok, thank you.
Now I get it. It works.
opekope2 commented
Btw, you found a spooky scary Easter egg in the OptiFine converter code 😉