mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-13 23:25:10 +01:00
Improved Cursors
- Cursor position is now float instead of integer, making movement way smoother - Added a fallback cursor to use in Wayland sessions
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
package eu.midnightdust.midnightcontrols;
|
||||
|
||||
import eu.midnightdust.lib.util.PlatformFunctions;
|
||||
import net.minecraft.util.Identifier;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
@@ -29,6 +30,9 @@ public class MidnightControls {
|
||||
isExtrasLoaded = PlatformFunctions.isModLoaded("midnightcontrols-extra");
|
||||
log("Initializing MidnightControls...");
|
||||
}
|
||||
public static Identifier id(String path) {
|
||||
return Identifier.of(MidnightControlsConstants.NAMESPACE, path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints a message to the terminal.
|
||||
|
||||
Reference in New Issue
Block a user