aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/bartcrops/crops
diff options
context:
space:
mode:
authorJason Mitchell <mitchej@gmail.com>2023-05-01 02:45:56 -0700
committerGitHub <noreply@github.com>2023-05-01 11:45:56 +0200
commitb2c8cfb4ec8b82337a95f51364277964ec968b52 (patch)
treed4cf94acc93249cd649b33ec13c5b0d75f1f75db /src/main/java/gtPlusPlus/xmod/bartcrops/crops
parentd2eda84e457d549ad9a51f40e9dd159147a141f8 (diff)
downloadGT5-Unofficial-b2c8cfb4ec8b82337a95f51364277964ec968b52.tar.gz
GT5-Unofficial-b2c8cfb4ec8b82337a95f51364277964ec968b52.tar.bz2
GT5-Unofficial-b2c8cfb4ec8b82337a95f51364277964ec968b52.zip
ForgeDirection (#608)
* ForgeDirection WIP * Fix GTPP_Render_MachineBlock Fix handling of getTexture with facing mask for pipes Kill a bunch of magic numbers * spotlessApply (#612) Co-authored-by: GitHub GTNH Actions <> * Bump bw/tt deps --------- Co-authored-by: Léa Gris <lea.gris@noiraude.net> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/bartcrops/crops')
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java7
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java7
2 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java b/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java
index 7bb8a0925a..da29ca7f50 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java
@@ -10,18 +10,22 @@ import ic2.api.crops.ICropTile;
public class Crop_Force extends BaseAestheticCrop {
+ @Override
public int tier() {
return 4;
}
+ @Override
public String name() {
return "Force";
}
+ @Override
public String discoveredBy() {
return "Alkalus";
}
+ @Override
public int growthDuration(ICropTile crop) {
int ret = 800;
@@ -36,10 +40,12 @@ public class Crop_Force extends BaseAestheticCrop {
return ret;
}
+ @Override
public String[] attributes() {
return new String[] { "Power", "Soil", "Yellow", "Gold" };
}
+ @Override
public ItemStack getGain(ICropTile crop) {
ItemStack ret = this.getDisplayItem();
if (MathUtils.randInt(0, 10) > 8) {
@@ -48,6 +54,7 @@ public class Crop_Force extends BaseAestheticCrop {
return ret;
}
+ @Override
public ItemStack getDisplayItem() {
return STANDALONE.FORCE.getNugget(0);
}
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java b/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java
index 5932f984ba..66f0d19fd2 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java
@@ -11,18 +11,22 @@ 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 String discoveredBy() {
return "Alkalus";
}
+ @Override
public int growthDuration(ICropTile crop) {
int ret = 550;
@@ -37,10 +41,12 @@ public class Crop_Hemp extends BaseAestheticCrop {
return ret;
}
+ @Override
public String[] attributes() {
return new String[] { "Green", "Soil", "Orange" };
}
+ @Override
public ItemStack getGain(ICropTile crop) {
ItemStack ret = this.getDisplayItem();
@@ -51,6 +57,7 @@ public class Crop_Hemp extends BaseAestheticCrop {
return ret;
}
+ @Override
public ItemStack getDisplayItem() {
return ItemUtils.getSimpleStack(ModItems.itemRope, 0);
}