Documentation
IeSorterScreen
分拣器:6 面 × 9 幽灵过滤槽 + 每面 3 个耐久/组件/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 type { IeSorterSideMask } from "./index";
import { IeSorterScreen } from "./index";
/**
* IeSorterScreen 预览用例:6 面过滤位掩码与若干过滤物品。
*/
const MASKS: Array<IeSorterSideMask> = [
{ components: true, damage: false, tags: false },
{ components: false, damage: true, tags: false },
{ components: true, damage: true, tags: false },
{ components: false, damage: false, tags: true },
{ components: true, damage: false, tags: true },
{ components: false, damage: true, tags: true },
];
export function IeSorterScreenDemo() {
return (
<IeSorterScreen
filters={Array.from({ length: 54 }, (_, i) => i % 3 === 0 ? { count: 1, icon: "iron-ingot", tooltip: "过滤物品" } : null)}
masks={MASKS}
onMaskClick={() => {}}
onSlotClick={() => {}}
/>
);
}