diff --git a/build.gradle b/build.gradle index 4d31e73..e868f52 100644 --- a/build.gradle +++ b/build.gradle @@ -91,7 +91,7 @@ dependencies { exclude(group: "net.fabricmc.fabric-api") } - modImplementation "maven.modrinth:sodium:mc${project.minecraft_version}-${project.sodium_version}" + modCompileOnly "maven.modrinth:sodium:mc${project.minecraft_version}-${project.sodium_version}" } configurations.include.transitive = true diff --git a/gradle.properties b/gradle.properties index 11d1d56..30f99a3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,8 +4,8 @@ org.gradle.parallel=true # Fabric Properties # check these on https://fabricmc.net/develop -minecraft_version=1.20 -yarn_mappings=1.20+build.1 +minecraft_version=1.20.1 +yarn_mappings=1.20.1+build.8 loader_version=0.14.21 minecraft_version_major=1.20 @@ -15,10 +15,10 @@ maven_group=quimufu.colourful-portals archives_base_name=colourful-portals # Dependencies -fabric_version=0.83.0+1.20 +fabric_version=0.84.0+1.20.1 cardinal_components_version=5.2.1 -immersive_portals_version_short=3.0.1 -immersive_portals_version=v3.0.1-mc1.20 +immersive_portals_version_short=3.1.0 +immersive_portals_version=v3.1.0-mc1.20.1 tweed_version=1.3.0+mc1.20-pre1 sodium_version=0.4.10 cloth_config_version=11.0.99 \ No newline at end of file diff --git a/src/main/java/quimufu/colourful_portals/client/SodiumPortalFluidRenderHandler.java b/src/main/java/quimufu/colourful_portals/client/SodiumPortalFluidRenderHandler.java index 99c0fba..b88ba96 100644 --- a/src/main/java/quimufu/colourful_portals/client/SodiumPortalFluidRenderHandler.java +++ b/src/main/java/quimufu/colourful_portals/client/SodiumPortalFluidRenderHandler.java @@ -9,16 +9,11 @@ import me.jellysquid.mods.sodium.client.render.chunk.compile.buffers.ChunkModelB import me.jellysquid.mods.sodium.client.render.vertex.type.ChunkVertexEncoder; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; -import net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandler; -import net.fabricmc.fabric.api.client.render.fluid.v1.FluidRenderHandlerRegistry; -import net.minecraft.block.BlockState; import net.minecraft.client.texture.Sprite; import net.minecraft.fluid.FluidState; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Direction; import net.minecraft.world.BlockRenderView; -import quimufu.colourful_portals.ColourfulPortalsMod; -import quimufu.colourful_portals.portal_fluid.PortalFluid; @Environment(value = EnvType.CLIENT) public class SodiumPortalFluidRenderHandler implements CommonPortalFluidRenderer.VertexEater {