Skip to content

Instantly share code, notes, and snippets.

View CruzBishop's full-sized avatar

Cruz Bishop CruzBishop

View GitHub Profile
<blockstate> == {
"forge_marker": 1,
"defaults": <variant>, // optional, added to all variants
"variants": {
"<property>": {
"<value>": <variant> // variant definition for the specified value of this property; variants for multiple values can be specified.
},
"<variant name>": <variant>, // variant definition for the full variant string
"<variant name>": [<variant1>, ...], // array of definitions for the full variant - result will be the random variant
}
@CruzBishop
CruzBishop / gist:1530742
Created December 29, 2011 00:36
RegEx: Find @Version tags in Java classes
The following has been tested using SublimeText 2 BETA in Ubuntu. It may have to be changed for Windows (remove the | from \r|\n)
[ ]*. @version.*[\r|\n]