Example usage for net.minecraftforge.client.settings KeyConflictContext IN_GAME

List of usage examples for net.minecraftforge.client.settings KeyConflictContext IN_GAME

Introduction

In this page you can find the example usage for net.minecraftforge.client.settings KeyConflictContext IN_GAME.

Prototype

KeyConflictContext IN_GAME

To view the source code for net.minecraftforge.client.settings KeyConflictContext IN_GAME.

Click Source Link

Document

In-game key bindings are only used when a GuiScreen is not open.

Usage

From source file:mod.rankshank.arbitraria.client.ui.KeyOccurrenceGui.java

private KeyOccurrenceGui() {
    super("arbitraria.key.occur.desc", KeyConflictContext.IN_GAME, KeyModifier.NONE, Keyboard.KEY_O,
            "arbitraria");
    ClientRegistry.registerKeyBinding(this);
}