Class KeyMappingRegistryImpl

java.lang.Object
net.fabricmc.fabric.impl.client.keymapping.KeyMappingRegistryImpl

public final class KeyMappingRegistryImpl extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.client.KeyMapping[]
    process(net.minecraft.client.KeyMapping[] keysAll)
    Processes the keymappings array for our modded ones by first removing existing modded keymappings and readding them, we can make sure that there are no duplicates this way.
    static net.minecraft.client.KeyMapping
    registerKeyMapping(net.minecraft.client.KeyMapping binding)
     

    Methods inherited from class Object

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

    • registerKeyMapping

      public static net.minecraft.client.KeyMapping registerKeyMapping(net.minecraft.client.KeyMapping binding)
    • process

      public static net.minecraft.client.KeyMapping[] process(net.minecraft.client.KeyMapping[] keysAll)
      Processes the keymappings array for our modded ones by first removing existing modded keymappings and readding them, we can make sure that there are no duplicates this way.