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.
iKey It is used to register the event handler.
EventHandler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is used to register the key binding and the event handler.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • iKey

      public static final net.minecraft.client.option.KeyBinding iKey
      When 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 interface net.fabricmc.api.ClientModInitializer