[DEV] Rebuild Porting Patches

This commit is contained in:
2025-03-25 19:49:02 +02:00
parent 9da963f3c8
commit 327a60c806
56 changed files with 137 additions and 113 deletions

View File

@@ -6,7 +6,7 @@
-def JDK = "21";
-def majorMc = "1.21.5";
-def modLoaders = "neoforge|fabric|quilt|paper";
-def supportedMc = "25w10a";
-def supportedMc = "1.21.5-rc1";
-def reltype = "experimental";
+def JDK = "17";
+def majorMc = "1.20.2";

View File

@@ -42,11 +42,11 @@
-
-unimined.minecraft {
- neoForged {
- /*if (isPort) {
- if (isPort) {
- loader "net.neoforged:neoforge:${neoforge_version}:universal"
- } else {*/
- } else {
- loader neoforge_version
- //}
- }
-
- mixinConfig("${mod_id}.mixins.json", "${mod_id}.neoforge.mixins.json")
- }

View File

@@ -1,12 +1,10 @@
--- a/NeoForge/src/main/java/com/hypherionmc/craterlib/client/NeoForgeClientHelper.java
+++ /dev/null
@@ -1,68 +1,0 @@
@@ -1,66 +1,0 @@
-package com.hypherionmc.craterlib.client;
-
-import com.hypherionmc.craterlib.api.events.client.LateInitEvent;
-import com.hypherionmc.craterlib.client.gui.config.ClothConfigScreenBuilder;
-import com.hypherionmc.craterlib.client.gui.config.CraterConfigScreen;
-import com.hypherionmc.craterlib.core.config.AbstractConfig;
-import com.hypherionmc.craterlib.core.config.ConfigController;
-import com.hypherionmc.craterlib.core.config.annotations.ClothScreen;
-import com.hypherionmc.craterlib.core.config.annotations.NoConfigScreen;

View File

@@ -25,7 +25,7 @@
- public ServerPlayer player;
-
- @Inject(
- method = "lambda$handleChat$5",
- method = "lambda$handleChat$6",
- at = @At("HEAD"),
- cancellable = true
- )

View File

@@ -7,14 +7,14 @@
-var relType = project.properties["releaseType"] ?: "${release_type}"
-
-ext {
- isPort = (relType == 'experimental')
- isPort = false //(relType == 'experimental')
-}
-
orion.setup {
multiProject = true
enableMirrorMaven = true
enableReleasesMaven = true
- //enableSnapshotsMaven = isPort
- enableSnapshotsMaven = isPort
dopplerToken = System.getenv("DOPPLER_KEY")

View File

@@ -4,13 +4,13 @@
mod_name=CraterLib
# Shared
-minecraft_version=25w10a
-minecraft_version=1.21.5
+minecraft_version=1.20.2
project_group=com.hypherionmc.craterlib
# Fabric
-fabric_loader=0.16.10
-fabric_api=0.118.4+1.21.5
-fabric_api=0.119.5+1.21.5
+fabric_loader=0.15.11
+fabric_api=0.91.6+1.20.2
@@ -18,7 +18,7 @@
-forge_version=50.0.6
-
-# NeoForged
-neoforge_version=16-beta
-neoforge_version=0-beta
+forge_version=48.1.0
# Dependencies

View File

@@ -5,7 +5,7 @@
}
-rootProject.name = 'CraterLib'
-include("Common", "Fabric"/*, "NeoForge"*/)
-include("Common", "Fabric", "NeoForge")
-//include 'Paper'
-
+rootProject.name = 'CraterLib-1.20.2'