跳到正文

Block Router

作者:mamiemru

A block that route items on others blocks

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Block Router 支持哪些 Minecraft 版本?

Block Router 支持 Minecraft Java 版 1.19.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Block Router 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分