Make a block pathfind

Discussion in 'Plugin Development' started by CraterHater, Mar 6, 2017.

Thread Status:
Not open for further replies.
  1. Offline

    CraterHater

    Hey there!

    I would like to know or get a start into knowing how I can calculate the best path from one location to another. It is not a living entity I would like to move so it won't be useful to use minecrafts pathfinding system. Could anyone point me in the right direction>

    Thanks.
     
  2. Offline

    Zombie_Striker

    @CraterHater
    Well, what do you mean by "best path"? Do you mean the most direct path, or the fastest path?
     
  3. Online

    timtower Administrator Administrator Moderator

    @CraterHater To add on Zombie_Striker, what would be valid moves? Does the block stay on the ground? Can it fly? Can it move through fluids? Can it break grass?
     
    Zombie_Striker likes this.
  4. Offline

    CraterHater

    @timtower @Zombie_Striker
    Alright so I thought I was being clear but I'll explain a bit further: I want the block to be like a droid moving with regards to gravity but it can climb 1 high slopes. It should take the fastest path towards a variable location. It cannot move through fluids but it can move through grass replanting it afterwards but that should be much of a problem
     
  5. Online

    timtower Administrator Administrator Moderator

    @CraterHater You need a route algoritme for that.
    Not sure which one would be the best, I think that a flooding one will do
     
Thread Status:
Not open for further replies.

Share This Page