Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
BetterStructures
/
com.magmaguy.betterstructures.api
/
ChestFillEvent
Chest
Fill
Event
public
class
ChestFillEvent
extends
Event
implements
Cancellable
Members
Constructors
Chest
Fill
Event
Link copied to clipboard
public
void
ChestFillEvent
(
Container
container
,
String
treasureConfigFilename
)
Properties
container
Link copied to clipboard
public
Container
container
handlers
Link copied to clipboard
public
final
static
HandlerList
handlers
is
Cancelled
Link copied to clipboard
public
boolean
isCancelled
treasure
Config
Filename
Link copied to clipboard
public
String
treasureConfigFilename
Functions
get
Container
Link copied to clipboard
public
Container
getContainer
(
)
Returns the container in this event.
get
Handler
List
Link copied to clipboard
public
static
HandlerList
getHandlerList
(
)
get
Handlers
Link copied to clipboard
@
NotNull
(
)
public
HandlerList
getHandlers
(
)
get
Treasure
Config
Filename
Link copied to clipboard
public
String
getTreasureConfigFilename
(
)
Returns the filename of the treasure configuration used to fill this chest.
is
Cancelled
Link copied to clipboard
public
boolean
isCancelled
(
)
set
Cancelled
Link copied to clipboard
public
void
setCancelled
(
boolean b
)
Inherited functions
get
Event
Name
Link copied to clipboard
public
String
getEventName
(
)
get
Handlers
Link copied to clipboard
public
abstract
HandlerList
getHandlers
(
)
is
Asynchronous
Link copied to clipboard
public
final
boolean
isAsynchronous
(
)
is
Cancelled
Link copied to clipboard
public
abstract
boolean
isCancelled
(
)
set
Cancelled
Link copied to clipboard
public
abstract
void
setCancelled
(
boolean p
)