Uses of Class
valorless.havenbags.datamodels.Bag
Packages that use Bag
Package
Description
Core package for the HavenBags plugin, containing main classes,
listeners, configuration, and shared utilities.
Public API surface for interacting with HavenBags features and data.
Database access layer and cache helpers used by HavenBags.
Data transfer objects and models representing bags, settings, and messages.
Custom Bukkit events fired by HavenBags.
Feature implementations providing core bag mechanics and optional modules.
Graphical user interface classes for players interacting with bags.
Internal utility classes shared across the plugin.
-
Uses of Bag in valorless.havenbags
Fields in valorless.havenbags with type parameters of type BagModifier and TypeFieldDescriptionDatabase.changedBagsBags that have been mutated since the last save cycle.Methods in valorless.havenbags that return BagModifier and TypeMethodDescriptionstatic BagDatabase.createBag(String uuid, String owner, List<org.bukkit.inventory.ItemStack> content, org.bukkit.entity.Player creator, org.bukkit.inventory.ItemStack bag) Creates a new bag, stores it in memory, and persists it immediately for MYSQLPLUS.static BagRegisters an already-constructedBaginto memory and persists it immediately for MYSQLPLUS.static BagDatabase.getBag(String uuid, Database.UpdateSource... source) Retrieves a loadedBagby UUID.Methods in valorless.havenbags that return types with arguments of type BagModifier and TypeMethodDescriptionDatabase.getBagsData(String playerUUID) Returns a list of allBaginstances owned by the specified player.HavenBags.getBagsInInventory(org.bukkit.entity.Player player) Database.getOpenBags()Returns all bags that are currently marked as open (i.e.Methods in valorless.havenbags with parameters of type BagModifier and TypeMethodDescriptionstatic BagRegisters an already-constructedBaginto memory and persists it immediately for MYSQLPLUS.static booleanHavenBags.isItemBlacklisted(org.bukkit.inventory.ItemStack item, Bag... bagData) static voidstatic voidHavenBags.updateUsed(org.bukkit.inventory.ItemStack bag, Bag data, org.bukkit.OfflinePlayer player) -
Uses of Bag in valorless.havenbags.api
Methods in valorless.havenbags.api that return BagModifier and TypeMethodDescriptionstatic BagHavenBagsAPI.createBag(BagCreationObject creationObject) Creates and persists a new bag from the provided creation descriptor.static BagCreates and persists a new bag from the provided Data object.static BagFetches Data for a bag by UUID.static BagHavenBagsAPI.getBagData(org.bukkit.inventory.ItemStack item) Resolves the live Data object for the given bag item.Methods in valorless.havenbags.api that return types with arguments of type BagModifier and TypeMethodDescriptionHavenBagsAPI.getBagsOnPlayer(org.bukkit.entity.Player player) Lists all bag Data instances present in a player's inventory.HavenBagsAPI.getOpenBagsUUIDs()Returns Data objects for all currently open bags.HavenBagsAPI.getPlayerBags(String playerUUID) Lists all bags owned by a player.Methods in valorless.havenbags.api with parameters of type BagModifier and TypeMethodDescriptionstatic booleanHavenBagsAPI.blacklistAsWhitelist(Bag bagData) Checks if the specified bag's configuration is set to treat its blacklist as a whitelist.static BagCreates and persists a new bag from the provided Data object.static org.bukkit.inventory.ItemStackHavenBagsAPI.generateBagItem(Bag bagData) Generates a bag item from the provided Data.static booleanHavenBagsAPI.isItemBlacklisted(org.bukkit.inventory.ItemStack item, Bag bagData) Checks if the specified item is blacklisted from being stored in HavenBags. -
Uses of Bag in valorless.havenbags.database
Fields in valorless.havenbags.database with type parameters of type BagMethods in valorless.havenbags.database that return BagMethods in valorless.havenbags.database that return types with arguments of type BagModifier and TypeMethodDescriptionBagCache.getAllBags(org.bukkit.entity.Player player) BagCache.getOwnerlessBags()BagCache.getPlayerBagsFromInventory(org.bukkit.entity.Player player) MySQL.loadAllBags()Methods in valorless.havenbags.database with parameters of type BagModifier and TypeMethodDescriptionstatic voidDatabaseUtils.applyExtra(Bag data, String datastring) static booleanBagCache.containsData(Bag data) static Stringstatic voidvoidvoidMethod parameters in valorless.havenbags.database with type arguments of type Bag -
Uses of Bag in valorless.havenbags.datamodels
Subclasses of Bag in valorless.havenbags.datamodelsModifier and TypeClassDescriptionclassDeprecated.This class is a legacy wrapper and will be removed in a future update.Methods in valorless.havenbags.datamodels that return Bag -
Uses of Bag in valorless.havenbags.events
Methods in valorless.havenbags.events that return BagModifier and TypeMethodDescriptionBagCloseEvent.getBagData()Gets theBagassociated with the bag.BagCreateEvent.getBagData()Gets theBagassociated with the bag.BagDeleteEvent.getBagData()Gets theBagassociated with the deleted bag.BagOpenEvent.getBagData()Gets theBagassociated with the bag.Constructors in valorless.havenbags.events with parameters of type BagModifierConstructorDescriptionBagCloseEvent(org.bukkit.inventory.Inventory inventory, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack bagItem, Bag bagData, boolean forced) Constructs a new BagCloseEvent.BagCreateEvent(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack bagItem, Bag bagData) Constructs a new BagCreateEvent.BagDeleteEvent(org.bukkit.entity.Player player, Bag bagData) Constructs a new BagDeleteEvent.BagOpenEvent(org.bukkit.inventory.Inventory inventory, org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack bagItem, Bag bagData) Constructs a new BagOpenEvent. -
Uses of Bag in valorless.havenbags.features
Methods in valorless.havenbags.features with parameters of type BagModifier and TypeMethodDescriptionstatic voidAutoCraft.condenseInventory(Bag bag, org.bukkit.entity.Player player) -
Uses of Bag in valorless.havenbags.gui
Constructors in valorless.havenbags.gui with parameters of type BagModifierConstructorDescriptionFeaturesGUI(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack bagItem, Bag bagData) -
Uses of Bag in valorless.havenbags.items
Methods in valorless.havenbags.items with parameters of type BagModifier and TypeMethodDescriptionstatic org.bukkit.inventory.ItemStackBagItemFactory.toItemStack(Bag bag) Create an ItemStack representing the given bag data. -
Uses of Bag in valorless.havenbags.utils
Methods in valorless.havenbags.utils with parameters of type Bag