-
-
Notifications
You must be signed in to change notification settings - Fork 23
Entity Filters
Corgi Taco edited this page Aug 17, 2022
·
3 revisions
Use Entity Filters to determine the type of entity.
{
"config": { },
"type": "enhancedcelestials:any"
}
- Filters an entity by its registry ID.
{
"config": {
"id": "minecraft:ghast"
},
"type": "enhancedcelestials:by_type"
}
- Filters an entity by any tag it's in.
{
"config": {
"tag": "#minecraft:skeletons"
},
"type": "enhancedcelestials:by_tag"
}
- Filters entities by their mob category.
{
"config": {
"mob_category": "monster"
},
"type": "enhancedcelestials:by_mob_category"
}
- Filter comprised of other filters.
{
"config": {
"filters": [
{
"config": {
"mob_category": "monster"
},
"type": "enhancedcelestials:by_mob_category"
},
{
"config": {
"id": "minecraft:ghast"
},
"type": "enhancedcelestials:by_type"
}
]
},
"type": "enhancedcelestials:multi"
}
- Flips a filter.
{
"config": {
"filter": {
"config": {
"tag": "#minecraft:skeletons"
},
"type": "enhancedcelestials:by_tag"
}
}
"type": "enhancedcelestials:inverse"
}