NO Mining

NO Mining

Players can dig blocks, but they are allowed to prevent blocks and entities from passing through. Suitable for PvP modpacks

by
4.0K Downloads
forgegame-mechanicsmanagementutility
Rent Server with this Mod

Screenshots

NO Mining Screenshot 1

About this Mod

NoMining - 禁止挖掘模组

📖 简介

NoMining 是一个轻量级的 Minecraft Forge 模组,允许服务器管理员或地图制作者通过简单的游戏规则禁止玩家挖掘方块,同时保持放置物品的功能不受影响。

✨ 功能特性

  • 禁止挖掘 - 玩家无法破坏任何方块
  • 允许放置 - 放置物品完全正常
  • 游戏规则控制 - 通过 /gamerule 命令实时开关
  • 模式限制 - 只对生存模式玩家生效,创造/旁观模式不受影响
  • 无动画残留 - 不会留下方块破裂纹理
  • 不影响攻击 - 左键攻击生物完全正常
  • 轻量级 - 几乎零性能开销

🎮 使用方法

游戏规则

命令 说明
/gamerule disableMining 查看当前设置
/gamerule disableMining true 开启禁止挖掘(默认)
/gamerule disableMining false 关闭禁止挖掘

📝 工作原理

  1. 监听 BlockEvent.BreakEvent 事件,直接取消方块破坏
  2. 监听 PlayerEvent.BreakSpeed 事件,将挖掘速度设为0
  3. 客户端每帧重置挖掘进度,清除破裂纹理
  4. 通过游戏规则控制功能开关

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 /gamerule command
  • 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

  1. Listen to the BlockEvent.BreakEvent event and directly cancel the block destruction.
  2. Listen to the PlayerEvent.BreakSpeed event and set the digging speed to 0.
  3. Reset the digging progress on each frame of the client and clear the breaking texture.
  4. Control the function switch through the game rules.

Available Versions

no mining v1.1.0release
MC 1.20.1forge
April 12, 2026

How to Install NO Mining on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "NO Mining". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

NO Mining server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is NO Mining compatible with forge?

NO Mining officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with NO Mining – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if NO Mining consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install NO Mining with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.20.1