Interface DynamicKeybindActionHandler


public interface DynamicKeybindActionHandler
Functional interface for handling keybind actions. Invoked when a keybind with an associated action is pressed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAction(String actionID, net.minecraft.nbt.CompoundTag data)
    Called when a keybind with this action is pressed.
  • Method Details

    • onAction

      void onAction(String actionID, net.minecraft.nbt.CompoundTag data)
      Called when a keybind with this action is pressed.
      Parameters:
      actionID - the ID of the action being triggered
      data - the NBT data associated with this keybind instance