toggle menu
HopperLib
experimental-1-21-SNAPSHOT
jvm
switch theme
search in API
HopperLib
/
cc.mrcl.hopperlib.SelectionListeners
/
SelectionListener
Selection
Listener
public
class
SelectionListener
implements
Listener
Members
Constructors
Selection
Listener
Link copied to clipboard
public
void
SelectionListener
(
Player
player
)
public
void
SelectionListener
(
Player
player
,
boolean killOnWorldChange
)
Functions
get
Player
Link copied to clipboard
public
Player
getPlayer
(
)
get
Plugin
Link copied to clipboard
public
JavaPlugin
getPlugin
(
)
is
Chained
Link copied to clipboard
public
boolean
isChained
(
)
is
Keep
Going
Mode
Link copied to clipboard
public
boolean
isKeepGoingMode
(
)
on
Hopper
Lib
Disable
Link copied to clipboard
public
void
onHopperLibDisable
(
PluginDisableEvent
event
)
on
Player
Leave
Link copied to clipboard
public
void
onPlayerLeave
(
PlayerQuitEvent
event
)
on
Player
Left
Click
Block
Link copied to clipboard
public
void
onPlayerLeftClickBlock
(
PlayerInteractEvent
event
)
on
Player
World
Change
Link copied to clipboard
public
void
onPlayerWorldChange
(
PlayerChangedWorldEvent
event
)
on
Shift
Link copied to clipboard
public
void
onShift
(
PlayerToggleSneakEvent
event
)
send
Keep
Going
Usage
Link copied to clipboard
public
void
sendKeepGoingUsage
(
)
set
Chained
Link copied to clipboard
public
SelectionListener
setChained
(
boolean chained
)
set
Keep
Going
Mode
Link copied to clipboard
public
SelectionListener
setKeepGoingMode
(
boolean enableKeepGoingMode
)
public
SelectionListener
setKeepGoingMode
(
boolean enableKeepGoingMode
,
boolean currentStatus
)
set
Plugin
Link copied to clipboard
public
void
setPlugin
(
JavaPlugin
plugin
)
set
Stop
Condition
Link copied to clipboard
public
SelectionListener
setStopCondition
(
boolean stopCondition
)
public
SelectionListener
setStopCondition
(
BooleanSupplier
stopCondition
)
should
Kill
Listener
Link copied to clipboard
public
boolean
shouldKillListener
(
)
toggle
Keep
Going
Mode
Link copied to clipboard
public
void
toggleKeepGoingMode
(
)