A set of blocks to automatically transfer items between other blocks' inventories
Go to file
Airat Makhmutov 0baf36e7d9
Fix regression with throwing items out of the hopper (#29)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-09-02 17:46:15 +02:00
locale bring in translations from weblate.org 2021-01-13 03:10:55 -07:00
nodes Add .luacheckrc and fix its warnings 2024-08-29 14:36:13 +02:00
textures Use texture status indicators (#16) 2022-07-10 20:25:00 +02:00
.luacheckrc Add .luacheckrc and fix its warnings 2024-08-29 14:36:13 +02:00
abms.lua Add .luacheckrc and fix its warnings 2024-08-29 14:36:13 +02:00
api.lua Create inventory information through an existing table 2024-08-17 09:20:43 +02:00
api.md Update the API documentation 2024-08-17 09:20:43 +02:00
CHANGELOG.md Offload CHANGELOG from README 2024-08-29 14:36:13 +02:00
config.lua Configurable inventory log level (#17) 2022-07-10 20:25:16 +02:00
crafts.lua Add .luacheckrc and fix its warnings 2024-08-29 14:36:13 +02:00
doc.lua Update to minetest builtin’s translation api (#12) 2020-02-18 16:47:23 -07:00
i18n.py add i18n script, update translation files 2020-03-02 20:31:29 -07:00
init.lua Maintenance: fix deprecation warnings 2024-08-29 14:36:13 +02:00
license.txt Use texture status indicators (#16) 2022-07-10 20:25:00 +02:00
mod.conf Update to minetest builtin’s translation api (#12) 2020-02-18 16:47:23 -07:00
README.md Offload CHANGELOG from README 2024-08-29 14:36:13 +02:00
screenshot.png update screenshot and documentation 2018-05-04 22:26:45 -06:00
settingtypes.txt Configurable inventory log level (#17) 2022-07-10 20:25:16 +02:00
utility.lua Fix regression with throwing items out of the hopper (#29) 2024-09-02 17:46:15 +02:00

Hoppers, chutes and sorters

Hoppers, chutes and sorters

Based on jordan4ibanez's original hoppers mod, optimized by TenPlus1 and FaceDeer, with chutes and sorters by FaceDeer

Lucky Blocks: 2

Change log: CHANGELOG.md

Functionality description

Hopper node

Hoppers are nodes that can transfer items to and from the inventories of adjacent nodes. The transfer direction depends on the orientation of the hopper.

The wide end of a hopper is its "input" end, if there is a compatible container (e.g. a chest), one item per second is taken into its own internal inventory. The hopper will also draw in dropped items.

The narrow end of the hopper is its "output" end. It can be either straight or 90° bent, relative to the input. It will attempt to inject items into a compatible container connected to it. On failure, the item is either held back in the hopper inventory or ejected, depending on its configuration.

Chute node

The "chute" node acts as a pipe for items injected by a hopper or sorter. Use a screwdriver tool to achieve the desired rotation.

Sorter node

Item stacks placed into the "filter" grid of the sorter node inventory define how to distribute the incoming items into the two outputs.

  • Matching items are sent into the direction of the large arrow (V).
  • Other items are sent to the 90° side output.

Special case: The "filter all" option will cause the sorter to attempt to send all items in the direction of the large arrow. On failure, they're sent in the direction of the smaller arrow. Use-cases:

  • Protection against overflowing containers
  • Protection against unaccepted items in the destination slot(s), such as the furnace fuel slot

Built-in mod compatibility

The following nodes are supported out-of-the-box. "above"/"below"/"side" describe the location of the hopper.

  • default:furnace
    • Above: routed to the input slot
    • Below: routed to the output slots
    • Sides: routed to the fuel slot
  • default:chest(_locked), protector:chest
    • All sides: routed to the main slot
  • wine:wine_barrel
    • Above: routed to the destination slots
    • Below: routed to the source slot
    • Sides: routed to the source slot

Advanced settings

This mod has several configurable settings. See settings menu or settingtypes.txt for details.

  • Hopper texture size: 16x16 pixels (default) or 32x32 pixels
  • Single craftable item: output is straight or rotated by 90° to the side based on how you place it (default). When disabled, straight and bent hoppers must be crafted separately.
  • Eject items button: option to remove the "eject items" button from hoppers