Last active
August 29, 2015 14:07
-
-
Save dmillerw/9ff66b230f1d05fea328 to your computer and use it in GitHub Desktop.
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
public class ClientRegistry { | |
/* Other methods excluded */ | |
public static enum ModelTemplate { | |
BLOCK_BASIC, | |
BLOCK_BASIC_FACING_2D, | |
BLOCK_BASIC_FACING_3D, | |
BLOCK_STAIR, | |
BLOCK_SLAB, | |
BLOCK_PLANT, | |
BLOCK_CROP, | |
ITEM_BASIC | |
/* Some methods for inserting custom data will be here */ | |
/* Maybe a full class instead of an Enum? For custom templates? */ | |
} | |
// It's assumed that if you never call this method, you have a proper model file | |
public static void registerTemplate(Item item, int meta, ModelTemplate template) { | |
/* Implementation */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment