Include new library in installer json.
Change order of versions on main menu, to prevent overlap with default window size. Fix Forge update not displaying version info.
This commit is contained in:
parent
c509cac02b
commit
d3e8804dbf
3 changed files with 5 additions and 3 deletions
|
@ -327,6 +327,7 @@ project(':forge') {
|
|||
installer 'org.ow2.asm:asm-commons:6.2'
|
||||
installer 'org.ow2.asm:asm-tree:6.2'
|
||||
installer 'cpw.mods:modlauncher:2.1.+'
|
||||
installer 'cpw.mods:grossjava9hacks:1.1.+'
|
||||
installer 'net.minecraftforge:accesstransformers:0.16.+:shadowed'
|
||||
installer 'net.minecraftforge:eventbus:0.9.+:service'
|
||||
installer 'net.minecraftforge:forgespi:0.13.+'
|
||||
|
|
|
@ -43,9 +43,9 @@ public class BrandingControl
|
|||
if (brandings == null)
|
||||
{
|
||||
ImmutableList.Builder<String> brd = ImmutableList.builder();
|
||||
brd.add("Forge " + ForgeVersion.getVersion());
|
||||
brd.add("Minecraft " + MCPVersion.getMCVersion());
|
||||
brd.add("MCP " + MCPVersion.getMCPVersion());
|
||||
brd.add("Forge " + ForgeVersion.getVersion());
|
||||
int tModCount = ModList.get().size();
|
||||
brd.add(ForgeI18n.parseMessage("fml.menu.loadingmods", tModCount));
|
||||
brandings = brd.build();
|
||||
|
@ -75,7 +75,7 @@ public class BrandingControl
|
|||
public static String getServerBranding() {
|
||||
return "forge";
|
||||
}
|
||||
|
||||
|
||||
public static void clearCaches(IResourceManager resourceManager, Predicate<IResourceType> resourcePredicate) {
|
||||
if (resourcePredicate.test(VanillaResourceType.LANGUAGES)) {
|
||||
brandings = null;
|
||||
|
|
|
@ -70,7 +70,8 @@ public class ForgeVersion
|
|||
@Nullable
|
||||
public static String getTarget()
|
||||
{
|
||||
return "";
|
||||
VersionChecker.CheckResult res = VersionChecker.getResult(ModList.get().getModFileById(MOD_ID).getMods().get(0));
|
||||
return res.target == null ? "" : res.target.toString();
|
||||
}
|
||||
|
||||
public static String getSpec() {
|
||||
|
|
Loading…
Reference in a new issue