Index

A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages

A

AbstractBoxFeature - Class in net.okocraft.box.api.feature
An abstract implementation of BoxFeature.
AbstractBoxFeature(String) - Constructor for class net.okocraft.box.api.feature.AbstractBoxFeature
The constructor of AbstractBoxFeature.
AbstractCommand - Class in net.okocraft.box.api.command
An abstract class for a sub command of /box or /boxadmin.
AbstractCommand(String, String) - Constructor for class net.okocraft.box.api.command.AbstractCommand
The constructor of AbstractCommand.
AbstractCommand(String, String, Set<String>) - Constructor for class net.okocraft.box.api.command.AbstractCommand
The constructor of AbstractCommand.
AbstractDepositAllButton(int, BiPredicate<PlayerSession, ClickType>, ClickResult) - Constructor for class net.okocraft.box.feature.gui.api.mode.AbstractStorageMode.AbstractDepositAllButton
 
AbstractPaginatedMenu<T> - Class in net.okocraft.box.feature.gui.api.menu.paginate
 
AbstractPaginatedMenu(int, List<T>, TypedKey<Integer>) - Constructor for class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
AbstractStorageMode - Class in net.okocraft.box.feature.gui.api.mode
 
AbstractStorageMode() - Constructor for class net.okocraft.box.feature.gui.api.mode.AbstractStorageMode
 
AbstractStorageMode.AbstractDepositAllButton - Class in net.okocraft.box.feature.gui.api.mode
 
add(SubscribedListener<Key, ? extends BoxEvent, Priority>) - Method in class net.okocraft.box.api.util.SubscribedListenerHolder
add(String, String) - Method in interface net.okocraft.box.api.message.DefaultMessageCollector
Adds a default message with the key.
addAdditionalButtons(PlayerSession, List<Button>) - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
addAll(List<SubscribedListener<Key, ? extends BoxEvent, Priority>>) - Method in class net.okocraft.box.api.util.SubscribedListenerHolder
addFeature(FeatureFactory) - Method in interface net.okocraft.box.api.bootstrap.BootstrapContext
Adds a FeatureFactory to create and register BoxFeature.
addInfo(Component) - Method in class net.okocraft.box.api.event.player.PlayerCollectItemInfoEvent
Adds information of the BoxItem.
addItem(BoxItem) - Method in interface net.okocraft.box.feature.category.api.category.Category
Adds a BoxItem to this Category.
addItems(Collection<BoxItem>) - Method in interface net.okocraft.box.feature.category.api.category.Category
Adds BoxItems to this Category.
addRecipe(BoxItemRecipe) - Method in class net.okocraft.box.feature.craft.model.RecipeHolder
Adds the BoxItemRecipe.
AdminGive(CommandSender) - Constructor for record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminGive
Creates an instance of a AdminGive record class.
AdminReset(CommandSender) - Constructor for record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminReset
Creates an instance of a AdminReset record class.
AdminSet(CommandSender) - Constructor for record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminSet
Creates an instance of a AdminSet record class.
AdminTake(CommandSender) - Constructor for record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminTake
Creates an instance of a AdminTake record class.
amount() - Method in record class net.okocraft.box.api.model.stock.StockData
Returns the value of the amount record component.
amount() - Method in record class net.okocraft.box.api.transaction.TransactionResult
Returns the value of the amount record component.
amount() - Method in record class net.okocraft.box.feature.craft.model.BoxIngredientItem
Returns the value of the amount record component.
amount() - Method in record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Returns the value of the amount record component.
amount() - Method in record class net.okocraft.box.feature.craft.model.SelectedRecipe
Returns the value of the amount record component.
Amount - Class in net.okocraft.box.feature.gui.api.session
 
Amount() - Constructor for class net.okocraft.box.feature.gui.api.session.Amount
 
AMOUNT - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <amount>.
Amount.Unit - Enum Class in net.okocraft.box.feature.gui.api.session
 
api() - Static method in interface net.okocraft.box.api.BoxAPI
Gets an instance of BoxAPI.
applyTo(ItemStack) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
ARG - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <arg>.
asDisabling() - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Converts this context to FeatureContext.Disabling.
asEnabling() - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Converts this context to FeatureContext.Enabling.
asMap() - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Converts this CategoryRegistry to Map.
asUser() - Method in interface net.okocraft.box.api.player.BoxPlayer
Returns BoxUser that created from BoxPlayer.getUUID() and BoxPlayer.getName().
async() - Method in interface net.okocraft.box.api.event.caller.EventCallerProvider
 
AutoStoreFeature - Class in net.okocraft.box.feature.autostore
A BoxFeature that provides autostore feature.
AutoStoreFeature(FeatureContext.Registration) - Constructor for class net.okocraft.box.feature.autostore.AutoStoreFeature
The constructor of AutoStoreFeature.
AutoStoreSetting - Class in net.okocraft.box.feature.autostore.setting
A class to hold the user's auto-store settings.
AutoStoreSetting(UUID) - Constructor for class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
The constructor of the AutoStoreSetting.
AutoStoreSettingProvider - Interface in net.okocraft.box.feature.autostore
An interface to load/save AutoStoreSettings.

B

BACK_MENU - Static variable in interface net.okocraft.box.feature.gui.api.button.ClickResult
 
backMenu() - Method in class net.okocraft.box.feature.gui.api.session.MenuHistoryHolder
 
BackOrCloseButton - Record Class in net.okocraft.box.feature.gui.api.buttons
 
BackOrCloseButton(int) - Constructor for record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
Creates an instance of a BackOrCloseButton record class.
BlockItem(BoxPlayer, Location) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
Creates an instance of a BlockItem record class.
blockLocation() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
Returns the value of the blockLocation record component.
BlockPlace(BoxPlayer, Location) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
Creates an instance of a BlockPlace record class.
BootstrapContext - Interface in net.okocraft.box.api.bootstrap
An interface that represents the context during Box initialization.
BoxAdminCommand - Interface in net.okocraft.box.api.command.base
An interface of /boxadmin command.
BoxAPI - Interface in net.okocraft.box.api
An API of Box.
BoxCommand - Interface in net.okocraft.box.api.command.base
An interface of /box command.
BoxCraftEvent - Class in net.okocraft.box.feature.craft.event
An event that called when the Player is crafting items in Box.
BoxCraftEvent(Player, SelectedRecipe, int) - Constructor for class net.okocraft.box.feature.craft.event.BoxCraftEvent
The constructor of BoxCraftEvent.
BoxCustomItem - Interface in net.okocraft.box.api.model.item
An interface for the added item.
BoxDefaultItem - Interface in net.okocraft.box.api.model.item
A BoxItem that is added by default.
BoxEvent - Class in net.okocraft.box.api.event
A superclass for all events fired by the Box.
BoxEvent() - Constructor for class net.okocraft.box.api.event.BoxEvent
The constructor of BoxEvent.
BoxFeature - Interface in net.okocraft.box.api.feature
An interface that adds a box feature.
BoxIngredientItem - Record Class in net.okocraft.box.feature.craft.model
A record to define the ingredient that uses to craft the item.
BoxIngredientItem(BoxItem, int) - Constructor for record class net.okocraft.box.feature.craft.model.BoxIngredientItem
Creates an instance of a BoxIngredientItem record class.
BoxItem - Interface in net.okocraft.box.api.model.item
An interface of the item that can deposit or withdraw.
BoxItemClickMode - Interface in net.okocraft.box.feature.gui.api.mode
 
BoxItemRecipe - Record Class in net.okocraft.box.feature.craft.model
A record to define the recipe that can be crafted in Box.
BoxItemRecipe(List<IngredientHolder>, BoxItem, int) - Constructor for record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Creates an instance of a BoxItemRecipe record class.
BoxLogger - Class in net.okocraft.box.api.util
A class to get Box's logger.
BoxPlayer - Interface in net.okocraft.box.api.player
An interface of the online user.
BoxPlayerMap - Interface in net.okocraft.box.api.player
An interface to get the BoxPlayer from Player.
BoxProvider - Class in net.okocraft.box.api
A class to provide BoxAPI.
BoxScheduler - Interface in net.okocraft.box.api.scheduler
An interface to schedule tasks.
BoxStickItem - Class in net.okocraft.box.feature.stick.item
A record to hold a key representing that the item is a Box Stick and provide methods to check if the ItemStack is Box Item.
BoxStickItem(NamespacedKey) - Constructor for class net.okocraft.box.feature.stick.item.BoxStickItem
The constructor of BoxStickItem.
BoxUser - Interface in net.okocraft.box.api.model.user
An interface of a box user.
Brewer(BoxPlayer, Location, StickCauses.Brewer.Type) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Creates an instance of a Brewer record class.
brewerLocation() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Returns the value of the brewerLocation record component.
build() - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
builder() - Static method in record class net.okocraft.box.feature.gui.api.util.SoundBase
 
Builder() - Constructor for class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
Button - Interface in net.okocraft.box.feature.gui.api.button
 

C

callDecreaseEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockEventCaller
callIncreaseEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockEventCaller
callOverflowEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockEventCaller
callResetEvent(StockHolder, Collection<StockData>) - Method in interface net.okocraft.box.api.model.stock.StockEventCaller
callSetEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockEventCaller
Cancellable - Interface in net.okocraft.box.api.event
An interface that indicates the cancel status of the event.
CANNOT_USE_BOX - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the player cannot use Box.
canUse(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
canUseBox(Player) - Method in interface net.okocraft.box.api.BoxAPI
Checks if the specified Player can use Box.
Category - Interface in net.okocraft.box.feature.category.api.category
An interface that represents the category into which items are grouped.
CategoryRegistry - Interface in net.okocraft.box.feature.category.api.registry
A class for registry of Category.
changeMenu(Menu) - Static method in interface net.okocraft.box.feature.gui.api.button.ClickResult
 
ChangeMenu(Menu) - Constructor for record class net.okocraft.box.feature.gui.api.button.ClickResult.ChangeMenu
Creates an instance of a ChangeMenu record class.
changeNoArgumentCommand(Command) - Method in interface net.okocraft.box.api.command.base.BoxAdminCommand
Changes the command when there is no argument.
changeNoArgumentCommand(Command) - Method in interface net.okocraft.box.api.command.base.BoxCommand
Changes the command when there is no argument.
check(ItemStack) - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
Checks if the ItemStack is a Box Stick.
clazz() - Method in record class net.okocraft.box.feature.gui.api.session.TypedKey
Returns the value of the clazz record component.
clearAndEnableItems(IntCollection) - Method in class net.okocraft.box.feature.autostore.setting.PerItemSetting
Clears and enables specified items.
clearLore() - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
CLICK - Static variable in record class net.okocraft.box.feature.gui.api.util.SoundBase
 
clicker() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Deposit
Returns the value of the clicker record component.
clicker() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Withdraw
Returns the value of the clicker record component.
ClickModeCheckEvent - Class in net.okocraft.box.feature.gui.api.event.mode
 
ClickModeCheckEvent(PlayerSession, BoxItemClickMode, boolean) - Constructor for class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
ClickModeHolder - Class in net.okocraft.box.feature.gui.api.session
 
ClickModeRegistry - Class in net.okocraft.box.feature.gui.api.mode
 
ClickModeRegistry() - Constructor for class net.okocraft.box.feature.gui.api.mode.ClickModeRegistry
 
ClickResult - Interface in net.okocraft.box.feature.gui.api.button
 
ClickResult.ChangeMenu - Record Class in net.okocraft.box.feature.gui.api.button
 
ClickResult.WaitingTask - Class in net.okocraft.box.feature.gui.api.button
 
CloseButton - Record Class in net.okocraft.box.feature.gui.api.buttons
 
CloseButton(int) - Constructor for record class net.okocraft.box.feature.gui.api.buttons.CloseButton
Creates an instance of a CloseButton record class.
Command - Interface in net.okocraft.box.api.command
An interface of the command.
COMMAND_ONLY_PLAYER - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the command executed by the non-player.
CommandCauses - Class in net.okocraft.box.feature.command.event.stock
A class for implementing StockEvent.Cause.
CommandCauses.AdminGive - Record Class in net.okocraft.box.feature.command.event.stock
A StockEvent.Cause implementation that indicates increasing stock by an admin.
CommandCauses.AdminReset - Record Class in net.okocraft.box.feature.command.event.stock
A StockEvent.Cause implementation that indicates resetting stock by an admin.
CommandCauses.AdminSet - Record Class in net.okocraft.box.feature.command.event.stock
A StockEvent.Cause implementation that indicates setting stock by an admin.
CommandCauses.AdminTake - Record Class in net.okocraft.box.feature.command.event.stock
A StockEvent.Cause implementation that indicates decreasing stock by an admin.
CommandCauses.Give - Record Class in net.okocraft.box.feature.command.event.stock
A StockEvent.Cause implementation that indicates giving items to the other player.
CommandCauses.Receive - Record Class in net.okocraft.box.feature.command.event.stock
A StockEvent.Cause implementation that indicates receiving items from the other player.
commandSender() - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Returns the value of the commandSender record component.
compareTo(MCDataVersion) - Method in record class net.okocraft.box.api.util.MCDataVersion
 
complete(ClickResult) - Method in class net.okocraft.box.feature.gui.api.button.ClickResult.WaitingTask
 
completeAsync(ClickResult) - Method in class net.okocraft.box.feature.gui.api.button.ClickResult.WaitingTask
 
computeDataIfAbsent(TypedKey<T>, Supplier<? extends T>) - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
Container(BoxPlayer, Location) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
Creates an instance of a Container record class.
containerLocation() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
Returns the value of the containerLocation record component.
containsItem(BoxItem) - Method in interface net.okocraft.box.feature.category.api.category.Category
Checks if the BoxItem is contained in this Category.
copyLoreFrom(ItemStack) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
CraftCause - Record Class in net.okocraft.box.feature.craft.event.stock
A StockEvent.Cause implementation indicating that the amount of stock has been modified by crafting.
CraftCause(Player, SelectedRecipe) - Constructor for record class net.okocraft.box.feature.craft.event.stock.CraftCause
Creates an instance of a CraftCause record class.
crafter() - Method in record class net.okocraft.box.feature.craft.event.stock.CraftCause
Returns the value of the crafter record component.
create() - Static method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
create(int, List<BoxIngredientItem>) - Static method in record class net.okocraft.box.feature.craft.model.IngredientHolder
 
create(Class<M>) - Static method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
create(String) - Static method in interface net.okocraft.box.api.event.stockholder.stock.StockEvent.Cause
Creates the simple implementation of StockEvent.Cause that implements StockEvent.Cause.name()
create(FeatureContext.Registration) - Method in interface net.okocraft.box.api.feature.FeatureFactory
Creates a new BoxFeature.
create(BoxItem, int) - Static method in record class net.okocraft.box.api.transaction.TransactionResult
Creates a new TransactionResult.
create(StockHolder) - Static method in class net.okocraft.box.api.transaction.StockHolderTransaction
createAdditionalButton(PlayerSession, int) - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
createBoxUser(UUID) - Method in interface net.okocraft.box.api.model.manager.UserManager
Creates a BoxUser with a UUID.
createBoxUser(UUID, String) - Method in interface net.okocraft.box.api.model.manager.UserManager
Creates a BoxUser with a UUID and a name.
createButton(T, int) - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
createCurrentPageKey(String) - Static method in interface net.okocraft.box.feature.gui.api.menu.paginate.PaginatedMenu
 
createDefault(EventCaller<BoxEvent>) - Static method in interface net.okocraft.box.api.model.stock.StockEventCaller
Creates a default implementation of StockEventCaller.
createIcon(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.button.Button
 
createIcon(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.DecreaseAmountButton
 
createIcon(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.IncreaseAmountButton
 
createIcon(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.UnitChangeButton
 
createIcon(PlayerSession) - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
 
createIcon(PlayerSession) - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
 
createItem(Material) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
createItem(Material, int) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
createItemIcon(PlayerSession, BoxItem) - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
createStockHolder(UUID, String, StockEventCaller) - Method in interface net.okocraft.box.api.model.manager.StockManager
Creates an implementation of StockHolder.
createStockHolder(UUID, String, StockEventCaller, Collection<StockData>) - Method in interface net.okocraft.box.api.model.manager.StockManager
Creates an implementation of StockHolder with a collection of StockData.
current() - Static method in record class net.okocraft.box.api.util.MCDataVersion
Gets MCDataVersion of the server on which Box is currently running.
CURRENT - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <current>.
CustomDataManager - Interface in net.okocraft.box.api.model.customdata
An interface to load/save custom data using MapNode.
customItem() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.Success
Returns the value of the customItem record component.
customItem() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.Success
Returns the value of the customItem record component.
CustomItemRegisterEvent - Class in net.okocraft.box.api.event.item
An event that is called when a new BoxCustomItem has been registered.
CustomItemRegisterEvent(BoxCustomItem) - Constructor for class net.okocraft.box.api.event.item.CustomItemRegisterEvent
The constructor of CustomItemRegisterEvent.
CustomItemRenameEvent - Class in net.okocraft.box.api.event.item
An event that is called when a new BoxCustomItem has been renamed.
CustomItemRenameEvent(BoxCustomItem, String) - Constructor for class net.okocraft.box.api.event.item.CustomItemRenameEvent
The constructor of a CustomItemRenameEvent.

D

dataDirectory() - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Returns the value of the dataDirectory record component.
dataVersion() - Method in record class net.okocraft.box.api.util.MCDataVersion
Returns the value of the dataVersion record component.
decrease() - Method in class net.okocraft.box.feature.gui.api.session.Amount
 
decrease(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
decrease(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Decreases the stock of the specified item.
DecreaseAmountButton - Class in net.okocraft.box.feature.gui.api.buttons.amount
 
DecreaseAmountButton(int, TypedKey<Amount>, MiniMessageBase, Arg1<Integer>, Arg1<Integer>, ClickResult) - Constructor for class net.okocraft.box.feature.gui.api.buttons.amount.DecreaseAmountButton
 
decreaseIfPossible(Object2IntMap<BoxItem>, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
decreaseIfPossible(Object2IntMap<BoxItem>, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Decreases the stock of the specified items.
decreaseIfPossible(Map<BoxItem, Integer>, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Decreases the stock of the specified items.
decreaseIfPossible(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
decreaseIfPossible(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Decreases the stock of the specified item.
decreaseToZero(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
decreaseToZero(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Decreases the stock of the specified item.
defaultMessageCollector() - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Returns the value of the defaultMessageCollector record component.
DefaultMessageCollector - Interface in net.okocraft.box.api.message
An interface that collects default messages.
delegate() - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
Gets the delegating StockHolder.
deposit(BoxItem, int) - Method in class net.okocraft.box.api.transaction.StockHolderTransaction
Creates a StockHolderTransaction.Deposit instance that depositing the specified BoxItem.
Deposit(Player) - Constructor for record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Deposit
Creates an instance of a Deposit record class.
DEPOSIT - Static variable in class net.okocraft.box.feature.command.event.stock.CommandCauses
A StockEvent.Cause that indicates depositing to own StockHolder.
depositAll() - Method in class net.okocraft.box.api.transaction.StockHolderTransaction
Creates a StockHolderTransaction.Deposit instance that depositing all items that can be deposited.
depositAll(Predicate<BoxItem>) - Method in class net.okocraft.box.api.transaction.StockHolderTransaction
Creates a StockHolderTransaction.Deposit instance that depositing filtered items that can be deposited.
disable(FeatureContext.Disabling) - Method in interface net.okocraft.box.api.feature.BoxFeature
Disables this BoxFeature.
disable(FeatureContext.Disabling) - Method in class net.okocraft.box.feature.autostore.AutoStoreFeature
 
disable(FeatureContext.Disabling) - Method in class net.okocraft.box.feature.stick.StickFeature
 
DISABLE - Enum constant in enum class net.okocraft.box.api.event.feature.FeatureEvent.Type
The feature was disabled
disableCache() - Static method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Disables caching objects.
Disabling(Plugin) - Constructor for record class net.okocraft.box.api.feature.FeatureContext.Disabling
Creates an instance of a Disabling record class.
displayName(Component) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
DuplicateItem(ItemStack) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateItem
Creates an instance of a DuplicateItem record class.
DuplicateName(String) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateName
Creates an instance of a DuplicateName record class.
DuplicateName(String) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRenameResult.DuplicateName
Creates an instance of a DuplicateName record class.

E

editMeta(Consumer<M>) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
enable(FeatureContext.Enabling) - Method in interface net.okocraft.box.api.feature.BoxFeature
Enables this BoxFeature.
enable(FeatureContext.Enabling) - Method in class net.okocraft.box.feature.autostore.AutoStoreFeature
 
enable(FeatureContext.Enabling) - Method in class net.okocraft.box.feature.stick.StickFeature
 
ENABLE - Enum constant in enum class net.okocraft.box.api.event.feature.FeatureEvent.Type
The feature was enabled
enableCache() - Static method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Enables caching objects.
Enabling(Plugin) - Constructor for record class net.okocraft.box.api.feature.FeatureContext.Enabling
Creates an instance of a Enabling record class.
entityType() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
Returns the value of the entityType record component.
equals(Object) - Method in record class net.okocraft.box.api.feature.FeatureContext.Disabling
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.feature.FeatureContext.Enabling
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateName
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.ExceptionOccurred
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.DuplicateName
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.ExceptionOccurred
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.Success
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.model.stock.StockData
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.transaction.TransactionResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.api.util.MCDataVersion
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
 
equals(Object) - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminGive
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminReset
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminSet
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminTake
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Give
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Receive
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.craft.event.stock.CraftCause
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.craft.model.BoxIngredientItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.craft.model.SelectedRecipe
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.button.ClickResult.ChangeMenu
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Deposit
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Withdraw
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.session.TypedKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.gui.api.util.SoundBase
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemBreak
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemConsume
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ShootBow
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
 
ERROR - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <error>.
ErrorMessages - Class in net.okocraft.box.api.message
A class that holds common error messages.
eventCaller() - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Returns the value of the eventCaller record component.
EventCallerProvider - Interface in net.okocraft.box.api.event.caller
 
exception() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.ExceptionOccurred
Returns the value of the exception record component.
exception() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.ExceptionOccurred
Returns the value of the exception record component.
ExceptionOccurred(Exception) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.ExceptionOccurred
Creates an instance of a ExceptionOccurred record class.
ExceptionOccurred(Exception) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRenameResult.ExceptionOccurred
Creates an instance of a ExceptionOccurred record class.

F

FeatureContext - Class in net.okocraft.box.api.feature
A class that define contexts for BoxFeature.
FeatureContext.Disabling - Record Class in net.okocraft.box.api.feature
A context on disabling.
FeatureContext.Enabling - Record Class in net.okocraft.box.api.feature
A context on enabling.
FeatureContext.Registration - Record Class in net.okocraft.box.api.feature
A context on registration.
FeatureContext.Reloading - Record Class in net.okocraft.box.api.feature
A context on reloading.
FeatureEvent - Class in net.okocraft.box.api.event.feature
A class that represents a BoxFeature related event.
FeatureEvent(BoxFeature, FeatureEvent.Type) - Constructor for class net.okocraft.box.api.event.feature.FeatureEvent
The constructor of a FeatureEvent.
FeatureEvent.Type - Enum Class in net.okocraft.box.api.event.feature
Types of this event.
FeatureFactory - Interface in net.okocraft.box.api.feature
An interface to create the BoxFeature.
FeatureProvider - Interface in net.okocraft.box.api.feature
An interface to provide BoxFeatures.
findSource(CommandSender) - Method in interface net.okocraft.box.api.message.MessageProvider
Gets a localized MiniMessageSource for CommandSenders.
fromExactChoice(int, RecipeChoice.ExactChoice) - Static method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Creates a IngredientHolder from RecipeChoice.ExactChoice.
fromInventory(Inventory, StockEvent.Cause) - Method in interface net.okocraft.box.api.transaction.StockHolderTransaction.Deposit
Deposits items from Inventory.
fromMaterialChoice(int, RecipeChoice.MaterialChoice) - Static method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Creates a IngredientHolder from RecipeChoice.MaterialChoice.
fromSingleItem(int, ItemStack) - Static method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Creates a IngredientHolder from the single ItemStack.
fromTopInventory(InventoryView, StockEvent.Cause) - Method in interface net.okocraft.box.api.transaction.StockHolderTransaction.Deposit
Deposits items from InventoryView.getTopInventory().
Furnace(BoxPlayer, Location, StickCauses.Furnace.Type) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Creates an instance of a Furnace record class.
furnaceLocation() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Returns the value of the furnaceLocation record component.

G

get() - Static method in interface net.okocraft.box.api.bootstrap.BootstrapContext
get() - Static method in class net.okocraft.box.api.BoxProvider
Gets a BoxAPI.
get() - Static method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Gets the CategoryRegistry instance.
get(Player) - Method in interface net.okocraft.box.api.player.BoxPlayerMap
Gets the BoxPlayer.
getAliases() - Method in class net.okocraft.box.api.command.AbstractCommand
 
getAliases() - Method in interface net.okocraft.box.api.command.Command
Gets the set of aliases.
getAmount() - Method in class net.okocraft.box.api.event.stockholder.stock.StockEvent
Gets the current amount of the stock.
getAmount() - Method in record class net.okocraft.box.api.transaction.TransactionResult
Gets the amount of the transacted item.
getAmount() - Method in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
getAmount(int) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Gets the stock quantity of the specified item.
getAmount(int) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
getAmount(BoxItem) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Gets the stock quantity of the specified item.
getAutoStoreSettingProvider() - Method in class net.okocraft.box.feature.autostore.AutoStoreFeature
getAvailableModes() - Method in class net.okocraft.box.feature.gui.api.session.ClickModeHolder
 
getBoxAdminCommand() - Method in interface net.okocraft.box.api.BoxAPI
Gets the BoxAdminCommand.
getBoxCommand() - Method in interface net.okocraft.box.api.BoxAPI
Gets the BoxCommand.
getBoxItem(int) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets the BoxItem of the specified id if it exists.
getBoxItem(String) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets the BoxItem of the specified name if it exists.
getBoxItem(ItemStack) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets the BoxItem of the specified item if it exists.
getBoxItemOrNull(int) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets the BoxItem of the specified id if it exists.
getBoxPlayer() - Method in class net.okocraft.box.api.event.player.PlayerEvent
Gets the player of this event.
getBoxPlayerMap() - Method in interface net.okocraft.box.api.BoxAPI
Gets the BoxPlayerMap.
getBoxStickItem() - Method in class net.okocraft.box.feature.stick.StickFeature
Gets the BoxStickItem.
getButtons(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.menu.Menu
 
getButtons(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
getByName(String) - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Gets the Category that registered with the specified name.
getCause() - Method in class net.okocraft.box.api.event.stockholder.stock.StockEvent
Gets the cause that indicates why this event was called.
getClickedButton() - Method in class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
getClickType() - Method in class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
getClonedItem() - Method in interface net.okocraft.box.api.model.item.BoxItem
Gets the cloned ItemStack.
getCrafter() - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
Gets the player who is trying to craft.
getCurrentMode() - Method in class net.okocraft.box.feature.gui.api.session.ClickModeHolder
 
getCurrentPage(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
getCurrentPage(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.menu.paginate.PaginatedMenu
 
getCurrentStockHolder() - Method in interface net.okocraft.box.api.player.BoxPlayer
Gets the current StockHolder to deposit or withdraw.
getCustomDataManager() - Method in interface net.okocraft.box.api.BoxAPI
getCustomItemCategory() - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Gets the Category for custom items.
getData(TypedKey<T>) - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
getDataDirectory() - Method in interface net.okocraft.box.api.bootstrap.BootstrapContext
Gets the data directory of Box.
getDataOrThrow(TypedKey<T>) - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
getDecrements() - Method in class net.okocraft.box.api.event.stockholder.stock.StockDecreaseEvent
Gets the amount of decreased.
getDefaultMessageCollector() - Method in interface net.okocraft.box.api.bootstrap.BootstrapContext
getDependencies() - Method in interface net.okocraft.box.api.feature.BoxFeature
Gets classes of the dependent BoxFeature.
getDisplayName() - Method in interface net.okocraft.box.api.model.item.BoxItem
Gets the display name of this item as a Component.
getDisplayName(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
getDisplayName(Player) - Method in interface net.okocraft.box.feature.category.api.category.Category
Gets the display name.
getEnabledItems() - Method in class net.okocraft.box.feature.autostore.setting.PerItemSetting
Gets all enabled item ids.
getEventCaller() - Method in interface net.okocraft.box.api.bootstrap.BootstrapContext
Gets the EventCaller.
getEventCallers() - Method in interface net.okocraft.box.api.BoxAPI
getExcess() - Method in class net.okocraft.box.api.event.stockholder.stock.StockOverflowEvent
Gets the amount exceeding Integer.MAX_VALUE.
getFeature() - Method in class net.okocraft.box.api.event.feature.FeatureEvent
Gets the BoxFeature of this event.
getFeature(Class<? extends F>) - Method in interface net.okocraft.box.api.feature.FeatureProvider
Gets the BoxFeature instance of the specified class.
getFeatureProvider() - Method in interface net.okocraft.box.api.BoxAPI
Gets the FeatureProvider.
getFeatures() - Method in interface net.okocraft.box.api.feature.FeatureProvider
Gets all registered BoxFeatures.
getFromSession(PlayerSession) - Static method in class net.okocraft.box.feature.gui.api.session.ClickModeHolder
 
getFromSession(PlayerSession) - Static method in class net.okocraft.box.feature.gui.api.session.MenuHistoryHolder
 
getHelp(MiniMessageSource) - Method in interface net.okocraft.box.api.command.Command
Gets the helps.
getIconMaterial() - Method in interface net.okocraft.box.feature.category.api.category.Category
Gets the material to create ItemStack as the icon.
getIconMaterial() - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
getIconsPerPage() - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
getIconsPerPage() - Method in interface net.okocraft.box.feature.gui.api.menu.paginate.PaginatedMenu
 
getIfLoaded(UUID) - Method in interface net.okocraft.box.feature.autostore.AutoStoreSettingProvider
Gets the player's AutoStoreSetting if loaded.
getIncrements() - Method in class net.okocraft.box.api.event.stockholder.stock.StockIncreaseEvent
Gets the amount of increased.
getInfo() - Method in class net.okocraft.box.api.event.player.PlayerCollectItemInfoEvent
Returns the list of information of the BoxItem for the BoxPlayer.
getInternalId() - Method in interface net.okocraft.box.api.model.item.BoxItem
Gets the internal id of this item.
getItem() - Method in class net.okocraft.box.api.event.item.ItemEvent
Gets the BoxItem of this event.
getItem() - Method in class net.okocraft.box.api.event.player.PlayerCollectItemInfoEvent
Gets the BoxItem to collect information.
getItem() - Method in class net.okocraft.box.api.event.stockholder.stock.StockEvent
Gets the item of the stock.
getItem() - Method in record class net.okocraft.box.api.transaction.TransactionResult
Gets the transacted item.
getItemIdList() - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets a list of item ids.
getItemList() - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets a list of registered BoxItems.
getItemManager() - Method in interface net.okocraft.box.api.BoxAPI
Gets the ItemManager.
getItemNameConverter(MCDataVersion) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Get the UnaryOperator that converts the default item name from the specified MCDataVersion to the current MCDataVersion.
getItemNameList() - Method in interface net.okocraft.box.api.model.manager.ItemManager
Gets a list of item names
getItems() - Method in interface net.okocraft.box.feature.category.api.category.Category
Gets the list of items that are categorized to this Category.
getListeners() - Method in class net.okocraft.box.api.util.SubscribedListenerHolder
Gets the SubscribedListeners this instance holds.
getListenerSubscriber() - Method in interface net.okocraft.box.api.bootstrap.BootstrapContext
getListenerSubscriber() - Method in interface net.okocraft.box.api.BoxAPI
getMaxPage() - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
getMaxPage() - Method in interface net.okocraft.box.feature.gui.api.menu.paginate.PaginatedMenu
 
getMenu() - Method in class net.okocraft.box.feature.gui.api.event.MenuEvent
 
getMessageProvider() - Method in interface net.okocraft.box.api.BoxAPI
Gets the MessageProvider.
getMessageSource() - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
getMode() - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
getModes() - Static method in class net.okocraft.box.feature.gui.api.mode.ClickModeRegistry
 
getName() - Method in class net.okocraft.box.api.command.AbstractCommand
 
getName() - Method in interface net.okocraft.box.api.command.Command
Gets the command name.
getName() - Method in class net.okocraft.box.api.feature.AbstractBoxFeature
 
getName() - Method in interface net.okocraft.box.api.feature.BoxFeature
Gets the name of this feature.
getName() - Method in interface net.okocraft.box.api.model.stock.StockHolder
Gets the name of this holder.
getName() - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
getName() - Method in interface net.okocraft.box.api.model.user.BoxUser
Gets the name of this user.
getName() - Method in interface net.okocraft.box.api.player.BoxPlayer
Gets the name of this user.
getOrCreateAmount(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.DecreaseAmountButton
 
getOrCreateAmount(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.IncreaseAmountButton
 
getOrCreateAmount(PlayerSession) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.UnitChangeButton
 
getOriginal() - Method in interface net.okocraft.box.api.model.item.BoxItem
Gets the original ItemStack.
getOriginalResult() - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
getOrLoad(UUID) - Method in interface net.okocraft.box.feature.autostore.AutoStoreSettingProvider
Gets or load the player's AutoStoreSetting.
getPerItemModeSetting() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Gets the PerItemSetting.
getPermissionNode() - Method in class net.okocraft.box.api.command.AbstractCommand
 
getPermissionNode() - Method in interface net.okocraft.box.api.command.Command
Gets the permission node.
getPersonalStockHolder() - Method in interface net.okocraft.box.api.player.BoxPlayer
Gets the personal StockHolder of this player.
getPersonalStockHolder(BoxUser) - Method in interface net.okocraft.box.api.model.manager.StockManager
Gets the PersonalStockHolder of the specified BoxUser.
getPlainName() - Method in interface net.okocraft.box.api.model.item.BoxItem
Gets the plain name of this item.
getPlayer() - Method in interface net.okocraft.box.api.player.BoxPlayer
Gets the Player instance.
getPluginDirectory() - Method in interface net.okocraft.box.api.BoxAPI
Gets the path of the plugin directory.
getPreviousAmount() - Method in class net.okocraft.box.api.event.stockholder.stock.StockSetEvent
Gets the amount of stock before set.
getPreviousName() - Method in class net.okocraft.box.api.event.item.CustomItemRenameEvent
Gets the previous name of the item.
getPreviousStockHolder() - Method in class net.okocraft.box.api.event.player.PlayerStockHolderChangeEvent
Gets the previous StockHolder of the player.
getRecipe() - Method in class net.okocraft.box.feature.craft.event.RecipeImportEvent
Gets the imported BoxItemRecipe.
getRecipeList() - Method in class net.okocraft.box.feature.craft.model.RecipeHolder
Returns the BoxItemRecipe list.
getRecipes(BoxItem) - Static method in class net.okocraft.box.feature.craft.RecipeRegistry
Returns the RecipeHolder of the specified BoxItem.
getRegisteredName(Category) - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Gets the name of Category.
getRemappedItemIds() - Method in interface net.okocraft.box.api.model.manager.ItemManager
Get the remapped item ids.
getRows() - Method in interface net.okocraft.box.feature.gui.api.menu.Menu
 
getRows() - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
getScheduler() - Method in interface net.okocraft.box.api.BoxAPI
Gets the BoxScheduler.
getSelectedRecipe() - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
Gets the recipe to craft.
getSession() - Method in class net.okocraft.box.feature.gui.api.event.MenuEvent
 
getSession() - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
getSlot() - Method in interface net.okocraft.box.feature.gui.api.button.Button
 
getSlot() - Method in class net.okocraft.box.feature.gui.api.buttons.amount.DecreaseAmountButton
 
getSlot() - Method in class net.okocraft.box.feature.gui.api.buttons.amount.IncreaseAmountButton
 
getSlot() - Method in class net.okocraft.box.feature.gui.api.buttons.amount.UnitChangeButton
 
getSlot() - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
 
getSlot() - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
 
getSlot() - Method in class net.okocraft.box.feature.gui.api.mode.AbstractStorageMode.AbstractDepositAllButton
 
getSourceStockHolder() - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
getSourceUser() - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
getStockDataBeforeReset() - Method in class net.okocraft.box.api.event.stockholder.StockHolderResetEvent
getStockedItems() - Method in interface net.okocraft.box.api.model.stock.StockHolder
Gets a stocked item collection.
getStockedItems() - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
getStockHolder() - Method in class net.okocraft.box.api.event.stockholder.StockHolderEvent
Gets the stockholder.
getStockManager() - Method in interface net.okocraft.box.api.BoxAPI
Gets the StockManager.
getStorageMode() - Static method in class net.okocraft.box.feature.gui.api.mode.ClickModeRegistry
 
getSubCommandHolder() - Method in interface net.okocraft.box.api.command.SubCommandHoldable
getSubCommands() - Method in class net.okocraft.box.api.command.SubCommandHoldable.SubCommandHolder
Gets the set of subcommands.
getTimes() - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
Gets the number of times to craft.
getTitle(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.menu.Menu
 
getType() - Method in class net.okocraft.box.api.event.feature.FeatureEvent
Gets the FeatureEvent.Type of this event.
getUnit() - Method in class net.okocraft.box.feature.gui.api.session.Amount
 
getUser() - Method in class net.okocraft.box.api.event.user.UserDataResetEvent
Gets the user being reset
getUser() - Method in interface net.okocraft.box.api.model.stock.PersonalStockHolder
Gets the BoxUser who has this StockHolder.
getUserManager() - Method in interface net.okocraft.box.api.BoxAPI
Gets the UserManager.
getUuid() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Gets the user's UUID.
getUUID() - Method in interface net.okocraft.box.api.model.stock.StockHolder
Gets the uuid of this holder.
getUUID() - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
getUUID() - Method in interface net.okocraft.box.api.model.user.BoxUser
Gets the UUID of this user.
getUUID() - Method in interface net.okocraft.box.api.player.BoxPlayer
Gets the UUID of this user.
getValue() - Method in class net.okocraft.box.feature.gui.api.session.Amount
 
getVersion() - Method in interface net.okocraft.box.api.bootstrap.BootstrapContext
Gets the version of Box.
getViewer() - Method in class net.okocraft.box.feature.gui.api.event.MenuEvent
 
getViewer() - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
Give(BoxPlayer) - Constructor for record class net.okocraft.box.feature.command.event.stock.CommandCauses.Give
Creates an instance of a Give record class.
glassPane(int) - Static method in interface net.okocraft.box.feature.gui.api.button.Button
 
GuiCauses - Class in net.okocraft.box.feature.gui.api.event.stock
A class for implementing StockEvent.Cause.
GuiCauses.Deposit - Record Class in net.okocraft.box.feature.gui.api.event.stock
A StockEvent.Cause that indicates depositing to own StockHolder.
GuiCauses.Withdraw - Record Class in net.okocraft.box.feature.gui.api.event.stock
A StockEvent.Cause that indicates withdrawing from own StockHolder.

H

hasAdditionalButton() - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
hashCode() - Method in record class net.okocraft.box.api.feature.FeatureContext.Disabling
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.feature.FeatureContext.Enabling
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateItem
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateName
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.ExceptionOccurred
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.Success
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.DuplicateName
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.ExceptionOccurred
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.Success
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.model.stock.StockData
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.transaction.TransactionResult
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.api.util.MCDataVersion
Returns a hash code value for this object.
hashCode() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
 
hashCode() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminGive
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminReset
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminSet
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminTake
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Give
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Receive
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.craft.event.stock.CraftCause
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.craft.model.BoxIngredientItem
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.craft.model.SelectedRecipe
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.button.ClickResult.ChangeMenu
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Deposit
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Withdraw
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.session.TypedKey
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.gui.api.util.SoundBase
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemBreak
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemConsume
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
Returns a hash code value for this object.
hashCode() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ShootBow
Returns a hash code value for this object.
hashCode() - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
 
hasPreviousMenu() - Method in class net.okocraft.box.feature.gui.api.session.MenuHistoryHolder
 
hasRecipe(BoxItem) - Static method in class net.okocraft.box.feature.craft.RecipeRegistry
Checks if the BoxItem has recipes.

I

increase() - Method in class net.okocraft.box.feature.gui.api.session.Amount
 
increase(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
increase(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Increases the stock of the specified item.
IncreaseAmountButton - Class in net.okocraft.box.feature.gui.api.buttons.amount
 
IncreaseAmountButton(int, TypedKey<Amount>, MiniMessageBase, Arg1<Integer>, Arg1<Integer>, Arg1<Integer>, ClickResult) - Constructor for class net.okocraft.box.feature.gui.api.buttons.amount.IncreaseAmountButton
 
IngredientHolder - Record Class in net.okocraft.box.feature.craft.model
A class that holds multiple BoxIngredientItems.
IngredientHolder(int, List<BoxIngredientItem>) - Constructor for record class net.okocraft.box.feature.craft.model.IngredientHolder
Creates an instance of a IngredientHolder record class.
ingredients() - Method in record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Returns the value of the ingredients record component.
ingredients() - Method in record class net.okocraft.box.feature.craft.model.SelectedRecipe
Returns the value of the ingredients record component.
INVALID_NUMBER - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the specified argument is not number.
InventoryUtil - Class in net.okocraft.box.api.util
A utility class for an Inventory.
isAfter(V) - Method in interface net.okocraft.box.api.util.Version
Checks if this Version is after the given Version.
isAfterOrSame(V) - Method in interface net.okocraft.box.api.util.Version
Checks if this Version is the same as or later than the given Version.
isAllMode() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Whether the current auto-store mode is all mode.
isAllowed() - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
isBefore(V) - Method in interface net.okocraft.box.api.util.Version
Checks if this Version is before the given Version.
isBeforeOrSame(V) - Method in interface net.okocraft.box.api.util.Version
Checks if this Version is the same as or earlier than the given Version.
isBetween(V, V) - Method in interface net.okocraft.box.api.util.Version
Checks if this Version is contained between the specified Versions.
isCancelled() - Method in interface net.okocraft.box.api.event.Cancellable
Gets if the event has been cancelled.
isCancelled() - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
 
isCancelled() - Method in class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
isCancelled() - Method in class net.okocraft.box.feature.gui.api.event.MenuOpenEvent
 
isCustomItem(BoxItem) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Checks if the specified item is a custom item created by box itself.
isDirect() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Whether the direct auto-store is enabled.
isDisabledWorld(String) - Method in interface net.okocraft.box.api.BoxAPI
Checks if Box is not available in the specified world name.
isDisabledWorld(World) - Method in interface net.okocraft.box.api.BoxAPI
Checks if Box is not available in the specified world.
isEnabled() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Whether the auto-store is enabled or not.
isEnabled(BoxItem) - Method in class net.okocraft.box.feature.autostore.setting.PerItemSetting
Checks if the BoxItem is enabled.
isLoaded() - Static method in interface net.okocraft.box.api.BoxAPI
Checks if BoxAPI is available.
isLoaded(UUID) - Method in interface net.okocraft.box.feature.autostore.AutoStoreSettingProvider
Checks if the AutoStoreSetting of the specified Player is loaded.
isLoaded(Player) - Method in interface net.okocraft.box.api.player.BoxPlayerMap
Checks if the BoxPlayer of specified player is loaded.
isRegistered(ItemStack) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Checks if the specified item has already been registered.
isSame(V) - Method in interface net.okocraft.box.api.util.Version
Checks if this Version is same as the given Version.
isScheduledLoading(Player) - Method in interface net.okocraft.box.api.player.BoxPlayerMap
Checks if loading of data for the specified player is scheduled.
isUsedName(String) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Checks if the specified name has already been used.
item() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateItem
Returns the value of the item record component.
item() - Method in record class net.okocraft.box.api.transaction.TransactionResult
Returns the value of the item record component.
item() - Method in record class net.okocraft.box.feature.craft.model.BoxIngredientItem
Returns the value of the item record component.
ITEM - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <item>.
ITEM_NAME - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <item_name>.
ITEM_NOT_FOUND - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the specified item is not found.
ItemBreak(BoxPlayer) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemBreak
Creates an instance of a ItemBreak record class.
ItemConsume(BoxPlayer) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemConsume
Creates an instance of a ItemConsume record class.
ItemEditor<M> - Class in net.okocraft.box.feature.gui.api.util
 
ItemEvent - Class in net.okocraft.box.api.event.item
A class that represents a BoxItem related event.
ItemEvent(BoxItem) - Constructor for class net.okocraft.box.api.event.item.ItemEvent
The constructor of a ItemEvent.
itemId() - Method in record class net.okocraft.box.api.model.stock.StockData
Returns the value of the itemId record component.
ItemImportEvent - Class in net.okocraft.box.api.event.item
An event called when the BoxItem is imported.
ItemImportEvent(BoxItem) - Constructor for class net.okocraft.box.api.event.item.ItemImportEvent
The constructor of a ItemImportEvent.
ItemManager - Interface in net.okocraft.box.api.model.manager
An interface to manage BoxItems.
ItemNameGenerator - Class in net.okocraft.box.api.util
A utility class for generating item names.
itemNames(String) - Static method in class net.okocraft.box.api.util.TabCompleter
Gets the set of item names that match the filter.
ItemRegistrationResult - Interface in net.okocraft.box.api.model.result.item
An interface that represents a result of registering a custom item.
ItemRegistrationResult.DuplicateItem - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRegistrationResult that indicates failure due to a duplicate item.
ItemRegistrationResult.DuplicateName - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRegistrationResult that indicates failure due to a duplicate name.
ItemRegistrationResult.ExceptionOccurred - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRegistrationResult that indicates failure due to exception occurred.
ItemRegistrationResult.Success - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRegistrationResult that indicates success.
ItemRenameResult - Interface in net.okocraft.box.api.model.result.item
An interface that represents a result of renaming a custom item.
ItemRenameResult.DuplicateName - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRenameResult that indicates failure due to a duplicate name.
ItemRenameResult.ExceptionOccurred - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRenameResult that indicates failure due to exception occurred.
ItemRenameResult.Success - Record Class in net.okocraft.box.api.model.result.item
A record of the ItemRenameResult that indicates success.
itemStack(Keyed, byte[]) - Static method in class net.okocraft.box.api.util.ItemNameGenerator
Creates the name from the ItemStack.
itemStack(ItemStack) - Static method in class net.okocraft.box.api.util.ItemNameGenerator
Creates the name from the ItemStack.

K

key() - Method in record class net.okocraft.box.feature.gui.api.session.TypedKey
Returns the value of the key record component.
key() - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
Gets the NamespacedKey that is used for saving data to PersistentDataContainer.
key(Key) - Static method in class net.okocraft.box.api.util.ItemNameGenerator
Creates the name from the Key.
key(Keyed) - Static method in class net.okocraft.box.api.util.ItemNameGenerator
Creates the name from the Keyed.
KEY - Static variable in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
keys(Keyed, Keyed) - Static method in class net.okocraft.box.api.util.ItemNameGenerator
Creates the name from the Keyeds.
keys(Keyed, Keyed, Keyed...) - Static method in class net.okocraft.box.api.util.ItemNameGenerator
Creates the name from the Keyeds.

L

listenerSubscriber() - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Returns the value of the listenerSubscriber record component.
loadBoxUser(UUID) - Method in interface net.okocraft.box.api.model.manager.UserManager
Loads the BoxUser of specified UUID.
loadData(Key) - Method in interface net.okocraft.box.api.model.customdata.CustomDataManager
Loads the MapNode.
logger() - Static method in class net.okocraft.box.api.util.BoxLogger
Gets Box's Logger.
loreEmptyLine() - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
loreEmptyLineIf(boolean) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
loreLine(Component) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
loreLineIf(boolean, Supplier<Component>) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
loreLines(Component) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 
loreLinesIf(boolean, Supplier<Component>) - Method in class net.okocraft.box.feature.gui.api.util.ItemEditor
 

M

MC_1_17 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.17
MC_1_17_1 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.17.1
MC_1_18 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.18
MC_1_18_1 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.18.1
MC_1_18_2 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.18.2
MC_1_19 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.19
MC_1_19_1 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.19.1
MC_1_19_2 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.19.2
MC_1_19_3 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.19.3
MC_1_19_4 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.19.4
MC_1_20 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20
MC_1_20_1 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20.1
MC_1_20_2 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20.2
MC_1_20_3 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20.3
MC_1_20_4 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20.4
MC_1_20_5 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20.5
MC_1_20_6 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.20.6
MC_1_21 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.21
MC_1_21_1 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.21.1
MC_1_21_2 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.21.2
MC_1_21_3 - Static variable in record class net.okocraft.box.api.util.MCDataVersion
A MCDataVersion that represents Minecraft 1.21.3
MCDataVersion - Record Class in net.okocraft.box.api.util
A class to get/compare Minecraft versions based on data version.
MCDataVersion(int) - Constructor for record class net.okocraft.box.api.util.MCDataVersion
Creates an instance of a MCDataVersion record class.
menu() - Method in record class net.okocraft.box.feature.gui.api.button.ClickResult.ChangeMenu
Returns the value of the menu record component.
Menu - Interface in net.okocraft.box.feature.gui.api.menu
 
MenuClickEvent - Class in net.okocraft.box.feature.gui.api.event
 
MenuClickEvent(Menu, PlayerSession, Button, ClickType) - Constructor for class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
MenuEvent - Class in net.okocraft.box.feature.gui.api.event
 
MenuEvent(Menu, PlayerSession) - Constructor for class net.okocraft.box.feature.gui.api.event.MenuEvent
 
MenuHistoryHolder - Class in net.okocraft.box.feature.gui.api.session
 
MenuOpener - Class in net.okocraft.box.feature.gui.api.util
 
MenuOpenEvent - Class in net.okocraft.box.feature.gui.api.event
 
MenuOpenEvent(Menu, PlayerSession) - Constructor for class net.okocraft.box.feature.gui.api.event.MenuOpenEvent
 
MessageProvider - Interface in net.okocraft.box.api.message
An interface that provides a localized MiniMessageSource for CommandSenders.

N

name() - Method in interface net.okocraft.box.api.event.stockholder.stock.StockEvent.Cause
Gets the string that indicates the cause.
name() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateName
Returns the value of the name record component.
name() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.DuplicateName
Returns the value of the name record component.
name() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminGive
 
name() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminReset
 
name() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminSet
 
name() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminTake
 
name() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Give
 
name() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Receive
 
name() - Method in record class net.okocraft.box.feature.craft.event.stock.CraftCause
 
name() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Deposit
 
name() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Withdraw
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemBreak
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemConsume
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
 
name() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ShootBow
 
names() - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Gets the list of registered names.
net.okocraft.box.api - package net.okocraft.box.api
The root package of Box.
net.okocraft.box.api.bootstrap - package net.okocraft.box.api.bootstrap
A package of bootstrap-related classes.
net.okocraft.box.api.command - package net.okocraft.box.api.command
A package that includes command interfaces.
net.okocraft.box.api.command.base - package net.okocraft.box.api.command.base
A package that includes BoxCommand (/box) and BoxAdminCommand (/boxadmin).
net.okocraft.box.api.event - package net.okocraft.box.api.event
A package that includes Box's events.
net.okocraft.box.api.event.caller - package net.okocraft.box.api.event.caller
 
net.okocraft.box.api.event.feature - package net.okocraft.box.api.event.feature
A package of BoxFeature related events.
net.okocraft.box.api.event.item - package net.okocraft.box.api.event.item
A package of BoxItem related events.
net.okocraft.box.api.event.player - package net.okocraft.box.api.event.player
A package of BoxPlayer related events.
net.okocraft.box.api.event.stockholder - package net.okocraft.box.api.event.stockholder
A package of StockHolder related events.
net.okocraft.box.api.event.stockholder.stock - package net.okocraft.box.api.event.stockholder.stock
A package of stock related events.
net.okocraft.box.api.event.user - package net.okocraft.box.api.event.user
A package of BoxUser related events.
net.okocraft.box.api.feature - package net.okocraft.box.api.feature
A package that includes BoxFeature interfaces.
net.okocraft.box.api.message - package net.okocraft.box.api.message
A package of message related classes.
net.okocraft.box.api.model.customdata - package net.okocraft.box.api.model.customdata
A package of CustomDataManager.
net.okocraft.box.api.model.item - package net.okocraft.box.api.model.item
A package of BoxItem and BoxCustomItem.
net.okocraft.box.api.model.manager - package net.okocraft.box.api.model.manager
A package that includes manager interfaces of models such as BoxUser, BoxItem, and StockHolder.
net.okocraft.box.api.model.result.item - package net.okocraft.box.api.model.result.item
A package for results of registering / renaming custom items.
net.okocraft.box.api.model.stock - package net.okocraft.box.api.model.stock
A package that includes interfaces that indicates the user's stock.
net.okocraft.box.api.model.user - package net.okocraft.box.api.model.user
A package of BoxUser.
net.okocraft.box.api.player - package net.okocraft.box.api.player
A package that includes BoxPlayer and BoxPlayerMap.
net.okocraft.box.api.scheduler - package net.okocraft.box.api.scheduler
A package that includes BoxScheduler.
net.okocraft.box.api.transaction - package net.okocraft.box.api.transaction
A package that includes classes for adding/removing items to/from the inventory.
net.okocraft.box.api.util - package net.okocraft.box.api.util
A package of utility classes.
net.okocraft.box.feature.autostore - package net.okocraft.box.feature.autostore
A package of autostore feature.
net.okocraft.box.feature.autostore.setting - package net.okocraft.box.feature.autostore.setting
net.okocraft.box.feature.category.api.category - package net.okocraft.box.feature.category.api.category
A package of Category.
net.okocraft.box.feature.category.api.registry - package net.okocraft.box.feature.category.api.registry
A package of CategoryRegistry.
net.okocraft.box.feature.command.event.stock - package net.okocraft.box.feature.command.event.stock
A package of CommandCauses.
net.okocraft.box.feature.craft - package net.okocraft.box.feature.craft
A package of the craft feature.
net.okocraft.box.feature.craft.event - package net.okocraft.box.feature.craft.event
net.okocraft.box.feature.craft.event.stock - package net.okocraft.box.feature.craft.event.stock
A package of CraftCause.
net.okocraft.box.feature.craft.model - package net.okocraft.box.feature.craft.model
A package that contains models that used in craft feature.
net.okocraft.box.feature.gui.api.button - package net.okocraft.box.feature.gui.api.button
 
net.okocraft.box.feature.gui.api.buttons - package net.okocraft.box.feature.gui.api.buttons
 
net.okocraft.box.feature.gui.api.buttons.amount - package net.okocraft.box.feature.gui.api.buttons.amount
 
net.okocraft.box.feature.gui.api.event - package net.okocraft.box.feature.gui.api.event
 
net.okocraft.box.feature.gui.api.event.mode - package net.okocraft.box.feature.gui.api.event.mode
 
net.okocraft.box.feature.gui.api.event.stock - package net.okocraft.box.feature.gui.api.event.stock
 
net.okocraft.box.feature.gui.api.lang - package net.okocraft.box.feature.gui.api.lang
 
net.okocraft.box.feature.gui.api.menu - package net.okocraft.box.feature.gui.api.menu
 
net.okocraft.box.feature.gui.api.menu.paginate - package net.okocraft.box.feature.gui.api.menu.paginate
 
net.okocraft.box.feature.gui.api.mode - package net.okocraft.box.feature.gui.api.mode
 
net.okocraft.box.feature.gui.api.session - package net.okocraft.box.feature.gui.api.session
 
net.okocraft.box.feature.gui.api.util - package net.okocraft.box.feature.gui.api.util
 
net.okocraft.box.feature.stick - package net.okocraft.box.feature.stick
A package of StickFeature.
net.okocraft.box.feature.stick.event.stock - package net.okocraft.box.feature.stick.event.stock
A package of StickCause and record classes that implement StockEvent.Cause.
net.okocraft.box.feature.stick.item - package net.okocraft.box.feature.stick.item
A package of BoxStickItem.
newSession(Player) - Static method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
newSession(Player, BoxUser) - Static method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
next() - Method in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
nextUnit() - Method in class net.okocraft.box.feature.gui.api.session.Amount
 
NO_DECORATION_AQUA - Static variable in class net.okocraft.box.feature.gui.api.lang.Styles
 
NO_DECORATION_GOLD - Static variable in class net.okocraft.box.feature.gui.api.lang.Styles
 
NO_DECORATION_GRAY - Static variable in class net.okocraft.box.feature.gui.api.lang.Styles
 
NO_DECORATION_RED - Static variable in class net.okocraft.box.feature.gui.api.lang.Styles
 
NO_DECORATION_YELLOW - Static variable in class net.okocraft.box.feature.gui.api.lang.Styles
 
NO_PERMISSION - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the player does not have the permission.
NO_UPDATE_NEEDED - Static variable in interface net.okocraft.box.feature.gui.api.button.ClickResult
 
NOT_ENOUGH_ARGUMENT - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when arguments are not enough.

O

of(int) - Static method in record class net.okocraft.box.api.util.MCDataVersion
Creates a MCDataVersion from the specified data version
of(Class<T>, String) - Static method in record class net.okocraft.box.feature.gui.api.session.TypedKey
 
onClick(PlayerSession, BoxItem, ClickType) - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
onClick(PlayerSession, ClickType) - Method in interface net.okocraft.box.feature.gui.api.button.Button
 
onClick(PlayerSession, ClickType) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.DecreaseAmountButton
 
onClick(PlayerSession, ClickType) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.IncreaseAmountButton
 
onClick(PlayerSession, ClickType) - Method in class net.okocraft.box.feature.gui.api.buttons.amount.UnitChangeButton
 
onClick(PlayerSession, ClickType) - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
 
onClick(PlayerSession, ClickType) - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
 
onClick(PlayerSession, ClickType) - Method in class net.okocraft.box.feature.gui.api.mode.AbstractStorageMode.AbstractDepositAllButton
 
onCommand(CommandSender, String[]) - Method in interface net.okocraft.box.api.command.Command
Executes the command.
onCompleted(Consumer<ClickResult>) - Method in class net.okocraft.box.feature.gui.api.button.ClickResult.WaitingTask
 
onOpen(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.menu.Menu
 
onRightClick(Consumer<Player>) - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
Sets the action called when the Player right-clicked.
onRightClick(Player) - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
Calls the action of right-click
onSelect(PlayerSession) - Method in interface net.okocraft.box.feature.gui.api.mode.BoxItemClickMode
 
onTabComplete(CommandSender, String[]) - Method in class net.okocraft.box.api.command.AbstractCommand
 
onTabComplete(CommandSender, String[]) - Method in interface net.okocraft.box.api.command.Command
Gets the tab-completion.
open(Menu, PlayerSession) - Static method in class net.okocraft.box.feature.gui.api.util.MenuOpener
 

P

PaginatedMenu - Interface in net.okocraft.box.feature.gui.api.menu.paginate
 
patterns() - Method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Returns the value of the patterns record component.
PerItemSetting - Class in net.okocraft.box.feature.autostore.setting
A class to hold the user's per-item settings.
PerItemSetting() - Constructor for class net.okocraft.box.feature.autostore.setting.PerItemSetting
 
PERMISSION - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <permission>.
PersonalStockHolder - Interface in net.okocraft.box.api.model.stock
An interface that wraps the StockHolder owned by a user
pitch(float) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
placedLocation() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
Returns the value of the placedLocation record component.
Placeholders - Class in net.okocraft.box.api.message
A collection of common Placeholders.
play(Player) - Method in record class net.okocraft.box.feature.gui.api.util.SoundBase
 
player() - Method in interface net.okocraft.box.feature.stick.event.stock.StickCause
Returns the BoxPlayer that used the Box Stick.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemBreak
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemConsume
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
Returns the value of the player record component.
player() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ShootBow
Returns the value of the player record component.
PLAYER_NAME - Static variable in class net.okocraft.box.api.message.Placeholders
A Placeholder of <player_name>.
PLAYER_NOT_FOUND - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the specified player is not found.
PlayerCollectItemInfoEvent - Class in net.okocraft.box.api.event.player
A PlayerEvent called when the BoxPlayer collects item info through /box iteminfo.
PlayerCollectItemInfoEvent(BoxPlayer, BoxItem) - Constructor for class net.okocraft.box.api.event.player.PlayerCollectItemInfoEvent
The constructor of a PlayerCollectItemInfoEvent.
playerDataIsLoading(String) - Static method in class net.okocraft.box.api.message.ErrorMessages
Creates a message sent when the player data is currently loading.
playerDataIsNotLoaded(String) - Static method in class net.okocraft.box.api.message.ErrorMessages
Creates a message sent when the player data is not loaded.
PlayerEvent - Class in net.okocraft.box.api.event.player
A class that represents a BoxPlayer related event.
PlayerEvent(BoxPlayer) - Constructor for class net.okocraft.box.api.event.player.PlayerEvent
The constructor of a PlayerEvent.
PlayerLoadEvent - Class in net.okocraft.box.api.event.player
A PlayerEvent called when the BoxPlayer is loaded.
PlayerLoadEvent(BoxPlayer) - Constructor for class net.okocraft.box.api.event.player.PlayerLoadEvent
The constructor of a PlayerLoadEvent.
players(String) - Static method in class net.okocraft.box.api.util.TabCompleter
Gets the set of player names that match the filter.
players(String, String) - Static method in class net.okocraft.box.api.util.TabCompleter
Gets the set of player names that match the filter.
PlayerSession - Class in net.okocraft.box.feature.gui.api.session
 
PlayerStockHolderChangeEvent - Class in net.okocraft.box.api.event.player
A PlayerEvent called when the player changed the StockHolder.
PlayerStockHolderChangeEvent(BoxPlayer, StockHolder) - Constructor for class net.okocraft.box.api.event.player.PlayerStockHolderChangeEvent
The constructor of a PlayerStockHolderChangeEvent.
PlayerUnloadEvent - Class in net.okocraft.box.api.event.player
A PlayerEvent called when the BoxPlayer is unloaded.
PlayerUnloadEvent(BoxPlayer) - Constructor for class net.okocraft.box.api.event.player.PlayerUnloadEvent
The constructor of a PlayerUnloadEvent.
plugin() - Method in record class net.okocraft.box.api.feature.FeatureContext.Disabling
Returns the value of the plugin record component.
plugin() - Method in record class net.okocraft.box.api.feature.FeatureContext.Enabling
Returns the value of the plugin record component.
plugin() - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Returns the value of the plugin record component.
previousName() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.Success
Returns the value of the previousName record component.
processDeposit(PlayerSession, BoxItem) - Method in class net.okocraft.box.feature.gui.api.mode.AbstractStorageMode
 
processWithdraw(PlayerSession, BoxItem) - Method in class net.okocraft.box.feature.gui.api.mode.AbstractStorageMode
 
ProjectileLaunch(BoxPlayer, EntityType) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
Creates an instance of a ProjectileLaunch record class.
PUT_BLAZE_POWDER - Enum constant in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer.Type
Puts the blaze powders into the brewer.
PUT_FUEL - Enum constant in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace.Type
Puts the fuels into the furnace.
PUT_INGREDIENT - Enum constant in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace.Type
Puts the ingredients into the furnace.
PUT_POTION - Enum constant in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer.Type
Puts the potions into the brewer.
putData(TypedKey<T>, T) - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
putItems(Inventory, ItemStack, int) - Static method in class net.okocraft.box.api.util.InventoryUtil
Puts items in the Inventory.

R

Receive(BoxPlayer) - Constructor for record class net.okocraft.box.feature.command.event.stock.CommandCauses.Receive
Creates an instance of a Receive record class.
RecipeHolder - Class in net.okocraft.box.feature.craft.model
A class that holds multiple BoxItemRecipes.
RecipeHolder() - Constructor for class net.okocraft.box.feature.craft.model.RecipeHolder
 
RecipeImportEvent - Class in net.okocraft.box.feature.craft.event
An event that called when the BoxItemRecipe is imported.
RecipeImportEvent(BoxItemRecipe) - Constructor for class net.okocraft.box.feature.craft.event.RecipeImportEvent
The constructor of RecipeImportEvent.
RecipeRegistry - Class in net.okocraft.box.feature.craft
A class for managing RecipeHolders.
register(String, Category) - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Registers a new Category.
register(Command) - Method in class net.okocraft.box.api.command.SubCommandHoldable.SubCommandHolder
Registers the new subcommand.
register(BoxItemClickMode) - Static method in class net.okocraft.box.feature.gui.api.mode.ClickModeRegistry
 
registerCustomItem(ItemStack, String, Consumer<ItemRegistrationResult>) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Registers a new item.
Registration(Path, DefaultMessageCollector, EventCaller<BoxEvent>, ListenerSubscriber<Key, BoxEvent, Priority>) - Constructor for record class net.okocraft.box.api.feature.FeatureContext.Registration
Creates an instance of a Registration record class.
reload(FeatureContext.Reloading) - Method in interface net.okocraft.box.api.feature.Reloadable
Reloads the BoxFeature.
reload(CommandSender) - Method in interface net.okocraft.box.api.BoxAPI
Reloads box and registered BoxFeatures.
RELOAD - Enum constant in enum class net.okocraft.box.api.event.feature.FeatureEvent.Type
The feature was reloaded
Reloadable - Interface in net.okocraft.box.api.feature
an interface to indicate that it is reloadable.
Reloading(Plugin, CommandSender) - Constructor for record class net.okocraft.box.api.feature.FeatureContext.Reloading
Creates an instance of a Reloading record class.
rememberMenu(Menu) - Method in class net.okocraft.box.feature.gui.api.session.MenuHistoryHolder
 
removeData(TypedKey<T>) - Method in class net.okocraft.box.feature.gui.api.session.PlayerSession
 
removeItem(BoxItem) - Method in interface net.okocraft.box.feature.category.api.category.Category
Removes a BoxItem from this Category.
renameCustomItem(BoxCustomItem, String, Consumer<ItemRenameResult>) - Method in interface net.okocraft.box.api.model.manager.ItemManager
Renames a BoxCustomItem.
reset() - Method in interface net.okocraft.box.api.model.stock.StockHolder
Resets all stock.
reset() - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
result() - Method in record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Returns the value of the result record component.
result() - Method in record class net.okocraft.box.feature.craft.model.SelectedRecipe
Returns the value of the result record component.
runAsyncTask(Runnable) - Method in interface net.okocraft.box.api.scheduler.BoxScheduler
Executes a task on the async scheduler.
runEntityTask(Entity, Runnable) - Method in interface net.okocraft.box.api.scheduler.BoxScheduler
Executes a task on the entity scheduler.

S

save(AutoStoreSetting) - Method in interface net.okocraft.box.feature.autostore.AutoStoreSettingProvider
Saves the AutoStoreSetting.
saveBoxStickKey(PersistentDataContainer) - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
Saves the BoxStickItem.key() to PersistentDataContainer
saveData(Key, MapNode) - Method in interface net.okocraft.box.api.model.customdata.CustomDataManager
Saves the MapNode.
scheduleAsyncTask(Runnable, long, TimeUnit) - Method in interface net.okocraft.box.api.scheduler.BoxScheduler
Schedules a delayed task.
scheduleRepeatingAsyncTask(Runnable, Duration, BooleanSupplier) - Method in interface net.okocraft.box.api.scheduler.BoxScheduler
Schedules a repeating task.
search(String) - Method in class net.okocraft.box.api.command.SubCommandHoldable.SubCommandHolder
Searches for a command that matches the name or aliases.
search(String) - Static method in class net.okocraft.box.api.util.UserSearcher
Searches for BoxUser from UUID or name.
searchByName(String) - Method in interface net.okocraft.box.api.model.manager.UserManager
Searches for BoxUser with the specified name.
seed(long) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
selectedRecipe() - Method in record class net.okocraft.box.feature.craft.event.stock.CraftCause
Returns the value of the selectedRecipe record component.
SelectedRecipe - Record Class in net.okocraft.box.feature.craft.model
A record to remain the selected recipe.
SelectedRecipe(List<BoxIngredientItem>, BoxItem, int) - Constructor for record class net.okocraft.box.feature.craft.model.SelectedRecipe
Creates an instance of a SelectedRecipe record class.
sender() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminGive
Returns the value of the sender record component.
sender() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminReset
Returns the value of the sender record component.
sender() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminSet
Returns the value of the sender record component.
sender() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminTake
Returns the value of the sender record component.
sender() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Receive
Returns the value of the sender record component.
setAllMode(boolean) - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Sets the auto-store mode to all mode or per-item mode.
setAllowed(boolean) - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
setAmount(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
setAmount(BoxItem, int, StockEvent.Cause) - Method in interface net.okocraft.box.api.model.stock.StockHolder
Sets the stock quantity of the specified item.
setCancelled(boolean) - Method in interface net.okocraft.box.api.event.Cancellable
Sets the cancel status of the event.
setCancelled(boolean) - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
 
setCancelled(boolean) - Method in class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
setCancelled(boolean) - Method in class net.okocraft.box.feature.gui.api.event.MenuOpenEvent
 
setCurrentMode(BoxItemClickMode) - Method in class net.okocraft.box.feature.gui.api.session.ClickModeHolder
 
setCurrentPage(PlayerSession, int) - Method in class net.okocraft.box.feature.gui.api.menu.paginate.AbstractPaginatedMenu
 
setCurrentPage(PlayerSession, int) - Method in interface net.okocraft.box.feature.gui.api.menu.paginate.PaginatedMenu
 
setCurrentStockHolder(StockHolder) - Method in interface net.okocraft.box.api.player.BoxPlayer
Sets the StockHolder to deposit or withdraw.
setDirect(boolean) - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Enables or disables the direct auto-store.
setEnabled(boolean) - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Enables or disables the auto-store.
setEnabled(BoxItem, boolean) - Method in class net.okocraft.box.feature.autostore.setting.PerItemSetting
Enables or disables the auto-store of the specified BoxItem.
setValue(int) - Method in class net.okocraft.box.feature.gui.api.session.Amount
 
SHARED_DATA_KEY - Static variable in class net.okocraft.box.feature.gui.api.session.Amount
 
ShootBow(BoxPlayer) - Constructor for record class net.okocraft.box.feature.stick.event.stock.StickCauses.ShootBow
Creates an instance of a ShootBow record class.
shouldAutoStore(BoxItem) - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
Checks if the BoxItem should be auto-stored.
slot() - Method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Returns the position in the crafting table (0-8).
slot() - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
Returns the value of the slot record component.
slot() - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
Returns the value of the slot record component.
sound() - Method in record class net.okocraft.box.feature.gui.api.util.SoundBase
Returns the value of the sound record component.
sound(Key) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
sound(Sound) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
SoundBase - Record Class in net.okocraft.box.feature.gui.api.util
 
SoundBase(Sound) - Constructor for record class net.okocraft.box.feature.gui.api.util.SoundBase
Creates an instance of a SoundBase record class.
SoundBase.Builder - Class in net.okocraft.box.feature.gui.api.util
 
source(Sound.Source) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
source(SoundCategory) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 
StickCause - Interface in net.okocraft.box.feature.stick.event.stock
An interface that represents Box Stick related StockEvent.Cause.
StickCauses - Class in net.okocraft.box.feature.stick.event.stock
A class holdings Record classes that implements StickCause.
StickCauses.BlockItem - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used for getting the item of the block.
StickCauses.BlockPlace - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used when the player placed the block.
StickCauses.Brewer - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used for the brewer.
StickCauses.Brewer.Type - Enum Class in net.okocraft.box.feature.stick.event.stock
Functions that can be used for the brewer.
StickCauses.Container - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used for the container.
StickCauses.Furnace - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used for the furnace.
StickCauses.Furnace.Type - Enum Class in net.okocraft.box.feature.stick.event.stock
Functions that can be used for the furnace.
StickCauses.ItemBreak - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used when the player broken the items.
StickCauses.ItemConsume - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used when the player consumed the items.
StickCauses.ProjectileLaunch - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used when the player launched the projectile.
StickCauses.ShootBow - Record Class in net.okocraft.box.feature.stick.event.stock
A record of StickCause indicating that a Box Stick was used when the player shot the arrow using the bow.
StickFeature - Class in net.okocraft.box.feature.stick
A BoxFeature that provides Box Stick.
StickFeature(FeatureContext.Registration) - Constructor for class net.okocraft.box.feature.stick.StickFeature
The constructor of StickFeature.
StockData - Record Class in net.okocraft.box.api.model.stock
A record of the stock.
StockData(int, int) - Constructor for record class net.okocraft.box.api.model.stock.StockData
Creates an instance of a StockData record class.
StockDecreaseEvent - Class in net.okocraft.box.api.event.stockholder.stock
A StockEvent called when the stock is decreased.
StockDecreaseEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Constructor for class net.okocraft.box.api.event.stockholder.stock.StockDecreaseEvent
The constructor of StockDecreaseEvent.
StockEvent - Class in net.okocraft.box.api.event.stockholder.stock
A StockHolderEvent called when the stock of the StockHolder is modified.
StockEvent(StockHolder, BoxItem, int, StockEvent.Cause) - Constructor for class net.okocraft.box.api.event.stockholder.stock.StockEvent
The constructor of StockEvent.
StockEvent.Cause - Interface in net.okocraft.box.api.event.stockholder.stock
An interface that indicates why the StockEvent was called.
StockEventCaller - Interface in net.okocraft.box.api.model.stock
An interface that is used for calling StockEvents from StockHolder.
StockHolder - Interface in net.okocraft.box.api.model.stock
An interface that holds stock.
StockHolderEvent - Class in net.okocraft.box.api.event.stockholder
A class that represents a StockHolder related event.
StockHolderEvent(StockHolder) - Constructor for class net.okocraft.box.api.event.stockholder.StockHolderEvent
The constructor of StockHolderEvent.
StockHolderLoadEvent - Class in net.okocraft.box.api.event.stockholder
A StockHolderEvent called when the stockholder is loaded.
StockHolderLoadEvent(StockHolder) - Constructor for class net.okocraft.box.api.event.stockholder.StockHolderLoadEvent
The constructor of StockHolderLoadEvent.
StockHolderResetEvent - Class in net.okocraft.box.api.event.stockholder
A StockHolderResetEvent called when StockHolder has reset.
StockHolderResetEvent(StockHolder, Collection<StockData>) - Constructor for class net.okocraft.box.api.event.stockholder.StockHolderResetEvent
The constructor of StockHolderResetEvent.
StockHolderSaveEvent - Class in net.okocraft.box.api.event.stockholder
A StockHolderEvent called when the stockholder is saved.
StockHolderSaveEvent(StockHolder) - Constructor for class net.okocraft.box.api.event.stockholder.StockHolderSaveEvent
The constructor of StockHolderSaveEvent.
StockHolderTransaction - Class in net.okocraft.box.api.transaction
A utility class for transacting items between StockHolder and Inventory.
StockHolderTransaction.Deposit - Interface in net.okocraft.box.api.transaction
An interface to deposit items to StockHolder.
StockHolderTransaction.Withdrawal - Interface in net.okocraft.box.api.transaction
An interface to withdraw items from StockHolder.
StockHolderWrapper - Interface in net.okocraft.box.api.model.stock
An interface that wraps StockHolder.
StockIncreaseEvent - Class in net.okocraft.box.api.event.stockholder.stock
A StockEvent called when the stock is increased.
StockIncreaseEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Constructor for class net.okocraft.box.api.event.stockholder.stock.StockIncreaseEvent
The constructor of StockIncreaseEvent.
StockManager - Interface in net.okocraft.box.api.model.manager
An interface to manage StockHolders.
StockOverflowEvent - Class in net.okocraft.box.api.event.stockholder.stock
A StockEvent called when the amount of stock exceeds Integer.MAX_VALUE.
StockOverflowEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Constructor for class net.okocraft.box.api.event.stockholder.stock.StockOverflowEvent
The constructor of StockOverflowEvent.
StockSetEvent - Class in net.okocraft.box.api.event.stockholder.stock
A StockEvent called when the amount of the stock is set.
StockSetEvent(StockHolder, BoxItem, int, int, StockEvent.Cause) - Constructor for class net.okocraft.box.api.event.stockholder.stock.StockSetEvent
The constructor of StockSetEvent.
Styles - Class in net.okocraft.box.feature.gui.api.lang
 
SUB_COMMAND_NOT_FOUND - Static variable in class net.okocraft.box.api.message.ErrorMessages
A message sent when the specified subcommand is not found.
SubCommandHoldable - Interface in net.okocraft.box.api.command
An interface that can hold subcommands.
SubCommandHoldable.SubCommandHolder - Class in net.okocraft.box.api.command
A class that holds subcommands.
SubCommandHolder(Command...) - Constructor for class net.okocraft.box.api.command.SubCommandHoldable.SubCommandHolder
subscribeAll(UnaryOperator<ListenerSubscriber.BulkSubscriber<Key, BoxEvent, Priority>>) - Method in class net.okocraft.box.api.util.SubscribedListenerHolder
Subscribes listeners to BoxAPI.getListenerSubscriber() using ListenerSubscriber.BulkSubscriber and holds SubscribedListeners it returns.
SubscribedListenerHolder - Class in net.okocraft.box.api.util
A utility class for holding SubscribedListeners.
SubscribedListenerHolder() - Constructor for class net.okocraft.box.api.util.SubscribedListenerHolder
 
Success(BoxCustomItem) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.Success
Creates an instance of a Success record class.
Success(BoxCustomItem, String) - Constructor for record class net.okocraft.box.api.model.result.item.ItemRenameResult.Success
Creates an instance of a Success record class.
sync() - Method in interface net.okocraft.box.api.event.caller.EventCallerProvider
 

T

TabCompleter - Class in net.okocraft.box.api.util
A utility class for tab completions.
TAKE_POTION - Enum constant in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer.Type
Takes the potions out from the brewer.
TAKE_RESULT_ITEM - Enum constant in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace.Type
Takes the result item out from the furnace.
target() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Give
Returns the value of the target record component.
toDebugLog() - Method in class net.okocraft.box.api.event.BoxEvent
Creates the debug log from this event.
toDebugLog() - Method in class net.okocraft.box.api.event.feature.FeatureEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.player.PlayerCollectItemInfoEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.player.PlayerEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.player.PlayerStockHolderChangeEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.stockholder.stock.StockDecreaseEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.stockholder.stock.StockIncreaseEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.stockholder.stock.StockOverflowEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.stockholder.stock.StockSetEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.stockholder.StockHolderEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.stockholder.StockHolderResetEvent
 
toDebugLog() - Method in class net.okocraft.box.api.event.user.UserDataResetEvent
 
toDebugLog() - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
 
toDebugLog() - Method in class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
toDebugLog() - Method in class net.okocraft.box.feature.gui.api.event.MenuOpenEvent
 
toDebugLog() - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
toggleEnabled(BoxItem) - Method in class net.okocraft.box.feature.autostore.setting.PerItemSetting
Toggles the auto-store of the specified BoxItem.
toInventory(Inventory, StockEvent.Cause) - Method in interface net.okocraft.box.api.transaction.StockHolderTransaction.Withdrawal
Withdraws items to Inventory.
toStockDataCollection() - Method in interface net.okocraft.box.api.model.stock.StockHolder
Gets the current stock as a StockData collection.
toStockDataCollection() - Method in interface net.okocraft.box.api.model.stock.StockHolderWrapper
 
toString() - Method in class net.okocraft.box.api.event.feature.FeatureEvent
 
toString() - Method in class net.okocraft.box.api.event.item.CustomItemRenameEvent
 
toString() - Method in class net.okocraft.box.api.event.item.ItemEvent
 
toString() - Method in class net.okocraft.box.api.event.player.PlayerCollectItemInfoEvent
 
toString() - Method in class net.okocraft.box.api.event.player.PlayerEvent
 
toString() - Method in class net.okocraft.box.api.event.player.PlayerStockHolderChangeEvent
 
toString() - Method in class net.okocraft.box.api.event.stockholder.stock.StockDecreaseEvent
 
toString() - Method in class net.okocraft.box.api.event.stockholder.stock.StockIncreaseEvent
 
toString() - Method in class net.okocraft.box.api.event.stockholder.stock.StockOverflowEvent
 
toString() - Method in class net.okocraft.box.api.event.stockholder.stock.StockSetEvent
 
toString() - Method in class net.okocraft.box.api.event.stockholder.StockHolderEvent
 
toString() - Method in class net.okocraft.box.api.event.stockholder.StockHolderResetEvent
 
toString() - Method in class net.okocraft.box.api.event.user.UserDataResetEvent
 
toString() - Method in record class net.okocraft.box.api.feature.FeatureContext.Disabling
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.feature.FeatureContext.Enabling
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.feature.FeatureContext.Registration
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.feature.FeatureContext.Reloading
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateItem
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.DuplicateName
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.ExceptionOccurred
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRegistrationResult.Success
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.DuplicateName
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.ExceptionOccurred
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.result.item.ItemRenameResult.Success
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.model.stock.StockData
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.transaction.TransactionResult
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.api.util.MCDataVersion
Returns a string representation of this record class.
toString() - Method in class net.okocraft.box.feature.autostore.setting.AutoStoreSetting
 
toString() - Method in class net.okocraft.box.feature.autostore.setting.PerItemSetting
 
toString() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminGive
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminReset
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminSet
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.AdminTake
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Give
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.command.event.stock.CommandCauses.Receive
Returns a string representation of this record class.
toString() - Method in class net.okocraft.box.feature.craft.event.BoxCraftEvent
 
toString() - Method in class net.okocraft.box.feature.craft.event.RecipeImportEvent
 
toString() - Method in record class net.okocraft.box.feature.craft.event.stock.CraftCause
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.craft.model.BoxIngredientItem
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.craft.model.BoxItemRecipe
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.craft.model.IngredientHolder
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.craft.model.SelectedRecipe
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.gui.api.button.ClickResult.ChangeMenu
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.gui.api.buttons.BackOrCloseButton
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.gui.api.buttons.CloseButton
Returns a string representation of this record class.
toString() - Method in class net.okocraft.box.feature.gui.api.event.MenuClickEvent
 
toString() - Method in class net.okocraft.box.feature.gui.api.event.MenuOpenEvent
 
toString() - Method in class net.okocraft.box.feature.gui.api.event.mode.ClickModeCheckEvent
 
toString() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Deposit
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Withdraw
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.gui.api.session.TypedKey
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.gui.api.util.SoundBase
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockItem
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.BlockPlace
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Container
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemBreak
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ItemConsume
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ProjectileLaunch
Returns a string representation of this record class.
toString() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.ShootBow
Returns a string representation of this record class.
toString() - Method in class net.okocraft.box.feature.stick.item.BoxStickItem
 
toTopInventory(InventoryView, StockEvent.Cause) - Method in interface net.okocraft.box.api.transaction.StockHolderTransaction.Withdrawal
Withdraws items to InventoryView.getTopInventory().
TransactionResult - Record Class in net.okocraft.box.api.transaction
A record class to indicate transaction result.
TransactionResult(BoxItem, int) - Constructor for record class net.okocraft.box.api.transaction.TransactionResult
A constructor of TransactionResult.
type() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer
Returns the value of the type record component.
type() - Method in record class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace
Returns the value of the type record component.
TypedKey<T> - Record Class in net.okocraft.box.feature.gui.api.session
 
TypedKey(Class<T>, String) - Constructor for record class net.okocraft.box.feature.gui.api.session.TypedKey
Creates an instance of a TypedKey record class.

U

UNIT_1 - Enum constant in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
UNIT_10 - Enum constant in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
UNIT_128 - Enum constant in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
UNIT_256 - Enum constant in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
UNIT_32 - Enum constant in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
UNIT_64 - Enum constant in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
 
UnitChangeButton - Class in net.okocraft.box.feature.gui.api.buttons.amount
 
UnitChangeButton(int, TypedKey<Amount>, MiniMessageBase, MiniMessageBase, ClickResult) - Constructor for class net.okocraft.box.feature.gui.api.buttons.amount.UnitChangeButton
 
unregister(String) - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Unregisters a Category by its registered name.
unregister(Command) - Method in class net.okocraft.box.api.command.SubCommandHoldable.SubCommandHolder
Unregisters the subcommand.
unregister(Category) - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Unregisters a Category.
unregister(BoxItemClickMode) - Static method in class net.okocraft.box.feature.gui.api.mode.ClickModeRegistry
 
unregisterAll() - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Unregisters all Category.
unsubscribeAll() - Method in class net.okocraft.box.api.util.SubscribedListenerHolder
Unsubscribes SubscribedListeners this instance holds.
UNSUCCESSFUL - Static variable in record class net.okocraft.box.feature.gui.api.util.SoundBase
 
UPDATE_BUTTON - Static variable in interface net.okocraft.box.feature.gui.api.button.ClickResult
 
UPDATE_ICONS - Static variable in interface net.okocraft.box.feature.gui.api.button.ClickResult
 
UserDataResetEvent - Class in net.okocraft.box.api.event.user
An event called when /boxadmin resetall &lt;username&gt; is executed.
UserDataResetEvent(BoxUser) - Constructor for class net.okocraft.box.api.event.user.UserDataResetEvent
The constructor of a UserDataResetEvent.
UserManager - Interface in net.okocraft.box.api.model.manager
An interface to load a BoxUser.
UserSearcher - Class in net.okocraft.box.api.util
A utility class for searching for BoxUser from UUID or name.

V

valueOf(String) - Static method in enum class net.okocraft.box.api.event.feature.FeatureEvent.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.okocraft.box.api.event.feature.FeatureEvent.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in interface net.okocraft.box.feature.category.api.registry.CategoryRegistry
Gets the list of registered Category.
values() - Static method in enum class net.okocraft.box.feature.gui.api.session.Amount.Unit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Brewer.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class net.okocraft.box.feature.stick.event.stock.StickCauses.Furnace.Type
Returns an array containing the constants of this enum class, in the order they are declared.
Version<V> - Interface in net.okocraft.box.api.util
An utility interface to represent a version and compare two versions.
visitData(String, BiConsumer<Key, MapNode>) - Method in interface net.okocraft.box.api.model.customdata.CustomDataManager
Visits all MapNodes that are keyed with the specified namespace.
volume(float) - Method in class net.okocraft.box.feature.gui.api.util.SoundBase.Builder
 

W

waitingTask() - Static method in interface net.okocraft.box.feature.gui.api.button.ClickResult
 
WaitingTask() - Constructor for class net.okocraft.box.feature.gui.api.button.ClickResult.WaitingTask
 
withdraw(BoxItem, int) - Method in class net.okocraft.box.api.transaction.StockHolderTransaction
Creates a StockHolderTransaction.Withdrawal instance that withdrawing the specified BoxItem.
Withdraw(Player) - Constructor for record class net.okocraft.box.feature.gui.api.event.stock.GuiCauses.Withdraw
Creates an instance of a Withdraw record class.
WITHDRAW - Static variable in class net.okocraft.box.feature.command.event.stock.CommandCauses
A StockEvent.Cause that indicates withdrawing from own StockHolder.
A B C D E F G H I K L M N O P R S T U V W 
All Classes and Interfaces|All Packages