Package github.jaffe2718.mccs.event
Class EventHandler
java.lang.Object
github.jaffe2718.mccs.event.EventHandler
This class is used to handle Minecraft game events.
It is used to handle the key event and the game message event.
It is used to show the UI and hide the UI.
It is used to get the command from the chat screen.
It is used to handle the key event and the game message event.
It is used to show the UI and hide the UI.
It is used to get the command from the chat screen.
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
The last command that the player input in the chat screen.static net.minecraft.client.gui.screen.ChatInputSuggestor
The suggestor of the chat screen. -
Constructor Summary
-
Method Summary
-
Field Details
-
lastCommand
The last command that the player input in the chat screen. -
suggestor
public static net.minecraft.client.gui.screen.ChatInputSuggestor suggestorThe suggestor of the chat screen.
-
-
Constructor Details
-
EventHandler
public EventHandler()
-
-
Method Details
-
register
public static void register()register the event handler
-