aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/bartcrops
diff options
context:
space:
mode:
authorJakub <53441451+kuba6000@users.noreply.github.com>2022-08-29 16:04:28 +0200
committerGitHub <noreply@github.com>2022-08-29 16:04:28 +0200
commit7d1f51a8937e0a86486267437d444696e81e8aa0 (patch)
treea5b145e7271998f7b4b968a2212ed487e54a92b5 /src/main/java/gtPlusPlus/xmod/bartcrops
parent5267969156d30b4bb5f4cb2279ebb49db6bd40e2 (diff)
downloadGT5-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')
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/HANDLER_CropsPlusPlus.java22
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/LoaderOfTheCrops.java188
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseAestheticCrop.java55
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseCrop.java79
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseHarvestableCrop.java106
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java86
-rw-r--r--src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java90
7 files changed, 311 insertions, 315 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/HANDLER_CropsPlusPlus.java b/src/main/java/gtPlusPlus/xmod/bartcrops/HANDLER_CropsPlusPlus.java
index ce7d919431..9207749655 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/HANDLER_CropsPlusPlus.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/HANDLER_CropsPlusPlus.java
@@ -6,16 +6,16 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
public class HANDLER_CropsPlusPlus {
- public static void preInit(FMLPreInitializationEvent preinit) {
- LoaderOfTheCrops.load(preinit);
- }
-
- public static void init(FMLInitializationEvent init) {
- //registerItems();
- }
+ public static void preInit(FMLPreInitializationEvent preinit) {
+ LoaderOfTheCrops.load(preinit);
+ }
- public static void postInit(FMLPostInitializationEvent postinit) {
- LoaderOfTheCrops.register();
- LoaderOfTheCrops.registerBaseSeed();
- }
+ public static void init(FMLInitializationEvent init) {
+ // registerItems();
+ }
+
+ public static void postInit(FMLPostInitializationEvent postinit) {
+ LoaderOfTheCrops.register();
+ LoaderOfTheCrops.registerBaseSeed();
+ }
}
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/LoaderOfTheCrops.java b/src/main/java/gtPlusPlus/xmod/bartcrops/LoaderOfTheCrops.java
index 033aaac663..7114aa3db4 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/LoaderOfTheCrops.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/LoaderOfTheCrops.java
@@ -1,14 +1,13 @@
package gtPlusPlus.xmod.bartcrops;
-import java.util.ArrayList;
-import java.util.List;
-
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import gtPlusPlus.xmod.bartcrops.crops.Crop_Force;
import gtPlusPlus.xmod.bartcrops.crops.Crop_Hemp;
import ic2.api.crops.CropCard;
import ic2.api.crops.Crops;
+import java.util.ArrayList;
+import java.util.List;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
@@ -16,96 +15,95 @@ import net.minecraft.item.ItemStack;
* Mostly borrowed from the Crops++ Crop Loader.
* @author Alkalus
*/
-
public class LoaderOfTheCrops {
-
- private static List<Boolean> mHasCropObj = new ArrayList<Boolean>();
- private CropCard mCropObj;
- private ItemStack mBaseSeed;
- private static List<LoaderOfTheCrops> mCropList = cropLoader();
-
- public LoaderOfTheCrops(CropCard cropObj) {
- this.mCropObj = cropObj;
- }
-
- public LoaderOfTheCrops(CropCard cropObj, ItemStack baseseed) {
- this.mCropObj = cropObj;
- this.mBaseSeed = baseseed;
- }
-
- public static CropCard cropUnpackerCC(LoaderOfTheCrops inp) {
- return inp.mCropObj;
- }
-
- private static ItemStack cropUnpackerCG(LoaderOfTheCrops inp) {
- return inp.mBaseSeed;
- }
-
- private static LoaderOfTheCrops cropHelper(CropCard cropObj) {
- return new LoaderOfTheCrops(cropObj, ItemUtils.getItemStackOfAmountFromOreDict("crop" + cropObj.name(), 0));
- }
-
- public static final List<LoaderOfTheCrops> cropLoader() {
- List<LoaderOfTheCrops> p = new ArrayList<LoaderOfTheCrops>();
-
- p.add(new LoaderOfTheCrops(new Crop_Hemp(), new ItemStack(Item.getItemById(111), 3)));
- p.add(new LoaderOfTheCrops(new Crop_Force(), new ItemStack(Item.getItemById(111), 3)));
-
- return p;
- }
-
- private static final List<CropCard> cropObjs() {
- List<CropCard> p = new ArrayList<CropCard>();
-
- for (int i = 0; i < mCropList.size(); ++i) {
- p.add(cropUnpackerCC((LoaderOfTheCrops) mCropList.get(i)));
- }
-
- return p;
- }
-
- private static final List<ItemStack> setBaseSeed() {
- List<ItemStack> p = new ArrayList<ItemStack>();
-
- for (int i = 0; i < mCropList.size(); ++i) {
- p.add(cropUnpackerCG((LoaderOfTheCrops) mCropList.get(i)));
- }
-
- return p;
- }
-
- private static final List<String> setnames() {
- List<String> s = new ArrayList<String>();
-
- for (int i = 0; i < mCropList.size(); ++i) {
- s.add(((CropCard) cropObjs().get(i)).name());
- }
-
- return s;
- }
-
- public static void load(FMLPreInitializationEvent preinit) {
- for (int i = 0; i < mCropList.size(); ++i) {
- mHasCropObj.add(true);
- }
- }
-
- public static void register() {
- for (int i = 0; i < mCropList.size(); ++i) {
- if ((Boolean) mHasCropObj.get(i) && cropObjs().get(i) != null) {
- Crops.instance.registerCrop((CropCard) cropObjs().get(i));
- }
- }
- }
-
- public static void registerBaseSeed() {
- List<ItemStack> baseseed = new ArrayList<ItemStack>(setBaseSeed());
-
- for (int i = 0; i < mCropList.size(); ++i) {
- if (baseseed.get(i) != null && cropObjs().get(i) != null) {
- Crops.instance.registerBaseSeed((ItemStack) baseseed.get(i), (CropCard) cropObjs().get(i), 1, 1, 1, 1);
- }
- }
-
- }
-} \ No newline at end of file
+
+ private static List<Boolean> mHasCropObj = new ArrayList<Boolean>();
+ private CropCard mCropObj;
+ private ItemStack mBaseSeed;
+ private static List<LoaderOfTheCrops> mCropList = cropLoader();
+
+ public LoaderOfTheCrops(CropCard cropObj) {
+ this.mCropObj = cropObj;
+ }
+
+ public LoaderOfTheCrops(CropCard cropObj, ItemStack baseseed) {
+ this.mCropObj = cropObj;
+ this.mBaseSeed = baseseed;
+ }
+
+ public static CropCard cropUnpackerCC(LoaderOfTheCrops inp) {
+ return inp.mCropObj;
+ }
+
+ private static ItemStack cropUnpackerCG(LoaderOfTheCrops inp) {
+ return inp.mBaseSeed;
+ }
+
+ private static LoaderOfTheCrops cropHelper(CropCard cropObj) {
+ return new LoaderOfTheCrops(cropObj, ItemUtils.getItemStackOfAmountFromOreDict("crop" + cropObj.name(), 0));
+ }
+
+ public static final List<LoaderOfTheCrops> cropLoader() {
+ List<LoaderOfTheCrops> p = new ArrayList<LoaderOfTheCrops>();
+
+ p.add(new LoaderOfTheCrops(new Crop_Hemp(), new ItemStack(Item.getItemById(111), 3)));
+ p.add(new LoaderOfTheCrops(new Crop_Force(), new ItemStack(Item.getItemById(111), 3)));
+
+ return p;
+ }
+
+ private static final List<CropCard> cropObjs() {
+ List<CropCard> p = new ArrayList<CropCard>();
+
+ for (int i = 0; i < mCropList.size(); ++i) {
+ p.add(cropUnpackerCC((LoaderOfTheCrops) mCropList.get(i)));
+ }
+
+ return p;
+ }
+
+ private static final List<ItemStack> setBaseSeed() {
+ List<ItemStack> p = new ArrayList<ItemStack>();
+
+ for (int i = 0; i < mCropList.size(); ++i) {
+ p.add(cropUnpackerCG((LoaderOfTheCrops) mCropList.get(i)));
+ }
+
+ return p;
+ }
+
+ private static final List<String> setnames() {
+ List<String> s = new ArrayList<String>();
+
+ for (int i = 0; i < mCropList.size(); ++i) {
+ s.add(((CropCard) cropObjs().get(i)).name());
+ }
+
+ return s;
+ }
+
+ public static void load(FMLPreInitializationEvent preinit) {
+ for (int i = 0; i < mCropList.size(); ++i) {
+ mHasCropObj.add(true);
+ }
+ }
+
+ public static void register() {
+ for (int i = 0; i < mCropList.size(); ++i) {
+ if ((Boolean) mHasCropObj.get(i) && cropObjs().get(i) != null) {
+ Crops.instance.registerCrop((CropCard) cropObjs().get(i));
+ }
+ }
+ }
+
+ public static void registerBaseSeed() {
+ List<ItemStack> baseseed = new ArrayList<ItemStack>(setBaseSeed());
+
+ for (int i = 0; i < mCropList.size(); ++i) {
+ if (baseseed.get(i) != null && cropObjs().get(i) != null) {
+ Crops.instance.registerBaseSeed(
+ (ItemStack) baseseed.get(i), (CropCard) cropObjs().get(i), 1, 1, 1, 1);
+ }
+ }
+ }
+}
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;
+ }
+}
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseCrop.java b/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseCrop.java
index 271e3ad7eb..32c9dbf0f6 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseCrop.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseCrop.java
@@ -15,43 +15,42 @@ import net.minecraft.util.IIcon;
import speiger.src.crops.api.ICropCardInfo;
public abstract class BaseCrop extends CropCard implements ICropCardInfo {
-
- @SideOnly(Side.CLIENT)
- public void registerSprites(IIconRegister iconRegister) {
- this.textures = new IIcon[this.maxSize()];
- for (int i = 1; i <= this.textures.length; ++i) {
- this.textures[i - 1] = iconRegister.registerIcon(CORE.MODID+":crop/blockCrop." + this.name() + "." + i);
- }
-
- }
-
- public float dropGainChance() {
- return (float) (Math.pow(0.95D, (double) ((float) this.tier())) * (double) 1f);
- }
-
- public boolean canCross(ICropTile crop) {
- return crop.getSize() == this.maxSize();
- }
-
- public int getrootslength(ICropTile crop) {
- return 3;
- }
-
- public String discoveredBy() {
- return "Alkalus";
- }
-
- public String owner() {
- return "Gtplusplus";
- }
-
- public List<String> getCropInformation() {
- List<String> ret = new ArrayList<String>();
- ret.add(Arrays.toString(this.attributes()));
- return ret;
- }
-
- public ItemStack getDisplayItem(CropCard card) {
- return ItemUtils.getItemStackOfAmountFromOreDict("crop" + this.name(), 0);
- }
-} \ No newline at end of file
+
+ @SideOnly(Side.CLIENT)
+ public void registerSprites(IIconRegister iconRegister) {
+ this.textures = new IIcon[this.maxSize()];
+ for (int i = 1; i <= this.textures.length; ++i) {
+ this.textures[i - 1] = iconRegister.registerIcon(CORE.MODID + ":crop/blockCrop." + this.name() + "." + i);
+ }
+ }
+
+ public float dropGainChance() {
+ return (float) (Math.pow(0.95D, (double) ((float) this.tier())) * (double) 1f);
+ }
+
+ public boolean canCross(ICropTile crop) {
+ return crop.getSize() == this.maxSize();
+ }
+
+ public int getrootslength(ICropTile crop) {
+ return 3;
+ }
+
+ public String discoveredBy() {
+ return "Alkalus";
+ }
+
+ public String owner() {
+ return "Gtplusplus";
+ }
+
+ public List<String> getCropInformation() {
+ List<String> ret = new ArrayList<String>();
+ ret.add(Arrays.toString(this.attributes()));
+ return ret;
+ }
+
+ public ItemStack getDisplayItem(CropCard card) {
+ return ItemUtils.getItemStackOfAmountFromOreDict("crop" + this.name(), 0);
+ }
+}
diff --git a/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseHarvestableCrop.java b/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseHarvestableCrop.java
index e877233c67..3d56bba979 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseHarvestableCrop.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/abstracts/BaseHarvestableCrop.java
@@ -4,66 +4,66 @@ import gtPlusPlus.preloader.CORE_Preloader;
import ic2.api.crops.ICropTile;
public abstract class BaseHarvestableCrop extends BaseCrop {
-
- public int tier() {
- return 2;
- }
- public int stat(int n) {
- switch (n) {
- case 0 :
- return 0;
- case 1 :
- return 4;
- case 2 :
- return 0;
- case 3 :
- return 4;
- case 4 :
- return 0;
- default :
- return 0;
- }
- }
+ public int tier() {
+ return 2;
+ }
- public boolean canGrow(ICropTile crop) {
- return crop.getSize() < 3;
- }
+ public int stat(int n) {
+ switch (n) {
+ case 0:
+ return 0;
+ case 1:
+ return 4;
+ case 2:
+ return 0;
+ case 3:
+ return 4;
+ case 4:
+ return 0;
+ default:
+ return 0;
+ }
+ }
- public int getOptimalHavestSize(ICropTile crop) {
- return 3;
- }
+ public boolean canGrow(ICropTile crop) {
+ return crop.getSize() < 3;
+ }
- public boolean canBeHarvested(ICropTile crop) {
- return crop.getSize() == 3;
- }
+ public int getOptimalHavestSize(ICropTile crop) {
+ return 3;
+ }
- public int weightInfluences(ICropTile crop, float humidity, float nutrients, float air) {
- return (int) ((double) humidity * 1.2D + (double) nutrients * 0.9D + (double) air * 0.9D);
- }
+ public boolean canBeHarvested(ICropTile crop) {
+ return crop.getSize() == 3;
+ }
- public int growthDuration(ICropTile crop) {
- short r;
- if (CORE_Preloader.DEBUG_MODE) {
- r = 1;
- } else if (crop.getSize() == 2) {
- r = 200;
- } else {
- r = 700;
- }
+ public int weightInfluences(ICropTile crop, float humidity, float nutrients, float air) {
+ return (int) ((double) humidity * 1.2D + (double) nutrients * 0.9D + (double) air * 0.9D);
+ }
- return r;
- }
+ public int growthDuration(ICropTile crop) {
+ short r;
+ if (CORE_Preloader.DEBUG_MODE) {
+ r = 1;
+ } else if (crop.getSize() == 2) {
+ r = 200;
+ } else {
+ r = 700;
+ }
- public byte getSizeAfterHarvest(ICropTile crop) {
- return 2;
- }
+ return r;
+ }
- public int maxSize() {
- return 3;
- }
+ public byte getSizeAfterHarvest(ICropTile crop) {
+ return 2;
+ }
- public String discoveredBy() {
- return "Alkalus";
- }
-} \ No newline at end of file
+ public int maxSize() {
+ return 3;
+ }
+
+ public String discoveredBy() {
+ return "Alkalus";
+ }
+}
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 06238a4589..926bc33776 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Force.java
@@ -8,46 +8,46 @@ import ic2.api.crops.ICropTile;
import net.minecraft.item.ItemStack;
public class Crop_Force extends BaseAestheticCrop {
-
- public int tier() {
- return 4;
- }
-
- public String name() {
- return "Force";
- }
-
- public String discoveredBy() {
- return "Alkalus";
- }
-
- public int growthDuration(ICropTile crop) {
- int ret = 800;
-
- /*if (crop.isBlockBelow(Blocks.dirt) || crop.isBlockBelow(Blocks.flowing_water)) {
- ret = 225;
- }*/
-
- if (CORE_Preloader.DEBUG_MODE) {
- ret = 1;
- }
-
- return ret;
- }
-
- public String[] attributes() {
- return new String[]{"Power", "Soil", "Yellow", "Gold"};
- }
-
- public ItemStack getGain(ICropTile crop) {
- ItemStack ret = this.getDisplayItem();
- if (MathUtils.randInt(0, 10) > 8) {
- ret = STANDALONE.FORCE.getNugget(MathUtils.randInt(4, 8));
- }
- return ret;
- }
-
- public ItemStack getDisplayItem() {
- return STANDALONE.FORCE.getNugget(0);
- }
-} \ No newline at end of file
+
+ public int tier() {
+ return 4;
+ }
+
+ public String name() {
+ return "Force";
+ }
+
+ public String discoveredBy() {
+ return "Alkalus";
+ }
+
+ public int growthDuration(ICropTile crop) {
+ int ret = 800;
+
+ /*if (crop.isBlockBelow(Blocks.dirt) || crop.isBlockBelow(Blocks.flowing_water)) {
+ ret = 225;
+ }*/
+
+ if (CORE_Preloader.DEBUG_MODE) {
+ ret = 1;
+ }
+
+ return ret;
+ }
+
+ public String[] attributes() {
+ return new String[] {"Power", "Soil", "Yellow", "Gold"};
+ }
+
+ public ItemStack getGain(ICropTile crop) {
+ ItemStack ret = this.getDisplayItem();
+ if (MathUtils.randInt(0, 10) > 8) {
+ ret = STANDALONE.FORCE.getNugget(MathUtils.randInt(4, 8));
+ }
+ return ret;
+ }
+
+ 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 95e2766aae..c7cd1c0bea 100644
--- a/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java
+++ b/src/main/java/gtPlusPlus/xmod/bartcrops/crops/Crop_Hemp.java
@@ -9,48 +9,48 @@ import ic2.api.crops.ICropTile;
import net.minecraft.item.ItemStack;
public class Crop_Hemp extends BaseAestheticCrop {
-
- public int tier() {
- return 2;
- }
-
- public String name() {
- return "Hemp";
- }
-
- public String discoveredBy() {
- return "Alkalus";
- }
-
- public int growthDuration(ICropTile crop) {
- int ret = 550;
-
- /*if (crop.isBlockBelow(Blocks.dirt) || crop.isBlockBelow(Blocks.flowing_water)) {
- ret = 225;
- }*/
-
- if (CORE_Preloader.DEBUG_MODE) {
- ret = 1;
- }
-
- return ret;
- }
-
- public String[] attributes() {
- return new String[]{"Green", "Soil", "Orange"};
- }
-
- public ItemStack getGain(ICropTile crop) {
-
- ItemStack ret = this.getDisplayItem();
- if (MathUtils.randInt(0, 10) > 8) {
- ret = ItemUtils.getSimpleStack(ModItems.itemRope, MathUtils.randInt(1, 3));
- }
-
- return ret;
- }
-
- public ItemStack getDisplayItem() {
- return ItemUtils.getSimpleStack(ModItems.itemRope, 0);
- }
-} \ No newline at end of file
+
+ public int tier() {
+ return 2;
+ }
+
+ public String name() {
+ return "Hemp";
+ }
+
+ public String discoveredBy() {
+ return "Alkalus";
+ }
+
+ public int growthDuration(ICropTile crop) {
+ int ret = 550;
+
+ /*if (crop.isBlockBelow(Blocks.dirt) || crop.isBlockBelow(Blocks.flowing_water)) {
+ ret = 225;
+ }*/
+
+ if (CORE_Preloader.DEBUG_MODE) {
+ ret = 1;
+ }
+
+ return ret;
+ }
+
+ public String[] attributes() {
+ return new String[] {"Green", "Soil", "Orange"};
+ }
+
+ public ItemStack getGain(ICropTile crop) {
+
+ ItemStack ret = this.getDisplayItem();
+ if (MathUtils.randInt(0, 10) > 8) {
+ ret = ItemUtils.getSimpleStack(ModItems.itemRope, MathUtils.randInt(1, 3));
+ }
+
+ return ret;
+ }
+
+ public ItemStack getDisplayItem() {
+ return ItemUtils.getSimpleStack(ModItems.itemRope, 0);
+ }
+}