Last active
August 30, 2015 15:19
-
-
Save calebhsu/01dd61977ccbd31e6783 to your computer and use it in GitHub Desktop.
Simple box using CraftML tags
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
<craft name="box"> | |
<param name="width" type="int" default="30"/> | |
<param name="length" type="int" default="30"/> | |
<param name="height" type="int" default="30"/> | |
<g> | |
<stack> | |
<content></content> | |
<cube size="{{length}} {{width}} 3" t="translate(3,0,0)"/> | |
</stack> | |
<row spacing="{{length}}"> | |
<repeat n="2"> | |
<cube size="3 {{width}} {{height}}"/> | |
</repeat> | |
</row> | |
<col spacing="{{width}}" t="translate(0,-3,0)"> | |
<repeat n="2"> | |
<cube size="{{length + 6}} 3 {{height}}"/> | |
</repeat> | |
</col> | |
</g> | |
</craft> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment