forked from MinecraftForge/MinecraftForge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FML is no more. FML has ceased to be. FML's expired and gone to meet …
…its maker. FML's a stiff! Bereft of life, FML rests in peace.
- Loading branch information
Showing
356 changed files
with
2,676 additions
and
235 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
patches/minecraft/net/minecraft/client/ClientBrandRetriever.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- ../src-base/minecraft/net/minecraft/client/ClientBrandRetriever.java | ||
+++ ../src-work/minecraft/net/minecraft/client/ClientBrandRetriever.java | ||
@@ -10,6 +10,6 @@ | ||
|
||
public static String getClientModName() | ||
{ | ||
- return "vanilla"; | ||
+ return net.minecraftforge.fml.common.FMLCommonHandler.instance().getModName(); | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
patches/minecraft/net/minecraft/client/LoadingScreenRenderer.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- ../src-base/minecraft/net/minecraft/client/LoadingScreenRenderer.java | ||
+++ ../src-work/minecraft/net/minecraft/client/LoadingScreenRenderer.java | ||
@@ -139,6 +139,10 @@ | ||
GlStateManager.func_179086_m(16640); | ||
} | ||
|
||
+ try | ||
+ { | ||
+ if (!net.minecraftforge.fml.client.FMLClientHandler.instance().handleLoadingScreen(scaledresolution)) //FML Don't render while FML's pre-screen is rendering | ||
+ { | ||
Tessellator tessellator = Tessellator.func_178181_a(); | ||
WorldRenderer worldrenderer = tessellator.func_178180_c(); | ||
this.field_73725_b.func_110434_K().func_110577_a(Gui.field_110325_k); | ||
@@ -177,6 +181,12 @@ | ||
GlStateManager.func_179120_a(770, 771, 1, 0); | ||
this.field_73725_b.field_71466_p.func_175063_a(this.field_73726_c, (float)((l - this.field_73725_b.field_71466_p.func_78256_a(this.field_73726_c)) / 2), (float)(i1 / 2 - 4 - 16), 16777215); | ||
this.field_73725_b.field_71466_p.func_175063_a(this.field_73727_a, (float)((l - this.field_73725_b.field_71466_p.func_78256_a(this.field_73727_a)) / 2), (float)(i1 / 2 - 4 + 8), 16777215); | ||
+ } | ||
+ } | ||
+ catch (java.io.IOException e) | ||
+ { | ||
+ com.google.common.base.Throwables.propagate(e); | ||
+ } //FML End | ||
this.field_146588_g.func_147609_e(); | ||
|
||
if (OpenGlHelper.func_148822_b()) |
Oops, something went wrong.