mc-beta-server/server/inventories/IInventory.ts
2023-10-29 05:08:26 +00:00

8 lines
No EOL
275 B
TypeScript

import { ItemStack } from "./ItemStack";
export default interface IInventory {
getInventoryName:() => string,
getInventorySize:() => number,
getSlotItemStack:(slotId:number) => ItemStack | null
setSlotItemStack:(slotId:number, itemStack:ItemStack | null) => IInventory
}