public class CursorHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.function.Supplier<java.lang.Long> |
BATTLE_CURSOR |
static java.util.function.Supplier<java.lang.Long> |
CROSS_CURSOR |
static java.util.function.Supplier<java.lang.Long> |
DEFAULT_CURSOR |
static java.util.function.Supplier<java.lang.Long> |
HAND_CURSOR |
static java.util.function.Supplier<java.lang.Long> |
TRANSPARENT_CURSOR |
static java.util.function.Supplier<java.lang.Long> |
VERTICAL_ARROW_CURSOR |
Constructor and Description |
---|
CursorHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
hideCursor() |
static void |
onGuiOpen(net.minecraftforge.client.event.GuiOpenEvent event) |
static void |
onInitGui(net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent event) |
static void |
resetCursor() |
static void |
setCursor(java.util.function.Supplier<java.lang.Long> pointer) |
public static final java.util.function.Supplier<java.lang.Long> DEFAULT_CURSOR
public static final java.util.function.Supplier<java.lang.Long> CROSS_CURSOR
public static final java.util.function.Supplier<java.lang.Long> HAND_CURSOR
public static final java.util.function.Supplier<java.lang.Long> VERTICAL_ARROW_CURSOR
public static final java.util.function.Supplier<java.lang.Long> TRANSPARENT_CURSOR
public static final java.util.function.Supplier<java.lang.Long> BATTLE_CURSOR
public static void setCursor(java.util.function.Supplier<java.lang.Long> pointer)
public static void hideCursor()
public static void resetCursor()
public static void onInitGui(net.minecraftforge.client.event.GuiScreenEvent.InitGuiEvent event)
public static void onGuiOpen(net.minecraftforge.client.event.GuiOpenEvent event)