magahet / peon

A minecraft bot written in python.
MIT License
46 stars 7 forks source link

Path-finding does not consider fractional block spacing #7

Open magahet opened 9 years ago

magahet commented 9 years ago

Path-finding currently considers positions with a full 1x2x1 of space. However, the player dimensions and those of a number of blocks are smaller than a full cubed meter.

One example is carpet, which is 0.0625 high. Path-finding will currently not consider 2 block high paths with carpeted floors. It believes that the carpet occupies an entire block and that the player requires a full 2 blocks of height to move.