MinecraftDev icon indicating copy to clipboard operation
MinecraftDev copied to clipboard

Blockstate/Model Json Support

Open Exidex opened this issue 8 years ago • 3 comments

Some time ago I was playing around with forge and blockstates and I've got some ideas to make it more convenient to create/edit json files.

  • [ ] Ctrl + Left Click on path to go to the model/blockstate json file

  • [ ] Same as above but for images

  • [ ] Validate whether model/blockstate json file has proper structure

  • [ ] Validate whether vanilla style variant has properties placed in alphabetical order

  • [ ] If blockstate json has a default variant, has not all textures (ones with #) from default variant set and some variant overrides default model (with all textures from model that overrides default one set), show a warning to set textures on default model to prevent "Unable to resolve texture due to upward reference" warning

Exidex avatar Jul 13 '17 19:07 Exidex

The proper JSON structure could be enforced with IDEA's built-in JSON Schema support, I might get a PR ready for that.

marvin-roesch avatar Jul 15 '17 10:07 marvin-roesch

@DemonWav Can you just add the control left-click part first? I understand that validation of files may be harder, but the left-click redirection should be relatively simple to implement.

liach avatar Jul 01 '18 22:07 liach

Still no BlockState schema support?

sylv256 avatar Sep 06 '23 02:09 sylv256