Class SetKeyEvent

java.lang.Object
com.blamejared.controlling.api.event.SetKeyEvent
All Implemented Interfaces:
ISetKeyEvent

public class SetKeyEvent extends Object implements ISetKeyEvent
Fired when a key is set.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SetKeyEvent(net.minecraft.client.Options options, net.minecraft.client.KeyMapping mapping, com.mojang.blaze3d.platform.InputConstants.Key key)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.blaze3d.platform.InputConstants.Key
    key()
     
    net.minecraft.client.KeyMapping
     
    net.minecraft.client.Options
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SetKeyEvent

      public SetKeyEvent(net.minecraft.client.Options options, net.minecraft.client.KeyMapping mapping, com.mojang.blaze3d.platform.InputConstants.Key key)
  • Method Details

    • options

      public net.minecraft.client.Options options()
      Specified by:
      options in interface ISetKeyEvent
    • mapping

      public net.minecraft.client.KeyMapping mapping()
      Specified by:
      mapping in interface ISetKeyEvent
    • key

      public com.mojang.blaze3d.platform.InputConstants.Key key()
      Specified by:
      key in interface ISetKeyEvent