跳到正文

No Creeper Griefing

作者:Bybycyann

Disabled creeper explosions from breaking blocks.

收藏

介绍

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

The modpack only covers release versions. If you want to use it in snapshot versions, please download the datapack version.


By default, this data pack disables block destruction caused by Creeper explosions. While block griefing is disabled (creeper_griefing = 0(false)), Creepers still deal damage to entities — set creeper_damage = 0(false) as well to disable that damage too.

Game Rules

Scoreboard-based. Manage the rules with /scoreboard players set <rule name> gamerule <0(false)|1(true)>.

| Rule ID | Description | Type | Default | Effect |
| :—: | — | :—: | :—: | :—: |
| creeper_griefing | Controls the interaction between Creeper explosions and blocks. When disabled, Creepers cannot destroy blocks. This does not conflict with the mob_griefing rule. | Bool | false(0) | Whether Creeper explosions can break blocks |
| creeper_damage | Controls whether Creeper explosions damage entities. When disabled, explosions from Creepers deal no damage to entities, but knockback is retained. | Bool | true(1) | Whether Creeper explosions can deal damage |

FAQ

Q1. How do I change a Creeper’s ExplosionRadius?

When the features provided by this data pack are active (i.e. the rules creeper_griefingand creeper_damage are not both 1(true)), use the following command to change a Creeper’s explosion power on the fly:

execute as <target selector> on passengers as @s[type=minecraft:marker, tag=ncg.explosion, limit=1] run data modify entity @s data.radius set value <value>

If the rule is not enabled by the player, simply modify the Creeper’s entity data directly.

常见问题

No Creeper Griefing 支持哪些 Minecraft 版本?

No Creeper Griefing 支持 Minecraft Java 版 1.21–26.3,共 17 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

No Creeper Griefing 怎么安装?

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

评论

登录后评论和评分