Documentation
IfLaserBaseScreen
IF laser base: ore / fluid variants, lens and output areas, and a depth numeric input.
Full-screen previewPreview pages are excluded from search indexes
镭射钻基座深度:
3
16
Composition
These are the composable components; the Block only places them at vanilla coordinates.
Code
import { useState } from "react";
import { IF_DEMO_ITEMS } from "../if-demo-data";
import { IfLaserBaseScreen } from "./index";
export function IfLaserBaseScreenDemo() {
const [depth, setDepth] = useState("64");
return (
<IfLaserBaseScreen
depth={depth}
lenses={[IF_DEMO_ITEMS.diamond, IF_DEMO_ITEMS.emerald]}
onDepthChange={setDepth}
outputs={[IF_DEMO_ITEMS.gunpowder, IF_DEMO_ITEMS.charcoal]}
variant="ore"
work={0.35}
/>
);
}