aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java
blob: c794c40878ccbf6f82cd009f22800bb17f18fc37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package gtPlusPlus.xmod.bartcrops.abstracts;

import gtPlusPlus.preloader.CORE_Preloader;
import ic2.api.crops.ICropTile;

public abstract class BaseAestheticCrop extends BaseHarvestableCrop {

    @Override
    public int tier() {
        return 1;
    }

    @Override
    public int stat(int n) {
        return switch (n) {
            case 0 -> 0;
            case 1 -> 0;
            case 2 -> 0;
            case 3 -> 4;
            case 4 -> 0;
            default -> 0;
        };
    }

    @Override
    public int growthDuration(ICropTile crop) {
        return CORE_Preloader.DEBUG_MODE ? 1 : 225;
    }

    @Override
    public byte getSizeAfterHarvest(ICropTile crop) {
        return 1;
    }
}