#Is there a way for an entity to detect/move to certain blocks?

1 messages · Page 1 of 1 (latest)

little jacinth
#

I want to make entities that can go towards certain block types like ores or farmland. Is there a way to do that?

olive willow
#

See if the component "minecraft:preferred_path" has what you need. Check out how it is used in the villager BP entity file

little jacinth
#

This might help but it seems like it works by determining which path an entity goes on to reach another destination rather than defining a destination for them to go

#

are there any components that define a destination?

#

i want a custom creeper to move towards ore blocks and wait there as a prioritizable behavior