Package net.minecraftforge.client.event
Class RegisterKeyMappingsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterKeyMappingsEvent
- All Implemented Interfaces:
IModBusEvent
public class RegisterKeyMappingsEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent
Allows users to register custom
key mappings
.
This event is not cancellable, and does not have a result.
This event is fired on the mod-specific event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
options
-
-
Constructor Details
-
RegisterKeyMappingsEvent
-
-
Method Details
-
register
Registers a new key mapping.
-