header

Description

Overview

Not (Just) Another Better Barrel Attempt
, or NABBA for short, is a mod that adds tiered barrels for better storage of single items and fluids.  It takes inspiration from Jabba, Yabba, and Storage drawers in it's functionalities.

Note: this is a primarily 1.19.3+ focused mod so newer features may not exist in the 1.19.2 version.


Controls

 

Right click - Add item/fluid to barrel

Left click - Remove item/fluid from barrel

Items

 

Barrel types

 

Better - This is the standard barrel that everyone is familiar with in one form or another, it is a single slot item storage with 64 stacks capacity.

Fluid - This one is the fluid equivalent of the Better Barrel, it stores 16 buckets worth of a single fluid.

Anti - This barrel only stores unstackable items (as in maxStackSize == 1, adding NBT to a stackable item doesn't make it unstackable), but doesn't have a slot limit and can hold up to 256 items.  Unlike the other 2 barrel types, this one has a GUI for browsing items (somewhat experimental).
It also stores it's data in SavedData to avoid corrupting chunks or kicking nearby players if data gets too large.

All barrels implement the respective Fluidhandler/ItemHandler capabilities.  They also keep items/fluids when broken.

Upgrading

Upgrading a NABBA barrel works a little differently from most storage mods.
Before upgrades can be used, first the frame itself needs to be upgraded as the default frame can't take any upgrades.
The way it works is each frame has a different number of upgrade slots, the more upgrade slots a frame has, the more upgrades can be applied to it.
While holding an upgrade, if the barrel is not in Discrete mode, the number of upgrade slots used will show on the barrel below the icon and the text will be either blue or red depending on if the upgrade can be applied or not.

There are 2 ways to upgrade, either directly on the crafting table, or using frame upgrade items on an existing barrel in world.  Note that the creative variants are not obtainable in survival even though they have a crafting recipe.

The current tiers are:

Wood(0) -> Stone(1) -> Copper(4) -> Iron(8) -> Lapis(16) -> Gold (64) -> Diamond(128) -> Emerald(256) -> Netherite(2048) -> Creative(2,147,483,647)

Notes:
Some upgrades take more than 1 slot to apply.
Some upgrades such as void have a hard cap on the number that can be applied to any barrel regardless of free slots.

Upgrades

 

There are currently 6 unique upgrade types.  Each upgrade type can apply multiple levels of an upgrade.

Storage: this one is self explanatory, every barrel type has it's own upgrade that adds additional storage, there are upgrade items that range from 1x to 1024x for easier usage, hard capped at 64000 per barrel, costs 1 slot.

Void: voids overflow items, hard cap of 1, costs 1 slot.

Pickup:  Picks up nearby items/fluids, more upgrades increases range, starts at 3x1x3 centered on barrel and goes up to 17x3x17, hard cap of 9, costs 8 slots.
Note that if applied to a fluid barrel, it will not pick up fluids if the fluid can create infinite sources, it will instead add directly to inventory to save on processing.

Infinite Vending: This is a creative only upgrade that does not deplete inventory when extracting items/fluids, does not work on anrtibarrels.

Storage Downgrade: Reduces base storage of better barrels to a single stack and fluid barrels to 1 bucket, storage upgrades still multiply these values.  Cannot be applied to anti barrels.

Redstone Upgrade: Makes barrels emit a redstone signal proportional to how full they are, ranging from 0 when empty, 1 with at least 1 item, to 15 when completely full.

 

Keys

 

This mod adds a few keys that are used for configuring barrels.  There is a keyring that can be crafted to hold all of them in a single slot, shift + scroll to swap between them.

Vanity Key:  Used for changing the text color of the barrel (default is a bright pink) and the icon size.

Hide Key: Used to remove a barrels BlockEntityRenderer for performance reasons, unlike other mods, it's completely replaced rather than hidden behind an if() check meaning it renders as fast as a stone block.

Lock Key: Used to lock a barrel to a single item/fluid meaning it can't accept anything else, even when empty, does respect NBT, does not work on antibarrels.

Connect Key: Used to prevent a barrel from connecting to nearby controllers.

Before: 

 

After:

 

 
(Remote) Controller Key: provides an experimental gui for browsing a controller or barrel interface's connected item barrels.

(Remote) Fluid Controller Key: provides an experimental gui for browsing a controller or barrel interface's connected fluid barrels.

 

Networking 


Barrel networks are created with either a barrel controller or barrel interface and used to interact with many barrels as a monolith.

Items
 

Controller - This block is used to connect many barrels together within a 25x25x25 cube centered on it.  Works with both fluid and better barrels, does not work with antibarrels.

Controller Proxy - Connects to nearby controller and acts as additional interaction points, doesn't extend controller range.

 

Barrel Interface - A single block used for storing and interacting with barrels as a group, including antibarrels, has a capacity of 4096.  Note: it will drop barrels when broken, plan carefully.

Network Visualizer - Displays what barrels and proxies are connected to the controller when right clicked.

 

Controller Network

A controller can be used for more than aggregating barrels into a single IItemHandler.

Some usages:

Most keys can be used to interact with barrels as a group for example vanity or hide.
Using frame upgrades on the controller will attempt to upgrade all connected barrels.

Using upgrades on the controller will attempt to upgrade all connected barrels.

 

Controller Keys

 

b

FAQ

 

Q: Will you backport to [insert version below 1.19.2]?
A: No, not even for money.

 

Q: Will you port to Fabric?
A: Eventually, but I want to make sure the mod is completely bug free and feature complete first.

Need a custom mod for a reasonable fee? Just want to chat? Have a complex issue needing additional discussion? Join the Discord: