mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-22 19:39:24 +01:00
Change the "sneak!" info to something that makes it clear you need to hover over ActAdd blocks to see more info
This commit is contained in:
parent
3407aa61ba
commit
1d5a40804d
1 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue