Debug media cube is broken in pre-620
Twisted-Code opened this issue ยท 10 comments
Modloader
Fabric
Minecraft version
1.20.1
Hex Casting version
0.11.1-7-pre-620
Modloader version
Fabric: 0.1|.6 + API 0.91.0+ 1.20.1
Modpack info
https://github.com/walksanatora/HexxyTestPack
The latest.log file
Issue description
Despite my expectation, having a media cube renamed to "debug patterns" does not seem to do anything.
Steps to reproduce
- Load a creative world
- spawn a media cube
- rename the media cube "Debug Patterns" (any capitalization, last I checked, should work)
- draw some patterns
- nothing appears in chat, unlike on 1.19.2
Other information
the name I gave the media cube was enough for it to start doing the enchanted glow effect, so I must've done something right. It's just not working completely?
@macks2008 Can you check if "debug media" works?
Probably related:
I don't see any usages of this variable. Guessing it got accidentally refactored into the void at some point.
make sure you're using it in survival - it's supposed to print all media usage drawn from the cube, so being in creative or having other sources messes with it
great, thanks for confirming. I think it should be an easy fix then - hopefully just re-add the code that was removed. prioritizing as medium because hex is hard enough to use even without the limited debug features being broken.
Okay it does work in survival. So it's just debug patterns that's not working, as far as I can tell.
I removed the code while I was refactoring the evaluator because I didn't actually know it was there (Wire added it without telling me) so I didn't know how it worked.
ah... whoops. That reminds me of a joke about code documentation, "when I wrote this code, only God and I knew what it did. Now only God knows". (Side note: what is Wire? Is that an IDE or gradle plugin or something?)
Anyway, just wanted to check in: Has any progress been made to fix this? I was starting to set up my development world for "HexxyTest S2" and noticed this feature isn't yet fixed on whatever version we are using.