aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/dulkirfabric/mixin/io
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/dulkirfabric/mixin/io')
-rw-r--r--src/main/java/com/dulkirfabric/mixin/io/MouseMixin.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/com/dulkirfabric/mixin/io/MouseMixin.java b/src/main/java/com/dulkirfabric/mixin/io/MouseMixin.java
index 76dd828..d805170 100644
--- a/src/main/java/com/dulkirfabric/mixin/io/MouseMixin.java
+++ b/src/main/java/com/dulkirfabric/mixin/io/MouseMixin.java
@@ -19,16 +19,6 @@ public class MouseMixin {
return (int) (originalScaledHeight / InventoryScale.INSTANCE.getScale());
}
- @ModifyExpressionValue(method = "onCursorPos", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/Window;getScaledWidth()I"))
- public int onCursorPosWidth(int originalScaledWidth) {
- return (int) (originalScaledWidth / InventoryScale.INSTANCE.getScale());
- }
-
- @ModifyExpressionValue(method = "onCursorPos", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/Window;getScaledHeight()I"))
- public int onCursorPosHeight(int originalScaledHeight) {
- return (int) (originalScaledHeight / InventoryScale.INSTANCE.getScale());
- }
-
@ModifyExpressionValue(method = "onMouseScroll", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/util/Window;getScaledWidth()I"))
public int onMouseScrollWidth(int originalScaledWidth) {
return (int) (originalScaledWidth / InventoryScale.INSTANCE.getScale());