Skip to content

Commit e3c7357

Browse files
authored
Fix RenderTypeRegistry.register parameters (#636)
1 parent ae8d772 commit e3c7357

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

common/src/main/java/dev/architectury/registry/client/rendering/RenderTypeRegistry.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import dev.architectury.injectables.annotations.ExpectPlatform;
2323
import net.fabricmc.api.EnvType;
2424
import net.fabricmc.api.Environment;
25-
import net.minecraft.client.renderer.RenderType;
25+
import net.minecraft.client.renderer.chunk.ChunkSectionLayer;
2626
import net.minecraft.world.level.block.Block;
2727
import net.minecraft.world.level.material.Fluid;
2828

@@ -32,12 +32,12 @@ private RenderTypeRegistry() {
3232
}
3333

3434
@ExpectPlatform
35-
public static void register(RenderType type, Block... blocks) {
35+
public static void register(ChunkSectionLayer type, Block... blocks) {
3636
throw new AssertionError();
3737
}
3838

3939
@ExpectPlatform
40-
public static void register(RenderType type, Fluid... fluids) {
40+
public static void register(ChunkSectionLayer type, Fluid... fluids) {
4141
throw new AssertionError();
4242
}
4343
}

0 commit comments

Comments
 (0)