Documentation
Ae2ChestScreen
176×168 ME chest: single storage cell slot, priority tab and player inventory.
Full-screen previewPreview pages are excluded from search indexes
ME 箱子物品栏
Composition
These are the composable components; the Block only places them at vanilla coordinates.
Code
import { Ae2ChestScreen } from "./index";
/**
* Ae2ChestScreen 预览用例:单个存储元件槽。
*/
export function Ae2ChestScreenDemo() {
return (
<Ae2ChestScreen
mainItems={[
{ count: 64, icon: "stone-block", tooltip: "石头" },
{ count: 32, icon: "iron-ingot", tooltip: "铁锭" },
]}
storage={{ icon: "diamond", tooltip: "存储元件" }}
/>
);
}