Block Router

Block Router

A block that route items on others blocks

by
322 Downloads
forgetechnologytransportationutility
Rent Server with this Mod

About this Mod

Block Router

The mod is an Alpha version, blocks, items and behavior can change.

This is your new mod, Block Router is a mod that add blocks that route things.

history

I play modded minecraft since the beginning (when a mod was installed by overriding the java class in the jar).
Sometime i need some behaviors that are only possible with mod contraptions (like Xnet with drawers with... other mods) so i decided to describe all these behaviors on this mod.

For the older (in modded mc), you probably have recognized the side of the icon texture, it look like the Router from Factorization. Your guess is right because its the same colors and almost the same shape.
The router from Factorization transfer (scatter and retrieve) items from connected inventories ex: you place a bunch of furnace (from IC2) and a Router, you only need to put the things you want to smelt in the router, the block will automatically scatter and retrieve.


Available blocks

Router

The behavior described above is much simpler than my implementation. My implementation provide:

  • Scatter and Retriever
  • Patterns that allow to use more complex machines like Mekanism Infusing factory
  • Allow insertion from different sides (extraction is always made from the Bottom)
  • To require a precise number of the same item to process (ex: 1 coal AND 8 sand)
  • The router will only detect machines that are the same and stacked on top.

Example of use:
Image

Scatter & Retriever

  • Scatter Or Retrieve
  • Insert from the Top Or Extract from the bottom
  • Will only detect machines that are the same and stacked on top.

Example of use:
Retrieve items from drawers. Scatter 1 sapling on each drawers.

Image

Pattern Encoder

  • Allow creation of Patterns
  • One ItemStack Per Side is Allowed

Example of use:
Encode recipe to smelt raw gold in vanilla furnace

Image

Buffer

  • Keep and wait for a certain amount of the same item before allowing their extraction, then wait to be fully empty to switch to Insertion/Keep and wait.

Example of use:
I need 15 Grass blocks, the rest will stay on the input slot (top) until the export slot (bottom) is empty.

Image

Dispatcher router

Allow us to use multiblock machines (like pedestals or crafting walls) to craft things

Dispatcher Router

Vacuum router

Allow us to drop and pick up items on the ground as recipe.

Vacuum Router

Slot router

A test block if this feature can be usefull, it allow us to insert items on specific slots.

RoadMap

In the first place i want to test my implementation.

Then:

  • Improve code and algorithm.
  • Handle NBT as filter
  • Add Energy generator (probably)
  • Add Fluid Routers
  • Add area block placers based on dispatcher pattern encoder
  • Add area block breakers
  • Implement transfer router with filters
  • Implement phantom blocks (to access tile entities from other blocs)
  • Display fake ItemStacks on the Pattern Encoder
  • Implement Quantity Upgrade
  • Implement Trading station
  • Why not merge Items And Fluids

Available Versions

Block Router 1.1.2alpha
MC 1.19.2forge
December 22, 2022
Block Router 1.1alpha
MC 1.19.2forge
December 20, 2022
1.0alpha
MC 1.19.2forge
November 21, 2022

How to Install Block Router on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.19.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Block Router". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.19.2

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Block Router server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.2). You can switch loaders with one click in the panel.

Is Block Router compatible with forge?

Block Router officially supports forge for Minecraft 1.19.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Block Router – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Block Router consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Block Router with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.19.2