From fdfee378e4f44702f01d8c94f33821aff862bf45 Mon Sep 17 00:00:00 2001 From: spiralhalo Date: Thu, 11 Apr 2024 15:38:21 +0700 Subject: [PATCH] Deps update --- fabric/project.gradle | 6 +++--- .../java/io/vram/canvas/mixin/fabric/MixinInputRegion.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fabric/project.gradle b/fabric/project.gradle index f758a926f..c3f9dec98 100644 --- a/fabric/project.gradle +++ b/fabric/project.gradle @@ -13,7 +13,7 @@ dependencies { modIncludeImplementation(fabricApi.module("fabric-resource-loader-v0", project.fabric_version)) modIncludeImplementation(fabricApi.module("fabric-key-binding-api-v1", project.fabric_version)) - modCompileOnly(fabricApi.module("fabric-rendering-data-attachment-v1", project.fabric_version)) + modCompileOnly(fabricApi.module("fabric-block-view-api-v2", project.fabric_version)) modCompileOnly(fabricApi.module("fabric-rendering-v1", project.fabric_version)) modIncludeImplementation "org.anarres:jcpp:1.4.14" @@ -27,8 +27,8 @@ dependencies { modIncludeImplementation("io.vram:frex-fabric:20.1.347") modIncludeImplementation("io.vram:jmx-fabric:20.1.284") - modCompileOnly "com.terraformersmc:modmenu:7.2.2-beta.2" - modRuntimeOnly "com.terraformersmc:modmenu:7.2.2-beta.2" + modCompileOnly "com.terraformersmc:modmenu:7.2.2" + modRuntimeOnly "com.terraformersmc:modmenu:7.2.2" } sourceSets { diff --git a/fabric/src/main/java/io/vram/canvas/mixin/fabric/MixinInputRegion.java b/fabric/src/main/java/io/vram/canvas/mixin/fabric/MixinInputRegion.java index 67f0827e8..dc30c75d8 100644 --- a/fabric/src/main/java/io/vram/canvas/mixin/fabric/MixinInputRegion.java +++ b/fabric/src/main/java/io/vram/canvas/mixin/fabric/MixinInputRegion.java @@ -22,10 +22,10 @@ import org.spongepowered.asm.mixin.Mixin; -import net.fabricmc.fabric.api.rendering.data.v1.RenderAttachedBlockView; +import net.fabricmc.fabric.api.blockview.v2.FabricBlockView; import grondag.canvas.terrain.region.input.InputRegion; /** Attached Fabric API interface to our render regions when needed for compat. */ @Mixin(InputRegion.class) -public abstract class MixinInputRegion implements RenderAttachedBlockView { } +public class MixinInputRegion implements FabricBlockView { }