From 3e8cb803366aad216508f7833c734443352c37a0 Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Tue, 22 Oct 2024 10:16:03 -0700 Subject: [PATCH] Update to 1.21.2 --- build.gradle | 4 ++-- .../java/ca/spottedleaf/moonrise/fabric/FabricHooks.java | 4 ++-- gradle.properties | 8 ++++---- .../moonrise/mixin/chunk_system/ChunkMapMixin.java | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 3280144a..5561a5d8 100644 --- a/build.gradle +++ b/build.gradle @@ -48,7 +48,6 @@ allprojects { mavenLocal { mavenContent { includeModule("ca.spottedleaf", "concurrentutil") - includeModule("net.neoforged", "neoforge") } } maven { @@ -99,7 +98,8 @@ subprojects { } loom.runs.all { ideConfigGenerated true - // property "mixin.debug", "true" + property "mixin.debug", "true" + property "Moonrise.MaxViewDistance", "128" } plugins.apply("me.modmuss50.mod-publish-plugin") diff --git a/fabric/src/main/java/ca/spottedleaf/moonrise/fabric/FabricHooks.java b/fabric/src/main/java/ca/spottedleaf/moonrise/fabric/FabricHooks.java index 39245640..0e8b0702 100644 --- a/fabric/src/main/java/ca/spottedleaf/moonrise/fabric/FabricHooks.java +++ b/fabric/src/main/java/ca/spottedleaf/moonrise/fabric/FabricHooks.java @@ -62,7 +62,7 @@ public void setCurrentlyLoading(final GenerationChunkHolder holder, final LevelC @Override public void chunkFullStatusComplete(final LevelChunk newChunk, final ProtoChunk original) { - ServerChunkEvents.CHUNK_LOAD.invoker().onChunkLoad((ServerLevel) newChunk.getLevel(), newChunk); + ServerChunkEvents.CHUNK_LOAD.invoker().onChunkLoad((ServerLevel)newChunk.getLevel(), newChunk); } @Override @@ -77,7 +77,7 @@ public void onChunkHolderTicketChange(final ServerLevel world, final NewChunkHol @Override public void chunkUnloadFromWorld(final LevelChunk chunk) { - ServerChunkEvents.CHUNK_UNLOAD.invoker().onChunkUnload((ServerLevel) chunk.getLevel(), chunk); + ServerChunkEvents.CHUNK_UNLOAD.invoker().onChunkUnload((ServerLevel)chunk.getLevel(), chunk); } @Override diff --git a/gradle.properties b/gradle.properties index 5aab49dd..d48f674d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,10 +3,10 @@ org.gradle.jvmargs=-Xmx2G org.gradle.daemon=false # Fabric Properties # check these on https://modmuss50.me/fabric.html -minecraft_version=1.21.2-rc1 +minecraft_version=1.21.2 loader_version=0.16.7 -supported_minecraft_versions=1.21.2-rc1 -neoforge_version=21.2.0-alpha.1.21.2-rc1.20241021.144525 +supported_minecraft_versions=1.21.2 +neoforge_version=21.2.0-beta fabric_api_version=0.106.1+1.21.2 snakeyaml_version=2.2 concurrentutil_version=0.0.2-SNAPSHOT @@ -16,6 +16,6 @@ modmenu_version=12.0.0-beta.1 fabric_lithium_version=mc1.21.1-0.14.0-beta.1 neo_lithium_version=BrMIoIMv # Mod Properties -mod_version=0.1.0-SNAPSHOT +mod_version=0.2.0-SNAPSHOT maven_group=ca.spottedleaf.moonrise archives_base_name=moonrise diff --git a/src/main/java/ca/spottedleaf/moonrise/mixin/chunk_system/ChunkMapMixin.java b/src/main/java/ca/spottedleaf/moonrise/mixin/chunk_system/ChunkMapMixin.java index 3537658c..5aa4f05c 100644 --- a/src/main/java/ca/spottedleaf/moonrise/mixin/chunk_system/ChunkMapMixin.java +++ b/src/main/java/ca/spottedleaf/moonrise/mixin/chunk_system/ChunkMapMixin.java @@ -436,7 +436,7 @@ public CompletableFuture> prepareTickingChunk(final Chun * @author Spottedleaf */ @Overwrite - public void onChunkReadyToSend(final LevelChunk chunk) { + public void onChunkReadyToSend(final ChunkHolder holder, final LevelChunk chunk) { throw new UnsupportedOperationException(); }