#need help making hostile entity
1 messages · Page 1 of 1 (latest)
"minecraft:behavior.nearest_attackable_target": {
"priority": 2,
"must_see": true,
"reselect_targets": true,
"entity_types": [
{
"filters": {
"test": "is_family",
"subject": "other",
"value": "player"
},
"max_dist": 16
Change "max_dist" to however far you want
maximum is 128 if I recall correctly