HomeJavaDatapacksVanilla Entity Groups
Vanilla Entity Groups
DatapacksJava

Vanilla Entity Groups

by toadalle · on Modrinth

A lightweight library of reusable vanilla entity type groups for organizing and targeting entities in commands and datapacks.

⬇ Download on Modrinth

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

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more