net.minecraft.client

public class MouseHandler

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

字段概要

修饰符与类型字段
private static final org.slf4j.Logger
a
LOGGER
field_52126
LOGGER
f_336811_
private final Minecraft
b
minecraft
field_1779
client
f_91503_
private boolean
c
isLeftPressed
field_1791
leftButtonClicked
f_91504_
private boolean
d
isMiddlePressed
field_1790
middleButtonClicked
f_91505_
private boolean
e
isRightPressed
field_1788
rightButtonClicked
f_91506_
private double
f
xpos
field_1795
x
f_91507_
private double
g
ypos
field_1794
y
f_91508_
private int
h
fakeRightMouse
field_1781
controlLeftClicks
f_91509_
private int
i
activeButton
field_1780
activeButton
f_91510_
private boolean
j
ignoreFirstMove
field_1784
hasResolutionChanged
f_91511_
private int
k
clickDepth
field_1796
field_1796
f_91512_
private double
l
mousePressedTime
field_1792
glfwTime
f_91513_
private final SmoothDouble
m
smoothTurnX
field_1793
cursorXSmoother
f_91514_
private final SmoothDouble
n
smoothTurnY
field_1782
cursorYSmoother
f_91515_
private double
o
accumulatedDX
field_1789
cursorDeltaX
f_91516_
private double
p
accumulatedDY
field_1787
cursorDeltaY
f_91517_
private final ScrollWheelHandler
q
scrollWheelHandler
field_52757
scroller
f_348344_
private double
r
lastHandleMovementTime
field_47842
lastTickTime
f_317039_
private boolean
s
mouseGrabbed
field_1783
cursorLocked
f_91520_

构造函数概要

修饰符构造函数
public (Minecraft client)

方法概要

修饰符与类型方法
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)
public void
a(q arg0, fnh 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(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()
handleAccumulatedMovement()
method_55793()
tick()
m_319197_()
public static double
a(fnh 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
a(fnh arg0)
getScaledXPos(Window arg0)
method_68879(class_1041 arg0)
getScaledX(Window window)
m_398103_(C_3161_ arg0)
public static double
b(fnh 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
b(fnh 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(fwy arg0, fxa 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)