Description
EnchantedShulkers
Note: This mod is for Fabric only. If you are looking for a Forge mod with similar functionality, have a look at Shulker Enchantments
Adds some helpful enchantments for Shulker Boxes
The project setup is based off of Fallen-Breath's template.
Inspiration
I was inspired to create this mod after watching Xisumavoid's video about inventory improvements. In that video a Forge mod called Shulker Enchantments was presented. This mod now tries to provide similar functionality for Fabric, as the only other Fabric mod with these enchantments that I could find (i.e. BetterShulkers) only supports Minecraft 1.16.
Features
This mod adds the "Siphon" and "Refill" enchantments to the game. They can be obtained just like Mending and other treasure enchantments. The enchantments can be added to Shulker Boxes and optionally to Ender Chests (see configuration) on an anvil.
Siphon
With the Siphon enchantment, any item that you pick up will be immediately stored in an enchanted container as long as that container already has a non-full stack of that exact item inside. The container must be inside your inventory.
Refill
With the Refill enchantment, any item or item stack you use up will be refilled from an enchanted container as long as the used stack was held in one of the hands. Again, the container must be inside your inventory.
Vacuum
The Vacuum enchantment doesn't generate by default making it unobtainable in
survival. To change that, set the generateVacuum option to true
(and optionally disable Siphon by setting generateSiphon to false). Its
behavior is very similar to that of the Siphon enchantment, with the key
difference that it doesn't require the same item to already be present in the
enchanted container. This means a container enchanted with Vacuum will take all
items you pick up as long as it has space to do so.
Void
Same as the Vacuum enchantment, the Void enchantment also doesn't
generate by default. To make it obtainable in survival mode,
enable the generateVoid option. When you pick up items of the same
type as a container with the Void enchantment contains, the picked up items will
be deleted. The enchanted container does not require space to put the deleted
items, and unlike Siphon, the stacks in the enchanted container can be full.
Augment
The Augment enchantment expands the size of a Shulker Box. It is available in
different levels where each level adds nine more slots to the Shulker's
inventory. Just like Vacuum and Void it is unobtainable in
survival when using the default settings, but that can be configured with the
generateAugment option. The maximum level can also be changed with
the maxAugmentLevel option.
A note on Resource Packs
When using EnchantedShulkers with a resource pack that alters the look of Shulker Boxes and/or Ender Chests, the enchanted versions of those items and blocks will still use the vanilla texture while closed. This had to be done to fix overlapping glint effects on said blocks.
You can patch your resource pack to include the necessary textures for this mod at https://enchantedshulkers.rubixdev.de.
Server/Client
This mod does actually work as a server-only mod, but it is recommended to be used on both client and server. Players without the mod on their client do not see an enchantment glint on enchanted containers.
I just wanna quickly try 'em out
If you just want to quickly test the enchantments in a creative world, there are multiple options to do so.
Option one: You can search for the enchanted books in the creative inventory and apply them with an anvil.
Option two: You can give yourself the enchanted books with a command and
apply them with an anvil. Note that the IDs begin with enchantedshulkers: and
not minecraft:.
- Command for Siphon:
/give @s minecraft:enchanted_book{StoredEnchantments:[{id:"enchantedshulkers:siphon",lvl:1}]} - Command for Refill:
/give @s minecraft:enchanted_book{StoredEnchantments:[{id:"enchantedshulkers:refill",lvl:1}]}
Option three: You can enchant the item you're holding with the /enchant
command.
- Command for Siphon:
/enchant @s enchantedshulkers:siphon - Command for Refill:
/enchant @s enchantedshulkers:refill
Configuration
The behavior can be tweaked with the /enchantedshulkers command. For more information, please visit the GitHub page.
For Mod Developers
If your Mod adds a new container that should support these enchantments, have a look at the GitHub page.


