toggle menu
HopperLib
experimental-1-21-SNAPSHOT
jvm
switch theme
search in API
HopperLib
/
cc.mrcl.hopperlib.SelectionListeners
/
SelectionListenerManager
Selection
Listener
Manager
public
class
SelectionListenerManager
Members
Properties
instance
Link copied to clipboard
public
static
SelectionListenerManager
instance
Functions
get
Block
Listener
Link copied to clipboard
public
SelectionListener
getBlockListener
(
Player
player
,
BiConsumer
<
Block
,
BlockFace
>
operation
)
public
SelectionListener
getBlockListener
(
Player
player
,
Consumer
<
Block
>
operation
)
get
Entity
Listener
Link copied to clipboard
public
SelectionListener
getEntityListener
(
Player
player
,
Consumer
<
Entity
>
operation
)
get
Instance
Link copied to clipboard
public
static
SelectionListenerManager
getInstance
(
)
get
Plugin
Instance
Link copied to clipboard
public
static
JavaPlugin
getPluginInstance
(
SelectionListener
selectionListener
)
is
Player
Using
Command
Link copied to clipboard
public
boolean
isPlayerUsingCommand
(
Player
player
)
register
Selection
Link copied to clipboard
public
SelectionListener
registerSelection
(
SelectionListener
listener
,
JavaPlugin
plugin
)
remove
Selection
Link copied to clipboard
public
void
removeSelection
(
SelectionListener
listener
)