Documentation
CreateSchematicTableScreen
Create schematic table screen (1.21.1 original atlas): input slot, blueprint preview area, output slot and confirm button.
蓝图桌
import { CREATE_DEMO_PLAYER } from "../create-demo-data";
import { CreateSchematicTableScreen } from "./index";
/**
* CreateSchematicTableScreen 预览用例:空蓝图 + 进度 0.25。
*/
export function CreateSchematicTableScreenDemo() {
return (
<CreateSchematicTableScreen
input={{ count: 1, icon: "wheat", tooltip: "空蓝图" }}
player={CREATE_DEMO_PLAYER}
progress={0.25}
/>
);
}
Install
$pnpm add @tennantite/createnpm installs the compiled package; use the CLI copy above to adapt the source.
Source
packages/create/src/create-schematic-table-screen/index.tsxThe npm package keeps the source tree, so you can copy and adapt it directly.