Code Monkey home page Code Monkey logo

pathfinding's Introduction

Pathfinding visualization in Minecraft

Pathfinding is a cool concept that is best visualized on grids, so that's why I decided to implement it in Minecraft.

This is a Minecraft plugin using the Paper API which visualizes different pathfinding algorithms on a 2D surface (for now). Developed and tested in Minecraft 1.17, may work in older versions.

It is my free-time project, and it's work in progress.

How to run it

You can either try to build it on your own with Maven, or download the jar file from a release.

To build with Maven, run mvn clean package. The jar file will be in the target directory.

When you have the jar file, just drop it in the plugins folder of your Paper server.

Commands

/help Pathfinding - view in-game help with all the commands.

Setting up

/pathfinding - interactive, clickable and easy to use chat menu with all options and controls.

/algorithm - set the algorithm used to pathfind.

/selectblockplane <y-level> <x1> <z1> <x2> <z2> - select the plane corner coordinates where the pathfinding will take place.

/mode - set the drawing mode. You can choose from path, visits and all.

General commands

/start - start the search and drawing.

/speed - tweak the drawing speed (1 - 10). Default is 10 (20 blocks per second).

/clear - clear the plane. It is also cleared automatically before each search.

/getitems - get the blocks which you can use to build your own walls, mazes etc.

pathfinding's People

Contributors

0xvector avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.