Skip to content

Instantly share code, notes, and snippets.

@elifoster
elifoster / modelbase_to_json.perl
Last active August 22, 2016 03:52 — forked from ljfa-ag/modelbase_to_json.perl
Script for converting exported Techne models for Minecraft into other model formats
#!/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