public class MapKeyEvent
extends org.bukkit.event.Event
MapDisplay
Constructor and Description |
---|
MapKeyEvent(MapDisplay map,
MapPlayerInput input,
MapPlayerInput.Key key) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
MapPlayerInput |
getInput()
Gets the map player input manager responsible for this event
|
MapPlayerInput.Key |
getKey()
Gets the key that changed
|
MapDisplay |
getMapDisplay()
Gets the Map Display for which this key event is for
|
org.bukkit.entity.Player |
getPlayer()
Gets the player that caused this key event
|
int |
getRepeat()
Gets the amount of ticks the key has been held down
|
public MapKeyEvent(MapDisplay map, MapPlayerInput input, MapPlayerInput.Key key)
public org.bukkit.entity.Player getPlayer()
public MapPlayerInput getInput()
public MapDisplay getMapDisplay()
public MapPlayerInput.Key getKey()
public int getRepeat()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
Copyright © 2019. All rights reserved.