跳到正文

magnet-hopper

作者:kestalkayden

A hopper variant that pulls dropped items in a 3D radius before depositing them into the container below. Solves the universal "items despawn around my mob farm" pain in one dedicated block.

收藏

截图

介绍

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

Magnet Hopper

Magnet Hopper

A hopper variant that pulls dropped items in a 3D radius before depositing them into the container below. Solves the universal “items despawn around my mob farm” pain in one dedicated block.

Features

  • Magnet pull — ItemEntities in the tier’s 3D radius get vacuumed into the internal 5-slot storage and flow down into the container below.
  • Vanilla hopper behavior always active — strict superset of a regular hopper: pulls from any container above, pushes to any container below at the standard 8-tick cadence.
  • Magnet on/off toggle — UI button to disable just the magnet pull (block keeps acting as a normal hopper).
  • 5-slot whitelist/blacklist filter — click a filter slot with an item to ghost-set (the item isn’t consumed); empty-hand click to clear; toggle whitelist/blacklist in the UI.
  • Redstone-disable — applying a redstone signal pauses everything (matches vanilla hopper convention).
  • Placement preview — hold a magnet hopper in either hand and the affected radius draws as a cyan-mint wireframe over your cursor target, with a warm-green surface contour that follows terrain so the floor coverage is always legible.
  • Pipe compatibility — exposes the 5-slot storage via Fabric ItemStorage.SIDED and the NeoForge item-handler capability. Filter slots are config, not exposed.

Compatibility

  • Minecraft: 26.1.x
  • Fabric: Loader 0.18.4+ with Fabric API
  • NeoForge: 26.1+
  • Java: 25

Known limitations

  • Items in internal storage spill when the block is broken (the drops are still pickup-able). NBT carry-over planned for v0.2.
  • Filter configuration is lost on break. Planned for v0.2.
  • All magnet hoppers face down only; side-facing variant planned later.

License

CC0-1.0 (public domain). Use freely in modpacks and derivative works.

Links

常见问题

magnet-hopper 支持哪些 Minecraft 版本?

magnet-hopper 支持 Minecraft Java 版 26.1–26.3,共 5 个版本,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。

magnet-hopper 怎么安装?

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

评论

登录后评论和评分

kestalkayden 的其他作品

查看全部 →