SmartCursor
SmartCursor copied to clipboard
Unlocalized Name
I have been trying to figure out how to remove this. Could this please be added to the config or something?
I am using V1.5 for 1.7.10
Is from this mod I have just confirmed it. I don't understand how to turn it off.
I managed to fix this by unpacking the jar file and editing the class file using Rewolf Dirtyjoe and deleting that last addTooltipText method. @Zilacon 2 years late but fixed it 👍
The problem is in that last commit in that last method . I the first if Left Shit || Right Shift it is always true.
https://github.com/asaskevich/SmartCursor/commit/40d2af222e7122583e63a0976fc50212b8d9d940
if (Keyboard.isKeyDown(Keyboard.KEY_LSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_RSHIFT)) {
if (event.showAdvancedItemTooltips)
{
event.toolTip.add("Name: " + GameData.getItemRegistry().getNameForObject(stack.getItem()));
event.toolTip.add("Unlocalized name:" + stack.getUnlocalizedName());
for (int id : OreDictionary.getOreIDs(stack)) event.toolTip.add(EnumChatFormatting.ITALIC + OreDictionary.getOreName(id));
}
}
@Zilacon @trollworkout thanks, will look on it
You never made an update for the version this issue was reported for (1.7.10) only one updated on your website is 1.12.2. Please make a version for 1.7.10. @asaskevich
我通过解压缩JAR文件并使用ReWolf Dirtyjoe编辑类文件并删除了最后一个addTooltipText方法来修复这个问题。@齐拉肯迟了两年但修好了👍
问题在于最后一次提交在最后一个方法中。我是第一个,如果左转,右转,它总是正确的。
if (Keyboard.isKeyDown(Keyboard.KEY_LSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_RSHIFT)) { if (event.showAdvancedItemTooltips) { event.toolTip.add("Name: " + GameData.getItemRegistry().getNameForObject(stack.getItem())); event.toolTip.add("Unlocalized name:" + stack.getUnlocalizedName()); for (int id : OreDictionary.getOreIDs(stack)) event.toolTip.add(EnumChatFormatting.ITALIC + OreDictionary.getOreName(id)); } }
Can you give me a detailed tutorial? I do n’t understand English, but I can see it through translation, although the translator is not very accurate.
It is one of my favorite modules. A module can be used as several mods. So let me talk about the advantages and disadvantages of this mod: various powerful functions such as equipment display, dropped items display, HP display (favorite), Transparency, etc. Disadvantages: The interface optimization is not as good as: a long reminder that only the left and right displays can be adjusted and cannot be adjusted freely will block other MOD displays, and the name is displayed incorrectly because I do n’t understand English. I can only observe your problems roughly through the translator. Please forgive me i really like it