Looking for Fabric? click here
Overview
Disclaimer: all info pertains to the 1.14 version. There is a 1.12 version (roughly around 1.4 versionwise), but due to the lack of interest and time, there will be nothing except for important bugfixes for it, but you're more than welcome to pr the missing functionality or make a fork.
This mod adds 7 new containers that function as both storage, and backpacks and so much more. These will be called danks from now on for the sake of brevity.
These aren't your typical storage containers because each slot can hold much more than a normal stack and gets larger with each tier.
Each tier can have it's stacksize configured which are fully configurable and listed on the tooltip. Colors provide a visual means of determining the tier at a glance, below are the defaults.
1(black): 9 slots, 256 items
2(red): 18 slots, 1024 items
3(gold): 27 slots, 4096 items
4(green): 36 slots, 16384 items
5(cyan): 45 slots, 65536 items
6(purple): 54 slots, 262144 items
7(rainbow): 81 slots, Integer.MAX_VALUE items
To start off with, there are 3 modes: Construction, Bag, and Chest. They can be switched between by toggling the usetype keybind with a dank in hand.
Chest Mode:
In chest mode, they can be placed and hold items similar to chests.
They have the IItemHandler capability so they can be inserted/extracted with any form of item transport, and is compatible with Simple Storage Network and RS/AE2. as of 1.11, this also holds true for the item form as well.
They can be harvested with anything, but break faster with a pickaxe and can be picked up instantly with a wrench
(Note: this mod does not use any wrenches and opts for datapack support (tag: items:forge:wrenches) because there's already 20 different mods that add their own wrenches and it only adds to JEI/inventory clutter).
Bag Mode:
In bag mode, the dank acts like a backpack.
Sneaking while hovering the tooltip will show contained items (limited to 10 since it crowds the screen) and the currently assigned keybind.
Right clicking it will open it just like any traditional backpack mod but it comes with a few buttons built in.
First, there's the Sort button, this is also on chests, it sorts the items in order from largest to smallest number.
WARNING: Do NOT use any other mod's autosorter(such as Inventory Tweaks) as it will not work properly with the the slots and may even delete items. It would be a good idea to blacklist these slots in the config file.
The other 2 buttons are only found on the portable form
Next, the Tag button.
Once upon a time, when mods first came into existence, mods would add their own materials and items to craft with.
With the rise of larger and larger modpacks, many of the more common materials would start to overlap leading to modpacks having 5+ different copper ingots which is a waste of inventory space.
To combat this, Forge added the oredictionary which allowed sets of predefined materials such as copper ingots and ore to be treated as the same in crafting, etc.
Later, in 1.13, vanilla added an expanded version of this that included items, blocks, fluids, and entity_types.
The tag button allows whitelisted item tags that are defined in the mod's datapack to be eligible for conversion.
When an eligible item is collected through either shiftclicking or other means, it will convert into the already present item, great for on the go unification. Of course if there isn't a tag that makes sense for unification or one that would allow for exploits (cough forge:skulls), creating a new datapack is trivial, or just send me a suggestion and I'll add it to the defaults.
Last, the Pickup Button
When the autopickup keybind (default p) is pressed, it will automatically pick up any dropped items until it is full, and overflow will go to the player inventory or the next dank, this feature does not function while in the gui of a dank for sanity reasons.
Some conditions:
1) only the items that are already contained will be eligible for pickup and voiding, so anything not in the dank will never be picked up, or voided
2) The items will only be voided when a slot has reached it's max capacity.
3) No, in block form nothing will be voided, this is to prevent accidental trashcans.
NBT: You may notice the NBT text and the number beside it, this is the amount of data currently in the dank storage, when this number gets too large (2 milllion+), the player may get kicked from a dedicated server and unable to rejoin (This is known in vanilla as a book ban). This can happen for example if someone decides to nest a backpack in a backpack in a backpack in a...
There is a config option to only use the share tag (disabled by default) which will stop the full nbt of the items being sent to the client, however this comes with a catch.
Going into creative mode will delete the entire contents of the item while this setting is enabled which is why it defaults to false. Store responsibly.
Adding any item to the tag dankstorage:blacklisted_items will prevent it from being stored in the dank either manually or via pickup, the user will be alerted with a red tooltip stating this.
Construction Mode:
Now this is where the fun really begins.
While in construction mode, the dank can no longer be placed down and will gain the enchantment glow to show that it's in construction mode.
While in construction mode, the dank storage has a selected slot, sneak - mousewheel will change the selected slot (skipping over empty ones), pickblock functionality also works as well
Right-clicking while the dank is in this state will attempt to use the currently selected item whether it be a block, a snowball, or even shears. Even potions and most food items can be consumed this way.
Note, this does not currently work with everything and there is likely some bugs lurking, but these are fairly uncommon. Here's a sample of what it can do.
Other Tidbits
2.3+ requires MixinBootstrap, drop in mods folder https://github.com/LXGaming/MixinBootstrap/releases
as of 1.6 (don't actually use 1.6 or 1.7 they will crash) slots can be locked. Locking a slot will give it a red background and prevent the last item from being extracted by pipes or by hand, useful for setting up filters.
Currently does not affect input
as of 1.12 (the mod version, not the mc version) there are upgrade items which can be used to upgrade a stationary dank without having to break it
Need a custom mod for a reasonable fee? Just want to chat? Have a complex issue needing additional discussion? Come join the Discord:
Notice: this is in no way, shape, or form based on another mod that may have similarities to this one; no code, textures, or models were taken from it and anyone who claims otherwise is either mistaken or lying.
Any further comments or accusations relating to this will be removed, don't be a jerk.
Changing the sizes of the dank nulls in the server config doesn't seem to work?
Small feature request... would it be possible to dock cubes only when you shift right-click a cube into a dock? Current behavior will flip a cube you are holding with one in the dock and spit the one in the dock out in a random direction which has lead to some cubes ending up behind walls or above to the next floor. By having a shift right-click option be used to place the cube this mishap would be avoided most times, and then just allow a normal right click to access the docked cubes normally, even if holding a cube in your hand.
Tipp: Put a dank 2 in a dock and pipe everything from your charcoal farm into it.
U'll have apples, sticks, charcoal and saplings. Most items take most slots. Excess items are voided.
This is a No-Worries simple minded storage setup, compatible with simple storage network and refined storage.
Is there a way to rename the danks and I am just to dumb to figure it out or is it currently not possible?
Nvm, I figured it out, turns out I was just dumb lol.
In reply to Ragnar_Lodbrok6645:
Wait how?
In reply to iZKP:
Vanilla
In reply to tfarecnim:
Oh lol I figured it out it was already a feature in the game I'm just still new to minecraft and modding overall makes things even more confusing. It's such a huge game.
there should be a crafting upgrade, which adds a crafting grid in the bag, and a way to whitelist things, for example if someone wanted a bag only for ores, they can whitelist the ores, so then only the ores they have whitelisted will go in the bag, for better storage/organization ability, and maybe add a search ability in the bag, in order to find stuff easier
In reply to iamaperson02:
This is actually doable currently. Set your bag to Filtered Pickup, place one of each type of ore/rock/etc in each slot, and the dank cube will auto pickup and place those items within it. When you are ready to refine or build, just make sure to leave behind one of each item therefore securing the filtering criteria. I do this with 2 cubes... one I call my dirt bag which I leave 1 of each ore type and bar type, along with each type of rock I tend to find. I also leave it in construction mode most of the time on my hot bar so I can use all the cobblestone it gathers to build bridges or stairs as I explore caves. With a gold cube, I often have several thousand cobblestone I'm lugging around.
When an arrow is in dank storage and the dank is in the hotbar and no arrows in the inventory, when you use a bow, the arrow does not decrease. Thus, making you able to duplicate an arrow when you pick it up. Hope it gets fixed.
dock is a bit buggy. example: i want to store 60k gold ingot i am created a gold farm for 1.16. i am transferring the gold to dock with hopper. but input not stack on 1 slot. always going to next slot on 64 item per slot. i am giving a photo for better description. https://prnt.sc/w60wpj please fix this problem. if you fix this problem storage systems are be great. and sorry i sayed for fabric version of mod.
When I try to switch modes, it only switches between bag and construction mode. What should I do?
In reply to faze_booce_ftw:
intended, use a dock
In reply to tfarecnim:
Dock?
Edit: Nvm I'm dumb
Edit: Nvm I'm stupid.
Could you update the files so they're available to be used in 1.16.4 mod packs? Currently they do not show up and are exported to an external mods folder, which cause CF to reject the uploads when they see them.
I found the updated files, ignore please. :)Are you going to update this for 1.12.2? A Love this mod
In reply to Forge_User_94058814:
no
Are you going to update this for 1.16.4?
In reply to notforrunes:
It already is. It's in all the mods 6 which is 1.16.4