MavenMCP-1.8.9
MavenMCP 1.8.9は、MCPの更新版で、Mavenを使用したクリーンなコード構造を持ち、Linuxをサポートし、プロジェクトのバージョン管理が可能です。Java 8を指定することで、簡単にプロジェクトをセットアップし、ビルドすることができます。
GitHubスター
102
ユーザー評価
未評価
お気に入り
0
閲覧数
20
フォーク
31
イシュー
3
MavenMCP 1.8.9
About
Maven MCP 1.8.9 is an updated version of MCP. It uses Maven, has a clean code structure, supports Linux and version control in your projects!
About the structure
The code is split into two groups: Resources (assets, graphics, shaders etc.) and code.
Libraries are loaded from Maven.
Setting up workspace
- Clone the repository
- Let it setup and index (just wait)
- Specify project SDK to Java 8 It might not work with other versions of JDK
- Once it indexes, the project should be ready to go! :)
Building
To build a working .jar file, which later can be put to /versions
in MC folder, you just need to run mvn clean package
command.
You can also use the Maven menu on the right side, or add a new run configuration, and run it from there (my favourite way).
Once the process is complete, artifacts will be in /target
directory.
There's no requirement to delete MANIFEST from the jar before putting to MC folder.
Running
To launch the client in the IDE, you need to execute Start.java, and specify working directory to ./test_run/
.
An example run configuration.
Minecraft's directory will be ./test_run/
. All saves, resource packs etc. will be there.
Migrating from old version of MCP
Nothing easier.
Move your existing java code to /src/main/java
, and any resources i.e. shaders, fonts etc. to /src/main/resources
.
If you added new libraries, make sure to add them to pom.xml, and you're set :D
Support
If you have any questions about this repo, let me know on my Discord! ^^
May 1.8.9 survive!