Skip to content

Instantly share code, notes, and snippets.

@peacestorm
Last active August 29, 2015 14:20
Show Gist options
  • Save peacestorm/ae8eb107a309ffbfc568 to your computer and use it in GitHub Desktop.
Save peacestorm/ae8eb107a309ffbfc568 to your computer and use it in GitHub Desktop.
Block.defineBlock() with data values
Block.defineBlock(170,"Block name here",[["bottomtexture"],["toptexture"],["sidetexture"],["sidetexture"],["sidetexture"],["sidetexture"]/*<-- This will be used for the id 170 with data 0, and this will be used for the id 170 with data 1 -->*/,["bottomtexture"],["toptexture"],["sidetexture"],["sidetexture"],["sidetexture"],["sidetexture"]],type,transparency,rendertype);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment