Back to mods
NO Mining project artwork

Modrinth · Minecraft mod

NO Mining

Players can't dig blocks, but they can place blocks and entities. Suitable for PvP modpacks

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which NO Mining release matches 1.20.1 Forge?

Updated 7 months ago
Best match for your filters 1.0.0
Game version 1.20.1
Loader Forge

NO Mining 1.0.0 targets 1.20.1 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is NO Mining required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does NO Mining 1.0.0 need?

1.0.0 on 1.20.1 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add NO Mining without breaking your instance.

Built for NO Mining 1.0.0 on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.0. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.0. It opens that exact file at the source.

About this project

What does NO Mining add?

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.

Project description from Modrinth.

Pick your setup

NO Mining by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

NO Mining versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.