net.minecraft.client

public class MouseHandler

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

Field summary

Modifier and TypeField
private final Minecraft
a
minecraft
field_1779
client
f_91503_
private boolean
b
isLeftPressed
field_1791
leftButtonClicked
f_91504_
private boolean
c
isMiddlePressed
field_1790
middleButtonClicked
f_91505_
private boolean
d
isRightPressed
field_1788
rightButtonClicked
f_91506_
private double
e
xpos
field_1795
x
f_91507_
private double
f
ypos
field_1794
y
f_91508_
private int
g
fakeRightMouse
field_1781
controlLeftTicks
f_91509_
private int
h
activeButton
field_1780
activeButton
f_91510_
private boolean
i
ignoreFirstMove
field_1784
hasResolutionChanged
f_91511_
private int
j
clickDepth
field_1796
field_1796
f_91512_
private double
k
mousePressedTime
field_1792
glfwTime
f_91513_
private final SmoothDouble
l
smoothTurnX
field_1793
cursorXSmoother
f_91514_
private final SmoothDouble
m
smoothTurnY
field_1782
cursorYSmoother
f_91515_
private double
n
accumulatedDX
field_1789
cursorDeltaX
f_91516_
private double
o
accumulatedDY
field_1787
cursorDeltaY
f_91517_
private double
p
accumulatedScroll
field_1786
eventDeltaWheel
f_91518_
private double
q
lastMouseEventTime
field_1785
lastMouseUpdateTime
f_91519_
private boolean
r
mouseGrabbed
field_1783
cursorLocked
f_91520_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
private void
a(long arg0, int arg1, int arg2, int arg3)
onPress(long arg0, int arg1, int arg2, int arg3)
method_1601(long arg0, int arg1, int arg2, int arg3)
onMouseButton(long window, int button, int action, int mods)
m_91530_(long p_91532_, int p_91534_, int arg2, int arg3)
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)
onDrop(long arg0, List<Path> arg1)
method_29616(long arg0, List<Path> arg1)
onFilesDropped(long window, List<Path> paths)
m_91539_(long p_91541_, List<Path> arg1)
public void
a(long arg0)
setup(long arg0)
method_1607(long arg0)
setup(long window)
m_91524_(long 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()
turnPlayer()
method_1606()
updateMouse()
m_91523_()
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_()