mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-28 03:56:59 -05:00
Fix RenderTypeRegistry.register parameters (#636)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user