跳到正文

Workshop core block

作者:alpho_c

Switch between crafting tables, furnaces, anvils, chests, or other mod's station without having to walk around or close the menu.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。
  • This mod add a new block: 

    Craft a Workshop Core from a lodestone and a crafting table. It has the same hardness as a block of iron and needs a stone pickaxe.

    Place it and right-click to open its settings screen:

    • Area — set the XYZ size and corner offset, like a structure block. The world stays visible while you type, and the area is outlined live (cyan = area, gold = the core, green = stations found, red = stations that fell outside). The outline lingers for a few seconds after you close the screen, then disappears. “Centre on core” places the core in the middle of the area.
    • Categories — toggle Crafting / Smelting / Enchanting & Repair / Storage / Logistics / Other.
    • Blocks — toggle individual entries, with a count of how many are in the area.

    Use it by right-clicking any station inside the area as you normally would. The switcher appears beside the menu. Click an icon to switch to that station — it opens the real vanilla menu, and stats are awarded exactly as if you had walked over and used the block.

    Toggle the panel with V by default (rebindable under Controls → Workshop Core). With it off, everything behaves like vanilla.

Configuration

config/workshopcore-server.toml — area limits, re-scan interval, station cap, block blacklist.

config/workshopcore-client.toml — which side the panel docks to (LEFT / RIGHT / AUTO), column count, tooltips, outline duration.

If the panel overlaps JEI’s bookmark list, set overlay.side to RIGHT or AUTO.

Adding modded workbenches

Most modded blocks need nothing — anything that offers a menu is detected automatically and lands in the “Other” category. Write a definition only to set its category, its sort order, or to group a whole family of blocks under one filter switch.

Definitions load from data/<namespace>/workshop_stations/*.json in any data pack, and from config/workshopcore/stations/*.json (applied afterwards, so it wins). One file is one filter entry:

{
  "category": "crafting",
  "category_priority": 10,
  "priority": 20,
  "match": [ "somemod:alloy_bench", "#c:chests" ]
}
 

match takes block ids or #namespace:tag. Because one file is one entry, matching a tag groups the whole family under a single switch while each block still shows its own icon. Optional fields: id, name (a lang key), enabled_by_default, open, and "disabled": true to remove a built-in entry.

常见问题

Workshop core block 支持哪些 Minecraft 版本?

Workshop core block 支持 Minecraft Java 版 1.21,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Workshop core block 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

alpho_c 的其他作品

查看全部 →