1.21.6 prep

This commit is contained in:
2025-06-17 19:16:28 +02:00
parent ff56045903
commit a4a51b7cd8
7 changed files with 11 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
plugins {
id "io.papermc.paperweight.userdev" version "1.7.3"
id "io.papermc.paperweight.userdev" version "2.0.0-beta.17"
id "xyz.jpenilla.run-paper" version "2.3.0"
}
@@ -56,7 +56,7 @@ processResources {
compileTestJava.enabled = false
tasks.assemble {
dependsOn(tasks.reobfJar)
dependsOn(tasks.shadowJar)
}
publisher {

View File

@@ -4,6 +4,7 @@ import com.hypherionmc.craterlib.core.platform.CompatUtils;
import com.hypherionmc.craterlib.core.platform.ModloaderEnvironment;
import com.hypherionmc.craterlib.nojang.world.entity.player.BridgedPlayer;
import com.hypherionmc.craterlib.utils.ChatUtils;
import net.kyori.adventure.text.Component;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.metadata.MetadataValue;

View File

@@ -30,7 +30,7 @@ public class PaperLoaderHelper implements ModloaderEnvironment {
@Override
public String getGameVersion() {
return SharedConstants.getCurrentVersion().getName();
return SharedConstants.getCurrentVersion().name();
}
@Override

View File

@@ -3,15 +3,15 @@ plugins {
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id "xyz.wagyourtail.unimined" version "1.3.9" apply false
id "com.hypherionmc.modutils.modpublisher" version "2.1.6"
id "com.hypherionmc.modutils.orion" version "1.0.24"
id "com.hypherionmc.modutils.orion.origami" version "1.0.24" apply false
id "com.hypherionmc.modutils.orion" version "1.0.28"
id "com.hypherionmc.modutils.orion.origami" version "1.0.28" apply false
id 'maven-publish'
}
var relType = project.properties["releaseType"] ?: "${release_type}"
ext {
isPort = true //(relType == 'experimental')
isPort = false //(relType == 'experimental')
}
orion.setup {

View File

@@ -10,7 +10,7 @@ mod_id=craterlib
mod_name=CraterLib
# Shared
minecraft_version=1.21.6-pre3
minecraft_version=1.21.6
project_group=com.hypherionmc.craterlib
# Fabric
@@ -21,7 +21,7 @@ fabric_api=0.126.0+1.21.6
forge_version=50.0.6
# NeoForged
neoforge_version=21.5.0-alpha.1.21.6-pre3.20250606.211419
neoforge_version=0-beta
# Dependencies
moon_config=1.0.12

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@@ -15,5 +15,5 @@ pluginManagement {
rootProject.name = 'CraterLib'
include("Common", "Fabric", "NeoForge")
//include 'Paper'
include 'Paper'