diff --git a/README.md b/README.md index 96243cc..3d30ed8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Toto's Carpet Tweaks ![GitHub](https://img.shields.io/github/license/totorewa/totos-carpet-tweaks?style=flat-square) -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/totorewa/totos-carpet-tweaks/build?style=flat-square) +![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/totorewa/totos-carpet-tweaks/build.yml?style=flat-square) ![GitHub issues](https://img.shields.io/github/issues/totorewa/totos-carpet-tweaks?style=flat-square) ![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/totorewa/totos-carpet-tweaks?display_name=tag&include_prereleases&style=flat-square) [![CurseForge versions](https://cf.way2muchnoise.eu/versions/633476.svg)](https://www.curseforge.com/minecraft/mc-mods/totos-carpet-tweaks) diff --git a/gradle.properties b/gradle.properties index ef1b9d8..c9d5c1c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use - minecraft_version=1.19.3 - yarn_mappings=1.19.3+build.2 - loader_version=0.12.8 + minecraft_version=1.20.1 + yarn_mappings=1.20.1+build.8 + loader_version=0.14.21 # Mod Properties - mod_version = 0.3.1 + mod_version = 0.3.2 maven_group = totos-carpet-tweaks archives_base_name = totos-carpet-tweaks # Dependencies # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api # fabric_version=0.25.1+build.416-1.16 - carpet_core_version=1.4.91+v221207 - carpet_minecraft_version=1.19.3 + carpet_core_version=1.4.112+v230608 + carpet_minecraft_version=1.20 diff --git a/src/main/java/totoscarpettweaks/mixins/timeofday/ServerWorldMixin.java b/src/main/java/totoscarpettweaks/mixins/timeofday/ServerWorldMixin.java index 8209449..90b992f 100644 --- a/src/main/java/totoscarpettweaks/mixins/timeofday/ServerWorldMixin.java +++ b/src/main/java/totoscarpettweaks/mixins/timeofday/ServerWorldMixin.java @@ -1,5 +1,6 @@ package totoscarpettweaks.mixins.timeofday; +import net.minecraft.registry.DynamicRegistryManager; import net.minecraft.registry.RegistryKey; import net.minecraft.registry.entry.RegistryEntry; import net.minecraft.server.world.ServerWorld; @@ -19,9 +20,10 @@ public abstract class ServerWorldMixin extends World { protected ServerWorldMixin( MutableWorldProperties properties, RegistryKey registryRef, + DynamicRegistryManager drm, RegistryEntry dimension, Supplier profiler, boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates) { - super(properties, registryRef, dimension, profiler, isClient, debugWorld, seed, maxChainedNeighborUpdates); + super(properties, registryRef, drm, dimension, profiler, isClient, debugWorld, seed, maxChainedNeighborUpdates); } @Inject(method = "tickTime", at = @At( diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 7f33838..57bc473 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -27,10 +27,10 @@ ], "depends": { - "fabricloader": ">=0.11.3", - "minecraft": "1.19.*", + "fabricloader": ">=0.14.18", + "minecraft": "1.20.*", "java": ">=17", - "carpet": ">=1.4.80" + "carpet": ">=1.4.112" }, "suggests": { },