Class NeoForgePlatformHelper

java.lang.Object
com.blamejared.controlling.platform.NeoForgePlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class NeoForgePlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • NeoForgePlatformHelper

      public NeoForgePlatformHelper()
  • Method Details

    • hasConflictingModifier

      public boolean hasConflictingModifier(net.minecraft.client.KeyMapping keybinding, net.minecraft.client.KeyMapping other)
      Specified by:
      hasConflictingModifier in interface IPlatformHelper
    • setKey

      public void setKey(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding, com.mojang.blaze3d.platform.InputConstants.Key key)
      Specified by:
      setKey in interface IPlatformHelper
    • isKeyCodeModifier

      public boolean isKeyCodeModifier(com.mojang.blaze3d.platform.InputConstants.Key key)
      Specified by:
      isKeyCodeModifier in interface IPlatformHelper
    • getKeyName

      public net.minecraft.network.chat.Component getKeyName(net.minecraft.client.KeyMapping mapping)
      Specified by:
      getKeyName in interface IPlatformHelper
    • handleKeyPress

      public void handleKeyPress(NewKeyBindsScreen screen, net.minecraft.client.Options options, net.minecraft.client.input.KeyEvent event)
      Specified by:
      handleKeyPress in interface IPlatformHelper
    • handleKeyReleased

      public boolean handleKeyReleased(NewKeyBindsScreen screen, net.minecraft.client.Options options, net.minecraft.client.input.KeyEvent event)
      Specified by:
      handleKeyReleased in interface IPlatformHelper
    • setToDefault

      public void setToDefault(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding)
      Specified by:
      setToDefault in interface IPlatformHelper