
Hopper
I want to make a hopper that can auto put items like ore into a furnace or chest ect. It can be very simple if needed just want it to try and put items into...
00—hytaleServer2026.1mod
- Hopper now auto-manages inventories: when a block with a key containing "hopper" is placed, it gets a custom state that moves items from its inventory down into the container below and pulls items from the container above. It transfers the first available stack each cycle with a short cooldown, so ores and other items flow into furnaces or chests automatically.
- The hopper state is registered during setup and attached on placement in the default world; it ticks on its own and marks itself for saving after successful transfers.
- Uses a simple directional rule (pull from above, push downward). If no container is found in those positions or chunks are unloaded, transfers pause until the area is loaded again.
- Suggestions: honor facing directions for side outputs, add filters/whitelists, and handle multi-world attachment if you need hoppers outside the default world.