modblockminer

Reference.java

May 18th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. package com.stevemod.main;
  2.  
  3. public class Reference {
  4.  
  5. public static final String MOD_ID = "stevemod";
  6. public static final String NAME = "Steve Mod";
  7. public static final String VERSION = "1.0";
  8. public static final String ACCEPTED_VERSIONS = "[1.11.2]";
  9.  
  10. public static final String CLIENT_PROXY_CLASS = "com.stevemod.main.proxy.ClientProxy";
  11. public static final String SERVER_PROXY_CLASS = "com.stevemod.main.proxy.ServerProxy";
  12.  
  13. public static enum MainItems {
  14. TREESAP("treesap", "itemTreeSap"),
  15. TWINE("twine", "itemTwine"),
  16. WOODENBLOCK("woodenblock", "itemWoodenBlock"),
  17. WOODENHAMMER("woodenhammer", "itemWoodenHammer"),
  18.  
  19. STONEROCK("stonerock", "itemStoneRock"),
  20. STONEHAMMER("stonehammer", "itemStoneHammer"),
  21.  
  22. WOODENCLUB("woodenclub", "itemWoodenClub");
  23.  
  24. private String unlocalizedName;
  25. private String registryName;
  26.  
  27. MainItems(String unlocalizedName, String registryName) {
  28. this.unlocalizedName = unlocalizedName;
  29. this.registryName = registryName;
  30. }
  31.  
  32. public String getUnlocalizedName(){
  33. return unlocalizedName;
  34. }
  35.  
  36. public String getRegistryName(){
  37. return registryName;
  38. }
  39. }
  40.  
  41. public static enum MainBlocks {
  42.  
  43. RUBYBLOCK("rubyblock", "blockRuby"),
  44. OAKCHAIR("oakchair", "blockOakChair");
  45.  
  46. private String unlocalizedName;
  47. private String registryName;
  48.  
  49. MainBlocks(String unlocalizedName, String registryName) {
  50. this.unlocalizedName = unlocalizedName;
  51. this.registryName = registryName;
  52. }
  53.  
  54. public String getUnlocalizedName(){
  55. return unlocalizedName;
  56. }
  57.  
  58. public String getRegistryName(){
  59. return registryName;
  60. }
  61. }
  62. }
Add Comment
Please, Sign In to add comment