Data Packs Other

A* path finding algorithm visualization

  • Functions
  • 4,008 views • 1 today
  • 240 downloads • 0 today
  • 17
  • 6
  • 2
hachihao792001
Level 12 : Journeyman Miner
1
This is a data pack for visualizing the A* path finding algorithm

Use /function astar:info for this datapack's information

Use /function astar:givetool to get the necessary spawn eggs:
- src: the starting point of the search
- dest: the destination
- reset: reset the path finding
- 2D: can only search in 2 dimension
- 3D: search in 3 dimension
- walk: can't go to positions that have air beneath
- fly: can go anywhere (but still restricted in the chosen dimension)



Made by Ha Chi Hao
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

  Have something to say?

Zombie1111
02/12/2021 7:11 pm
Level 57 : Grandmaster System
history
Cool, i have a challange for you to add a parkour and survival setting

parkour, like walk but it knows how far the player can jump, so it can go over 4 long gaps and stuff.

Survival, it can open doors, break and place blocks. and then show the smartest path. Example it knows if its smarter/faster to go over the hill or just mine through it.

Pretty hard challange, good luck if you attempt it
2
Ryuggo
02/10/2021 11:10 am
Level 63 : High Grandmaster Programmer
Very impressive ! Great job
2

Welcome