[X] I have searched the existing issues and have not found a duplicate relating to my issue.
Subject of Issue
Update the Java compilation targets in the POM files, and update various files to use the latest available language features.
Details
NoEncryption is targeted to compile using Java 16, while Minecraft 1.19 (oldest supported version) only supports Java 17 and newer. It is redundant to have NoEncryption compile at Java 16 when it will only be used at Java 17+. Updating various files to use newer language features for efficiency.
Is there an existing question issue for this?
Subject of Issue
Update the Java compilation targets in the POM files, and update various files to use the latest available language features.
Details
NoEncryption is targeted to compile using Java 16, while Minecraft 1.19 (oldest supported version) only supports Java 17 and newer. It is redundant to have NoEncryption compile at Java 16 when it will only be used at Java 17+. Updating various files to use newer language features for efficiency.