[CHORE] Backport from 1.20.3
This commit is contained in:
@@ -9,7 +9,7 @@ pipeline {
|
|||||||
stage("Notify Discord") {
|
stage("Notify Discord") {
|
||||||
steps {
|
steps {
|
||||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||||
title: "Deploy Started: CraterLib 1.20 Deploy #${BUILD_NUMBER}",
|
title: "Deploy Started: CraterLib 1.19.3/4 Deploy #${BUILD_NUMBER}",
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: 'SUCCESS',
|
result: 'SUCCESS',
|
||||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||||
@@ -38,7 +38,7 @@ pipeline {
|
|||||||
deleteDir()
|
deleteDir()
|
||||||
|
|
||||||
discordSend webhookURL: env.FDD_WH_ADMIN,
|
discordSend webhookURL: env.FDD_WH_ADMIN,
|
||||||
title: "CraterLib 1.20 Deploy #${BUILD_NUMBER}",
|
title: "CraterLib 1.19.3/4 Deploy #${BUILD_NUMBER}",
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: currentBuild.currentResult,
|
result: currentBuild.currentResult,
|
||||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})\nStatus: ${currentBuild.currentResult}"
|
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})\nStatus: ${currentBuild.currentResult}"
|
||||||
|
@@ -13,7 +13,7 @@ pipeline {
|
|||||||
stage("Notify Discord") {
|
stage("Notify Discord") {
|
||||||
steps {
|
steps {
|
||||||
discordSend webhookURL: env.SSS_WEBHOOK,
|
discordSend webhookURL: env.SSS_WEBHOOK,
|
||||||
title: "Deploy Started: ${projectName} 1.20.1/2 Deploy #${BUILD_NUMBER}",
|
title: "Deploy Started: ${projectName} 1.19.3/4 Deploy #${BUILD_NUMBER}",
|
||||||
link: env.BUILD_URL,
|
link: env.BUILD_URL,
|
||||||
result: 'SUCCESS',
|
result: 'SUCCESS',
|
||||||
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
|
||||||
@@ -54,7 +54,7 @@ pipeline {
|
|||||||
versionName: "Snapshot 1.0.${BUILD_NUMBER}",
|
versionName: "Snapshot 1.0.${BUILD_NUMBER}",
|
||||||
version: "1.0.${BUILD_NUMBER}",
|
version: "1.0.${BUILD_NUMBER}",
|
||||||
modLoaders: "forge|fabric|quilt",
|
modLoaders: "forge|fabric|quilt",
|
||||||
minecraftVersions: "1.20|1.20.1",
|
minecraftVersions: "1.19.3|1.19.4",
|
||||||
failWebhook: env.SSS_WEBHOOK,
|
failWebhook: env.SSS_WEBHOOK,
|
||||||
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
publishWebhooks: "${env.SSS_WEBHOOK}|${env.FDD_WH}"
|
||||||
|
|
||||||
|
@@ -11,7 +11,6 @@ import com.mojang.blaze3d.vertex.*;
|
|||||||
import me.hypherionmc.moonconfig.core.conversion.SpecComment;
|
import me.hypherionmc.moonconfig.core.conversion.SpecComment;
|
||||||
import net.minecraft.ChatFormatting;
|
import net.minecraft.ChatFormatting;
|
||||||
import net.minecraft.client.gui.Font;
|
import net.minecraft.client.gui.Font;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
|
||||||
import net.minecraft.client.gui.screens.ConfirmScreen;
|
import net.minecraft.client.gui.screens.ConfirmScreen;
|
||||||
import net.minecraft.client.gui.screens.Screen;
|
import net.minecraft.client.gui.screens.Screen;
|
||||||
import net.minecraft.client.renderer.GameRenderer;
|
import net.minecraft.client.renderer.GameRenderer;
|
||||||
@@ -177,19 +176,19 @@ public class CraterConfigScreen extends Screen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(@NotNull GuiGraphics matrices, int mouseX, int mouseY, float delta) {
|
public void render(@NotNull PoseStack matrices, int mouseX, int mouseY, float delta) {
|
||||||
overlayBackground(matrices.pose(), TOP, height - BOTTOM, 32);
|
overlayBackground(matrices, TOP, height - BOTTOM, 32);
|
||||||
|
|
||||||
renderScrollBar();
|
renderScrollBar();
|
||||||
|
|
||||||
matrices.pose().pushPose();
|
matrices.pushPose();
|
||||||
matrices.pose().translate(0, 0, 500.0);
|
matrices.translate(0, 0, 500.0);
|
||||||
overlayBackground(matrices.pose(), 0, TOP, 64);
|
overlayBackground(matrices, 0, TOP, 64);
|
||||||
overlayBackground(matrices.pose(), height - BOTTOM, height, 64);
|
overlayBackground(matrices, height - BOTTOM, height, 64);
|
||||||
renderShadow(matrices.pose());
|
renderShadow(matrices);
|
||||||
matrices.drawCenteredString(font, getTitle(), width / 2, 9, 0xFFFFFF);
|
drawCenteredString(matrices, font, getTitle(), width / 2, 9, 0xFFFFFF);
|
||||||
super.render(matrices, mouseX, mouseY, delta);
|
super.render(matrices, mouseX, mouseY, delta);
|
||||||
matrices.pose().popPose();
|
matrices.popPose();
|
||||||
|
|
||||||
int y = (int) (TOP + 4 - Math.round(scrollerAmount));
|
int y = (int) (TOP + 4 - Math.round(scrollerAmount));
|
||||||
for (Option<?> option : options) {
|
for (Option<?> option : options) {
|
||||||
@@ -379,7 +378,7 @@ public class CraterConfigScreen extends Screen {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void renderConfigTooltip(GuiGraphics stack, Font font, int mouseX, int mouseY, int startX, int startY, int sizeX, int sizeY, String title, String... description) {
|
private void renderConfigTooltip(PoseStack stack, Font font, int mouseX, int mouseY, int startX, int startY, int sizeX, int sizeY, String title, String... description) {
|
||||||
if (mouseX > startX && mouseX < startX + sizeX) {
|
if (mouseX > startX && mouseX < startX + sizeX) {
|
||||||
if (mouseY > startY && mouseY < startY + sizeY) {
|
if (mouseY > startY && mouseY < startY + sizeY) {
|
||||||
List<Component> list = new ArrayList<>();
|
List<Component> list = new ArrayList<>();
|
||||||
@@ -387,7 +386,7 @@ public class CraterConfigScreen extends Screen {
|
|||||||
for (String desc : description) {
|
for (String desc : description) {
|
||||||
list.add(Component.translatable(desc));
|
list.add(Component.translatable(desc));
|
||||||
}
|
}
|
||||||
stack.renderComponentTooltip(font, list, mouseX, mouseY);
|
renderComponentTooltip(stack, list, mouseX, mouseY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Font;
|
import net.minecraft.client.gui.Font;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
|
||||||
import net.minecraft.client.gui.components.AbstractWidget;
|
import net.minecraft.client.gui.components.AbstractWidget;
|
||||||
import net.minecraft.client.gui.components.EditBox;
|
import net.minecraft.client.gui.components.EditBox;
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@ public class AbstractConfigWidget<T, W extends AbstractWidget> extends BaseWidge
|
|||||||
public W widget;
|
public W widget;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, GuiGraphics matrices, int mouseX, int mouseY, float delta) {
|
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, PoseStack matrices, int mouseX, int mouseY, float delta) {
|
||||||
super.render(minecraft, font, x, y, width, height, matrices, mouseX, mouseY, delta);
|
super.render(minecraft, font, x, y, width, height, matrices, mouseX, mouseY, delta);
|
||||||
int i = (widget instanceof EditBox ? 1 : 0);
|
int i = (widget instanceof EditBox ? 1 : 0);
|
||||||
widget.setX(x + width - 200 - resetButtonOffset + i);
|
widget.setX(x + width - 200 - resetButtonOffset + i);
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import net.minecraft.ChatFormatting;
|
import net.minecraft.ChatFormatting;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Font;
|
import net.minecraft.client.gui.Font;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
|
||||||
import net.minecraft.client.gui.components.Button;
|
import net.minecraft.client.gui.components.Button;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
import net.minecraft.network.chat.MutableComponent;
|
import net.minecraft.network.chat.MutableComponent;
|
||||||
@@ -39,7 +39,7 @@ public class BaseWidget<T> extends Option<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, GuiGraphics matrices, int mouseX, int mouseY, float delta) {
|
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, PoseStack matrices, int mouseX, int mouseY, float delta) {
|
||||||
MutableComponent text = Component.literal(this.text.getString());
|
MutableComponent text = Component.literal(this.text.getString());
|
||||||
boolean edited = isEdited() || hasErrors;
|
boolean edited = isEdited() || hasErrors;
|
||||||
if (edited) {
|
if (edited) {
|
||||||
@@ -50,7 +50,7 @@ public class BaseWidget<T> extends Option<T> {
|
|||||||
} else {
|
} else {
|
||||||
text.withStyle(ChatFormatting.GRAY);
|
text.withStyle(ChatFormatting.GRAY);
|
||||||
}
|
}
|
||||||
matrices.drawString(font, text, x, y, 0xFFFFFF);
|
font.draw(matrices, text, x, y, 0xFFFFFF);
|
||||||
resetButton.setX(x + width - 46);
|
resetButton.setX(x + width - 46);
|
||||||
resetButton.setY(y + 1);
|
resetButton.setY(y + 1);
|
||||||
resetButton.active = isNotDefault();
|
resetButton.active = isNotDefault();
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
||||||
|
|
||||||
import com.hypherionmc.craterlib.client.gui.config.CraterConfigScreen;
|
import com.hypherionmc.craterlib.client.gui.config.CraterConfigScreen;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import net.minecraft.client.gui.components.AbstractButton;
|
import net.minecraft.client.gui.components.AbstractButton;
|
||||||
import net.minecraft.client.gui.narration.NarratedElementType;
|
import net.minecraft.client.gui.narration.NarratedElementType;
|
||||||
import net.minecraft.client.gui.narration.NarrationElementOutput;
|
import net.minecraft.client.gui.narration.NarrationElementOutput;
|
||||||
@@ -23,7 +23,7 @@ public class InternalConfigButton extends AbstractButton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(@NotNull GuiGraphics poseStack, int i, int j, float f) {
|
public void render(@NotNull PoseStack poseStack, int i, int j, float f) {
|
||||||
if (cancel) {
|
if (cancel) {
|
||||||
setMessage(Component.translatable(screen.isEdited() ? "t.clc.cancel_discard" : "gui.cancel"));
|
setMessage(Component.translatable(screen.isEdited() ? "t.clc.cancel_discard" : "gui.cancel"));
|
||||||
} else {
|
} else {
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Font;
|
import net.minecraft.client.gui.Font;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
|
||||||
import net.minecraft.client.gui.components.events.AbstractContainerEventHandler;
|
import net.minecraft.client.gui.components.events.AbstractContainerEventHandler;
|
||||||
import net.minecraft.client.gui.components.events.GuiEventListener;
|
import net.minecraft.client.gui.components.events.GuiEventListener;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
@@ -38,7 +38,7 @@ public abstract class Option<T> extends AbstractContainerEventHandler {
|
|||||||
this.langKeys = langKeys;
|
this.langKeys = langKeys;
|
||||||
}
|
}
|
||||||
|
|
||||||
public abstract void render(Minecraft minecraft, Font font, int x, int y, int width, int height, GuiGraphics matrices, int mouseX, int mouseY, float delta);
|
public abstract void render(Minecraft minecraft, Font font, int x, int y, int width, int height, PoseStack matrices, int mouseX, int mouseY, float delta);
|
||||||
|
|
||||||
public int height() {
|
public int height() {
|
||||||
return 22;
|
return 22;
|
||||||
|
@@ -2,9 +2,9 @@ package com.hypherionmc.craterlib.client.gui.config.widgets;
|
|||||||
|
|
||||||
import com.hypherionmc.craterlib.client.gui.config.CraterConfigScreen;
|
import com.hypherionmc.craterlib.client.gui.config.CraterConfigScreen;
|
||||||
import com.hypherionmc.craterlib.core.config.ModuleConfig;
|
import com.hypherionmc.craterlib.core.config.ModuleConfig;
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Font;
|
import net.minecraft.client.gui.Font;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
|
||||||
import net.minecraft.client.gui.components.Button;
|
import net.minecraft.client.gui.components.Button;
|
||||||
import net.minecraft.client.gui.screens.Screen;
|
import net.minecraft.client.gui.screens.Screen;
|
||||||
import net.minecraft.network.chat.Component;
|
import net.minecraft.network.chat.Component;
|
||||||
@@ -27,7 +27,7 @@ public class SubConfigWidget<T> extends AbstractConfigWidget<T, Button> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, GuiGraphics matrices, int mouseX, int mouseY, float delta) {
|
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, PoseStack matrices, int mouseX, int mouseY, float delta) {
|
||||||
this.text = Component.literal(subConfig.getClass().getSimpleName().toLowerCase());
|
this.text = Component.literal(subConfig.getClass().getSimpleName().toLowerCase());
|
||||||
this.hideReset();
|
this.hideReset();
|
||||||
super.render(minecraft, font, x, y, width, height, matrices, mouseX, mouseY, delta);
|
super.render(minecraft, font, x, y, width, height, matrices, mouseX, mouseY, delta);
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
package com.hypherionmc.craterlib.client.gui.config.widgets;
|
||||||
|
|
||||||
|
import com.mojang.blaze3d.vertex.PoseStack;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.Font;
|
import net.minecraft.client.gui.Font;
|
||||||
import net.minecraft.client.gui.GuiGraphics;
|
|
||||||
|
|
||||||
import java.util.function.Function;
|
import java.util.function.Function;
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ public class TextConfigOption<T> extends AbstractConfigWidget<T, WrappedEditBox>
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, GuiGraphics matrices, int mouseX, int mouseY, float delta) {
|
public void render(Minecraft minecraft, Font font, int x, int y, int width, int height, PoseStack matrices, int mouseX, int mouseY, float delta) {
|
||||||
widget.setTextColor(hasErrors ? 16733525 : 14737632);
|
widget.setTextColor(hasErrors ? 16733525 : 14737632);
|
||||||
super.render(minecraft, font, x, y, width, height, matrices, mouseX, mouseY, delta);
|
super.render(minecraft, font, x, y, width, height, matrices, mouseX, mouseY, delta);
|
||||||
}
|
}
|
||||||
|
@@ -21,7 +21,7 @@ public class WrappedEditBox extends EditBox {
|
|||||||
for (GuiEventListener child : Minecraft.getInstance().screen.children()) {
|
for (GuiEventListener child : Minecraft.getInstance().screen.children()) {
|
||||||
if (child instanceof TextConfigOption<?> option) {
|
if (child instanceof TextConfigOption<?> option) {
|
||||||
WrappedEditBox box = option.widget;
|
WrappedEditBox box = option.widget;
|
||||||
super.setFocused(box == this);
|
box.setFocused(box == this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
super.setFocused(bl);
|
super.setFocused(bl);
|
||||||
|
@@ -7,7 +7,7 @@ import net.minecraft.network.chat.MutableComponent;
|
|||||||
public class AbstractCommand {
|
public class AbstractCommand {
|
||||||
|
|
||||||
public static void replySuccess(CommandContext<CommandSourceStack> stack, MutableComponent message) {
|
public static void replySuccess(CommandContext<CommandSourceStack> stack, MutableComponent message) {
|
||||||
stack.getSource().sendSuccess(() -> message, false);
|
stack.getSource().sendSuccess(message, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void replyFailure(CommandContext<CommandSourceStack> stack, MutableComponent message) {
|
public static void replyFailure(CommandContext<CommandSourceStack> stack, MutableComponent message) {
|
||||||
|
@@ -25,13 +25,13 @@ public class AbstractFakePlayer extends CommandSourceStack {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sendSuccess(Supplier<Component> component, boolean bl) {
|
public void sendSuccess(Component component, boolean bl) {
|
||||||
this.onSuccess(component.get(), bl);
|
this.onSuccess(component, bl);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void sendFailure(Component component) {
|
public void sendFailure(Component component) {
|
||||||
sendSuccess(() -> component, false);
|
sendSuccess(component, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public UUID getUuid() {
|
public UUID getUuid() {
|
||||||
|
@@ -4,18 +4,18 @@ import com.hypherionmc.craterlib.api.event.client.ScreenEvent;
|
|||||||
import com.hypherionmc.craterlib.core.event.CraterEventBus;
|
import com.hypherionmc.craterlib.core.event.CraterEventBus;
|
||||||
import net.minecraft.client.Minecraft;
|
import net.minecraft.client.Minecraft;
|
||||||
import net.minecraft.client.gui.screens.Screen;
|
import net.minecraft.client.gui.screens.Screen;
|
||||||
import org.jetbrains.annotations.Nullable;
|
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
import org.spongepowered.asm.mixin.Shadow;
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
import org.spongepowered.asm.mixin.injection.At;
|
import org.spongepowered.asm.mixin.injection.At;
|
||||||
import org.spongepowered.asm.mixin.injection.Inject;
|
import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
@Mixin(Minecraft.class)
|
@Mixin(Minecraft.class)
|
||||||
public class MinecraftMixin {
|
public class MinecraftMixin {
|
||||||
|
|
||||||
@Shadow @Nullable
|
@Shadow @Nullable public Screen screen;
|
||||||
public Screen screen;
|
|
||||||
|
|
||||||
@Inject(method = "setScreen", at = @At(value = "TAIL"))
|
@Inject(method = "setScreen", at = @At(value = "TAIL"))
|
||||||
private void injectScreenOpeningEvent(Screen screen, CallbackInfo ci) {
|
private void injectScreenOpeningEvent(Screen screen, CallbackInfo ci) {
|
||||||
|
@@ -42,7 +42,7 @@ public class RenderUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static int renderColorFromDye(DyeColor color) {
|
public static int renderColorFromDye(DyeColor color) {
|
||||||
return color.getMapColor().col | 0xFF000000;
|
return color.getMaterialColor().col | 0xFF000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int alphaColorFromDye(DyeColor color, float alpha) {
|
public static int alphaColorFromDye(DyeColor color, float alpha) {
|
||||||
|
@@ -116,8 +116,8 @@ publisher {
|
|||||||
versionType = "release"
|
versionType = "release"
|
||||||
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md"
|
changelog = "https://raw.githubusercontent.com/hypherionmc/changelogs/main/craterlib/changelog-fabric.md"
|
||||||
version = "${minecraft_version}-${project.version}"
|
version = "${minecraft_version}-${project.version}"
|
||||||
displayName = "[FABRIC/QUILT 1.20.1/2] CraterLib - ${project.version}"
|
displayName = "[FABRIC/QUILT 1.19.3/4] CraterLib - ${project.version}"
|
||||||
gameVersions = ["1.20", "1.20.1"]
|
gameVersions = ["1.19.3", "1.19.4"]
|
||||||
loaders = ["fabric", "quilt"]
|
loaders = ["fabric", "quilt"]
|
||||||
artifact = remapJar
|
artifact = remapJar
|
||||||
|
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.14.21",
|
"fabricloader": ">=0.14.21",
|
||||||
"fabric-api": "*",
|
"fabric-api": "*",
|
||||||
"minecraft": ">=1.20",
|
"minecraft": ">=1.19.3",
|
||||||
"java": ">=17"
|
"java": ">=17"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
modLoader = "javafml"
|
modLoader = "javafml"
|
||||||
loaderVersion = "[46,)"
|
loaderVersion = "[44,)"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
issueTrackerURL = "https://github.com/firstdarkdev/craterLib/issues"
|
issueTrackerURL = "https://github.com/firstdarkdev/craterLib/issues"
|
||||||
|
|
||||||
@@ -19,13 +19,13 @@ displayTest = "MATCH_VERSION"
|
|||||||
[[dependencies.${mod_id}]]
|
[[dependencies.${mod_id}]]
|
||||||
modId = "forge"
|
modId = "forge"
|
||||||
mandatory = true
|
mandatory = true
|
||||||
versionRange = "[46,)"
|
versionRange = "[44,)"
|
||||||
ordering = "NONE"
|
ordering = "NONE"
|
||||||
side = "BOTH"
|
side = "BOTH"
|
||||||
|
|
||||||
[[dependencies.${mod_id}]]
|
[[dependencies.${mod_id}]]
|
||||||
modId = "minecraft"
|
modId = "minecraft"
|
||||||
mandatory = true
|
mandatory = true
|
||||||
versionRange = "[1.20,1.20.2)"
|
versionRange = "[1.19.3,1.20)"
|
||||||
ordering = "NONE"
|
ordering = "NONE"
|
||||||
side = "BOTH"
|
side = "BOTH"
|
||||||
|
@@ -10,17 +10,17 @@ mod_id=craterlib
|
|||||||
mod_name=CraterLib
|
mod_name=CraterLib
|
||||||
|
|
||||||
# Shared
|
# Shared
|
||||||
minecraft_version=1.20
|
minecraft_version=1.19.3
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
fabric_loader=0.14.21
|
fabric_loader=0.14.21
|
||||||
fabric_api=0.83.0+1.20
|
fabric_api=0.76.1+1.19.3
|
||||||
|
|
||||||
# Forge
|
# Forge
|
||||||
forge_version=46.0.1
|
forge_version=44.1.0
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
mod_menu_version=7.0.0-beta.2
|
mod_menu_version=5.1.0-beta.4
|
||||||
moon_config=1.0.9
|
moon_config=1.0.9
|
||||||
|
|
||||||
# Publishing
|
# Publishing
|
||||||
|
Reference in New Issue
Block a user