update minecraft and dependency versions

This commit is contained in:
QuImUfu 2023-06-27 22:09:07 +02:00
parent bd537bbe25
commit 6a02d60f6a
3 changed files with 6 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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 {