✦ Shulkers ✦  » Shulker Boxes for 1.8! « [1.8.8 - 1.8.9] ✨ icon

✦ Shulkers ✦ » Shulker Boxes for 1.8! « [1.8.8 - 1.8.9] ✨ -----

Supports Crafting | Dyeing | Naming | Hopper & Redstone Interaction | Provides API



2.4.2 | New API
Hello everyone,

This update adds an API which is useful for developers to easily manage Shulker Boxes and their contents!


You simply use the API by using ShulkersAPI.#method();

These are currently the list of methods available as of version 2.4.2:

Code (Text):


#isShulkerBoxItemStack() - Returns true if the specified ItemStack is a Shulker Box

#isShulkerBox() - Returns true if the specified Block is a Shulker Box

#newShulkerBox() - Creates a new Shulker Box ItemStack

#getShulkerBoxItemStackColor() - Returns ShulkerType enum color of the specified Shulker Box ItemStack

#getShulkerBoxColor() - Returns ShulkerType enum color of the specified Shulker Box Block

#setShulkerBoxColor() - Sets placed Shulker Box's color to specified ShulkerType enum color

#setShulkerBoxItemColor() - Sets Shulker Box ItemStack's color to specified ShulkerType enum color

#setDisplayName() - Sets Shulker Box ItemStack's display name to specified String

#clearShulkerBoxInventory() - Removes all contents from specified placed Shulker Box

#clearShulkerBoxItemInventory() - Removes all contents from specified Shulker Box ItemStack

#addItem() - Adds ItemStack to specified Shulker Box ItemStack

#setItem() - Sets ItemStack to specified Shulker Box ItemStack at specified slot

#getContents() - Returns ItemStack[] array of specified Shulker Box ItemStack's contents

#isShulkerBoxItemFull() - Returns true if specified Shulker Box ItemStack's inventory is full

 

This API is useful, if for example you want Shulker Box ItemStacks to auto-collect items into their inventory, you can easily do so with this API.
----------, May 31, 2025
Resource Information
Author:
----------
Total Downloads: 624
First Release: Mar 26, 2025
Last Update: Jun 14, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings