Documentation
BrewingStandScreen
Fuel / ingredient / three bottle slots with bubble and arrow clipping progress.
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 { BrewingStandScreen } from "./index";
interface BrewingStandScreenDemoProps {
brewProgress?: number;
fuelProgress?: number;
}
/**
* BrewingStandScreen 预览用例(规格 §6.2)
*/
export function BrewingStandScreenDemo({ brewProgress = 0.6, fuelProgress = 0 }: BrewingStandScreenDemoProps = {}) {
return (
<BrewingStandScreen
blazeFuel={{ count: 20, icon: "blaze-powder", tooltip: "烈焰粉" }}
bottles={[{ icon: "potion", tooltip: "水瓶" }, null, { icon: "potion", tooltip: "水瓶" }]}
brewProgress={brewProgress}
fuelProgress={fuelProgress}
ingredient={{ icon: "nether-wart", tooltip: "地狱疣" }}
title="酿造台"
/>
);
}