HavenBags - Shulker-like Player Bound Bags [1.20-1.21.10] icon

HavenBags - Shulker-like Player Bound Bags [1.20-1.21.10] -----

Create shulker-like bags of varying sizes bound to a player, or accessible by anyone.



v1.39.0.2676 HavenBags API
Added: API
Code (Java):
import valorless.havenbags.api.BagCreationObject ;
import valorless.havenbags.datamodels.Data ; // Bag Data

public void createBag ( ) {
    int size = 18 ;
    BagCreationObject creationObject = new BagCreationObject (size ) ;
    creationObject. setOwner (
        Bukkit. getPlayer ( "Valorless" ). getUniqueId ( ). toString ( )
    ) ; // UUID as String

    Data bagData = HavenBagsAPI. createBag (creationObject ) ; // Create & save new bag.
    bagData. setAutoPickup ( "mining" ) ;
    bagData. setAutoSort ( true ) ; // Any setters will automatically mark the data for saving.
}

private Data getBagData (ItemStack item ) {
    if (HavenBagsAPI. isBag (item ) ) { // Make sure the item is a bag.
        String bagUUID = HavenBagsAPI. getBagUUID (item ) ; // Get the bag's UUID.
        return HavenBagsAPI. getBag (bagUUID ) ; // Fetch the bag's Data.
    }
    else return null ; // Return null if the item is not a bag.
}

JavaDocs: https://valorless.github.io/HavenBags
Code (XML):
    <repositories>
        <repository>
            <id>jitpack.io </id>
            <url>https://jitpack.io </url>
        </repository>
    </repositories>

    <dependency>
        <groupId>com.github.Valorless </groupId>
        <artifactId>HavenBags </artifactId>
        <version>1.39.0 </version>
    </dependency>
Commit: 795eb9b
Pull: https://github.com/Valorless/HavenBags/pull/21
----------, Nov 12, 2025
Resource Information
Author:
----------
Total Downloads: 25,338
First Release: Jun 11, 2023
Last Update: Nov 30, 2025
Category: ---------------
All-Time Rating:
28 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings