Vanilla Entity Groups
A lightweight library of reusable vanilla entity type groups for organizing and targeting entities in commands and datapacks.
介绍
Vanilla Entity Groups
Vanilla Entity Groups is a lightweight datapack that categorizes vanilla entity types into reusable groups such as Hostile, Neutral, Passive, and Livestock.
Instead of manually listing every entity type in your commands or datapacks, you can target an entire category with a single selector.
Example
Instead of writing:
/kill @e[type=zombie,type=skeleton,type=creeper,...]
you can simply write:
/kill @e[type=#group:hostile]
The included groups work anywhere Minecraft accepts entity type tags, making commands shorter, easier to read, and easier to maintain. Whether you’re building a datapack, creating an adventure map, using command blocks, or simply running commands in-game, Vanilla Entity Groups lets you target categories of vanilla entities without repeatedly maintaining long lists of entity types.
Included Groups
- Hostile – Aggressive entities that attack on sight.
- Neutral – Entities that become hostile only under certain conditions.
- Passive – Peaceful entities that never attack the player.
- Livestock – Common farm animals and domesticated creatures.
常见问题
Vanilla Entity Groups 支持哪些 Minecraft 版本?
Vanilla Entity Groups 支持 Minecraft Java 版 26.2。下载时注意选择和你游戏版本一致的文件。
Vanilla Entity Groups 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分