Closed RedRain0o0 closed 4 months ago
so looks like the texture path is wrong. Can you show me where its located?
im also interested, where the wiki contradicts itself. as it seems now you have a wrong path to your texture. your texture can be located anywhere, just remember that you’ll need to append .png in the path on newer versions of mc.
please comment your path to the texture in your folders
if you are using a vanilla-like directory you probably have a container folder in which creative.png is located
sorry, i dont have notifications turned on
in my json i target assets/halo/textures/gui/creative.png
im my pack i have assets/halo/textures/gui/creative.png
afaik it should work, but it just displays a missing texture no matter what
as for the wiki, at the top of https://github.com/MehVahdJukaar/polytone/wiki/Gui-Modifiers it says the following is a valid path
{
"x": -8,
"y": -8,
"z": -500,
"width": 16,
"height": 16,
"texture": "textures/block/stone.png"
}
]
but by the bottom it says this is
{
"x": -102,
"y": -95,
"z": -200,
"width": 204,
"height": 190,
"texture": "assets/modid/textures/gui/container/inventory_frame.png"
}
]
the first doesnt define itself as under assets/minecraft/
and also doesnt work when put into a pack. everything else works (slots colors, etc), but the stone block doesnt render
so all assets in game never have the "assets" folder in their path. its always implied. I tested this with this on latest 1.20.1 and it was working for me
oh and as a resourcelocation its namespace is implied. All resource locations without one have the minecraft: one
does it work on 1.20.6 for you? or is it still broken?
ah you are on 1.20.6. There all sprites have to be in the gui/sprites folder. Check the wiki again
tried putting it under halo/textures/gui/sprites
and minecraft/textures/gui/sprites
and neither work. also the wiki doesnt seem to mention anything about it
im trying to make a resource pack using polytone to create a custom ui overlay. problem is i cannot get textures to render no matter what. this is meant to look like this legacy_creative.json this is my json. i am on 1.20.6 fabric with polytone 1.18.12 i cant tell if this is an actual bug or unclear documentation (the wiki page contradicts itself several times)