[PORT] Port for 25w15a.... Seriously mojang, JUST STOP....

This commit is contained in:
2025-04-08 20:19:03 +02:00
parent cf3b89ea7f
commit 7eb86b012e
8 changed files with 12 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
def JDK = "21" def JDK = "21"
def majorMc = "1.21.5"; def majorMc = "1.21.6";
pipeline { pipeline {
agent { agent {

View File

@@ -1,9 +1,9 @@
def projectName = "CraterLib"; def projectName = "CraterLib";
def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae593e56eba7885743bb44.png"; def projectIcon = "https://cdn.modrinth.com/data/Nn8Wasaq/a172c634683a11a2e9ae593e56eba7885743bb44.png";
def JDK = "21"; def JDK = "21";
def majorMc = "1.21.5"; def majorMc = "1.21.6";
def modLoaders = "neoforge|fabric|quilt|paper"; def modLoaders = "neoforge|fabric|quilt|paper";
def supportedMc = "1.21.5-rc1"; def supportedMc = "25w15a";
def reltype = "experimental"; def reltype = "experimental";
pipeline { pipeline {

View File

@@ -179,7 +179,7 @@ public class CraterConfigScreen extends Screen {
@Override @Override
public void render(@NotNull GuiGraphics matrices, int mouseX, int mouseY, float delta) { public void render(@NotNull GuiGraphics matrices, int mouseX, int mouseY, float delta) {
overlayBackground(matrices.pose(), TOP, height - BOTTOM, 32); /*overlayBackground(matrices.pose(), TOP, height - BOTTOM, 32);
renderScrollBar(); renderScrollBar();
matrices.pose().pushPose(); matrices.pose().pushPose();
@@ -198,7 +198,7 @@ public class CraterConfigScreen extends Screen {
option.render(minecraft, font, 40, y, width - 80, height1, matrices, mouseX, mouseY, delta); option.render(minecraft, font, 40, y, width - 80, height1, matrices, mouseX, mouseY, delta);
renderConfigTooltip(matrices, font, mouseX, mouseY, 40, y, font.width(option.text), height1, option.text.getString(), option.getLangKeys().toArray(new String[0])); renderConfigTooltip(matrices, font, mouseX, mouseY, 40, y, font.width(option.text), height1, option.text.getString(), option.getLangKeys().toArray(new String[0]));
y += height1; y += height1;
} }*/
} }
private void renderScrollBar() { private void renderScrollBar() {

View File

@@ -55,7 +55,7 @@ public class BridgedMinecraft {
} }
public String getGameVersion() { public String getGameVersion() {
return SharedConstants.getCurrentVersion().getName(); return SharedConstants.getCurrentVersion().name();
} }
public String getUserName() { public String getUserName() {

View File

@@ -38,7 +38,7 @@ public class BridgedMinecraftServer {
} }
public String getName() { public String getName() {
return SharedConstants.getCurrentVersion().getName(); return SharedConstants.getCurrentVersion().name();
} }
public boolean usesAuthentication() { public boolean usesAuthentication() {

View File

@@ -25,7 +25,7 @@ public class ChatUtils {
@Getter @Getter
private static final GsonComponentSerializer adventureSerializer = GsonComponentSerializer.builder().options( private static final GsonComponentSerializer adventureSerializer = GsonComponentSerializer.builder().options(
JSONOptions.byDataVersion().at(SharedConstants.getCurrentVersion().getDataVersion().getVersion()) JSONOptions.byDataVersion().at(SharedConstants.getCurrentVersion().dataVersion().version())
).build(); ).build();
private static final MiniMessage miniMessage = MiniMessage.miniMessage(); private static final MiniMessage miniMessage = MiniMessage.miniMessage();

View File

@@ -10,12 +10,12 @@ mod_id=craterlib
mod_name=CraterLib mod_name=CraterLib
# Shared # Shared
minecraft_version=1.21.5 minecraft_version=25w15a
project_group=com.hypherionmc.craterlib project_group=com.hypherionmc.craterlib
# Fabric # Fabric
fabric_loader=0.16.10 fabric_loader=0.16.13
fabric_api=0.119.5+1.21.5 fabric_api=0.119.10+1.21.6
# Forge # Forge
forge_version=50.0.6 forge_version=50.0.6

View File

@@ -14,6 +14,6 @@ pluginManagement {
} }
rootProject.name = 'CraterLib' rootProject.name = 'CraterLib'
include("Common", "Fabric", "NeoForge") include("Common", "Fabric"/*, "NeoForge"*/)
//include 'Paper' //include 'Paper'