Interface HotkeyAction


public interface HotkeyAction
locates and opens Inventories from items
  • Field Details

  • Method Details

    • run

      boolean run(net.minecraft.world.entity.player.Player player)
      locates and opens an Inventory and returns if it has found anything
    • register

      static void register(HotkeyAction hotkeyAction, String id)
      register a new HotkeyAction under an id

      HotkeyActions which are added later will be called first

      a Keybinding will be created automatically for every id