blob: f5bf252edb5298c7b5aa3c5139a7d9c5dcd00fbd (
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
35
36
37
38
39
40
41
|
package gtPlusPlus.xmod.bartcrops.crops;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.xmod.bartcrops.abstracts.BaseAestheticCrop;
import ic2.api.crops.ICropTile;
public class Crop_Hemp extends BaseAestheticCrop {
@Override
public int tier() {
return 2;
}
@Override
public String name() {
return "Hemp";
}
@Override
public int growthDuration(ICropTile crop) {
return 550;
}
@Override
public String[] attributes() {
return new String[] { "Green", "Soil", "Orange" };
}
@Override
public ItemStack getGain(ICropTile crop) {
return new ItemStack(Items.string, MathUtils.randInt(1, 3), 0);
}
@Override
public ItemStack getDisplayItem() {
return new ItemStack(Items.string, 1, 0);
}
}
|