Skip to content
Tennantite
中文
Documentation

IeFluidSorterScreen

流体分拣器:6 面 × 8 流体过滤区(16×16 直接绘制区)+ 每面 NBT 开关,与分拣器同底图,176×244

Full-screen previewPreview pages are excluded from search indexes
流体分拣器物品栏

Composition

These are the composable components; the Block only places them at vanilla coordinates.

Code

import { IeFluidSorterScreen } from "./index";

/**
 * IeFluidSorterScreen 预览用例:若干流体过滤格与 NBT 开关。
 */
export function IeFluidSorterScreenDemo() {
  return (
    <IeFluidSorterScreen
      filters={Array.from({ length: 48 }, (_, i) => i % 4 === 0 ? { tint: "#3a5cc8" } : (i % 4 === 1 ? { tint: "#7a8f3a" } : null))}
      nbt={[true, false, true, false, true, false]}
      onCellClick={() => {}}
      onNbtClick={() => {}}
    />
  );
}