diff options
author | Jakub <53441451+kuba6000@users.noreply.github.com> | 2022-08-29 16:04:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-29 16:04:28 +0200 |
commit | 7d1f51a8937e0a86486267437d444696e81e8aa0 (patch) | |
tree | a5b145e7271998f7b4b968a2212ed487e54a92b5 /src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java | |
parent | 5267969156d30b4bb5f4cb2279ebb49db6bd40e2 (diff) | |
download | GT5-Unofficial-7d1f51a8937e0a86486267437d444696e81e8aa0.tar.gz GT5-Unofficial-7d1f51a8937e0a86486267437d444696e81e8aa0.tar.bz2 GT5-Unofficial-7d1f51a8937e0a86486267437d444696e81e8aa0.zip |
Buildscript + Spotless (#318)
* Convert AES.java to readable class
* Buildscript
* Spotless
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java')
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java b/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java index f62b429acb..41631eaae8 100644 --- a/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java +++ b/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java @@ -4,34 +4,33 @@ import gtPlusPlus.preloader.CORE_Preloader; import ic2.api.crops.ICropTile; public abstract class BaseAestheticCrop extends BaseHarvestableCrop { - - public int tier() { - return 1; - } - public int stat(int n) { - switch (n) { - case 0 : - return 0; - case 1 : - return 0; - case 2 : - return 0; - case 3 : - return 4; - case 4 : - return 0; - default : - return 0; - } - } + public int tier() { + return 1; + } - public int growthDuration(ICropTile crop) { - return CORE_Preloader.DEBUG_MODE ? 1 : 225; - } + public int stat(int n) { + switch (n) { + case 0: + return 0; + case 1: + return 0; + case 2: + return 0; + case 3: + return 4; + case 4: + return 0; + default: + return 0; + } + } - public byte getSizeAfterHarvest(ICropTile crop) { - return 1; - } - -}
\ No newline at end of file + public int growthDuration(ICropTile crop) { + return CORE_Preloader.DEBUG_MODE ? 1 : 225; + } + + public byte getSizeAfterHarvest(ICropTile crop) { + return 1; + } +} |