跳到正文

Magnetron

作者:DeLaRosaPlay

Magneton is a simple magnet mod for Forge 1.20.1 that pulls nearby dropped items and XP orbs to players, with line-of-sight checks, smooth suction movement, and configurable radius.

收藏

介绍

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

Magneton

Magneton is a lightweight Forge mod for Minecraft 1.20.1 that adds a powerful item magnet feature to automatically attract dropped items and experience orbs towards nearby players. Inspired by popular magnet mods, it focuses on smooth gameplay, server performance, and configurability without breaking vanilla mechanics.

Key Features

Automatic Attraction: Dropped items and XP orbs within range are pulled towards players with smooth, suction-like movement.

Line-of-Sight Checks: Items only attract if there’s a clear line of sight (no attraction through walls or obstacles).

Pickup Delay Respect: Items with active pickup delay (e.g., from mob drops) are ignored until they become available.

Cube-Shaped Range: Attraction works in a configurable cube radius around the nearest eligible player.

Global and Per-Player Controls: Admins can enable/disable globally, while each player can opt-out individually.

Server-Side Only: All logic runs on the server for fair multiplayer play; no client-side cheats.

Performance Optimized: Efficient scanning and attraction every server tick without lag.

Commands

Player Commands (Any Player)
/magneton toggle

Toggles your personal magnet on/off. By default, players start with the magnet enabled (opt-out model).

Example Output: “Magneton: ON” or “Magneton: OFF”
/magneton status

Shows your current personal magnet status, global magnet status, and current radius.
Example Output: “Magneton: ON | global=ON | radius=10”

Admin/OP Commands (Requires Permission Level 2)
/magneton global on

Enables the global magnet for all players (default state).

Example Output: “Magneton global: ON”
/magneton global off

Disables the global magnet for all players (overrides personal toggles).

Example Output: “Magneton global: OFF”
/magneton radius

Sets the global attraction radius (in blocks). Range: 0 to 64. Default: 10.
Example: /magneton radius 15 → “Magneton radius set to 15”

Default Settings

Global Magnet: Enabled (magnetonEnabled gamerule = true)
Radius: 10 blocks (magnetonRadius gamerule = 10)
Per-Player: Enabled by default; players can disable with /magneton toggle
Attraction Speed: Items accelerate gently towards players (max speed capped for smoothness)
Installation & Compatibility
Requires Forge 47.1.0+ for Minecraft 1.20.1
Server-side mod; works on dedicated servers and single-player
Compatible with other mods (no known conflicts)
No dependencies

Notes

Attraction respects vanilla item behavior (e.g., no duplication, pickup delay honored)
XP orbs attract slightly faster than items for better gameplay feel
Use /gamerule magneton Enabled false or /gamerule magneton Radius 0 as alternatives for OP control
Personal settings persist across sessions using player data

常见问题

Magnetron 支持哪些 Minecraft 版本?

Magnetron 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Magnetron 怎么安装?

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

评论

登录后评论和评分

DeLaRosaPlay 的其他作品

查看全部 →