Skip to content

Dreaght/Maze2Schema

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnubSquare shape maze schematic generator

Run the program using following arguments:

  • --output="out/maze.nbt" - Output file path. Replacements:
    • %SEED% - seed.
    • %WIDTH% - width.
    • %HEIGHT% - height.
    • Example: --output=out/%SEED%_%WIDTH%x%HEIGHT%.nbt
  • --width=20 - Maze width (not actual schematic size)
  • --height=20 - Maze height (not actual schematic size)
  • --scale=5 - Scale factor
  • --gui - Start as the GUI server
  • --seed=0 - Seed for the maze generation
  • --help - Print help message

big_maze.png small_maze.png

Run in GUI mode: --gui argument!

gui_showcase.gif

  • .nbt - Saved in real time!
  • Scale: Scroll the mouse; Resize: Move sliders.

[CLI] Usage without creating .jar file.

./gradlew run --args="--output=out/maze.nbt --width=20 --height=20 --scale=5"

[CLI] Usage of .jar file.

Compile the project

./gradlew shadowJar -PoutputDir=out

Run the program

java -jar out/maze2schema-1.4-SNAPSHOT.jar --output="out/maze.nbt" --width=20 --height=20 --scale=5