Feat: Add Minecraft 1.8.8 client module

- Register Minecraft1.8.8 in settings.gradle and .idea/gradle.xml
- Link Minecraft1.8.8 against the 1.8.8 jar, runtime libraries and Loader
- Ignore decompiled src/ and runtime/ directories
- Add start/stop hooks to OrangeX entry point
- Add shared run configurations for packageAll and Start Client
- Drop unused JUnit test blocks from Loader and OrangeX
This commit is contained in:
xiaozhou233 committed 2026-10-24 16:44:01 +08:00
1 parent 7c644e4d63
commit fc7a26f051
9 files changed
+74 -9

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/Loader" />
<option value="$PROJECT_DIR$/Minecraft1.8.8" />
<option value="$PROJECT_DIR$/OrangeX" />
</set>
</option>
+27
View File
@@ -0,0 +1,27 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="OrangeX-Client [packageAll]" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value="packageAll" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<ExternalSystemDebugDisabled>false</ExternalSystemDebugDisabled>
<DebugAllEnabled>false</DebugAllEnabled>
<RunAsTest>false</RunAsTest>
<GradleProfilingDisabled>false</GradleProfilingDisabled>
<GradleCoverageDisabled>false</GradleCoverageDisabled>
<method v="2" />
</configuration>
</component>
+14
View File
@@ -0,0 +1,14 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="[1.8.8] Start Client" type="Application" factoryName="Application">
<option name="ALTERNATIVE_JRE_PATH" value="1.8" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<option name="MAIN_CLASS_NAME" value="Start" />
<module name="OrangeX-Client.Minecraft1_8_8.main" />
<option name="VM_PARAMETERS" value="-Djava.library.path=versions\1.8.8\1.8.8-natives -Dorangex.dev=true" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/Minecraft1.8.8/runtime" />
<method v="2">
<option name="Make" enabled="true" />
<option name="RunConfigurationTask" enabled="true" run_configuration_name="OrangeX-Client [packageAll]" run_configuration_type="GradleRunConfiguration" />
</method>
</configuration>
</component>
-4
View File
@@ -14,10 +14,6 @@ dependencies {
implementation files("../libraries/JuiceAgent-API-1.4.1+build.1.jar")
}
test {
useJUnitPlatform()
}
tasks.named('shadowJar') {
destinationDirectory = rootProject.layout.projectDirectory.dir('out/tmp')
archiveFileName = "${project.name}.jar"
+2
View File
@@ -0,0 +1,2 @@
src/
runtime/
+21
View File
@@ -0,0 +1,21 @@
plugins {
id 'java'
}
group = 'cn.xiaozhou233.orangex'
version = 'unspecified'
repositories {
mavenCentral()
}
dependencies {
implementation fileTree(
dir: 'runtime/libraries',
include: ['**/*.jar']
)
implementation files("runtime/versions/1.8.8/1.8.8.jar")
implementation files("../libraries/JuiceAgent-API-1.4.1+build.1.jar")
implementation project(":Loader")
}
-4
View File
@@ -16,10 +16,6 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.48'
}
test {
useJUnitPlatform()
}
tasks.named('shadowJar') {
destinationDirectory = rootProject.layout.projectDirectory.dir('out/tmp')
archiveFileName = "${project.name}.jar"
@@ -9,4 +9,12 @@ public class OrangeX {
public OrangeX() {
System.out.println("OrangeX <init> start!");
}
public void start() {
System.out.println("OrangeX start!");
}
public void stop() {
System.out.println("OrangeX stop!");
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
rootProject.name = 'OrangeX-Client'
include 'Loader'
include 'OrangeX'
include 'Minecraft1.8.8'