diff options
author | Abdiel Kavash <19243993+AbdielKavash@users.noreply.github.com> | 2024-04-10 23:43:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 07:43:26 +0200 |
commit | 43a1cc0672584052f0522d39812f3e6dfc63e3bc (patch) | |
tree | c0175d0e61af38588058eb7c75e6a0b746aeafcf | |
parent | 47bdf987655c9d35c2312732fc2ea57c04004130 (diff) | |
download | GT5-Unofficial-43a1cc0672584052f0522d39812f3e6dfc63e3bc.tar.gz GT5-Unofficial-43a1cc0672584052f0522d39812f3e6dfc63e3bc.tar.bz2 GT5-Unofficial-43a1cc0672584052f0522d39812f3e6dfc63e3bc.zip |
Fix Boldarnator tooltip. (#865)
* Fix Boldarnator tooltip.
* spotless
---------
Co-authored-by: Connor-Colenso <52056774+connor-colenso@users.noreply.github.com>
-rw-r--r-- | dependencies.gradle | 2 | ||||
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_IndustrialRockBreaker.java | 17 |
2 files changed, 12 insertions, 7 deletions
diff --git a/dependencies.gradle b/dependencies.gradle index c1bb957969..b2a9c26e53 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -1,5 +1,5 @@ dependencies { - api('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.140:dev') + api('com.github.GTNewHorizons:GT5-Unofficial:5.09.45.144:dev') api("com.github.GTNewHorizons:bartworks:0.9.17:dev") implementation('curse.maven:cofh-core-69162:2388751') diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_IndustrialRockBreaker.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_IndustrialRockBreaker.java index 93c9ecc46e..833e347ce2 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_IndustrialRockBreaker.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_IndustrialRockBreaker.java @@ -37,6 +37,7 @@ import gregtech.api.recipe.RecipeMaps; import gregtech.api.recipe.check.CheckRecipeResult; import gregtech.api.recipe.check.CheckRecipeResultRegistry; import gregtech.api.recipe.check.SimpleCheckRecipeResult; +import gregtech.api.util.GT_LanguageManager; import gregtech.api.util.GT_Multiblock_Tooltip_Builder; import gregtech.api.util.GT_OreDictUnificator; import gregtech.api.util.GT_OverclockCalculator; @@ -74,6 +75,11 @@ public class GregtechMetaTileEntity_IndustrialRockBreaker extends return "Rock Breaker"; } + private static final String casingBaseName = GT_LanguageManager.getTranslation("gtplusplus.blockcasings.2.0.name"); + private static final String casingMiddleName = GT_LanguageManager + .getTranslation("gtplusplus.blockcasings.2.11.name"); + private static final String anyBaseCasing = "Any " + casingBaseName; + @Override protected GT_Multiblock_Tooltip_Builder createTooltip() { GT_Multiblock_Tooltip_Builder tt = new GT_Multiblock_Tooltip_Builder(); @@ -81,12 +87,11 @@ public class GregtechMetaTileEntity_IndustrialRockBreaker extends .addInfo("Speed: +200% | EU Usage: 75% | Parallel: Tier x 8").addInfo("Circuit goes in the GUI slot") .addInfo("1 = cobble, 2 = stone, 3 = obsidian").addInfo("Supply Water/Lava") .addPollutionAmount(getPollutionPerSecond(null)).addSeparator().beginStructureBlock(3, 4, 3, true) - .addController("Bottom Center").addCasingInfoMin("Thermal Processing Casing", 9, false) - .addCasingInfoMin("Thermal Containment Casing", 9, false) - .addInputBus("Any Thermal Containment Casing", 1).addInputHatch("Any Thermal Containment Casing", 1) - .addOutputBus("Any Thermal Containment Casing", 1).addEnergyHatch("Any Thermal Containment Casing", 1) - .addMaintenanceHatch("Any Thermal Containment Casing", 1) - .addMufflerHatch("Any Thermal Containment Casing", 1).toolTipFinisher(CORE.GT_Tooltip_Builder.get()); + .addController("Bottom Center").addCasingInfoMin(casingBaseName, 9, false) + .addCasingInfoExactly(casingMiddleName, 16, false).addInputBus(anyBaseCasing, 1) + .addInputHatch(anyBaseCasing, 1).addOutputBus(anyBaseCasing, 1).addEnergyHatch(anyBaseCasing, 1) + .addMaintenanceHatch(anyBaseCasing, 1).addMufflerHatch(anyBaseCasing, 1) + .toolTipFinisher(CORE.GT_Tooltip_Builder.get()); return tt; } |