aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/api/recipe
diff options
context:
space:
mode:
authorNotAPenguin <michiel.vandeginste@gmail.com>2024-09-02 23:17:17 +0200
committerGitHub <noreply@github.com>2024-09-02 23:17:17 +0200
commit1b820de08a05070909a267e17f033fcf58ac8710 (patch)
tree02831a025986a06b20f87e5bcc69d1e0c639a342 /src/main/java/gtPlusPlus/api/recipe
parentafd3fd92b6a6ab9ab0d0dc3214e6bc8ff7a86c9b (diff)
downloadGT5-Unofficial-1b820de08a05070909a267e17f033fcf58ac8710.tar.gz
GT5-Unofficial-1b820de08a05070909a267e17f033fcf58ac8710.tar.bz2
GT5-Unofficial-1b820de08a05070909a267e17f033fcf58ac8710.zip
The Great Renaming (#3014)
* move kekztech to a single root dir * move detrav to a single root dir * move gtnh-lanthanides to a single root dir * move tectech and delete some gross reflection in gt++ * remove more reflection inside gt5u * delete more reflection in gt++ * fix imports * move bartworks and bwcrossmod * fix proxies * move galactigreg and ggfab * move gtneioreplugin * try to fix gt++ bee loader * apply the rename rules to BW * apply rename rules to bwcrossmod * apply rename rules to detrav scanner mod * apply rename rules to galacticgreg * apply rename rules to ggfab * apply rename rules to goodgenerator * apply rename rules to gtnh-lanthanides * apply rename rules to gt++ * apply rename rules to kekztech * apply rename rules to kubatech * apply rename rules to tectech * apply rename rules to gt apply the rename rules to gt * fix tt import * fix mui hopefully * fix coremod except intergalactic * rename assline recipe class * fix a class name i stumbled on * rename StructureUtility to GTStructureUtility to prevent conflict with structurelib * temporary rename of GTTooltipDataCache to old name * fix gt client/server proxy names
Diffstat (limited to 'src/main/java/gtPlusPlus/api/recipe')
-rw-r--r--src/main/java/gtPlusPlus/api/recipe/ChemicalPlantFrontend.java6
-rw-r--r--src/main/java/gtPlusPlus/api/recipe/GTPPRecipeMaps.java56
-rw-r--r--src/main/java/gtPlusPlus/api/recipe/MillingFrontend.java6
-rw-r--r--src/main/java/gtPlusPlus/api/recipe/QuantumForceTransformerFrontend.java12
-rw-r--r--src/main/java/gtPlusPlus/api/recipe/TGSFrontend.java18
5 files changed, 47 insertions, 51 deletions
diff --git a/src/main/java/gtPlusPlus/api/recipe/ChemicalPlantFrontend.java b/src/main/java/gtPlusPlus/api/recipe/ChemicalPlantFrontend.java
index beede78173..48f055f4f8 100644
--- a/src/main/java/gtPlusPlus/api/recipe/ChemicalPlantFrontend.java
+++ b/src/main/java/gtPlusPlus/api/recipe/ChemicalPlantFrontend.java
@@ -13,7 +13,7 @@ import gregtech.api.recipe.NEIRecipePropertiesBuilder;
import gregtech.api.recipe.RecipeMapFrontend;
import gregtech.api.util.MethodsReturnNonnullByDefault;
import gregtech.common.gui.modularui.UIHelper;
-import gregtech.nei.GT_NEI_DefaultHandler;
+import gregtech.nei.GTNEIDefaultHandler;
import gtPlusPlus.core.util.minecraft.ItemUtils;
@ParametersAreNonnullByDefault
@@ -47,7 +47,7 @@ public class ChemicalPlantFrontend extends RecipeMapFrontend {
@Override
protected List<String> handleNEIItemInputTooltip(List<String> currentTip,
- GT_NEI_DefaultHandler.FixedPositionedStack pStack) {
+ GTNEIDefaultHandler.FixedPositionedStack pStack) {
if (ItemUtils.isCatalyst(pStack.item)) {
currentTip.add(GRAY + "Does not always get consumed in the process");
currentTip.add(GRAY + "Higher tier pipe casings allow this item to last longer");
@@ -58,7 +58,7 @@ public class ChemicalPlantFrontend extends RecipeMapFrontend {
}
@Override
- protected void drawNEIOverlayForInput(GT_NEI_DefaultHandler.FixedPositionedStack stack) {
+ protected void drawNEIOverlayForInput(GTNEIDefaultHandler.FixedPositionedStack stack) {
if (ItemUtils.isCatalyst(stack.item)) {
drawNEIOverlayText("NC*", stack);
} else {
diff --git a/src/main/java/gtPlusPlus/api/recipe/GTPPRecipeMaps.java b/src/main/java/gtPlusPlus/api/recipe/GTPPRecipeMaps.java
index 6958f71080..e6610c40df 100644
--- a/src/main/java/gtPlusPlus/api/recipe/GTPPRecipeMaps.java
+++ b/src/main/java/gtPlusPlus/api/recipe/GTPPRecipeMaps.java
@@ -1,6 +1,6 @@
package gtPlusPlus.api.recipe;
-import static gregtech.api.util.GT_RecipeConstants.LFTR_OUTPUT_POWER;
+import static gregtech.api.util.GTRecipeConstants.LFTR_OUTPUT_POWER;
import java.util.Arrays;
import java.util.Collections;
@@ -9,28 +9,28 @@ import net.minecraft.util.StatCollector;
import com.gtnewhorizons.modularui.common.widget.ProgressBar;
-import gregtech.api.gui.modularui.GT_UITextures;
+import gregtech.api.gui.modularui.GTUITextures;
import gregtech.api.recipe.RecipeMap;
import gregtech.api.recipe.RecipeMapBackend;
import gregtech.api.recipe.RecipeMapBuilder;
import gregtech.api.recipe.maps.FluidOnlyFrontend;
import gregtech.api.recipe.maps.FuelBackend;
import gregtech.api.recipe.maps.LargeNEIFrontend;
-import gregtech.api.util.GT_Utility;
+import gregtech.api.util.GTUtility;
import gregtech.nei.formatter.FuelSpecialValueFormatter;
import gregtech.nei.formatter.HeatingCoilSpecialValueFormatter;
import gregtech.nei.formatter.SimpleSpecialValueFormatter;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.core.util.minecraft.ItemUtils;
-import gtPlusPlus.xmod.gregtech.api.gui.GTPP_UITextures;
-import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.GregtechMetaTileEntityTreeFarm;
+import gtPlusPlus.xmod.gregtech.api.gui.GTPPUITextures;
+import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.MTETreeFarm;
public class GTPPRecipeMaps {
public static final RecipeMap<RecipeMapBackend> cokeOvenRecipes = RecipeMapBuilder.of("gtpp.recipe.cokeoven")
.maxIO(2, 9, 1, 1)
.minInputs(1, 0)
- .progressBar(GT_UITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
+ .progressBar(GTUITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
.build();
public static final RecipeMap<RecipeMapBackend> multiblockMassFabricatorRecipes = RecipeMapBuilder
.of("gtpp.recipe.matterfab2")
@@ -43,13 +43,13 @@ public class GTPPRecipeMaps {
recipeInfo -> Collections.singletonList(
StatCollector.translateToLocalFormatted(
"GT5U.nei.fuel",
- GT_Utility.formatNumbers(recipeInfo.recipe.mSpecialValue * 3000L))))
+ GTUtility.formatNumbers(recipeInfo.recipe.mSpecialValue * 3000L))))
.build();
public static final RecipeMap<RecipeMapBackend> quantumForceTransformerRecipes = RecipeMapBuilder
.of("gtpp.recipe.quantumforcesmelter")
.maxIO(6, 6, 6, 6)
.minInputs(1, 0)
- .progressBar(GT_UITextures.PROGRESSBAR_ARROW_MULTIPLE)
+ .progressBar(GTUITextures.PROGRESSBAR_ARROW_MULTIPLE)
.neiSpecialInfoFormatter(new SimpleSpecialValueFormatter("GT5U.nei.tier"))
.frontend(QuantumForceTransformerFrontend::new)
.disableOptimize()
@@ -57,7 +57,7 @@ public class GTPPRecipeMaps {
public static final RecipeMap<RecipeMapBackend> chemicalDehydratorRecipes = RecipeMapBuilder
.of("gtpp.recipe.chemicaldehydrator")
.maxIO(2, 9, 1, 1)
- .progressBar(GT_UITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
+ .progressBar(GTUITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
.disableOptimize()
.build();
public static final RecipeMap<RecipeMapBackend> vacuumFurnaceRecipes = RecipeMapBuilder.of("gtpp.recipe.vacfurnace")
@@ -82,7 +82,7 @@ public class GTPPRecipeMaps {
final long eut = recipeInfo.recipe.getMetadataOrDefault(LFTR_OUTPUT_POWER, 0);
final int duration = recipeInfo.recipe.mDuration;
return Arrays.asList(
- StatCollector.translateToLocalFormatted("gtpp.nei.lftr.power", GT_Utility.formatNumbers(eut)),
+ StatCollector.translateToLocalFormatted("gtpp.nei.lftr.power", GTUtility.formatNumbers(eut)),
StatCollector
.translateToLocalFormatted("gtpp.nei.lftr.dynamo", MathUtils.formatNumbers(duration * eut)),
StatCollector
@@ -109,25 +109,25 @@ public class GTPPRecipeMaps {
.build();
public static final RecipeMap<RecipeMapBackend> coldTrapRecipes = RecipeMapBuilder.of("gtpp.recipe.coldtrap")
.maxIO(2, 9, 1, 1)
- .progressBar(GT_UITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
+ .progressBar(GTUITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
.build();
public static final RecipeMap<RecipeMapBackend> reactorProcessingUnitRecipes = RecipeMapBuilder
.of("gtpp.recipe.reactorprocessingunit")
.maxIO(2, 9, 1, 1)
- .progressBar(GT_UITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
+ .progressBar(GTUITextures.PROGRESSBAR_SIFT, ProgressBar.Direction.DOWN)
.build();
public static final RecipeMap<RecipeMapBackend> simpleWasherRecipes = RecipeMapBuilder
.of("gtpp.recipe.simplewasher")
.maxIO(1, 1, 1, 0)
.slotOverlays(
- (index, isFluid, isOutput, isSpecial) -> !isFluid && !isOutput ? GT_UITextures.OVERLAY_SLOT_CAULDRON : null)
- .progressBar(GT_UITextures.PROGRESSBAR_ARROW_MULTIPLE)
+ (index, isFluid, isOutput, isSpecial) -> !isFluid && !isOutput ? GTUITextures.OVERLAY_SLOT_CAULDRON : null)
+ .progressBar(GTUITextures.PROGRESSBAR_ARROW_MULTIPLE)
.build();
public static final RecipeMap<RecipeMapBackend> molecularTransformerRecipes = RecipeMapBuilder
.of("gtpp.recipe.moleculartransformer")
.maxIO(1, 1, 0, 0)
.slotOverlays(
- (index, isFluid, isOutput, isSpecial) -> !isFluid && !isOutput ? GT_UITextures.OVERLAY_SLOT_MICROSCOPE
+ (index, isFluid, isOutput, isSpecial) -> !isFluid && !isOutput ? GTUITextures.OVERLAY_SLOT_MICROSCOPE
: null)
.neiHandlerInfo(
builder -> builder
@@ -139,16 +139,16 @@ public class GTPPRecipeMaps {
.slotOverlays((index, isFluid, isOutput, isSpecial) -> {
if (isFluid) {
if (isOutput) {
- return GT_UITextures.OVERLAY_SLOT_VIAL_2;
+ return GTUITextures.OVERLAY_SLOT_VIAL_2;
}
- return GT_UITextures.OVERLAY_SLOT_MOLECULAR_3;
+ return GTUITextures.OVERLAY_SLOT_MOLECULAR_3;
}
if (isOutput) {
- return GT_UITextures.OVERLAY_SLOT_VIAL_1;
+ return GTUITextures.OVERLAY_SLOT_VIAL_1;
}
- return GT_UITextures.OVERLAY_SLOT_MOLECULAR_1;
+ return GTUITextures.OVERLAY_SLOT_MOLECULAR_1;
})
- .progressBar(GTPP_UITextures.PROGRESSBAR_FLUID_REACTOR, ProgressBar.Direction.CIRCULAR_CW)
+ .progressBar(GTPPUITextures.PROGRESSBAR_FLUID_REACTOR, ProgressBar.Direction.CIRCULAR_CW)
.progressBarPos(82, 24)
.neiSpecialInfoFormatter(recipeInfo -> {
int tier = recipeInfo.recipe.mSpecialValue + 1;
@@ -184,8 +184,8 @@ public class GTPPRecipeMaps {
public static final RecipeMap<RecipeMapBackend> fishPondRecipes = RecipeMapBuilder.of("gtpp.recipe.fishpond")
.maxIO(1, 1, 0, 0)
.slotOverlays(
- (index, isFluid, isOutput, isSpecial) -> !isFluid && !isOutput ? GT_UITextures.OVERLAY_SLOT_CAULDRON : null)
- .progressBar(GT_UITextures.PROGRESSBAR_ARROW_MULTIPLE)
+ (index, isFluid, isOutput, isSpecial) -> !isFluid && !isOutput ? GTUITextures.OVERLAY_SLOT_CAULDRON : null)
+ .progressBar(GTUITextures.PROGRESSBAR_ARROW_MULTIPLE)
.build();
public static final RecipeMap<RecipeMapBackend> spargeTowerFakeRecipes = RecipeMapBuilder
.of("gtpp.recipe.spargetower")
@@ -199,18 +199,18 @@ public class GTPPRecipeMaps {
public static final RecipeMap<RecipeMapBackend> centrifugeNonCellRecipes = RecipeMapBuilder
.of("gtpp.recipe.multicentrifuge")
.maxIO(6, 6, 6, 6)
- .progressBar(GT_UITextures.PROGRESSBAR_EXTRACT)
+ .progressBar(GTUITextures.PROGRESSBAR_EXTRACT)
.frontend(LargeNEIFrontend::new)
.build();
public static final RecipeMap<RecipeMapBackend> electrolyzerNonCellRecipes = RecipeMapBuilder
.of("gtpp.recipe.multielectro")
.maxIO(6, 6, 6, 6)
- .progressBar(GT_UITextures.PROGRESSBAR_EXTRACT)
+ .progressBar(GTUITextures.PROGRESSBAR_EXTRACT)
.frontend(LargeNEIFrontend::new)
.build();
public static final RecipeMap<RecipeMapBackend> mixerNonCellRecipes = RecipeMapBuilder.of("gtpp.recipe.multimixer")
.maxIO(9, 9, 6, 6)
- .progressBar(GT_UITextures.PROGRESSBAR_MIXER, ProgressBar.Direction.CIRCULAR_CW)
+ .progressBar(GTUITextures.PROGRESSBAR_MIXER, ProgressBar.Direction.CIRCULAR_CW)
.frontend(LargeNEIFrontend::new)
.build();
public static final RecipeMap<RecipeMapBackend> chemicalDehydratorNonCellRecipes = RecipeMapBuilder
@@ -230,11 +230,7 @@ public class GTPPRecipeMaps {
.build();
public static final RecipeMap<RecipeMapBackend> treeGrowthSimulatorFakeRecipes = RecipeMapBuilder
.of("gtpp.recipe.treefarm")
- .maxIO(
- GregtechMetaTileEntityTreeFarm.Mode.values().length,
- GregtechMetaTileEntityTreeFarm.Mode.values().length,
- 0,
- 0)
+ .maxIO(MTETreeFarm.Mode.values().length, MTETreeFarm.Mode.values().length, 0, 0)
.minInputs(1, 0)
.useSpecialSlot()
.frontend(TGSFrontend::new)
diff --git a/src/main/java/gtPlusPlus/api/recipe/MillingFrontend.java b/src/main/java/gtPlusPlus/api/recipe/MillingFrontend.java
index 26e2ab2ec9..eab57490bc 100644
--- a/src/main/java/gtPlusPlus/api/recipe/MillingFrontend.java
+++ b/src/main/java/gtPlusPlus/api/recipe/MillingFrontend.java
@@ -12,7 +12,7 @@ import gregtech.api.recipe.BasicUIPropertiesBuilder;
import gregtech.api.recipe.NEIRecipePropertiesBuilder;
import gregtech.api.recipe.RecipeMapFrontend;
import gregtech.api.util.MethodsReturnNonnullByDefault;
-import gregtech.nei.GT_NEI_DefaultHandler;
+import gregtech.nei.GTNEIDefaultHandler;
import gtPlusPlus.core.util.minecraft.ItemUtils;
@ParametersAreNonnullByDefault
@@ -26,7 +26,7 @@ public class MillingFrontend extends RecipeMapFrontend {
@Override
protected List<String> handleNEIItemInputTooltip(List<String> currentTip,
- GT_NEI_DefaultHandler.FixedPositionedStack pStack) {
+ GTNEIDefaultHandler.FixedPositionedStack pStack) {
if (ItemUtils.isMillingBall(pStack.item)) {
currentTip.add(GRAY + StatCollector.translateToLocal("gtpp.nei.milling.not_consumed"));
} else {
@@ -36,7 +36,7 @@ public class MillingFrontend extends RecipeMapFrontend {
}
@Override
- protected void drawNEIOverlayForInput(GT_NEI_DefaultHandler.FixedPositionedStack stack) {
+ protected void drawNEIOverlayForInput(GTNEIDefaultHandler.FixedPositionedStack stack) {
if (ItemUtils.isMillingBall(stack.item)) {
drawNEIOverlayText("NC*", stack);
} else {
diff --git a/src/main/java/gtPlusPlus/api/recipe/QuantumForceTransformerFrontend.java b/src/main/java/gtPlusPlus/api/recipe/QuantumForceTransformerFrontend.java
index 93f19af9e8..6146856ecb 100644
--- a/src/main/java/gtPlusPlus/api/recipe/QuantumForceTransformerFrontend.java
+++ b/src/main/java/gtPlusPlus/api/recipe/QuantumForceTransformerFrontend.java
@@ -7,8 +7,8 @@ import gregtech.api.recipe.BasicUIPropertiesBuilder;
import gregtech.api.recipe.NEIRecipePropertiesBuilder;
import gregtech.api.recipe.maps.LargeNEIFrontend;
import gregtech.api.util.MethodsReturnNonnullByDefault;
-import gregtech.nei.GT_NEI_DefaultHandler;
-import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.GregtechMetaTileEntity_QuantumForceTransformer;
+import gregtech.nei.GTNEIDefaultHandler;
+import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.MTEQuantumForceTransformer;
@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
@@ -20,17 +20,17 @@ public class QuantumForceTransformerFrontend extends LargeNEIFrontend {
}
public String getChanceFormat(int chance) {
- return GT_NEI_DefaultHandler.FixedPositionedStack.chanceFormat.format((float) chance / 10000);
+ return GTNEIDefaultHandler.FixedPositionedStack.chanceFormat.format((float) chance / 10000);
}
@Override
- public void drawNEIOverlays(GT_NEI_DefaultHandler.CachedDefaultRecipe neiCachedRecipe) {
+ public void drawNEIOverlays(GTNEIDefaultHandler.CachedDefaultRecipe neiCachedRecipe) {
// Replicates the default behaviour, but since we cannot actually modify the mChance variable we need to
// essentially re-implement it.
- int chance = GregtechMetaTileEntity_QuantumForceTransformer.getBaseOutputChance(neiCachedRecipe.mRecipe);
+ int chance = MTEQuantumForceTransformer.getBaseOutputChance(neiCachedRecipe.mRecipe);
String chanceFormat = getChanceFormat(chance);
for (PositionedStack stack : neiCachedRecipe.mOutputs) {
- if (stack instanceof GT_NEI_DefaultHandler.FixedPositionedStack) {
+ if (stack instanceof GTNEIDefaultHandler.FixedPositionedStack) {
super.drawNEIOverlayText(chanceFormat, stack);
}
}
diff --git a/src/main/java/gtPlusPlus/api/recipe/TGSFrontend.java b/src/main/java/gtPlusPlus/api/recipe/TGSFrontend.java
index e57ebaf5f9..e7253b6ea5 100644
--- a/src/main/java/gtPlusPlus/api/recipe/TGSFrontend.java
+++ b/src/main/java/gtPlusPlus/api/recipe/TGSFrontend.java
@@ -15,14 +15,14 @@ import com.gtnewhorizons.modularui.api.math.Pos2d;
import gregtech.api.recipe.BasicUIPropertiesBuilder;
import gregtech.api.recipe.NEIRecipePropertiesBuilder;
import gregtech.api.recipe.RecipeMapFrontend;
-import gregtech.api.util.GT_Recipe;
+import gregtech.api.util.GTRecipe;
import gregtech.api.util.MethodsReturnNonnullByDefault;
import gregtech.common.gui.modularui.UIHelper;
-import gregtech.nei.GT_NEI_DefaultHandler;
+import gregtech.nei.GTNEIDefaultHandler;
import gregtech.nei.RecipeDisplayInfo;
import gregtech.nei.formatter.INEISpecialInfoFormatter;
-import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.GregtechMetaTileEntityTreeFarm;
-import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.GregtechMetaTileEntityTreeFarm.Mode;
+import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.MTETreeFarm;
+import gtPlusPlus.xmod.gregtech.common.tileentities.machines.multi.production.MTETreeFarm.Mode;
@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
@@ -80,15 +80,15 @@ public class TGSFrontend extends RecipeMapFrontend {
@Override
public List<String> handleNEIItemTooltip(ItemStack stack, List<String> currentTip,
- GT_NEI_DefaultHandler.CachedDefaultRecipe neiCachedRecipe) {
+ GTNEIDefaultHandler.CachedDefaultRecipe neiCachedRecipe) {
/*
* This gets a little complicated, because we want to assign tooltips to inputs/outputs based on which mode
* (saw, shears, etc.) they correspond to. But CachedDefaultRecipe does not retain this information for us. This
* is because some recipes don't output any items for some modes. For example, if a recipe only yields logs and
- * leaves, then the outputs of GT_Recipe will be {log, null, leaves}. However, in CachedDefaultRecipe this gets
+ * leaves, then the outputs of GTRecipe will be {log, null, leaves}. However, in CachedDefaultRecipe this gets
* condensed to just {log, leaves}, with null values omitted. So to figure out which item came from which mode,
- * we need to step through both of these arrays simultaneously and match non-null inputs/outputs in GT_Recipe to
+ * we need to step through both of these arrays simultaneously and match non-null inputs/outputs in GTRecipe to
* inputs/outputs in CachedDefaultRecipe.
*/
@@ -99,7 +99,7 @@ public class TGSFrontend extends RecipeMapFrontend {
return currentTip;
}
- GT_Recipe.GT_Recipe_WithAlt recipe = (GT_Recipe.GT_Recipe_WithAlt) neiCachedRecipe.mRecipe;
+ GTRecipe.GTRecipe_WithAlt recipe = (GTRecipe.GTRecipe_WithAlt) neiCachedRecipe.mRecipe;
// Inputs
int slot = 0;
@@ -107,7 +107,7 @@ public class TGSFrontend extends RecipeMapFrontend {
if (mode < recipe.mOreDictAlt.length && recipe.mOreDictAlt[mode] != null) {
// There is a valid input in this mode.
if (slot < neiCachedRecipe.mInputs.size() && stack == neiCachedRecipe.mInputs.get(slot).item) {
- int toolMultiplier = GregtechMetaTileEntityTreeFarm.getToolMultiplier(stack, Mode.values()[mode]);
+ int toolMultiplier = MTETreeFarm.getToolMultiplier(stack, Mode.values()[mode]);
currentTip.add(EnumChatFormatting.YELLOW + tooltipInputs[mode]);
if (toolMultiplier > 0) {
currentTip.add(EnumChatFormatting.YELLOW + tooltipMultiplier + " " + toolMultiplier + "x");