Skip to content

Commit

Permalink
update forge and optifine
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbudda committed Jul 5, 2017
1 parent a4171ee commit a3c360b
Show file tree
Hide file tree
Showing 19 changed files with 394 additions and 347 deletions.
8 changes: 4 additions & 4 deletions installer/Installer.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public class Installer extends JPanel implements PropertyChangeListener
private static final String MC_VERSION = "1.10.2";
private static final String MC_MD5 = "37f80d266872ec11560ab0895f7cf63b";
private static final String OF_LIB_PATH = "libraries/optifine/OptiFine/";
private static final String OF_FILE_NAME = "1.10.2_HD_U_D8";
private static final String OF_JSON_NAME = "1.10.2_HD_U_D8";
private static final String OF_MD5 = "d2a99a8d96d1067cb9e384bbdc560c70";
private static final String OF_FILE_NAME = "1.10.2_HD_U_E3";
private static final String OF_JSON_NAME = "1.10.2_HD_U_E3";
private static final String OF_MD5 = "7ea7d7c1e353da2a94961b443e59026f";
private static final String OF_VERSION_EXT = ".jar";
private static final String FORGE_VERSION = "12.18.3.2281";
private static final String FORGE_VERSION = "12.18.3.2316";
/* END OF DO NOT RENAME */

private String mc_url = "https://s3.amazonaws.com/Minecraft.Download/versions/" + MINECRAFT_VERSION + "/" + MINECRAFT_VERSION +".jar";
Expand Down
4 changes: 2 additions & 2 deletions installer/vivecraft-1.10.2-forge.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"logging": {},
"libraries": [
{
"name": "net.minecraftforge:forge:1.10.2-12.18.3.2281",
"name": "net.minecraftforge:forge:1.10.2-12.18.3.2316",
"url": "http://files.minecraftforge.net/maven/"
},
{
Expand Down Expand Up @@ -182,7 +182,7 @@
"name": "net.aib42.mumblelink:JMumble:1.11"
},
{
"name": "optifine:OptiFine:1.10.2_HD_U_D8"
"name": "optifine:OptiFine:1.10.2_HD_U_E3"
}
]
}
2 changes: 1 addition & 1 deletion installer/vivecraft-1.10.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userType ${user_type} --versionType ${version_type} --tweakClass optifine.OptiFineTweaker --tweakClass com.mtbs3d.minecrift.tweaker.MinecriftVanillaTweaker",
"libraries": [
{
"name": "optifine:OptiFine:1.10.2_HD_U_D8"
"name": "optifine:OptiFine:1.10.2_HD_U_E3"
},
{
"name": "org.ow2.asm:asm-all:5.0.3"
Expand Down
Binary file removed mcp931.zip.bak
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
--- a/net/minecraft/client/renderer/block/model/ModelBakery.java
+++ b/net/minecraft/client/renderer/block/model/ModelBakery.java
@@ -288,7 +288,7 @@
{
Reader reader = null;
IResource iresource = null;
- ModelBlock s2;
+ ModelBlock out;

try
{
@@ -330,7 +330,7 @@
}

ModelBlock modelblock = MODEL_ENTITY;
- s2 = modelblock;
+ out = modelblock;
}
finally
{
@@ -338,7 +338,7 @@
IOUtils.closeQuietly((Closeable)iresource);
}

- return s2;
+ return out;
}

private ResourceLocation getModelLocation(ResourceLocation location)
@@ -457,7 +457,7 @@

for (Entry<RegistryDelegate<Item>, Set<String>> entry : customVariantNames.entrySet())
{
- this.variantNames.put(((RegistryDelegate)entry.getKey()).get(), Lists.newArrayList(((Set)entry.getValue()).iterator()));
+ this.variantNames.put((Item) ((RegistryDelegate)entry.getKey()).get(), Lists.newArrayList(((Set)entry.getValue()).iterator()));
}
}

@@ -680,12 +680,6 @@
return set;
}

- @Nullable
- public IBakedModel bakeModel(ModelBlock modelBlockIn, ModelRotation modelRotationIn, boolean uvLocked)
- {
- return this.bakeModel(modelBlockIn, modelRotationIn, uvLocked);
- }
-
protected IBakedModel bakeModel(ModelBlock p_bakeModel_1_, ITransformation p_bakeModel_2_, boolean p_bakeModel_3_)
{
TextureAtlasSprite textureatlassprite = (TextureAtlasSprite)this.sprites.get(new ResourceLocation(p_bakeModel_1_.resolveTextureName("particle")));
@@ -732,7 +726,7 @@

protected BakedQuad makeBakedQuad(BlockPart p_makeBakedQuad_1_, BlockPartFace p_makeBakedQuad_2_, TextureAtlasSprite p_makeBakedQuad_3_, EnumFacing p_makeBakedQuad_4_, ITransformation p_makeBakedQuad_5_, boolean p_makeBakedQuad_6_)
{
- return this.faceBakery.makeBakedQuad(p_makeBakedQuad_1_.positionFrom, p_makeBakedQuad_1_.positionTo, p_makeBakedQuad_2_, p_makeBakedQuad_3_, p_makeBakedQuad_4_, p_makeBakedQuad_5_, p_makeBakedQuad_1_.partRotation, p_makeBakedQuad_6_, p_makeBakedQuad_1_.shade);
+ return this.faceBakery.makeBakedQuad(p_makeBakedQuad_1_.positionFrom, p_makeBakedQuad_1_.positionTo, p_makeBakedQuad_2_, p_makeBakedQuad_3_, p_makeBakedQuad_4_, (ModelRotation) p_makeBakedQuad_5_, p_makeBakedQuad_1_.partRotation, p_makeBakedQuad_6_, p_makeBakedQuad_1_.shade);
}

private void loadModelsCheck()
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

protected <V extends EntityLivingBase, U extends LayerRenderer<V>> boolean removeLayer(U layer)
@@ -568,7 +568,7 @@
@@ -570,7 +570,7 @@
{
Team.EnumVisible team$enumvisible = team.getNameTagVisibility();

Expand Down
14 changes: 7 additions & 7 deletions mcppatches/patches/net/minecraft/src/ConnectedParser.java.patch
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
--- a/net/minecraft/src/ConnectedParser.java
+++ b/net/minecraft/src/ConnectedParser.java
@@ -77,7 +77,7 @@
return NO_MATCH_BLOCKS;
}
@@ -73,7 +73,7 @@

- list.addAll(Arrays.<E>asList(amatchblock));
+ list.addAll(Arrays.asList(amatchblock));
if (amatchblock != null)
{
- list.addAll(Arrays.<E>asList(amatchblock));
+ list.addAll(Arrays.asList(amatchblock));
}
}

MatchBlock[] amatchblock1 = (MatchBlock[])((MatchBlock[])list.toArray(new MatchBlock[list.size()]));
@@ -406,7 +406,7 @@
@@ -403,7 +403,7 @@
return comparable;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/net/minecraft/src/CustomItemProperties.java
+++ b/net/minecraft/src/CustomItemProperties.java
@@ -321,8 +321,9 @@
@@ -340,8 +340,9 @@
Set set = map.keySet();
Map map1 = new LinkedHashMap();

Expand All @@ -11,7 +11,18 @@
String s2 = (String)map.get(s1);
s2 = fixTextureName(s2, p_parseTextures_1_);
map1.put(s1, s2);
@@ -526,8 +527,9 @@
@@ -421,8 +422,9 @@
Set set = map.keySet();
Map map1 = new LinkedHashMap();

- for (String s1 : set)
+ for (Object s0 : set)
{
+ String s1 = (String) s0;
String s2 = (String)map.get(s1);
s2 = fixModelName(s2, p_parseModels_1_);
map1.put(s1, s2);
@@ -629,8 +631,9 @@
{
List list = new ArrayList();

Expand All @@ -22,7 +33,7 @@
String s2 = (String)map.get(s1);
String s3 = s1.substring(s.length());
NbtTagValue nbttagvalue = new NbtTagValue(s3, s2);
@@ -543,8 +545,9 @@
@@ -646,8 +649,9 @@
{
Map map = new LinkedHashMap();

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/shadersmod/client/ShaderPackParser.java
+++ b/shadersmod/client/ShaderPackParser.java
@@ -237,8 +237,9 @@
@@ -238,8 +238,9 @@
String s = "profile.";
List<ShaderProfile> list = new ArrayList();

Expand Down
10 changes: 5 additions & 5 deletions mcppatches/patches/shadersmod/client/Shaders.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import org.lwjgl.opengl.ARBShaderObjects;
import org.lwjgl.opengl.ARBVertexShader;
import org.lwjgl.opengl.ContextCapabilities;
@@ -870,8 +871,9 @@
@@ -874,8 +875,9 @@
Set set = props.keySet();
List<CustomTexture> list = new ArrayList();

Expand All @@ -19,7 +19,7 @@
if (s1.startsWith(s))
{
String s2 = s1.substring(s.length());
@@ -1954,8 +1956,9 @@
@@ -1963,8 +1965,9 @@
needResetModels = false;
SMCLog.info("Reset model renderers");

Expand All @@ -30,7 +30,7 @@
if (render instanceof RenderLiving)
{
RenderLiving renderliving = (RenderLiving)render;
@@ -3655,17 +3658,16 @@
@@ -3676,17 +3679,16 @@
checkGLError("end beginRender");
}

Expand All @@ -54,15 +54,15 @@
boolean flag = shaderPackDimensions.contains(Integer.valueOf(i));
boolean flag1 = shaderPackDimensions.contains(Integer.valueOf(j));

@@ -4645,7 +4647,6 @@
@@ -4675,7 +4677,6 @@
public static void setFog(GlStateManager.FogMode fogMode)
{
GlStateManager.setFog(fogMode);
- fogMode = fogMode.capabilityId;

if (fogEnabled)
{
@@ -4815,8 +4816,9 @@
@@ -4845,8 +4846,9 @@
Lang.loadLocaleData(inputstream, properties);
inputstream.close();

Expand Down
10 changes: 5 additions & 5 deletions minecriftversion.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
mc_version = "1.10.2"
mc_file_md5 = "37f80d266872ec11560ab0895f7cf63b"
of_file_name = "1.10.2_HD_U_D8"
of_json_name = "1.10.2_HD_U_D8"
of_file_md5 = "d2a99a8d96d1067cb9e384bbdc560c70"
of_file_name = "1.10.2_HD_U_E3"
of_json_name = "1.10.2_HD_U_E3"
of_file_md5 = "7ea7d7c1e353da2a94961b443e59026f"
minecrift_version_num = "1.10.2"
minecrift_build = "jrbudda-10-finalr2"
minecrift_build = "jrbudda-11"
of_file_extension = ".jar"
mcp_version = "mcp931"
mcp_uses_generics = True
mcp_download_url = "http://www.modcoderpack.com/website/sites/default/files/releases/mcp931.zip"
forge_version = "12.18.3.2281"
forge_version = "12.18.3.2316"
2 changes: 1 addition & 1 deletion patches/net/minecraft/client/Minecraft.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
+ * The minecriftVerString will be automatically updated by the build scripts, do not modify here.
+ * Modify minecriftversion.py in root minecrift dir.
+ */
+ public final String minecriftVerString = "Vivecraft 1.10.2 jrbudda-10-finalr2";
+ public final String minecriftVerString = "Vivecraft 1.10.2 jrbudda-11";
+ /* end version */
+ /** END MINECRIFT */
+
Expand Down
Loading

0 comments on commit a3c360b

Please sign in to comment.