mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
feat: add getItemStackDisplayName method to ToolCore show i18n name
This commit is contained in:
1 parent
6aba01fb2c
commit
b216f9ca3c
1 file changed
+5
@@ -822,4 +822,9 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
|
||||
return curTags.equals(prevTags);
|
||||
}
|
||||
// end of TE support section
|
||||
|
||||
@Override
|
||||
public String getItemStackDisplayName(ItemStack stack) {
|
||||
return ToolBuilder.defaultToolName(stack);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user