diff --git a/common/src/main/java/dev/architectury/registry/client/rendering/RenderTypeRegistry.java b/common/src/main/java/dev/architectury/registry/client/rendering/RenderTypeRegistry.java index af279c04..dbec5921 100644 --- a/common/src/main/java/dev/architectury/registry/client/rendering/RenderTypeRegistry.java +++ b/common/src/main/java/dev/architectury/registry/client/rendering/RenderTypeRegistry.java @@ -22,7 +22,7 @@ package dev.architectury.registry.client.rendering; import dev.architectury.injectables.annotations.ExpectPlatform; import net.fabricmc.api.EnvType; import net.fabricmc.api.Environment; -import net.minecraft.client.renderer.RenderType; +import net.minecraft.client.renderer.chunk.ChunkSectionLayer; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.material.Fluid; @@ -32,12 +32,12 @@ public final class RenderTypeRegistry { } @ExpectPlatform - public static void register(RenderType type, Block... blocks) { + public static void register(ChunkSectionLayer type, Block... blocks) { throw new AssertionError(); } @ExpectPlatform - public static void register(RenderType type, Fluid... fluids) { + public static void register(ChunkSectionLayer type, Fluid... fluids) { throw new AssertionError(); } }