Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mojang's method is more concise and provides far superior error messages
incase the value isn't present (like why it happened) whereas with
Optionals its just the standard value not present message.
|
|
|
|
|
|
Also improves the HudRenderEvents implementation to be less fragile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The tag doesn't exist anymore, the data is no longer "nested" under it.
|
|
|
|
|
|
|
|
This blocks threads for quite some time so its best if we use virtual
threads to allow other processes to do work.
|
|
|
|
Double braces aren't good and run a risk of causing memory leaks
|
|
|
|
|
|
Didn't know you could do this
|
|
Also reformatted to use tabs because changing the tabs I used for the
switch cases to spaces would've taken ages
|
|
|
|
|
|
Apparently default doesn't cover it... why? I don't know
|
|
|
|
|
|
This is not everything.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|