Documentation
IfMobCrusherScreen
IF mob crusher: 6×3 output, essence tank, produce / consume mode button and area / particle controls.
Full-screen previewPreview pages are excluded from search indexes
屠宰机
16
Composition
These are the composable components; the Block only places them at vanilla coordinates.
Code
import { IF_DEMO_ITEMS } from "../if-demo-data";
import { IfMobCrusherScreen } from "./index";
export function IfMobCrusherScreenDemo() {
return (
<IfMobCrusherScreen
area={{ particles: false, showArea: true }}
energy={{ max: 1000, value: 700 }}
essence={{ max: 1000, tint: "#41CD34", value: 320 }}
mode="produce"
outputs={[IF_DEMO_ITEMS.gunpowder, IF_DEMO_ITEMS.charcoal]}
progress={0.3}
/>
);
}