Class KeyMappingRegistryImpl
java.lang.Object
net.fabricmc.fabric.impl.client.keymapping.KeyMappingRegistryImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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.KeyMappingregisterKeyMapping(net.minecraft.client.KeyMapping binding)
-
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.
-