Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ScaledResolution scaledresolution = new ScaledResolution(this.mc.gameSettings, this.mc.displayWidth, this.mc.displayHeight);
- int i = scaledresolution.getScaledWidth();
- int j = scaledresolution.getScaledHeight();
- int mouseX = Mouse.getX() * i / this.mc.displayWidth;
- int mousey = j - Mouse.getY() * j / this.mc.displayHeight - 1;
Advertisement
Add Comment
Please, Sign In to add comment