NO Mining
Players can't dig blocks, but they can place blocks and entities. Suitable for PvP modpacks
截图
介绍
NoMining – 禁止挖掘模组
📖 简介
NoMining 是一个轻量级的 Minecraft Forge 模组,允许服务器管理员或地图制作者通过简单的游戏规则禁止玩家挖掘方块,同时保持放置物品的功能不受影响。
✨ 功能特性
- ✅ 禁止挖掘 – 玩家无法破坏任何方块
- ✅ 允许放置 – 放置物品完全正常
- ✅ 游戏规则控制 – 通过
/gamerule命令实时开关 - ✅ 模式限制 – 只对生存模式玩家生效,创造/旁观模式不受影响
- ✅ 无动画残留 – 不会留下方块破裂纹理
- ✅ 不影响攻击 – 左键攻击生物完全正常
- ✅ 轻量级 – 几乎零性能开销
🎮 使用方法
游戏规则
| 命令 | 说明 |
|——|——|
| /gamerule disableMining | 查看当前设置 |
| /gamerule disableMining true | 开启禁止挖掘(默认) |
| /gamerule disableMining false | 关闭禁止挖掘 |
📝 工作原理
- 监听
BlockEvent.BreakEvent事件,直接取消方块破坏 - 监听
PlayerEvent.BreakSpeed事件,将挖掘速度设为0 - 客户端每帧重置挖掘进度,清除破裂纹理
- 通过游戏规则控制功能开关
NoMining – Mining Disabling Mod
📖 Introduction
NoMining is a lightweight Minecraft Forge mod that enables server administrators or map creators to prohibit players from mining blocks through simple game rules, while maintaining the functionality of placing items unaffected.
✨ Functional Features
- ✅ Prohibition of Digging – Players are unable to destroy any blocks
- ✅ Allowing Placement – Placing items works normally
- ✅ Game Rule Control – Switches on and off in real time via the
/gamerulecommand - ✅ Mode Restrictions – Only applies to players in survival mode; creation/view mode are unaffected
- ✅ No Animation Residuals – No block break textures will remain
- ✅ No Impact on Attacks – Left-click attacks on creatures are normal
- ✅ Lightweight – Almost no performance overhead
🎮 Usage Instructions
Game Rules
| Command | Explanation |
|——|——|
| /gamerule disableMining | View current settings |
| /gamerule disableMining true | Enable mining prohibition (default) |
| /gamerule disableMining false | Disable mining prohibition |
📝 Working Principle
- Listen to the
BlockEvent.BreakEventevent and directly cancel the block destruction. - Listen to the
PlayerEvent.BreakSpeedevent and set the digging speed to 0. - Reset the digging progress on each frame of the client and clear the breaking texture.
- Control the function switch through the game rules.
常见问题
NO Mining 支持哪些 Minecraft 版本?
NO Mining 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
NO Mining 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端 / 服务端。
NimShade 的其他作品
查看全部 →TRACING LIGHT · DARK TIDE
Where every respawn writes a new verse — one year of light, one year of tide.
[UO]Ultramodern optimization
Smooth Gameplay, Engineered to Perfection
C4 Pro
A refined mod porting CS2’s C4 system to Minecraft.
Tacz auto modify
Added the function of automatically replacing accessories for tacz
评论
登录后评论和评分