Interface OPACKeyBindingsAPI


public interface OPACKeyBindingsAPI
API for the mod's keybindings
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.KeyMapping
    Gets the keybinding used for opening the main mod menu.
  • Method Details

    • getOpenModMenuKeyBinding

      @Nonnull net.minecraft.client.KeyMapping getOpenModMenuKeyBinding()
      Gets the keybinding used for opening the main mod menu.
      Returns:
      the keybinding, not null