Deviouslrd / json-generator

Easy-to-use generator to make the JSON files primarily for mods, but can also be used for resource packs and datapacks. Comes with extensive generation tools to maximize its usefulness.
3 stars 2 forks source link

[SUGGESTION] more options with blockstates #43

Open TropheusJ opened 3 years ago

TropheusJ commented 3 years ago

Description

blockstate gen should have additional options for custom values

Method of achieving this

allow for adding a custom property for blockstates and generate one for every possibility. ex. specify 2 integer values and one boolean. output file would look something like this:

{
  "variants": {
    "param1=0,param2=0,param3=false": {
      "model": "<your model here>"
    },
    "param1=1,param2=0,param3=false": {
      "model": "<your model here>"
    }
    "param1=2,param2=0,param3=false": {
      "model": "<your model here>"
    }
}

etc.

Siuolplex commented 3 years ago

It could maybe be possible

Its mockup time