Entity Documentation - minecraft:group_size
minecraft:group_size
keeps track of entity group size in the given radius.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
filters | not set | Minecraft Filter | The list of conditions that must be satisfied for other entities to be counted towards group size. |
radius | 16 | Decimal | Radius from center of entity. |
Example
"minecraft:group_size":{
"filters": {"test": "has_ranged_weapon"} ,
"radius": 16,
}
Vanilla entities examples
piglin
"minecraft:group_size": {
"radius": 32,
"filters": {
"all_of": [
{
"test": "has_component",
"operator": "!=",
"value": "minecraft:is_baby"
},
{
"test": "is_family",
"value": "piglin"
}
]
}
}
Vanilla entities using minecraft:group_size
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for