From 1d5a40804d080174128ece1854a2ef11bb857a19 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 19 Oct 2016 18:30:55 +0200 Subject: [PATCH] Change the "sneak!" info to something that makes it clear you need to hover over ActAdd blocks to see more info --- .../actuallyadditions/mod/items/ItemBooklet.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java index bb2d414aa..c20384488 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemBooklet.java @@ -122,14 +122,15 @@ public class ItemBooklet extends ItemBase implements IHudDisplay{ minecraft.fontRendererObj.drawStringWithShadow(TextFormatting.GOLD+strg3, resolution.getScaledWidth()/2-minecraft.fontRendererObj.getStringWidth(strg3)/2, height+60, StringUtil.DECIMAL_COLOR_WHITE); } else{ - String strg = TextFormatting.DARK_RED+"No Info available! Sorry :("; - minecraft.fontRendererObj.drawStringWithShadow(strg, resolution.getScaledWidth()/2-minecraft.fontRendererObj.getStringWidth(strg)/2, height+60, StringUtil.DECIMAL_COLOR_WHITE); + String strg1 = TextFormatting.DARK_RED+"No Info available! Sorry :("; + String strg2 = TextFormatting.DARK_GREEN+""+TextFormatting.ITALIC+"Sneak while looking at an Actually Additions"; + String strg3 = TextFormatting.DARK_GREEN+""+TextFormatting.ITALIC+"block to see more information about it!"; + + minecraft.fontRendererObj.drawStringWithShadow(strg1, resolution.getScaledWidth()/2-minecraft.fontRendererObj.getStringWidth(strg1)/2, height+30, StringUtil.DECIMAL_COLOR_WHITE); + minecraft.fontRendererObj.drawStringWithShadow(strg2, resolution.getScaledWidth()/2-minecraft.fontRendererObj.getStringWidth(strg2)/2, height+50, StringUtil.DECIMAL_COLOR_WHITE); + minecraft.fontRendererObj.drawStringWithShadow(strg3, resolution.getScaledWidth()/2-minecraft.fontRendererObj.getStringWidth(strg3)/2, height+60, StringUtil.DECIMAL_COLOR_WHITE); } } - else{ - String strg = TextFormatting.DARK_GREEN+""+TextFormatting.ITALIC+"Sneak!"; - minecraft.fontRendererObj.drawStringWithShadow(strg, resolution.getScaledWidth()/2-minecraft.fontRendererObj.getStringWidth(strg)/2, height+60, StringUtil.DECIMAL_COLOR_WHITE); - } } } }