Minecraft Ancient Warfare Wiki
Advertisement

The Warehouse is a multi-block structure included in the Automation module. It serves as a mass-storage and automatic item sorting structure. All blocks in the structure are unlocked with the Trade research.

Structure[]

The Warehouse structure requires a Warehouse Control Block. The Control Block outlines a 7x4x4 boundary box, which can be configured with the Bounds button underneath the hotbar while using the Control Block.

Screenshot warehouse empty

A Warehouse's boundary box.

To store items, Warehouse Storage blocks must be placed within the Control Block's bounds. There are three tiers of Warehouse Storage Block, with different amounts of item storage per block:

Screenshot warehouse built

A Warehouse with Large Warehouse Storage blocks inside

A Warehouse Crafting Table can be placed on top of the Warehouse Control Block, which doubles as an Engineering Station when a Research Book is placed inside it. A Warehouse Crafting Table with a recipe in it will fill slots to that recipe with items from the Warehouse when items are crafted, if the items aren't available in the player's inventory. With the Just Enough Items mod (or similar mods where items can be automatically moved to crafting tables), the Warehouse Crafting Table can pull directly from the Warehouse to auto-complete recipes.

A Warehouse Stock Viewer can be placed on the side of a Warehouse Storage block and configured to display up to four items from inside the Warehouse. The item will show with a name and quantity in the world, making it easy to get an at-a-glance view of specific resources' availability.

A Warehouse Interface can be placed inside the boundaries of the Warehouse to move items out of it, which can then be accessed by Hoppers, Couriers, or other modded forms of item transportation like an inventory. To move items, the Warehouse Interface must be configured with item filters and the Warehouse Control Block must be powered with RF/FE.

Screenshot warehouse linker

A Warehouse Stock Linker configured to activate when Oak Logs > 400.

Finally, a Warehouse Stock Linker can be linked to a Warehouse by shift-using on the Warehouse Control Block with the Stock Linker in hand. Then, the Warehouse Stock Linker can be placed anywhere, preferably on the side of a block affected by a redstone signal. The Stock Linker uses a special filter that compares a number to the quantity of an item in the Warehouse, and then activates a signal when all conditions are met. For example:

  • A Hopper is placed underneath a Warehouse Interface, which is filtered to move Charcoal out of the Warehouse.
  • A Warehouse Stock Linker is placed on the side of the Hopper, and is filtered to activate when Charcoal <= 16.
  • There is 10 Charcoal in the Warehouse (10 Charcoal <= 16), so the Stock Linker activates and turns the Hopper off (as Hoppers deactivate when fed a redstone signal.)
  • Something (or someone) adds 10 Charcoal to the Warehouse. Now the Stock Linker deactivates (20 Charcoal </= 16), the Hopper turns on, and four Charcoal goes into the Hopper.
  • As soon as the amount of Charcoal in the Warehouse hits 16 again, the Stock Linker activates and disables the Hopper again.
  • The Hopper may link to a Furnace, for example, using the excess Charcoal that was in the Warehouse as furnace fuel.

GUI[]

A Warehouse can have as many different slots as there are room for items. Each item of the same type shares one slot, regardless of how many items there are of that type. For example, if one puts four stacks of Logs into the Warehouse Control Block, they will merge into one slot of 256 logs. This works for any item that is the exact same, i.e. with the same NBT data, even if the item is not normally stackable (such as tools).

Screenshot warehouse gui

The top of the Warehouse Control Block GUI

Items are automatically sorted based on a preset; this sorting cannot be manually adjusted. At the top of the Control Block GUI are sort settings, including:

  • Name (alphabetical)
  • Damage (e.g. for tools)
  • Quantity (least-to-most and vice versa)
  • Ascending/Descending, which will invert the order that the items are displayed in.

The Control Block has a search bar which will search by item name and/or lore. Items can be searched by mod as well with the "@" prefix and no spaces; for example, @ancientwarfareautomation will search for all items from Ancient Warfare Automation.

In the bottom-left corner of the player's hotbar in the Control Block GUI is the "Bounds" configuration button, allowing the player to change the size of the warehouse in the world, up to 5x4x5, and the position of the Warehouse relative to the Control Block.

In the bottom-right corner of the Control Block GUI is the amount of items / total capacity of the Warehouse.

Advertisement