OreToggle 是一个服务端 Fabric 模组,允许你动态控制世界中矿石的可用性。
你可以禁用特定的矿石,系统会实时自动将附近匹配的方块替换掉。该系统优先处理距离玩家最近的方块,确保在游戏过程中快速且响应灵敏。
所有被替换的方块都会被追踪,并可通过命令安全地恢复。模组支持 JSON 持久化、自动保存以及可配置的性能和行为控制系统。
主要功能:
- 运行时开启/关闭矿石
- 玩家附近的矿石自动替换
- 恢复之前被替换的矿石
- 基于距离的扫描系统(已优化)
- 可配置的性能设置
- 仅服务端运行(客户端无需安装此模组)
命令(需要权限等级 2+):
- /toggleore <ore> on|off — 启用或禁用特定矿石
- /restoreore <ore> — 恢复该矿石之前被替换的方块
- /oretoggle status — 显示当前禁用的矿石及追踪信息
- /oretoggle save — 手动保存当前状态和追踪数据
最初基于 Paper/Spigot 插件开发,现已完全重写为 Fabric 版本。
OreToggle is a server-side Fabric mod that allows you to dynamically control ore availability in your world.
You can disable specific ores, causing nearby matching blocks to be automatically replaced in real-time. The system prioritizes blocks closest to the player, making it fast and responsive during gameplay.
All replaced blocks are tracked and can be safely restored later using commands. The mod includes JSON persistence, autosave, and a configurable system to control performance and behavior.
Key features:
- Toggle ores on/off at runtime
- Automatic ore replacement near players
- Restore previously replaced ores
- Distance-based scanning system (optimized)
- Configurable performance settings
- Server-side only (clients do not need the mod)
Commands (require permission level 2+):
- /toggleore <ore> on|off — enable or disable a specific ore
- /restoreore <ore> — restore previously replaced blocks for that ore
- /oretoggle status — show currently disabled ores and tracking info
- /oretoggle save — manually save current state and tracked data
Originally based on a Paper/Spigot plugin, now fully rewritten for Fabric.
下载 OreToggle
下载 OreToggle
下载 OreToggle
下载 OreToggle
下载 OreToggle
OreToggle 2.2.1
新增
- 添加了
debugLogging(调试日志记录)配置选项,用于提供详细的按区块替换日志。 - 为
/restoreore命令添加了详细的还原结果报告。
改进
-
还原反馈现在会报告:
- 已还原的方块
- 已跳过的方块
- 因区块/世界未加载而跳过的方块
- 因方块已更改而跳过的方块
-
通过隐藏按区块替换日志(除非启用调试日志记录)来减少控制台刷屏。
-
更新了 README 文档以匹配当前行为及配置选项。
修复
- 调试替换日志现在正确遵循
debugLogging配置设置。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧