YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.util.MouseHelper Class Reference

Public Member Functions

 MouseHelper (Component par1Component, GameSettings par2GameSettings)
 
void grabMouseCursor ()
 
void ungrabMouseCursor ()
 
void mouseXYChange ()
 

Public Attributes

int deltaX
 
int deltaY
 

Constructor & Destructor Documentation

net.minecraft.util.MouseHelper.MouseHelper ( Component  par1Component,
GameSettings  par2GameSettings 
)

Member Function Documentation

void net.minecraft.util.MouseHelper.grabMouseCursor ( )

Grabs the mouse cursor it doesn't move and isn't seen.

void net.minecraft.util.MouseHelper.mouseXYChange ( )
void net.minecraft.util.MouseHelper.ungrabMouseCursor ( )

Ungrabs the mouse cursor so it can be moved and set it to the center of the screen

Member Data Documentation

int net.minecraft.util.MouseHelper.deltaX

Mouse delta X this frame

int net.minecraft.util.MouseHelper.deltaY

Mouse delta Y this frame


The documentation for this class was generated from the following file: