ChamoItemSkins
Toggle table of contents
1.0.0
java
Target filter
java
Switch theme
Search in API
Skip to content
ChamoItemSkins
plugin
/
net.chamosmp.chamoitemskins.gui
/
GuiFillerUtil
Gui
Filler
Util
public
final
class
GuiFillerUtil
Fills empty GUI slots with a configurable filler item from config.yml.
Members
Functions
apply
Link copied to clipboard
public
static
void
apply
(
@
NotNull
(
)
@
NotNull
(
)
Plugin
plugin
,
@
NotNull
(
)
@
NotNull
(
)
Inventory
inventory
,
@
Nullable
(
)
@
Nullable
(
)
Player
player
)
Applies filler to an inventory using the plugin's cached config, or loads directly as fallback.
fill
Empty
Link copied to clipboard
public
void
fillEmpty
(
@
NotNull
(
)
@
NotNull
(
)
Inventory
inventory
,
@
Nullable
(
)
@
Nullable
(
)
Player
player
)
Places the filler item in every empty slot of the inventory.
is
Enabled
Link copied to clipboard
public
boolean
isEnabled
(
)
load
Link copied to clipboard
@
NotNull
(
)
public
static
@
NotNull
(
)
GuiFillerUtil
load
(
@
NotNull
(
)
@
NotNull
(
)
FileConfiguration
config
)