From 3f8acba85ce820fa8663afb9ccb16688ccc833e0 Mon Sep 17 00:00:00 2001 From: orifu Date: Sun, 2 Jun 2024 15:29:00 +0100 Subject: [PATCH 1/6] initial 1.21 port --- build.gradle | 2 ++ gradle.properties | 10 +++++----- src/main/java/io/ix0rai/rainglow/Rainglow.java | 2 +- .../io/ix0rai/rainglow/config/CustomModeScreen.java | 4 ++-- .../java/io/ix0rai/rainglow/data/RainglowColour.java | 6 +++--- .../io/ix0rai/rainglow/mixin/GlowSquidEntityMixin.java | 10 +++++----- src/main/resources/fabric.mod.json | 2 +- 7 files changed, 19 insertions(+), 17 deletions(-) diff --git a/build.gradle b/build.gradle index 6a48f21..17c2b86 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,8 @@ repositories { maven { url = "https://maven.terraformersmc.com/releases/" } maven { url = "https://maven.quiltmc.org/repository/release/" } maven { url = "https://repo.sleeping.town/" } + + flatDir { dirs 'lib' } } configurations { diff --git a/gradle.properties b/gradle.properties index ab82f98..a485d18 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx1G # minecraft, mappings and loader dependencies # check these on https://modmuss50.me/fabric.html -minecraft_version=1.20.6 -quilt_mappings=6 +minecraft_version=1.21-pre1 +quilt_mappings=1 loader_version=0.15.11 # mod properties -mod_version=1.3.1+mc1.20.6 +mod_version=1.3.2+mc1.21 maven_group=rainglow archives_base_name=rainglow # other dependencies java_version=21 -mod_menu_version=10.0.0-beta.1 -fabric_api_version=0.98.0+1.20.6 +mod_menu_version=unknown +fabric_api_version=0.99.4+1.21 diff --git a/src/main/java/io/ix0rai/rainglow/Rainglow.java b/src/main/java/io/ix0rai/rainglow/Rainglow.java index b4c5f6a..ea0985c 100644 --- a/src/main/java/io/ix0rai/rainglow/Rainglow.java +++ b/src/main/java/io/ix0rai/rainglow/Rainglow.java @@ -54,7 +54,7 @@ public void onInitialize() { } public static Identifier id(String id) { - return new Identifier(MOD_ID, id); + return Identifier.method_60655(MOD_ID, id); } public static String generateRandomColourId(World world, RandomGenerator random) { diff --git a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java index 02df6b1..0f4d6bf 100644 --- a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java +++ b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java @@ -76,12 +76,12 @@ private void save() { } @Override - public void init() { + public void method_60325() { HeaderFooterLayoutWidget headerFooterWidget = new HeaderFooterLayoutWidget(this, 61, 33); headerFooterWidget.addToHeader(new TextWidget(TITLE, this.textRenderer), settings -> settings.alignHorizontallyCenter().setBottomPadding(28)); if (!this.isConfirming) { - ButtonListWidget buttonListWidget = headerFooterWidget.addToContents(new ButtonListWidget(this.client, this.width, this.height, this)); + ButtonListWidget buttonListWidget = headerFooterWidget.addToContents(new ButtonListWidget(this.client, this.width, this)); createColourToggles(); buttonListWidget.addEntries(this.options.toArray(new Option[0])); diff --git a/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java b/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java index f87b2e9..20f057a 100644 --- a/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java +++ b/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java @@ -58,15 +58,15 @@ public Identifier getTexture(RainglowEntity entityType) { switch (entity) { case GLOW_SQUID -> { String textureName = RainglowEntity.GLOW_SQUID.getDefaultColour() == this ? "glow_squid" : this.getId(); - this.textures.put(entity, new Identifier("textures/entity/squid/" + textureName + ".png")); + this.textures.put(entity, Identifier.method_60656("textures/entity/squid/" + textureName + ".png")); } case ALLAY -> { String textureName = RainglowEntity.ALLAY.getDefaultColour() == this ? "allay" : this.getId(); - this.textures.put(entity, new Identifier("textures/entity/allay/" + textureName + ".png")); + this.textures.put(entity, Identifier.method_60656("textures/entity/allay/" + textureName + ".png")); } case SLIME -> { String textureName = RainglowEntity.SLIME.getDefaultColour() == this ? "slime" : this.getId(); - this.textures.put(entity, new Identifier("textures/entity/slime/" + textureName + ".png")); + this.textures.put(entity, Identifier.method_60656("textures/entity/slime/" + textureName + ".png")); } } } diff --git a/src/main/java/io/ix0rai/rainglow/mixin/GlowSquidEntityMixin.java b/src/main/java/io/ix0rai/rainglow/mixin/GlowSquidEntityMixin.java index bf24d8e..fad2f04 100644 --- a/src/main/java/io/ix0rai/rainglow/mixin/GlowSquidEntityMixin.java +++ b/src/main/java/io/ix0rai/rainglow/mixin/GlowSquidEntityMixin.java @@ -34,13 +34,13 @@ protected void initDataTracker(Builder builder, CallbackInfo ci) { @Inject(method = "writeCustomDataToNbt", at = @At("TAIL")) public void writeCustomDataToNbt(NbtCompound nbt, CallbackInfo ci) { - RainglowColour colour = Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.getRandom()); + RainglowColour colour = Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.random); nbt.putString(Rainglow.CUSTOM_NBT_KEY, colour.getId()); } @Inject(method = "readCustomDataFromNbt", at = @At("TAIL")) public void readCustomDataFromNbt(NbtCompound nbt, CallbackInfo ci) { - this.setVariant(RainglowEntity.GLOW_SQUID.readNbt(this.getWorld(), nbt, this.getRandom())); + this.setVariant(RainglowEntity.GLOW_SQUID.readNbt(this.getWorld(), nbt, this.random)); } /** @@ -49,7 +49,7 @@ public void readCustomDataFromNbt(NbtCompound nbt, CallbackInfo ci) { */ @Inject(method = "tickMovement", at = @At(value = "INVOKE", target = "Lnet/minecraft/world/World;addParticle(Lnet/minecraft/particle/ParticleEffect;DDDDDD)V"), cancellable = true) public void tickMovement(CallbackInfo ci) { - RainglowColour colour = Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.getRandom()); + RainglowColour colour = Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.random); if (colour != RainglowColour.BLUE) { // we add 100 to g to let the mixin know that we want to override the method @@ -60,7 +60,7 @@ public void tickMovement(CallbackInfo ci) { @Override public RainglowColour getVariant() { - return Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.getRandom()); + return Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.random); } @Override @@ -85,7 +85,7 @@ protected SquidEntityMixin(EntityType entityType, private int spawnParticles(ServerWorld instance, ParticleEffect particle, double x, double y, double z, int count, double deltaX, double deltaY, double deltaZ, double speed) { if (((Object) this) instanceof GlowSquidEntity) { // send in custom colour data - RainglowColour colour = Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.getRandom()); + RainglowColour colour = Rainglow.getColour(this.getWorld(), RainglowEntity.GLOW_SQUID, this.getDataTracker(), this.random); int index = colour.ordinal(); // round x to 1 decimal place and append index data to the next two return ((ServerWorld) this.getWorld()).spawnParticles(particle, (Math.round(x * 10)) / 10D + index / 1000D, y + 0.5, z, 0, deltaX, deltaY, deltaZ, speed); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index e183bb0..580f8fd 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -40,7 +40,7 @@ "fabricloader": ">=0.14.19", "fabric-resource-loader-v0": "*", "fabric-networking-api-v1": "*", - "minecraft": ">=1.20.6" + "minecraft": ">=1.21-" }, "suggests": { From a0926587aa457a5aa8ad92f76b0652fe556e3c5c Mon Sep 17 00:00:00 2001 From: orifu Date: Sun, 2 Jun 2024 16:28:35 +0100 Subject: [PATCH 2/6] fix rai's weird config screen thing --- .../rainglow/config/CustomModeScreen.java | 40 ++++++++++++------- .../rainglow/config/RainglowConfigScreen.java | 6 ++- .../config/ScreenWithUnsavedWarning.java | 2 +- 3 files changed, 31 insertions(+), 17 deletions(-) diff --git a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java index 0f4d6bf..6a692fa 100644 --- a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java +++ b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java @@ -28,21 +28,24 @@ public class CustomModeScreen extends GameOptionsScreen implements ScreenWithUns public CustomModeScreen(Screen parent) { super(parent, MinecraftClient.getInstance().options, TITLE); - this.saveButton = ButtonWidget.builder(Rainglow.translatableText("config.save"), button -> { - boolean hasColourSelected = false; - for (DeferredSaveOption option : this.options) { - if (option.deferredValue) { - hasColourSelected = true; - break; + + this.saveButton = ButtonWidget.builder( + Rainglow.translatableText("config.save"), + button -> { + boolean hasColourSelected = false; + for (DeferredSaveOption option : this.options) { + if (option.deferredValue) { + hasColourSelected = true; + break; + } + } + + if (!hasColourSelected) { + sendNoColoursToast(); + } else { + this.save(); } - } - - if (!hasColourSelected) { - sendNoColoursToast(); - } else { - this.save(); - } - }).build(); + }).build(); this.saveButton.active = false; } @@ -76,7 +79,7 @@ private void save() { } @Override - public void method_60325() { + public void init() { HeaderFooterLayoutWidget headerFooterWidget = new HeaderFooterLayoutWidget(this, 61, 33); headerFooterWidget.addToHeader(new TextWidget(TITLE, this.textRenderer), settings -> settings.alignHorizontallyCenter().setBottomPadding(28)); @@ -96,6 +99,13 @@ public void method_60325() { headerFooterWidget.arrangeElements(); } + @Override + protected void method_60325() {} + + protected void repositionElements() { + this.clearAndInit(); + } + private static void sendNoColoursToast() { Toast toast = new SystemToast(SystemToast.Id.PACK_LOAD_FAILURE, Rainglow.translatableText("config.no_custom_colours"), Rainglow.translatableText("config.no_custom_colours_description")); MinecraftClient.getInstance().getToastManager().add(toast); diff --git a/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java b/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java index 1b5c1c3..819f40d 100644 --- a/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java +++ b/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java @@ -100,7 +100,11 @@ public void init() { } contentLayout.add(gridWidget); - contentLayout.add(ButtonWidget.builder(Rainglow.translatableText("config.custom"), button -> MinecraftClient.getInstance().setScreen(new CustomModeScreen(this))).width(308).position(4, 0).build(), LayoutSettings.create().setPadding(4, 0)); + contentLayout.add(ButtonWidget.builder( + Rainglow.translatableText("config.custom"), + button -> MinecraftClient.getInstance().setScreen(new CustomModeScreen(this)) + ).width(308).position(4, 0).build(), + LayoutSettings.create().setPadding(4, 0)); headerFooterWidget.addToContents(contentLayout); diff --git a/src/main/java/io/ix0rai/rainglow/config/ScreenWithUnsavedWarning.java b/src/main/java/io/ix0rai/rainglow/config/ScreenWithUnsavedWarning.java index 389d003..6ac0f8a 100644 --- a/src/main/java/io/ix0rai/rainglow/config/ScreenWithUnsavedWarning.java +++ b/src/main/java/io/ix0rai/rainglow/config/ScreenWithUnsavedWarning.java @@ -16,7 +16,7 @@ public interface ScreenWithUnsavedWarning { void clearAndInit(); - default void setUpUnsavedWarning(HeaderFooterLayoutWidget headerFooterWidget, TextRenderer renderer, Screen parent) { + default void setUpUnsavedWarning(HeaderFooterLayoutWidget headerFooterWidget, TextRenderer renderer, Screen parent) { LinearLayoutWidget contentWidget = headerFooterWidget.addToContents(new LinearLayoutWidget(250, 100, LinearLayoutWidget.Orientation.VERTICAL).setSpacing(8)); contentWidget.add(new TextWidget(Rainglow.translatableText("config.unsaved_warning"), renderer), LayoutSettings::alignHorizontallyCenter); From 021e03f02c786c13b3ba45c61eaf6efaac56f8cf Mon Sep 17 00:00:00 2001 From: orifu Date: Sun, 2 Jun 2024 16:30:51 +0100 Subject: [PATCH 3/6] [no ci] ok --- src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java index 6a692fa..0493e58 100644 --- a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java +++ b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java @@ -102,6 +102,7 @@ public void init() { @Override protected void method_60325() {} + @Override protected void repositionElements() { this.clearAndInit(); } From 85d9adc34e554be35fc9df2b1e4868ae5c756e27 Mon Sep 17 00:00:00 2001 From: orifu Date: Wed, 5 Jun 2024 01:29:27 +0100 Subject: [PATCH 4/6] port to 1.21 pre 2 --- build.gradle | 2 -- gradle.properties | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 17c2b86..6a48f21 100644 --- a/build.gradle +++ b/build.gradle @@ -13,8 +13,6 @@ repositories { maven { url = "https://maven.terraformersmc.com/releases/" } maven { url = "https://maven.quiltmc.org/repository/release/" } maven { url = "https://repo.sleeping.town/" } - - flatDir { dirs 'lib' } } configurations { diff --git a/gradle.properties b/gradle.properties index a485d18..e02c57e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G # minecraft, mappings and loader dependencies # check these on https://modmuss50.me/fabric.html -minecraft_version=1.21-pre1 -quilt_mappings=1 +minecraft_version=1.21-pre2 +quilt_mappings=3 loader_version=0.15.11 # mod properties @@ -14,5 +14,5 @@ archives_base_name=rainglow # other dependencies java_version=21 -mod_menu_version=unknown +mod_menu_version=11.0.0-beta.1 fabric_api_version=0.99.4+1.21 From ab02615445fcae133740699470eb9c077bb9807e Mon Sep 17 00:00:00 2001 From: orifu Date: Sun, 9 Jun 2024 12:49:18 +0100 Subject: [PATCH 5/6] 1.21-pre4 --- gradle.properties | 6 +-- .../java/io/ix0rai/rainglow/Rainglow.java | 2 +- .../rainglow/config/CustomModeScreen.java | 48 +++++++++---------- .../rainglow/config/RainglowConfigScreen.java | 22 ++++----- .../ix0rai/rainglow/data/RainglowColour.java | 6 +-- 5 files changed, 42 insertions(+), 42 deletions(-) diff --git a/gradle.properties b/gradle.properties index e02c57e..ecf46d7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G # minecraft, mappings and loader dependencies # check these on https://modmuss50.me/fabric.html -minecraft_version=1.21-pre2 -quilt_mappings=3 +minecraft_version=1.21-pre4 +quilt_mappings=1 loader_version=0.15.11 # mod properties @@ -15,4 +15,4 @@ archives_base_name=rainglow # other dependencies java_version=21 mod_menu_version=11.0.0-beta.1 -fabric_api_version=0.99.4+1.21 +fabric_api_version=0.100.0+1.21 diff --git a/src/main/java/io/ix0rai/rainglow/Rainglow.java b/src/main/java/io/ix0rai/rainglow/Rainglow.java index ea0985c..d8474fa 100644 --- a/src/main/java/io/ix0rai/rainglow/Rainglow.java +++ b/src/main/java/io/ix0rai/rainglow/Rainglow.java @@ -54,7 +54,7 @@ public void onInitialize() { } public static Identifier id(String id) { - return Identifier.method_60655(MOD_ID, id); + return Identifier.of(MOD_ID, id); } public static String generateRandomColourId(World world, RandomGenerator random) { diff --git a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java index 0493e58..1e56d4a 100644 --- a/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java +++ b/src/main/java/io/ix0rai/rainglow/config/CustomModeScreen.java @@ -30,22 +30,22 @@ public CustomModeScreen(Screen parent) { super(parent, MinecraftClient.getInstance().options, TITLE); this.saveButton = ButtonWidget.builder( - Rainglow.translatableText("config.save"), - button -> { - boolean hasColourSelected = false; - for (DeferredSaveOption option : this.options) { - if (option.deferredValue) { - hasColourSelected = true; - break; + Rainglow.translatableText("config.save"), + button -> { + boolean hasColourSelected = false; + for (DeferredSaveOption option : this.options) { + if (option.deferredValue) { + hasColourSelected = true; + break; + } } - } - - if (!hasColourSelected) { - sendNoColoursToast(); - } else { - this.save(); - } - }).build(); + + if (!hasColourSelected) { + sendNoColoursToast(); + } else { + this.save(); + } + }).build(); this.saveButton.active = false; } @@ -54,15 +54,15 @@ private void createColourToggles() { for (RainglowColour colour : RainglowColour.values()) { this.options.add(DeferredSaveOption.createDeferredBoolean( - "colour." + colour.getId(), - null, - Rainglow.CONFIG.customColours.getRealValue().contains(colour.getId()), - enabled -> { - if (enabled) { - Rainglow.CONFIG.customColours.getRealValue().add(colour.getId()); - } - }, - enabled -> this.saveButton.active = true + "colour." + colour.getId(), + null, + Rainglow.CONFIG.customColours.getRealValue().contains(colour.getId()), + enabled -> { + if (enabled) { + Rainglow.CONFIG.customColours.getRealValue().add(colour.getId()); + } + }, + enabled -> this.saveButton.active = true )); } } diff --git a/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java b/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java index 819f40d..ca600bf 100644 --- a/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java +++ b/src/main/java/io/ix0rai/rainglow/config/RainglowConfigScreen.java @@ -101,10 +101,10 @@ public void init() { contentLayout.add(gridWidget); contentLayout.add(ButtonWidget.builder( - Rainglow.translatableText("config.custom"), - button -> MinecraftClient.getInstance().setScreen(new CustomModeScreen(this)) - ).width(308).position(4, 0).build(), - LayoutSettings.create().setPadding(4, 0)); + Rainglow.translatableText("config.custom"), + button -> MinecraftClient.getInstance().setScreen(new CustomModeScreen(this)) + ).width(308).position(4, 0).build(), + LayoutSettings.create().setPadding(4, 0)); headerFooterWidget.addToContents(contentLayout); @@ -132,14 +132,14 @@ private DeferredSaveOption createEntityToggle(RainglowEntity entity) { private DeferredSaveOption createColourRaritySlider(RainglowEntity entity) { return sliders.computeIfAbsent(entity, e -> DeferredSaveOption.createDeferredRangedInt( - "config." + e.getId() + "_rarity", - "tooltip.rarity", - Rainglow.CONFIG.rarities.getRealValue().get(e.getId()), - 0, - 100, - rarity -> Rainglow.CONFIG.rarities.getRealValue().put(e.getId(), rarity), + "config." + e.getId() + "_rarity", + "tooltip.rarity", + Rainglow.CONFIG.rarities.getRealValue().get(e.getId()), + 0, + 100, + rarity -> Rainglow.CONFIG.rarities.getRealValue().put(e.getId(), rarity), rarity -> this.saveButton.active = true - )); + )); } public CyclingButtonWidget createModeButton() { diff --git a/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java b/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java index 20f057a..0b29c6b 100644 --- a/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java +++ b/src/main/java/io/ix0rai/rainglow/data/RainglowColour.java @@ -58,15 +58,15 @@ public Identifier getTexture(RainglowEntity entityType) { switch (entity) { case GLOW_SQUID -> { String textureName = RainglowEntity.GLOW_SQUID.getDefaultColour() == this ? "glow_squid" : this.getId(); - this.textures.put(entity, Identifier.method_60656("textures/entity/squid/" + textureName + ".png")); + this.textures.put(entity, Identifier.ofDefault("textures/entity/squid/" + textureName + ".png")); } case ALLAY -> { String textureName = RainglowEntity.ALLAY.getDefaultColour() == this ? "allay" : this.getId(); - this.textures.put(entity, Identifier.method_60656("textures/entity/allay/" + textureName + ".png")); + this.textures.put(entity, Identifier.ofDefault("textures/entity/allay/" + textureName + ".png")); } case SLIME -> { String textureName = RainglowEntity.SLIME.getDefaultColour() == this ? "slime" : this.getId(); - this.textures.put(entity, Identifier.method_60656("textures/entity/slime/" + textureName + ".png")); + this.textures.put(entity, Identifier.ofDefault("textures/entity/slime/" + textureName + ".png")); } } } From ee98f7d5fcb16eb18a4c78b09ecaaea0a5c0fcc6 Mon Sep 17 00:00:00 2001 From: orifu Date: Wed, 12 Jun 2024 22:19:07 +0100 Subject: [PATCH 6/6] nearly there --- gradle.properties | 6 +++--- src/main/resources/fabric.mod.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gradle.properties b/gradle.properties index ecf46d7..2b54143 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,8 +3,8 @@ org.gradle.jvmargs=-Xmx1G # minecraft, mappings and loader dependencies # check these on https://modmuss50.me/fabric.html -minecraft_version=1.21-pre4 -quilt_mappings=1 +minecraft_version=1.21-rc1 +quilt_mappings=2 loader_version=0.15.11 # mod properties @@ -15,4 +15,4 @@ archives_base_name=rainglow # other dependencies java_version=21 mod_menu_version=11.0.0-beta.1 -fabric_api_version=0.100.0+1.21 +fabric_api_version=0.100.1+1.21 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 580f8fd..78929db 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -37,14 +37,14 @@ }, "depends": { - "fabricloader": ">=0.14.19", + "fabricloader": ">=0.15.11", "fabric-resource-loader-v0": "*", "fabric-networking-api-v1": "*", "minecraft": ">=1.21-" }, "suggests": { - "modmenu": ">=7.0.0" + "modmenu": ">=11.0.0-" }, "custom": {