Entity Pathfinding | MCreator

Опубликовано: 01 Январь 1970
на канале: NorthWestTrees MCreator
2,337
65

This block was added in 2023.1 and will support MCreator versions 2023.1 and higher.

The entity pathfinding procedure block has support for an entity selector, x y and z selectors and the speed at which the entity will travel.

Storing the position for the entity to travel to will allow you to easily call the procedure when needed, this can also help when you need dynamic value to get from point A to B to C.

Keep in mind that when using this block AI tasks might not act like they should or have some odd behaviours when they are trying to navigate to the location.

Also, it is not uncommon for entities to path find into places where they can get stuck, you can't really expect too much from something that is powering a chicken brain.

So if you need complex navigation you may need to make a config file and relay positions to help it to navigate around places. Another option is to use smaller distances to pathfinder times this can help but things like ravine caves or even ditches with a possible exit in the opposite direction of the entity pathfinding to will not be seen as a viable option for going.

These are just some of the technical issues when using this particular block I have found however when it's applied in a way that is easy to use you can do some really great things.

Giving enough time and dedication it could even be possible to make your own villagers from scratch.

► CHAPTERS
0:00 - Intro
0:04 - What triggers to use
0:48 - A basic entity tick system
2:07 - Using a range for distance
4:04 - Stopping the pathfind script
4:16 - Adding the pathfind block
5:21 - Starting the pathfinding
7:46 - Testing in-game
9:15 - Adapting it for air and water entities
10:40 - Watch Next

► OFFICIAL SITES
● NorthWestTrees Gaming
https://www.northwesttreesgaming.com
● Discord Server Page
https://www.northwesttreesgaming.com/...

► TAGS
#northwesttreesmcreator
#mcreatortutorial
#mcreator
#modding
#mods
#tutorial