MobGuard
MobGuard 用于防止生物破坏和生成控制。它能阻止常见的问题,如苦力怕方块破坏、恶魂火焰雨、凋灵方块破坏以及末影人移动方块,同时仍让生物保持其原有的特性。它还支持按世界设置生成规则、按生物设置高度限制、为生物阻止传送门使用、阻挡投射物、控制掉落物和经验值!

许多人试图通过 mobGriefing 游戏内规则来解决这个问题,但这会破坏村民行为和其他游戏系统。MobGuard 更加针对性,因此你可以在不关闭所有依赖 mobGriefing 的功能的情况下,阻止有害的行为。
用途
MobGuard 适用于那些希望保留生物,但不希望生物破坏建筑、造成卡顿或搞乱农场的服务器。
常见设置
- 苦力怕仍然伤害玩家,但不会破坏方块
- 恶魂和烈焰人不再点燃整个世界
- 末影人不再拾取和放置方块
- 在特定世界或特定高度阻止敌对生物生成
- 调整特定生物的掉落物和经验值
功能
阻止生物破坏和方块损坏
- 阻止苦力怕的方块破坏
- 完全阻止苦力怕爆炸
- 阻止苦力怕被闪电充能
- 阻止恶魂火球造成的方块破坏
- 阻止恶魂火焰引发火灾
- 阻止烈焰人引燃
- 阻止凋灵头颅造成的方块破坏
- 阻止凋灵破坏方块
- 阻止凋灵引发火灾
- 阻止末影龙破坏方块
- 阻止末影人移动方块
- 阻止末影人瞬移
- 阻止潜影贝瞬移
- 阻止劫掠者破坏
- 阻止僵尸、尸壳、溺尸、僵尸村民破坏木门
- 阻止岩浆怪分裂
- 阻止史莱姆分裂
- 可选调试日志记录
控制生物战斗与目标锁定
- 阻止生物发射投射物,如箭矢、三叉戟、火球、药水
- 使用空列表则应用于所有非玩家射手
- 使用列表则仅应用于选定的生物类型
- 阻止敌对生物锁定玩家为目标
- 阻止敌对生物锁定村民和流浪商人
控制物品与传送门
- 阻止生物拾取物品
- 阻止生物丢弃它们拾取的物品
- 阻止生物使用下界传送门和末地传送门
控制方块与红石
- 阻止生物践踏耕地
- 阻止生物激活压力板
- 阻止蠹虫感染方块
玩家安全辅助
袭击与僵尸规则
- 阻止袭击开始
- 阻止小僵尸生成,包括小尸壳、小溺尸、小僵尸村民
- 阻止僵尸增援生成
燃烧规则
- 防止选定生物燃烧
- 强制在生成时使选定生物燃烧,并自定义燃烧时间
按世界和高度进行生成控制
生成控制可以基于世界规则和每个生物的高度规则来阻止生成。
主要生成选项
- 启用或禁用生成阻挡
- 允许命令生成,以便
/summon 和插件生成仍然有效
- 选择要阻止的生成原因
- 清理新区块:移除已存在于全新区块中的被阻挡的敌对生物
世界规则
- 分别针对主世界、下界、末地的独立部分
- 选项可在某个世界中阻止所有敌对生物
- 选项可仅阻止你列出的敌对生物
- 每个生物的高度限制,包含最小 Y 坐标 (
minimum-y-height) 和最大 Y 坐标 (maximum-y-height)
掉落物控制与经验值控制
MobGuard 可以覆盖死亡时的掉落物和经验值。
对于每种生物,你可以执行以下操作:
- 先清除默认掉落物
- 从正常掉落物中移除特定材料
- 添加额外掉落物,设定最小值、最大值和概率
- 覆盖经验值,设定最小值、最大值和概率
掉落物和经验值说明
- 概率是一个从 0.0 到 100.0 的百分比
- 如果未指定概率,则默认为 100
- 抢夺附魔可以增加额外掉落物的数量
兼容性
- Minecraft Java Edition 1.21.11
- Paper, Folia, Purpur, Leaf
安装
- 从本站的 MobGuard 页面下载 jar 文件。
- 将其放入服务器的
plugins 文件夹中。
- 启动服务器一次以生成
plugins/MobGuard/config.yml。
- 编辑配置文件。
- 重启服务器以应用更改。
配置快速提示
- 实体类型名称通常为大写,如
ZOMBIE 或 WITHER_SKELETON
- 材料名称通常为大写,如
IRON_INGOT 或 GUNPOWDER
- 生成控制按世界分隔,分为
world、nether、end 部分
- 高度规则使用
minimum-y-height 和 maximum-y-height,且包含边界值
示例:阻止下界违规者使用生物传送门
portal-control:
enabled: true
blocked-types: [PIGLIN, ZOMBIFIED_PIGLIN, PIGLIN_BRUTE, BLAZE]
示例:仅阻止特定射手的生物投射物
projectile-control:
enabled: true
blocked-shooters: [DROWNED, WITCH, SKELETON, PILLAGER, BLAZE, GHAST]
示例:限制下界岩浆怪的高度
spawn-control:
enabled: true
block-natural-spawns: true
block-spawner-spawns: true
block-egg-spawns: true
worlds:
nether:
controlled-mobs:
MAGMA_CUBE:
minimum-y-height: 54
maximum-y-height: 64
示例:自定义苦力怕掉落物和经验值
drop-control:
enabled: true
mobs:
CREEPER:
replace-default-drops: true
add-drops:
GUNPOWDER:
min: 2
max: 8
chance: 100.0
xp:
min: 5
max: 5
chance: 100.0
带注释的默认 config.yml
# config.yml
#
# 注意:
# - EntityType(实体类型)名称通常全大写,例如 ZOMBIE 或 WITHER_SKELETON
# - Material(材料)名称通常全大写,例如 IRON_INGOT 或 GUNPOWDER
#
# 掉落概率说明 (drop-control.add-drops.*.chance):
# - 概率是一个从 0.0 到 100.0 的百分比值
# - 允许使用小数
# - 示例:
# 0.005 = 0.005%(极稀有)
# 1.5 = 1.5%
# 90.0 = 90%
# 90 = 90%
# 100.0 = 必定掉落
# - 如果未指定概率,默认为 100%
settings:
# 阻止苦力怕爆炸破坏方块(仍会对玩家/生物造成伤害)
block-creeper-explosions: true
# 完全阻止苦力怕爆炸
block-creeper-explosion-prime: false
# 阻止苦力怕被闪电充电
block-charged-creepers: true
# 阻止恶魂火球破坏方块(仍会对玩家/生物造成伤害)
block-ghast-fireballs: true
# 阻止恶魂火球引发火灾
block-ghast-fire-ignite: true
# 阻止凋灵骷髅头爆炸破坏方块
block-wither-skull-explosions: true
# 阻止凋灵在移动时破坏方块
block-wither-block-breaking: true
# 阻止凋灵爆炸引发火灾(通常不需要,但更安全)
block-wither-fire-ignite: true
# 阻止末影龙破坏方块
block-ender-dragon-block-breaking: true
# 阻止末影人拾取或放置方块
block-enderman-block-moving: true
# 阻止末影人传送
block-enderman-teleport: true
# 阻止潜影贝传送离开
block-shulker-teleport: true
# 劫掠兽可以破坏作物、树叶和其他一些方块
block-ravager-griefing: true
# 覆盖:僵尸、尸壳、溺尸、僵尸村民
block-zombie-door-breaking: true
# 阻止烈焰人火球引发火灾
block-blaze-fire-ignite: true
# 阻止岩浆怪分裂成更小的个体
block-magma-cube-split: true
# 阻止史莱姆分裂成更小的个体
block-slime-split: true
# 额外的控制台日志记录
debug: false
projectile-control:
# 阻止生物发射投射物(箭矢、三叉戟、火球、药水等)
enabled: false
# 如果为空,则适用于所有非玩家射手
#
# 配置示例:
# enabled: true
# blocked-shooters: [DROWNED, WITCH, SKELETON, PILLAGER, BLAZE, GHAST]
blocked-shooters: []
target-control:
# 阻止敌对生物攻击玩家
block-hostile-targeting-players: false
# 阻止敌对生物攻击村民(包括流浪商人)
block-hostile-targeting-villagers: false
item-pickup-control:
# 阻止生物拾取物品
enabled: false
# 如果为空,则适用于所有非玩家生物
#
# 配置示例:
# enabled: true
# blocked-types: [ZOMBIE, HUSK, DROWNED, ZOMBIE_VILLAGER, PIGLIN, PIGLIN_BRUTE]
blocked-types: []
# 阻止生物丢弃它们拾取的物品(主要是手持/盔甲物品)
block-picked-up-item-drops: false
# 如果为空,则适用于所有非玩家生物
#
# 示例:
# block-picked-up-item-drops: true
# drop-blocked-types: [ZOMBIE, HUSK, DROWNED, ZOMBIE_VILLAGER]
drop-blocked-types: []
drop-control:
# 覆盖生物死亡时的掉落物(移除、添加或替换)
enabled: false
# 规则基于 EntityType(实体类型)名称
#
# 每种生物可以:
# - replace-default-drops:首先清除所有正常掉落物
# - remove-drops:如果原本会掉落这些 Material(材料),则将其移除
# - add-drops:添加额外掉落物,并设定最小/最大数量(包含边界值)
# - xp:控制掉落的经验值数量(完全省略以保留 Minecraft 默认值)
#
# “chance”(概率)是百分比(0.0 到 100.0)。如果缺失,默认为 100.0。
#
# 经验值说明:
# - 如果缺少“xp”部分,则原封不动地使用 Minecraft 的默认经验值
# - 如果存在“xp”,它将完全替换默认的经验值投掷机制
# - xp 下的“chance”控制是否掉落任何经验值(0 = 永不掉落,100 = 必定掉落)
# - 如果概率判定失败,则掉落 0 经验值
# - min/max 是经验值数量范围(包含边界值);min 默认为 0,max 默认为 min
#
# 示例:移除骷髅掉落的箭矢
# mobs:
# SKELETON:
# replace-default-drops: false
# remove-drops: [ARROW]
#
# 示例:苦力怕每次必定掉落 2-8 火药,并且必定掉落恰好 5 点经验值
# mobs:
# CREEPER:
# replace-default-drops: true
# add-drops:
# GUNPOWDER:
# min: 2
# max: 8
# chance: 100.0
# xp:
# min: 5
# max: 5
# chance: 100.0
#
# 示例:凋灵骷髅骨头有 90% 概率,煤炭有 50% 概率,头颅有 0.005% 概率
# 经验值掉落 7-15 点,但只有 75% 的概率会掉落
# mobs:
# WITHER_SKELETON:
# replace-default-drops: true
# add-drops:
# BONE:
# min: 4
# max: 9
# chance: 90.0
# COAL:
# min: 0
# max: 3
# chance: 50.0
# WITHER_SKELETON_SKULL:
# min: 0
# max: 1
# chance: 0.005
# xp:
# min: 7
# max: 15
# chance: 75.0
mobs: {}
portal-control:
# 阻止生物使用下界/末地传送门
enabled: false
# 如果为空,则适用于所有非玩家生物
#
# 配置示例(常见的下界肇事者):
# enabled: true
# blocked-types: [PIGLIN, ZOMBIFIED_PIGLIN, PIGLIN_BRUTE, BLAZE]
blocked-types: []
block-control:
# 阻止生物踩踏耕地使其变回泥土
block-farmland-trample: true
# 阻止生物激活压力板
block-mob-pressure-plates: true
# 阻止蠹虫感染方块(隐藏在方块内部)
block-silverfish-infesting: true
ender-pearl-control:
# 阻止玩家使用末影珍珠进行传送
block-ender-pearl-teleport: false
# 阻止末影珍珠传送伤害(即 2.5 颗心的伤害)
block-ender-pearl-damage: true
raid-control:
# 阻止袭击开始(不祥之兆进入村庄时)
block-raid-trigger: false
zombie-control:
# 阻止小僵尸(以及小尸壳/溺尸/僵尸村民)生成
block-baby-zombies: false
# 阻止僵尸增援生成
block-zombie-reinforcements: false
combustion-control:
# 阻止列出的生物因任何原因燃烧(阳光、火焰、熔岩等)
prevent-burning: false
# 如果为空,则适用于所有非玩家生物
prevent-burning-types: []
# 强制列出的生物在生成时开始燃烧
force-burning: false
# 如果为空,则不适用于任何生物
force-burning-types: []
# 生成时的燃烧持续时间(以刻为单位)。20 刻 = 1 秒
force-burning-ticks: 200
spawn-control:
# 生成拦截的主开关
enabled: true
# 如果为 true,则 /summon 命令和插件生成的实体仍然有效
allow-command-spawns: true
# 当下方列出特定生物时,决定要拦截哪些类型的生成
block-natural-spawns: true
block-spawner-spawns: true
block-egg-spawns: true
# 移除在新区块内已存在的被拦截的敌对生物
clean-new-chunks: true
worlds:
world:
# 如果为 true,则在主世界拦截所有敌对生物
block-all-hostile-mobs: false
# 在此处放入 EntityType 名称,以仅在主世界拦截这些生物
#
# 示例:
# blocked-mobs: [CREEPER, SKELETON, ZOMBIE, SPIDER, WITCH, ENDERMAN]
blocked-mobs: [BAT]
# 控制主世界中某些生物的生成高度
#
# 如果某生物在此处列出,它只能在 Y 坐标处于指定范围内(包含边界值)时生成。
# 这是一个高度限制器,而非允许列表。
#
# 这仅适用于上方你正在拦截的生成原因(自然/刷怪笼/鸡蛋)。
#
# 示例:
# controlled-mobs:
# SLIME:
# minimum-y-height: 50
# maximum-y-height: 70
controlled-mobs: {}
nether:
# 如果为 true,则在下界拦截所有敌对生物
block-all-hostile-mobs: false
# 在此处放入 EntityType 名称,以仅在下界拦截这些生物
#
# 示例:
# blocked-mobs: [BLAZE, GHAST, WITHER_SKELETON, PIGLIN_BRUTE, HOGLIN]
blocked-mobs: [SKELETON]
# 控制下界中某些生物的生成高度
#
# 示例:
# controlled-mobs:
# ZOMBIFIED_PIGLING:
# minimum-y-height: 50
# maximum-y-height: 70
controlled-mobs:
MAGMA_CUBE:
minimum-y-height: 54
maximum-y-height: 64
end:
# 如果为 true,则在末地拦截所有敌对生物
block-all-hostile-mobs: false
# 在此处放入 EntityType 名称,以仅在末地拦截这些生物
#
# 示例:
# blocked-mobs: [ENDERMAN, SHULKER, ENDERMITE]
blocked-mobs: []
# 控制末地中某些生物的生成高度
#
# 示例:
# controlled-mobs:
# ENDERMAN:
# minimum-y-height: 40
# maximum-y-height: 90
controlled-mobs: {}
MobGuard
MobGuard is for mob grief prevention and spawn control. It stops common problems like creeper block damage, ghast fire spam, wither block breaking, and enderman block moving, while still letting mobs feel like mobs. It also adds spawn rules per world, height limits per mob, portal blocking for mobs, projectile blocking, drop control, and XP control.!

A lot of people try to solve this with the mobGriefing gamerule, but that can break villager behavior and other game systems. MobGuard is more targeted, so you can block the bad stuff without turning off everything that depends on mobGriefing.
What this for
MobGuard is for servers that want mobs, but do not want mobs to ruin builds, cause lag, or mess up farms.
Common setups
- Creepers still hurt players, but do not destroy blocks
- Ghasts and blazes stop lighting the world on fire
- Endermen stop picking up and placing blocks
- Hostile mob spawns get blocked in certain worlds or at certain heights
- Drops and XP get adjusted for specific mobs
Features
Stop mob grief and block damage
- Block creeper block damage
- Block creeper explosions completely
- Stop creepers from becoming charged by lightning
- Block ghast fireball block damage
- Stop ghast fire from starting
- Block blaze fire ignite
- Block wither skull block damage
- Block wither block breaking
- Stop wither fire ignite
- Block ender dragon block breaking
- Stop endermen from moving blocks
- Stop endermen teleporting
- Stop shulkers teleporting
- Block ravager griefing
- Block zombie door breaking for zombie, husk, drowned, zombie villager
- Stop magma cubes from splitting
- Stop slimes from splitting
- Optional debug logging
Control mob combat and targeting
- Block mob projectiles like arrows, tridents, fireballs, potions
- Use an empty list to apply to all non player shooters
- Use a list to apply only to selected mob types
- Stop hostile mobs from targeting players
- Stop hostile mobs from targeting villagers and wandering traders
Control items and portals
- Stop mobs from picking up items
- Apply to all mobs or only selected mob types
- Stop mobs from dropping items they picked up
- Mostly armor and held items
- Stop mobs from using nether portals and end portals
- Apply to all mobs or only selected mob types
Control blocks and redstone
- Stop mobs from trampling farmland
- Stop mobs from activating pressure plates
- Stop silverfish from infesting blocks
Player safety helpers
- Block ender pearl teleport
- Block ender pearl teleport damage
Raids and zombie rules
- Stop raids from starting
- Block baby zombies, including baby husk, drowned, zombie villager
- Block zombie reinforcement spawns
Burning rules
- Prevent burning for selected mobs
- Force burning on spawn for selected mobs with a custom burn time
Spawn control by world and by height
Spawn control can block spawns based on world rules and per mob height rules.
Main spawn options
- Enable or disable spawn blocking
- Allow command spawns so /summon and plugin spawns still work
- Choose which spawn reasons to block
- Natural spawns
- Spawner spawns
- Egg spawns
- Clean new chunks by removing blocked hostile mobs that already exist in brand new chunks
World rules
- Separate sections for overworld, nether, end
- Option to block all hostile mobs in a world
- Option to block only the hostile mobs you list
- Per mob height limits with minimum-y-height and maximum-y-height
Drop control and XP control
MobGuard can override drops and XP on death.
For each mob you can do these things
- Clear default drops first
- Remove specific materials from normal drops
- Add extra drops with min, max, and chance
- Override XP with min, max, and chance
Drop and XP notes
- Chance is a percent from 0.0 to 100.0
- If chance is missing, it is treated as 100
- Looting can increase the added drop amount
Compatibility
- Minecraft Java Edition 1.21.11
- Paper, Folia, Purpur, Leaf
Install
- Download the jar from the MobGuard page on this site.
- Put it into your server plugins folder.
- Start the server once to generate plugins/MobGuard/config.yml.
- Edit the config.
- Restart the server to apply changes.
Config quick tips
- EntityType names are usually ALL CAPS like ZOMBIE or WITHER_SKELETON
- Material names are usually ALL CAPS like IRON_INGOT or GUNPOWDER
- Spawn control is split by world with world, nether, end sections
- Height rules use minimum-y-height and maximum-y-height and they are inclusive
Example block mob portals for nether offenders
portal-control:
enabled: true
blocked-types: [PIGLIN, ZOMBIFIED_PIGLIN, PIGLIN_BRUTE, BLAZE]
Example block mob projectiles only for a few shooters
projectile-control:
enabled: true
blocked-shooters: [DROWNED, WITCH, SKELETON, PILLAGER, BLAZE, GHAST]
Example height limit magma cubes in the nether
spawn-control:
enabled: true
block-natural-spawns: true
block-spawner-spawns: true
block-egg-spawns: true
worlds:
nether:
controlled-mobs:
MAGMA_CUBE:
minimum-y-height: 54
maximum-y-height: 64
Example custom creeper drops and XP
drop-control:
enabled: true
mobs:
CREEPER:
replace-default-drops: true
add-drops:
GUNPOWDER:
min: 2
max: 8
chance: 100.0
xp:
min: 5
max: 5
chance: 100.0
Default config.yml with comments
# config.yml
#
# Notes:
# - EntityType names are usually ALL CAPS, like ZOMBIE or WITHER_SKELETON
# - Material names are usually ALL CAPS, like IRON_INGOT or GUNPOWDER
#
# Drop chance notes (drop-control.add-drops.*.chance):
# - Chance is a PERCENT from 0.0 to 100.0
# - Decimals are allowed
# - Examples:
# 0.005 = 0.005% (very rare)
# 1.5 = 1.5%
# 90.0 = 90%
# 90 = 90%
# 100.0 = always
# - If chance is missing, it is 100%
settings:
# Stops creeper explosions from breaking blocks (still damages players/mobs)
block-creeper-explosions: true
# Stops creepers from exploding at all
block-creeper-explosion-prime: false
# Stops creepers from becoming charged from lightning
block-charged-creepers: true
# Stops ghast fireballs from breaking blocks (still damages players/mobs)
block-ghast-fireballs: true
# Stops ghast fireballs from starting fires
block-ghast-fire-ignite: true
# Stops wither skull explosions from breaking blocks
block-wither-skull-explosions: true
# Stops the wither itself from breaking blocks while moving around
block-wither-block-breaking: true
# Stops wither explosions from starting fires (usually not needed, but safe)
block-wither-fire-ignite: true
# Stops the ender dragon from breaking blocks
block-ender-dragon-block-breaking: true
# Stops endermen from picking up OR placing blocks
block-enderman-block-moving: true
# Stops endermen from teleporting
block-enderman-teleport: true
# Stops shulkers from teleporting away
block-shulker-teleport: true
# Ravagers can break crops/leaves and some other blocks
block-ravager-griefing: true
# Covers: Zombie, Husk, Drowned, Zombie Villager
block-zombie-door-breaking: true
# Stops blaze fireballs from starting fires
block-blaze-fire-ignite: true
# Stops magma cubes from splitting into smaller ones
block-magma-cube-split: true
# Stops slimes from splitting into smaller ones
block-slime-split: true
# Extra console logging
debug: false
projectile-control:
# Stops mob projectiles from being launched (arrows, tridents, fireballs, potions, etc)
enabled: false
# If empty, applies to all non-player shooters
#
# Example setup:
# enabled: true
# blocked-shooters: [DROWNED, WITCH, SKELETON, PILLAGER, BLAZE, GHAST]
blocked-shooters: []
target-control:
# Stops hostile mobs from targeting players
block-hostile-targeting-players: false
# Stops hostile mobs from targeting villagers (includes wandering traders)
block-hostile-targeting-villagers: false
item-pickup-control:
# Stops mobs from picking up items
enabled: false
# If empty, applies to all non-player mobs
#
# Example setup:
# enabled: true
# blocked-types: [ZOMBIE, HUSK, DROWNED, ZOMBIE_VILLAGER, PIGLIN, PIGLIN_BRUTE]
blocked-types: []
# Stops mobs from dropping items they picked up (mostly held/armor items)
block-picked-up-item-drops: false
# If empty, applies to all non-player mobs
#
# Example:
# block-picked-up-item-drops: true
# drop-blocked-types: [ZOMBIE, HUSK, DROWNED, ZOMBIE_VILLAGER]
drop-blocked-types: []
drop-control:
# Overrides mob drops on death (remove, add, or replace)
enabled: false
# Rules are by EntityType name
#
# Each mob can:
# - replace-default-drops: clears all normal drops first
# - remove-drops: removes these Material drops if they were going to drop
# - add-drops: adds extra drops with a min/max amount (inclusive)
# - xp: controls how much XP is dropped (omit entirely to keep Minecraft's default)
#
# "chance" is a percent (0.0 to 100.0). If missing, it is 100.0.
#
# XP notes:
# - If the "xp" section is absent, Minecraft's default XP is used unchanged
# - If "xp" is present, it fully replaces the default XP roll
# - "chance" under xp controls whether any XP drops at all (0 = never, 100 = always)
# - If the chance roll fails, 0 XP is dropped
# - min/max are the XP amount range (inclusive); min defaults to 0, max defaults to min
#
# Example: remove arrows from skeleton drops
# mobs:
# SKELETON:
# replace-default-drops: false
# remove-drops: [ARROW]
#
# Example: creepers drop 2-8 gunpowder every time, always drop exactly 5 XP
# mobs:
# CREEPER:
# replace-default-drops: true
# add-drops:
# GUNPOWDER:
# min: 2
# max: 8
# chance: 100.0
# xp:
# min: 5
# max: 5
# chance: 100.0
#
# Example: wither skeleton bones with a 90% chance, coal with 50%, skull with 0.005%
# XP drops 7-15 but only has a 75% chance to drop at all
# mobs:
# WITHER_SKELETON:
# replace-default-drops: true
# add-drops:
# BONE:
# min: 4
# max: 9
# chance: 90.0
# COAL:
# min: 0
# max: 3
# chance: 50.0
# WITHER_SKELETON_SKULL:
# min: 0
# max: 1
# chance: 0.005
# xp:
# min: 7
# max: 15
# chance: 75.0
mobs: {}
portal-control:
# Stops mobs from using nether/end portals
enabled: false
# If empty, applies to all non-player mobs
#
# Example setup (common nether offenders):
# enabled: true
# blocked-types: [PIGLIN, ZOMBIFIED_PIGLIN, PIGLIN_BRUTE, BLAZE]
blocked-types: []
block-control:
# Stops mobs from trampling farmland back into dirt
block-farmland-trample: true
# Stops mobs from activating pressure plates
block-mob-pressure-plates: true
# Stops silverfish from infesting blocks (hiding inside)
block-silverfish-infesting: true
ender-pearl-control:
# Stops players from teleporting with ender pearls
block-ender-pearl-teleport: false
# Stops ender pearl teleport damage (the 2.5 hearts)
block-ender-pearl-damage: true
raid-control:
# Stops raids from starting (bad omen entering a village)
block-raid-trigger: false
zombie-control:
# Stops baby zombies (and baby husks/drowned/zombie villagers)
block-baby-zombies: false
# Stops zombie reinforcement spawns
block-zombie-reinforcements: false
combustion-control:
# Stops listed mobs from burning for any reason (sun, fire, lava, etc)
prevent-burning: false
# If empty, applies to all non-player mobs
prevent-burning-types: []
# Forces listed mobs to start burning when they spawn
force-burning: false
# If empty, applies to no mobs
force-burning-types: []
# How long to burn on spawn (ticks). 20 ticks = 1 second
force-burning-ticks: 200
spawn-control:
# Master switch for spawn blocking
enabled: true
# If true, /summon and plugin-made spawns still work
allow-command-spawns: true
# These decide what kinds of spawns are blocked when a mob is listed below
block-natural-spawns: true
block-spawner-spawns: true
block-egg-spawns: true
# Removes blocked hostile mobs that already exist inside brand new chunks
clean-new-chunks: true
worlds:
world:
# If true, blocks ALL hostile mobs in the overworld
block-all-hostile-mobs: false
# Put EntityType names here to block ONLY those mobs in the overworld
#
# Example:
# blocked-mobs: [CREEPER, SKELETON, ZOMBIE, SPIDER, WITCH, ENDERMAN]
blocked-mobs: [BAT]
# Controls spawn heights for certain mobs in the overworld
#
# If a mob is listed here, it can ONLY spawn when its Y level is inside the range (inclusive).
# This is a height limiter, not an allow list.
#
# This only applies to the spawn reasons you are blocking above (natural/spawner/egg).
#
# Example:
# controlled-mobs:
# SLIME:
# minimum-y-height: 50
# maximum-y-height: 70
controlled-mobs: {}
nether:
# If true, blocks ALL hostile mobs in the nether
block-all-hostile-mobs: false
# Put EntityType names here to block ONLY those mobs in the nether
#
# Example:
# blocked-mobs: [BLAZE, GHAST, WITHER_SKELETON, PIGLIN_BRUTE, HOGLIN]
blocked-mobs: [SKELETON]
# Controls spawn heights for certain mobs in the nether
#
# Example:
# controlled-mobs:
# ZOMBIFIED_PIGLING:
# minimum-y-height: 50
# maximum-y-height: 70
controlled-mobs:
MAGMA_CUBE:
minimum-y-height: 54
maximum-y-height: 64
end:
# If true, blocks ALL hostile mobs in the end
block-all-hostile-mobs: false
# Put EntityType names here to block ONLY those mobs in the end
#
# Example:
# blocked-mobs: [ENDERMAN, SHULKER, ENDERMITE]
blocked-mobs: []
# Controls spawn heights for certain mobs in the end
#
# Example:
# controlled-mobs:
# ENDERMAN:
# minimum-y-height: 40
# maximum-y-height: 90
controlled-mobs: {}
评论 0
登录后参与评分
还没有评论,来抢沙发吧