Started by
modmakermuffan
on
Topic category: Advanced modding
I need my custom mob to go around and break oak wood, right now it scans for oak in a 20x20x20 radius then paths to it. It also destroys any oak in a 6x6x6 area around it. Only problem is that it gets stuck trying to path to an oak log right above itself. How can I tell if it is able to path to the block?
There is no combination of procedure to check if the path is valid. In the plugin I am developing (Gun Maker Plugin) it is likely that in the next versions I will add a custom procedure block to do this too. If you don't want to wait then look for examples of how (with java coding) to check if there is a valid path to reach a certain position or if it is null.