mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 20:22:28 +00:00
This commit is contained in:
1 parent
d26e285e09
commit
2ad347b043
2 files changed
+7
-7
No files matched your search
@@ -58,7 +58,7 @@ public enum KeyModifier {
|
||||
public ITextComponent getCombinedName(InputMappings.Input key, Supplier<ITextComponent> defaultLogic)
|
||||
{
|
||||
String localizationFormatKey = Minecraft.IS_RUNNING_ON_MAC ? "forge.controlsgui.control.mac" : "forge.controlsgui.control";
|
||||
return new TranslationTextComponent(localizationFormatKey).func_240702_b_(" + ").func_230529_a_(defaultLogic.get());
|
||||
return new TranslationTextComponent(localizationFormatKey, defaultLogic.get());
|
||||
}
|
||||
},
|
||||
SHIFT {
|
||||
@@ -77,7 +77,7 @@ public enum KeyModifier {
|
||||
@Override
|
||||
public ITextComponent getCombinedName(InputMappings.Input key, Supplier<ITextComponent> defaultLogic)
|
||||
{
|
||||
return new TranslationTextComponent("forge.controlsgui.shift").func_240702_b_(" + ").func_230529_a_(defaultLogic.get());
|
||||
return new TranslationTextComponent("forge.controlsgui.shift", defaultLogic.get());
|
||||
}
|
||||
},
|
||||
ALT {
|
||||
@@ -96,7 +96,7 @@ public enum KeyModifier {
|
||||
@Override
|
||||
public ITextComponent getCombinedName(InputMappings.Input keyCode, Supplier<ITextComponent> defaultLogic)
|
||||
{
|
||||
return new TranslationTextComponent("forge.controlsgui.alt").func_240702_b_(" + ").func_230529_a_(defaultLogic.get());
|
||||
return new TranslationTextComponent("forge.controlsgui.alt", defaultLogic.get());
|
||||
}
|
||||
},
|
||||
NONE {
|
||||
|
||||
@@ -148,10 +148,10 @@
|
||||
"forge.configgui.disableVersionCheck.tooltip": "Set to true to disable Forge version check mechanics. Forge queries a small json file on our server for version information. For more details see the ForgeVersion class in our github.",
|
||||
"forge.configgui.disableVersionCheck": "Disable Forge Version Check",
|
||||
|
||||
"forge.controlsgui.shift": "SHIFT",
|
||||
"forge.controlsgui.control": "CTRL",
|
||||
"forge.controlsgui.control.mac": "CMD",
|
||||
"forge.controlsgui.alt": "ALT",
|
||||
"forge.controlsgui.shift": "SHIFT + %s",
|
||||
"forge.controlsgui.control": "CTRL + %s",
|
||||
"forge.controlsgui.control.mac": "CMD + %s",
|
||||
"forge.controlsgui.alt": "ALT + %s",
|
||||
|
||||
"forge.container.enchant.limitedEnchantability": "Limited Enchantability",
|
||||
"attribute.name.generic.reachDistance": "Reach Distance",
|
||||
|
||||
Reference in new issue
Block a user