Class CursorHelper
java.lang.Object
com.pixelmonmod.pixelmon.api.util.helpers.CursorHelper
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
getCursorXPosTranslatedFromGUIXPos
(net.minecraft.client.Minecraft mc, float x) static int
getCursorXPosTranslatedToGUIXPos
(net.minecraft.client.Minecraft mc) static int
getCursorYPosTranslatedFromGUIYPos
(net.minecraft.client.Minecraft mc, float y) static int
getCursorYPosTranslatedToGUIYPos
(net.minecraft.client.Minecraft mc) static void
static void
onGuiOpen
(net.minecraftforge.client.event.ScreenEvent.Init event) static void
onInitGui
(net.minecraftforge.client.event.ScreenEvent.Init event) static void
static void
-
Field Details
-
DEFAULT_CURSOR
-
CROSS_CURSOR
-
HAND_CURSOR
-
VERTICAL_ARROW_CURSOR
-
TRANSPARENT_CURSOR
-
BATTLE_CURSOR
-
-
Constructor Details
-
CursorHelper
public CursorHelper()
-
-
Method Details
-
setCursor
-
hideCursor
public static void hideCursor() -
resetCursor
public static void resetCursor() -
onInitGui
public static void onInitGui(net.minecraftforge.client.event.ScreenEvent.Init event) -
onGuiOpen
public static void onGuiOpen(net.minecraftforge.client.event.ScreenEvent.Init event) -
getCursorXPosTranslatedToGUIXPos
public static int getCursorXPosTranslatedToGUIXPos(net.minecraft.client.Minecraft mc) -
getCursorYPosTranslatedToGUIYPos
public static int getCursorYPosTranslatedToGUIYPos(net.minecraft.client.Minecraft mc) -
getCursorXPosTranslatedFromGUIXPos
public static int getCursorXPosTranslatedFromGUIXPos(net.minecraft.client.Minecraft mc, float x) -
getCursorYPosTranslatedFromGUIYPos
public static int getCursorYPosTranslatedFromGUIYPos(net.minecraft.client.Minecraft mc, float y)
-