Anti Entity Grief
Control the capabilities mobs have for destroying your world! Adds server commands to modify the behaviours of individual mobs.
截图
介绍
Anti Entity Grief
A minecraft mod for fabric, allowing you to control the griefing capabilities of entities!
Summary
Entities can grief the world in all sorts of ways, leading from minor nuisances to major issues. The team at Mojang recognised this and so added the gamerule mobGriefing which allows you to disable all mobs from griefing. Unfortunately this is too broad a command to be useful, since in your attempt to disable endermen from stealing blocks you have now stopped your villagers from farming crops!
VanillaTweaks has some fantastic datapacks to handle this, namely ‘Anti Creeper Grief’, ‘Anti Enerman Grief’, and ‘Anti Ghast Grief’. However these require downloading multiple datapacks to the server, and have limited control over entities due to the capabilities of datapacks.
This mod introduces a new method of applying settings per-entity type. It includes settings unique to each type (e.g. separate pick up / place block options for endermen) as well as generic settings (e.g. trampling crops).
Usage
This section contains examples of how to use the commands provided by this mod to control the behaviours of entities.
The commands take on the following form:
/entityGriefing <entity> [<capability> [true|false]]
/entityGriefingAll <capability> <true|false>
/entityGriefingReset
where <entity> is the entity type you want to control, <capability> is the type of griefing you want to control, and [true|false] is whether you want to enable or disable the capability.
_Not all entities will appear in tab-completion, either because I haven’t identified any griefing capabilities or because they haven’t been implemented yet. Please open an issue on GitHub or visit my Discord to let me know if there is a missing feature that you feel should be included._
For example, to stop endermen from picking up blocks, you would run:
/entityGriefing minecraft:enderman DESTROY_BLOCKS false
To set the BREAK_DOORS permission for all applicable entities, you would run:
/entityGriefingAll BREAK_DOORS false
To see if villagers can farm crops, you would run:
/entityGriefing minecraft:villager FARM_CROPS
And finally to see all the things that a pig can do, you would run:
/entityGriefing minecraft:pig ALL
Configs
This section contains a list of all capabilities available for modification, and which entities they apply to.
| Capability | Description | Applicable Entities |
|---|---|---|
BREAK_DOORS |
The ability to break down doors |
|
DESTROY_BLOCKS |
The ability to destroy blocks through movement or other actions. See This cannot currently be applied to players. |
|
EAT_BLOCKS |
The ability to modify blocks through some form of eating. |
|
EXPLODE_BLOCKS |
Breaking blocks through means of explosions. |
|
FARM_CROPS |
The ability to farm crops. |
|
MELT_SNOW |
Living entities on fire will melt powdered snow blocks when standing inside them. |
|
PICKUP_ITEMS |
The ability to pick up items. Not a primary focus of this mod, so has not been fully implemented yet. |
|
PLACE_BLOCKS |
The ability to place blocks. |
|
PLACE_EGGS |
The ability to place eggs in the world. Does not disrupt the pregnancy cycle. |
|
SET_FIRE |
The ability to set fire to blocks. |
|
TRAMPLE_CROPS |
Living entities over a certain size ( If this is disabled, farmland trampling is only possible if no crops are above them. |
|
TRAMPLE_FARMLAND |
Living entities over a certain size ( If this is disabled, crops on farmland can still be trampled without turning the farmland to dirt |
|
TRAMPLE_EGGS |
All living entities except for turtles and bats will trample eggs when walking on them. |
|
Contributing
To further discuss or get notified about new updates, check out my Discord. If you like what I do, consider supporting me on Ko-Fi!
常见问题
Anti Entity Grief 支持哪些 Minecraft 版本?
Anti Entity Grief 支持 Minecraft Java 版 1.20–1.21.4,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Anti Entity Grief 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
BVengo 的其他作品
查看全部 →Sound Controller
完全掌控游戏中的每一种声音音量,支持全局和区域音频控制。
Simple Shulker Preview
A minecraft fabric mod that displays a configurable icon indicating the contents of a shulker box, as well as a capacity bar.
Compass3D
A small fabric mod that displays an icon showing the y-axis direction of a compass in a slot.
Mine Prevention
This is a simple client-side mod that gives you the ability to allow or disallow the mining of certain blocks.
评论
登录后评论和评分