-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
container variations GUI from other mods #68
Comments
Press F3+H to show advanced item tooltips. |
not sure that I can completely follow here: "Additionally, the interaction.texture needs to be specific" |
Your last snippet looks right, I know why it doesn't work. |
|
yay - can't wait for it 🥇
|
Yep, except |
and each mod which adds containers needs additional compatibility or is that also taken care of? |
For simple mods (like MCV), only a couple lines of code is needed, which processes the block entity (OptiGUI can only process vanilla block entities by default). |
then for now please add compatibility for MCV and the Variant Barrels ... or Variant Vanilla Blocks which has basically the crafting tables, grindstones, barrels, cartography tables, smithing tables & smokers ... actually (also don't wanna come over like requesting features and compatibilities) since I'm no modder and have some basic knowledge of Javascript (meaning I can read and modify code - I've also once successfully extracted a mods single functionality which also worked as a standalone mini mod) and if I get some examples (meaning if it's one file where I just need to rename some references) I'd look into it adding the Variant Vanilla Blocks which are using the vanilla GUI of the corresponded container. |
I still have to find a good way to automatically test core functionality, and I have many ideas to implement in the next release. Compatibly is just one thing I'm working on. I'll eventually get there. |
I just took a look at variant barrels |
It worked out-of-the-box using interaction.texture #68
It worked out-of-the-box using interaction.texture #68
Whoops |
why? |
Because I can fix things if I miss something and I don't need to add a new commit or force push |
from the creator of Variant Barrels & Variant Vanilla Block: Variant Chests |
hello, i just stumbled across this while trying to do something similar for the farmer's delight cabinets, giving them each a different texture depending on the wood type, and if i understand this correctly this wouldn't be possible at the current time. so could i suggest that that could be looked into in the future? |
I'll open a PR in it, when I release OptiGUI 2.2.0. The first alpha build contains the API, which may be refined later on. |
I'm trying to add support for quark's variant chests but it doesn't work.
None works |
If the INI file is at |
Wait, so the replacement is the target texture that I want to change? The texture I made to replace quark's is at "assets/optigui/gui/assets/quark/acacia_chest.png". Can you give me an example how to properly do it? |
The problem seems to be with the target. Maybe creating a single .ini file for each chest works? Right now I'm using a single .ini to change a bunch of things (vanilla chests, villagers, shulkers and more). |
Are you running OptiGUI 2.1.x on Sinytra? |
Yes |
Then ignore what I said, it's about OptiGUI 2.3.0. |
Is 2.3.0-alpha.1 compatible with 1.20.1? |
Not yet, but I will backport to 1.20.1 after the full release (because OptiGUI 2.3.0+ will not be a universal JAR to support 1.18-1.21) |
I will try and test some things on newer versions, so when the backport drops, I can compare and test. |
I'm wondering how to show GUI variations for modded containers like Variant Barrels & More Chest Variants
The text was updated successfully, but these errors were encountered: