wren script that generates json for minecraft
Go to file
Ella Paws 16998b8bd5 fix readme 2022-02-05 04:19:15 +01:00
LICENSE.md initial commit 2022-02-05 04:14:38 +01:00
README.md fix readme 2022-02-05 04:19:15 +01:00
generator.wren initial commit 2022-02-05 04:14:38 +01:00

README.md

this project might not be actively maintained

but i may change my mind and contributions are welcome

info

  • i made this script for own use and thus it is not complete, but additions are very welcome!
  • the code is messy and too copy-pastey. i might change this, or if i don't, do it before i do and share the change with me!

how to use

install wren-cli from here

run wren-cli generator.wren help to print this:

Usage: (script call) \[options\] \<type\> \<base path\> namespace \<types...\>
Example: wren_cli generate.wren wood /path/to/mod_files_base/ namespace firstwood secondwood

Options:
  -v --verbose  Print the written files
  -w --warn     Print warnings when files or directories don't exist

Types:
- wood         The vanilla wood family as well as platform and tile variants
- woodvanilla  Hardcoded to generate extensions for the vanilla wood types
- variants     Block, stairs, slab and platform
- stone        Like variants but with wall and stonecutting as well as adding an s to the full block
- single       A single block

happy generating and/or modding!