Class NeoForgePlatformHelper

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

public class NeoForgePlatformHelper extends Object implements IPlatformHelper
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    hasConflictingModifier(net.minecraft.client.KeyMapping keybinding, net.minecraft.client.KeyMapping other)
     
    boolean
    isKeyCodeModifier(com.mojang.blaze3d.platform.InputConstants.Key key)
     
    void
    setKey(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding, com.mojang.blaze3d.platform.InputConstants.Key key)
     
    void
    setToDefault(net.minecraft.client.Options options, net.minecraft.client.KeyMapping keybinding)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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
    • setToDefault

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