Remove non-deprecated references of LambdaJCommon

Sorry Lambda!
This is needed for Neoforge support and to reduce the file size in the future.
This commit is contained in:
Martin Prokoph
2024-07-18 00:27:32 +02:00
parent 241228dcde
commit 0d2bd6e4cb
15 changed files with 80 additions and 92 deletions

View File

@@ -10,7 +10,6 @@
package eu.midnightdust.midnightcontrols.client.enums;
import net.minecraft.text.Text;
import org.aperlambda.lambdacommon.utils.Nameable;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
@@ -22,7 +21,7 @@ import java.util.Optional;
* @version 1.7.0
* @since 1.2.0
*/
public enum VirtualMouseSkin implements Nameable {
public enum VirtualMouseSkin {
DEFAULT_LIGHT("default_light"),
DEFAULT_DARK("default_dark"),
SECOND_LIGHT("second_light"),
@@ -66,7 +65,6 @@ public enum VirtualMouseSkin implements Nameable {
return this.text;
}
@Override
public @NotNull String getName() {
return this.name;
}