diff options
author | Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com> | 2022-12-24 09:07:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 10:07:24 +0100 |
commit | bcb57fe1092ef1576c3625c9e47a494ec277709f (patch) | |
tree | deb9b0b8611d27b0c99aedd20074cf720eacc7fc | |
parent | d8a737faaba655253666b343c052ea2ce61221ca (diff) | |
download | GT5-Unofficial-bcb57fe1092ef1576c3625c9e47a494ec277709f.tar.gz GT5-Unofficial-bcb57fe1092ef1576c3625c9e47a494ec277709f.tar.bz2 GT5-Unofficial-bcb57fe1092ef1576c3625c9e47a494ec277709f.zip |
Gray tooltip (#1581)
* Gray tooltip
* Spotless apply for branch gray for #1581 (#1582)
* add NEI handler for ic2 fuel rods (#1580)
* add NEI handler for ic2 fuel rods
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
* fix typo
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
* rename variable to cover up the original intention
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
* spotlessApply
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: Connor-Colenso <52056774+Connor-Colenso@users.noreply.github.com>
Co-authored-by: GitHub GTNH Actions <>
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Co-authored-by: GTNH-Colen <54497873+GTNH-Colen@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Glease <4586901+Glease@users.noreply.github.com>
-rw-r--r-- | src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java b/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java index df11ae22a2..b255fa4ddc 100644 --- a/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java +++ b/src/main/java/gregtech/nei/GT_NEI_DefaultHandler.java @@ -1,6 +1,7 @@ package gregtech.nei; import static codechicken.nei.recipe.RecipeInfo.getGuiOffset; +import static net.minecraft.util.EnumChatFormatting.GRAY; import codechicken.lib.gui.GuiDraw; import codechicken.nei.NEIClientUtils; @@ -378,8 +379,9 @@ public class GT_NEI_DefaultHandler extends RecipeMapHandler { || (!((FixedPositionedStack) tStack).isChanceBased())) { break; } - currentTip.add( - GT_Utility.trans("150", "Chance: ") + ((FixedPositionedStack) tStack).getChanceText()); + currentTip.add(GRAY + + GT_Utility.trans("150", "Chance: ") + + ((FixedPositionedStack) tStack).getChanceText()); break; } } @@ -389,7 +391,7 @@ public class GT_NEI_DefaultHandler extends RecipeMapHandler { || (!((FixedPositionedStack) tStack).isNotConsumed())) { break; } - currentTip.add(GT_Utility.trans("151", "Does not get consumed in the process")); + currentTip.add(GRAY + GT_Utility.trans("151", "Does not get consumed in the process")); break; } } |