This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# Released into Public Domain | |
# A quick and dirty script to convert ModelBase Java code as generated | |
# by Techne or Tabula (untested) into Minecraft's JSON model format. | |
# It is quite limited (it does not handle rotations, as the JSON model format | |
# is limited in that regard anyway), but it is at least a help. | |
# Usage: | |
# modelbase_to_json input.java > output.json |