Advertisement
philipd83

Reference.java

Aug 21st, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. package philipd83.tutorial;
  2.  
  3. public class Reference {
  4.  
  5. public static final String MOD_ID = "tm";
  6. public static final String NAME = "Tutorial Mod";
  7. public static final String VERSION = "1.0";
  8. public static final String ACCEPTED_VERSIONS = "[1.9.4]";
  9.  
  10. public static final String CLIENT_PROXY_CLASS = "philipd83.tutorial.proxy.ClientProxy";
  11. public static final String SERVER_PROXY_CLASS = "philipd83.tutorial.proxy.ServerProxy";
  12.  
  13. public static enum TutorialItems{
  14. CHEESE("cheese", "ItemCheese");
  15.  
  16. private String unlocalizedName;
  17. private String registryName;
  18.  
  19. TutorialItems(String unlocalizedName, String registryName){
  20. this.unlocalizedName = unlocalizedName;
  21. this.registryName = registryName;
  22.  
  23. }
  24.  
  25. public String getUnlocalizedName(){
  26. return unlocalizedName;
  27.  
  28. }
  29. public String getRegistryName(){
  30. return registryName;
  31.  
  32. }
  33.  
  34. }
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement