mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
Fix: Adding Tooltips to Modifier Items (#77)
* Adding Tooltips to Modifier Items * spotlessApply (#78) Co-authored-by: GitHub GTNH Actions <> * Remove unnecessary block --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
7 files changed
+58
-10
No files matched your search
@@ -49,6 +49,9 @@ public class CreativeModifier extends Item {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4) {
|
||||
list.add(
|
||||
StatCollector.translateToLocal("modifier.tooltip.Main")
|
||||
+ " \u00a75\u00a7kC\u00a7d\u00a7kr\u00a79\u00a7ke\u00a73\u00a7ka\u00a7b\u00a7kt\u00a7a\u00a7ki\u00a72\u00a7kv\u00a7e\u00a7ke");
|
||||
if (stack.hasTagCompound()) {
|
||||
String targetLock;
|
||||
targetLock = stack.getTagCompound().getString("TargetLock");
|
||||
|
||||
Reference in new issue
Block a user