net.minecraft.client

public class MouseHandler

gaa
net.minecraft.client.MouseHandler
net.minecraft.class_312
net.minecraft.client.Mouse
net.minecraft.src.C_3397_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_52126
LOGGER
f_336811_
public static final long
a
DOUBLE_CLICK_THRESHOLD_MS
field_61505
field_61505
f_413857_
private final Minecraft
e
minecraft
field_1779
client
f_91503_
private boolean
f
isLeftPressed
field_1791
leftButtonClicked
f_91504_
private boolean
g
isMiddlePressed
field_1790
middleButtonClicked
f_91505_
private boolean
h
isRightPressed
field_1788
rightButtonClicked
f_91506_
private double
i
xpos
field_1795
x
f_91507_
private double
j
ypos
field_1794
y
f_91508_
protected long
b
lastClickTime
field_61506
lastMouseButtonClickTimeMs
f_413871_
protected int
c
lastClickButton
field_61507
lastMouseButton
f_412270_
private int
k
fakeRightMouse
field_1781
controlLeftClicks
f_91509_
private MouseButtonInfo
l
activeButton
field_1780
activeButton
f_91510_
private boolean
m
ignoreFirstMove
field_1784
hasResolutionChanged
f_91511_
private int
n
clickDepth
field_1796
touchHoldTime
f_91512_
private double
o
mousePressedTime
field_1792
glfwTime
f_91513_
private final SmoothDouble
p
smoothTurnX
field_1793
cursorXSmoother
f_91514_
private final SmoothDouble
q
smoothTurnY
field_1782
cursorYSmoother
f_91515_
private double
r
accumulatedDX
field_1789
cursorDeltaX
f_91516_
private double
s
accumulatedDY
field_1787
cursorDeltaY
f_91517_
private final ScrollWheelHandler
t
scrollWheelHandler
field_52757
scroller
f_348344_
private double
u
lastHandleMovementTime
field_47842
lastTickTime
f_317039_
private boolean
v
mouseGrabbed
field_1783
cursorLocked
f_91520_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
private void
a(long arg0, gtj arg1, int arg2)
onButton(long arg0, MouseButtonInfo arg1, int arg2)
method_1601(long arg0, class_11910 arg1, int arg2)
onMouseButton(long window, MouseInput input, int action)
m_416902_(long p_424132_, C_411057_ arg1, int arg2)
private MouseButtonInfo
a(gtj arg0, boolean arg1)
simulateRightClick(MouseButtonInfo arg0, boolean arg1)
method_74190(class_11910 arg0, boolean arg1)
modifyMouseInput(MouseInput input, boolean pressed)
m_417548_(C_411057_ p_422926_, boolean arg1)
public void
a(q arg0, ftb arg1)
fillMousePositionDetails(CrashReportCategory arg0, Window arg1)
method_68882(class_129 arg0, class_1041 arg1)
addCrashReportSection(CrashReportSection section, Window window)
m_398117_(C_4909_ p_398216_, C_3161_ arg1)
private void
a(long arg0, double arg1, double arg2)
onScroll(long arg0, double arg1, double arg2)
method_1598(long arg0, double arg1, double arg2)
onMouseScroll(long window, double horizontal, double vertical)
m_91526_(long p_91528_, double arg1, double arg2)
private void
a(long arg0, List<Path> arg1, int arg2)
onDrop(long arg0, List<Path> arg1, int arg2)
method_29616(long arg0, List<Path> arg1, int arg2)
onFilesDropped(long window, List<Path> paths, int invalidFilesCount)
m_91539_(long p_91541_, List<Path> arg1, int arg2)
public void
a(ftb arg0)
setup(Window arg0)
method_1607(class_1041 arg0)
setup(Window window)
m_91524_(C_3161_ arg0)
private void
b(long arg0, double arg1, double arg2)
onMove(long arg0, double arg1, double arg2)
method_1600(long arg0, double arg1, double arg2)
onCursorPos(long window, double x, double y)
m_91561_(long p_91563_, double arg1, double arg2)
public void
a()
handleAccumulatedMovement()
method_55793()
tick()
m_319197_()
public static double
a(ftb arg0, double arg1)
getScaledXPos(Window arg0, double arg1)
method_68880(class_1041 arg0, double arg1)
scaleX(Window window, double x)
m_398109_(C_3161_ p_398231_, double p_398215_)
public double
b(ftb arg0)
getScaledXPos(Window arg0)
method_68879(class_1041 arg0)
getScaledX(Window window)
m_398103_(C_3161_ arg0)
public static double
b(ftb arg0, double arg1)
getScaledYPos(Window arg0, double arg1)
method_68884(class_1041 arg0, double arg1)
scaleY(Window window, double y)
m_398118_(C_3161_ p_398221_, double p_398212_)
public double
c(ftb arg0)
getScaledYPos(Window arg0)
method_68883(class_1041 arg0)
getScaledY(Window window)
m_398107_(C_3161_ arg0)
private void
a(double arg0)
turnPlayer(double arg0)
method_1606(double arg0)
updateMouse(double timeDelta)
m_91523_(double arg0)
public boolean
b()
isLeftPressed()
method_1608()
wasLeftButtonClicked()
m_91560_()
public boolean
c()
isMiddlePressed()
method_35707()
wasMiddleButtonClicked()
m_168090_()
public boolean
d()
isRightPressed()
method_1609()
wasRightButtonClicked()
m_91584_()
public double
e()
xpos()
method_1603()
getX()
m_91589_()
public double
f()
ypos()
method_1604()
getY()
m_91594_()
public void
g()
setIgnoreFirstMove()
method_1599()
onResolutionChanged()
m_91599_()
public boolean
h()
isMouseGrabbed()
method_1613()
isCursorLocked()
m_91600_()
public void
i()
grabMouse()
method_1612()
lockCursor()
m_91601_()
public void
j()
releaseMouse()
method_1610()
unlockCursor()
m_91602_()
public void
k()
cursorEntered()
method_30134()
setResolutionChanged()
m_91603_()
public void
a(gda arg0, gdd arg1)
drawDebugMouseInfo(Font arg0, GuiGraphics arg1)
method_68881(class_327 arg0, class_332 arg1)
drawScaledPos(TextRenderer textRenderer, DrawContext context)
m_398101_(C_3429_ p_398226_, C_279497_ arg1)