OptiGUI icon indicating copy to clipboard operation
OptiGUI copied to clipboard

[BUG, FEATURE REQUEST] GUI Texture doesn't update dynamically when block state changes

Open Vi-Tul opened this issue 5 months ago • 4 comments

Feature description

Basically the title. When a block's state changes, the GUI texture does not update in real-time. The texture only refreshes after reopening the GUI

Vi-Tul avatar Aug 07 '25 15:08 Vi-Tul

Which OptiGUI and Minecraft version is affected?

opekope2 avatar Aug 10 '25 15:08 opekope2

OptiGUI 3.0.0 alpha3, Minecraft 1.21.1

Vi-Tul avatar Aug 10 '25 17:08 Vi-Tul

Can you explain with a bit more details? Like a crafter getting triggered? Does it affect blocks only?

In the next release (or maybe one release later), I will add a debugger to OptiGUI, which will help visualize what resources are loaded, and which of them matches the interaction.

opekope2 avatar Oct 07 '25 18:10 opekope2

Yeah, exactly like a crafter getting triggered, I was trying to make an "activated" version of the GUI. The detection itself worked, but the GUI didn't switch when player was in it and crafter got powered/unpowered, it updated only after reopening the GUI. Unfortunately I didn't test other blocks or entities and just assumed that other GUIs are affected

Vi-Tul avatar Oct 07 '25 18:10 Vi-Tul