Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.26 KB | None | 0 0
  1.     public enum TreeInfo {
  2.        
  3.         TREE  (1,  1,  20,  1342, 1511, 5,  8),
  4.         OAK   (15, 35, 30,  1356, 1521, 5,  15),
  5.         WILLOW(30, 45, 60,  5554, 1519, 5,  51),
  6.         MAPLE (45, 30, 83,  1344, 1517, 16, 72),
  7.         YEW   (60, 35, 120, 7402, 1515, 18, 94),
  8.         MAGIC (75, 40, 150, 7401, 1513, 22, 121);
  9.        
  10.         TreeInfo(int reqLvl, int maxStumps, int modifer, int defaultStump, int logId, int difficulty, int restore) {
  11.             this.reqLvl       = reqLvl;
  12.             this.maxStumps    = maxStumps;
  13.             this.defaultStump = defaultStump;
  14.             this.modifer      = (byte) modifer;
  15.             this.logId        = logId;
  16.             this.difficulty   = difficulty;
  17.             this.restore      = restore;
  18.         }
  19.        
  20.         public byte getModifer() {
  21.             return modifer;
  22.         }
  23.  
  24.         public int getReqLvl() {
  25.             return reqLvl;
  26.         }
  27.  
  28.         public int getDefaultStump() {
  29.             return defaultStump;
  30.         }
  31.  
  32.         public int getMaxStumps() {
  33.             return maxStumps;
  34.         }
  35.  
  36.         public int getLog() {
  37.             return logId;
  38.         }
  39.  
  40.         public int getDifficulty() {
  41.             return difficulty;
  42.         }
  43.  
  44.         public int getRestore() {
  45.             return restore;
  46.         }
  47.  
  48.         private final byte modifer;
  49.         private final int reqLvl;
  50.         private final int defaultStump;
  51.         private final int maxStumps;
  52.         private final int logId;
  53.         private final int difficulty;
  54.         private final int restore;
  55.        
  56.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement