Class WikiKey
java.lang.Object
net.minecraft.client.KeyMapping
com.pixelmonmod.pixelmon.client.keybindings.PixelmonKeyMapping
com.pixelmonmod.pixelmon.client.keybindings.WikiKey
- All Implemented Interfaces:
- Comparable<net.minecraft.client.KeyMapping>,- net.minecraftforge.client.extensions.IForgeKeyMapping
Opens the Pokédex or the wiki when a hotkey is pressed depending on what the player is looking at.
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.KeyMappingCATEGORY_CREATIVE, CATEGORY_GAMEPLAY, CATEGORY_INTERFACE, CATEGORY_INVENTORY, CATEGORY_MISC, CATEGORY_MOVEMENT, CATEGORY_MULTIPLAYER
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidstatic voidopenWiki()Opens the Pokédex or the wiki depending on what the player is looking at.Methods inherited from class com.pixelmonmod.pixelmon.client.keybindings.PixelmonKeyMappinghandle, keyDown, keyPressed, onMouseButtonMethods inherited from class net.minecraft.client.KeyMappingclick, compareTo, consumeClick, createNameSupplier, getCategory, getDefaultKey, getDefaultKeyModifier, getKey, getKeyConflictContext, getKeyModifier, getName, getTranslatedKeyMessage, isDefault, isDown, isUnbound, matches, matchesMouse, releaseAll, resetMapping, resetToggleKeys, same, saveString, set, setAll, setDown, setKey, setKeyConflictContext, setKeyModifierAndCodeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.client.extensions.IForgeKeyMappinghasKeyModifierConflict, isActiveAndMatches, isConflictContextAndModifierActive, setToDefault
- 
Field Details- 
PIXELMON_WIKIThe base URL of the Pixelmon wiki.- See Also:
 
 
- 
- 
Constructor Details- 
WikiKeypublic WikiKey()Initializes the hotkey.
 
- 
- 
Method Details- 
handleKeyPressprotected void handleKeyPress()- Specified by:
- handleKeyPressin class- PixelmonKeyMapping
 
- 
openWikipublic static void openWiki()Opens the Pokédex or the wiki depending on what the player is looking at.
 
-