mirror of
https://github.com/SikongJueluo/cc-utils.git
synced 2025-11-05 03:37:50 +08:00
finish basic autocraft for create store
This commit is contained in:
14
types/advanced-peripherals/index.d.ts
vendored
Normal file
14
types/advanced-peripherals/index.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
declare interface BlockItemDetailData {
|
||||
id: string;
|
||||
tag: object;
|
||||
Count: number;
|
||||
Slot: number;
|
||||
}
|
||||
|
||||
declare interface BlockDetailData {
|
||||
Items: Record<number, BlockItemDetailData>;
|
||||
}
|
||||
|
||||
declare class BlockReaderPeripheral {
|
||||
getBlockData(): BlockDetailData;
|
||||
}
|
||||
11
types/advanced-peripherals/package.json
Normal file
11
types/advanced-peripherals/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "@sikongjueluo/advanced-peripherals-types",
|
||||
"version": "1.0.0",
|
||||
"description": "TypeScript type definitions for base Advanced Peripherals APIs.",
|
||||
"types": "./index.d.ts",
|
||||
"files": [
|
||||
"./index.d.ts"
|
||||
],
|
||||
"author": "SikongJueluo",
|
||||
"license": "MIT"
|
||||
}
|
||||
Reference in New Issue
Block a user