Fix RenderTypeRegistry.register parameters (#636)

This commit is contained in:
ENC_Euphony
2025-06-18 17:09:09 +08:00
committed by GitHub
parent ae8d772d17
commit e3c7357d45

View File

@@ -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();
}
}