I've been following this doc (https://mcforge.readthedocs.io/en/latest/networking/simpleimpl/) but I don't see how the INSTANCE encodes the message how should know how to decode the message?
and also does the MessageClass packet need to implement something or does it just send the Object of a class as the message?
Hey,
I just got back to modding, and I was wondering how drawing rectangles works in the new system, I figured out how it works with texture but since I don't always want to use textures I was wondering If a simple draw rect method with a color an alpha values exists.
I want to override the default in game UI and show my custom one.
Uh, iirc in Java 16 they made it impossible to use reflection to re-assign final fields.
Hello,
I was just upgrading my mod and notice that `gui` is not exposed even tho java 16 change the whole final system to being re-assignable, how are we supposed to set out custom GUI now?
Okay so it is in the dev env and in the "production" use with other mods, my mod is using RestAPIs to request data and displaying UI and data from the api requests.
Another question how do I draw over the blocks texture like what do I need to be able to draw over the block object? And when do I draw them I can't imagine drawing them each individually on chunk load or? any pseudocode or example class I could look at?
Hello, so I wanted to make a mod that changes the blocks texture under certain conditions like for example if the scoreboard has a certain string all wool textures will be replaced with my custom texture. How would I set the texture for a block and show it when they enter a world with the scoreboard condition?