Package github.jaffe2718.mccs.client
Class MinecraftCommandStudioClient
java.lang.Object
github.jaffe2718.mccs.client.MinecraftCommandStudioClient
- All Implemented Interfaces:
net.fabricmc.api.ClientModInitializer
public class MinecraftCommandStudioClient
extends Object
implements net.fabricmc.api.ClientModInitializer
This class is used to initialize the client.
It is used to register the key binding.
It is used to register the key binding.
iKey
It is used to register the event handler.EventHandler
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.client.option.KeyBinding
When the player press the key I in the game world, the JavaFX UI will show up. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method is used to register the key binding and the event handler.
-
Field Details
-
iKey
public static final net.minecraft.client.option.KeyBinding iKeyWhen the player press the key I in the game world, the JavaFX UI will show up.
-
-
Constructor Details
-
MinecraftCommandStudioClient
public MinecraftCommandStudioClient()
-
-
Method Details
-
onInitializeClient
public void onInitializeClient()This method is used to register the key binding and the event handler.- Specified by:
onInitializeClient
in interfacenet.fabricmc.api.ClientModInitializer
-