rebuild modular minecraft

This commit is contained in:
WangTingZheng committed 2020-07-20 00:21:55 +08:00
commit 16117072ea
30503 files changed
+3058940

No files matched your search

+177
View File
@@ -0,0 +1,177 @@
== v9.37 ==
+ Updated to client 1.11.2 & server 1.11.2
== v9.35 ==
+ Updated to client 1.11 & server 1.11
== v9.30 ==
+ Updated to client 1.10 & server 1.10
== v9.28 ==
+ Updated to client 1.9.4 & server 1.9.4
== v9.24 ==
+ Updated to client 1.9 & server 1.9
== v9.18 ==
+ Updated to client 1.8.8 & server 1.8.8
== v9.10 ==
+ Updated to client 1.8 & server 1.8
== v9.08 ==
+ Updated to client 1.7.10 & server 1.7.10
== v9.03 ==
+ Updated to client 1.7.2 & server 1.7.2
== v8.11 ==
+ Updated to client 1.6.4 & server 1.6.4
== v8.09 ==
+ Updated to client 1.6.3 & server 1.6.3
== v8.04 ==
+ Updated to client 1.6.2 & server 1.6.2
== v8.02 ==
+ Updated to client 1.6.1 & server 1.6.1
+ Updated all scripts to support the new structure & launcher
== v7.51 ==
+ Updated to client 1.5.2 & server 1.5.2
== v7.44 ==
+ Updated to client 1.5.1 & server 1.5.1
== v7.42 ==
+ Updated to client 1.5 & server 1.5
== v7.39 ==
+ Updated to client 13w09c & server 13w09c (snapshot)
== v7.34 ==
+ Updated to client 13w05b & server 13w05b (snapshot)
== v7.30 ==
+ Updated to client 13w02b & server 13w02b (snapshot)
== v7.26 ==
+ Updated to client 1.4.7 & server 1.4.7
== v7.25 ==
+ Updated to client 1.4.6 & server 1.4.6
== v7.23 ==
+ Updated to client 1.4.5 & server 1.4.5
== v7.22 ==
+ Updated to client 1.4.5 pre1 & server 1.4.5 pre1
== v7.21 ==
+ Updated to client 1.4.4 & server 1.4.4
== v7.20 ==
+ Updated to client 1.4.3 & server 1.4.3
== v7.19 ==
+ Updated to client 1.4.2 & server 1.4.2
== v7.18 ==
+ Updated to client 1.4.1 & server 1.4.1 (pre-release)
== v7.17 ==
+ Updated to client 1.4 & server 1.4 (pre-release)
== v7.2 ==
+ Updated to client 1.3.2 & server 1.3.2
== v7.0a ==
+ Still for client 1.3.1 & server 1.3.1
+ Added fernflower decompiler
== v7.0 ==
+ Updated to client 1.3.1 & server 1.3.1
+ Extended patches to remove herobrine code from decompiled classes
== v6.2 ==
+ Updated to client 1.2.5 & server 1.2.5
Update patches to work around worldgen crash in vanilla minecraft client and server,
and a client crash when clicking on chat history
== v6.1 ==
+ Updated to client 1.2.4 & server 1.2.4
Disabled rounding of float and double constants due to issues with getting stuck on respawn.
Updated client patches to work around OpenGL issues with main window on OSX and Linux.
You will need to cleanup and decompile again for these changes to take effect.
== v6.0 ==
+ Updated to client 1.2.3 & server 1.2.3
+ Added javadoc comments to the decompiled sourcecode
== v5.6 ==
+ Updated to client 1.1 & server 1.1
+ Run Artistic Style source beautifier on decompiled source code
== v5.0 ==
+ Updated to client 1.0.0 & server 1.0.1
== v4.5 ==
+ Updated to client & server v1.9 pre 5
+ Improved Retroguard and Exceptor tools
YOU NEED TO DOWNLOAD MCP FROM THE WIKI IF YOU ARE UPDATING FROM MCP 4.3, UPDATEMCP.BAT WILL NOT WORK FOR 4.3 TO 4.4 UPDATES!
+ Fixes to mapping of methods in EntityLiving
+ Bugfix for crashes when playing sounds due to issue in Block.java
== v4.4 ==
+ Updated to client & server v1.8.1
+ Improved Retroguard and Exceptor tools
== v4.3 ==
+ Updated to client & server v1.7.3
== v4.2 ==
+ Updated to client & server v1.7.2
* If you get compile errors for ik.java or ik.class, just delete conf/patches/ik.java
== v4.1 ==
+ Added an Eclipse workspace
+ Included a reobfuscation bugfix
== v4.0 ==
+ Added new tool Exceptor
+ Added alternative support for fernflower decompiler
== v3.4 ==
+ Updated to client & server v1.6.6
== v3.3 ==
+ Updated to client & server v1.6.5
== v3.2 ==
+ Updated to client & server v1.6.4
+ Added support for external jar files in recompile and reobfuscation
+ Finally updated the readme files
== v3.1.1 ==
+ Small bugfix for using mcp offline
== v3.1 ==
+ Updated to client v1.5_01 / server v1.5_02
+ some more bugfixes in the python scripts
== v3.0 ==
+ Complete rewrite of the scripts in python
+ RetroGuard used both for deof and reobf
+ Automatic detection of modified classes during reobfuscation
+ Protection on cleanup.bat/sh
+ Advanced logging system (logs/mcp.log, logs/mcperr.log)
+ Removed repackager.exe and mono dependancy on Linux
+ Cleaner directory structure
+ Out of the box decompilation compatibility with modded jars
+ Rolling update model on top of the usual full package distrib
+ Custom files in bin directory are preserved during recompilation
+ Custom files are automaticly copied to reobf directory during reobf
+21
View File
@@ -0,0 +1,21 @@
MCP - Mod Coder Pack
MCP is (c) Copyright by the MCP Team
License and terms of use.
No warranties. If MCP does not work for you, or causes any damage, it's your problem. Use it at own risk.
You are allowed to:
- Use MCP to decompile the Minecraft client and server jar files.
- Use the decompiled source code to create mods for Minecraft.
- Recompile modified versions of Minecraft.
- Reobfuscate the classes of your mod for Minecraft.
You are NOT allowed to:
- Use MCP to do anything that violated Mojangs terms of use for Minecraft.
- Release Minecraft versions or modifications that allow you to play without having bought Minecraft from Mojang.
- Release modified or unmodified versions of MCP anywhere.
- Use any of MCPs scripts, tools or data files without explicit written permission.
- Make money with anything based on MCP (excluding Minecraft mods created by using MCP).
- Use MCP to create clients that are used for griefing or exploiting server bugs.
- Release the decompiled source code of Minecraft in any way.
+88
View File
@@ -0,0 +1,88 @@
# mcp940
Source code of minecraft 1.12
## How to run
**Note: Please prepare proxy tools such as SSR because of large project file size.**
Clone this project from github to your workspace:
```shell script
git clone https://github.com/WangTingZheng/mcp940
cd mcp940
```
Open IDEA, open another project and select:
```
File-> New-> Project from Existing Sources...
```
![open](./image/open.png)
Open /eclipse, chose `Import project from external model` and select Eclipse
![eclipse](./image/import-eclipse.png)
And click `next`, do not change anything
![path](./image/import-path.png)
Deselect `Server` and next:
![client](./image/import-client.png)
And next, next until IDEA open this project, select jdk1.8 and dismiss the error about `Imported project refers to unknown jdks JavaSE-1.6` .
![idea](./image/project.png)
Open Modules facets and add `vecmath-1.5.2.jar` in `/lib` jars to modules Client:
![jar](./image/mod.png)
Run main method in `/minecraft/Start.java`, you will get a exception:
```java
Exception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl64 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.lwjgl.Sys$1.run(Sys.java:72)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:87)
at org.lwjgl.Sys.<clinit>(Sys.java:117)
at net.minecraft.client.Minecraft.getSystemTime(Minecraft.java:3282)
at net.minecraft.client.main.Main.main(Main.java:39)
at Start.main(Start.java:11)
```
Open `Edit Configurations` :
![conf](./image/conf.png)
Fill `Fill in this input box` in `VM options` input box and change `your project folder\ecilpse` to `your project folder\jars` and click ok.
![start](./image/start.png)
Rerun main method in Start .java
![mc](./image/minecraft.png)
## How to develop
- fork this project to your account
- do [How to run](https://github.com/WangTingZheng/mcp940/#How-to-run) to setup project
- to new a branch and add feature or fix a bug in this new branch
- commit you code and merge new branch to master when feature done or bug fixed
- to my [project](https://github.com/WangTingZheng/mcp940) to new a [pull request](https://github.com/WangTingZheng/mcp940/pulls), I will check your commit and merge into my project
- more detail about how to develop a project in Github please view this [video](https://www.bilibili.com/video/BV1Ff4y1R7cN?p=2)
## Waiting for fixing
- Only support English, No Chinese.
- No any music and sound effects.
## Ref
- [[教程]全民写端-MCP918配置&Optifine装载&EventAPI](https://www.bilibili.com/video/BV1W741127EZ): builds mcp918 bases on minecraft 1.8
- [mcp940.zip](http://www.modcoderpack.com/): The origin source code of Minecraft client 1.12 & server 1.12
- [Optifine SRC Version [1.12 HD U A4]](https://optifinesource.co.uk/downloads/1-12.html): Optifine package
- [DarkMagician6-eventapi.zip](https://bitbucket.org/DarkMagician6/eventapi/downloads/): A event api to listen event in minecraft
- [vecmath-1.5.2.jar](https://mvnrepository.com/artifact/javax.vecmath/vecmath/1.5.2): 3D Vector Math Package
Binary file not shown.
Loaded 100 of 30503 files, more files were not shown because too many files have changed in this diff. Show more