* More thread safe
I don't love this but the icons are a bit of a clusterfuck as to how they're set, this will at least guard against nulls and not crash
* spotlessApply
---------
Co-authored-by: GitHub GTNH Actions <>
* Enable Jabel and generic injection
* Use RoundingMode enum values
* Use enhanced for loops
* Use diamond operator where appropriate
* Deprecate ChainedIterator
* spotless
* Collapse identical catch blocks
* Use try with resources
* Use List.sort where possible
* Anonymous type->lambda
* Loop -> removeIf
* Simplifiable map operations
* Use enhanced instanceof
* Use enhanced switch
* Use bulk operations
* Use zero-sized arrays in toArray
* Add early exits
* Remove redundant addAll
* Fix missing reflection generic types
* More missed language migration aids
* Redundant type arguments
* Redundant type casts
* Fix compilation errors
* Use Arrays.fill
* Fix some missing generic types
Replaces the reflexive instantiation of the Renderes with a factory
method.
Some optimizations to the renderers to no longer push the whole OpenGL state to the stack.
General cleanup of duplicate code, etc
Reduces the visibility of all fields to private and create setters/getters
when necessary. Exceptions are fields with GuiSync as these need to be
public.
Reduces the visibility of internal methods to private/protected/default when possible.
Many exceptions got an improvement due to changed class or description or details it is providing.
Is not complete, needs to be done in patches in the regions, where it is needed, since some are just
swallowed.
Removed total usage of pure RuntimeExceptions to 0.
Deprecates the old usage of the AEItemDefinitions via the direct method access of
* blocks()
* parts()
* items()
* materials()
and thus use the new re-direct via definitions().
All definitions are now initialized, no matter what. But SubItems, Items and Blocks are not registered, if by chance are disabled.