#need help making hostile entity

1 messages · Page 1 of 1 (latest)

rough drift
#

I have a hostile mob i mad but it’s neutral like an iron golem. how do i make it hostile? the hit box is also too big how do i change that?

#

it also seems to forget the target after it runs away a few blocks

feral wave
#

"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

viral summit
#

maximum is 128 if I recall correctly