mc-beta-server/server/containers/Container.ts

12 lines
No EOL
313 B
TypeScript

import { ItemStack } from "./ItemStack";
import { ContainerSlot } from "./Slot";
export abstract class Container {
public itemSlots:Array<ContainerSlot>;
public itemStacks:Array<ItemStack>;
public constructor() {
this.itemSlots = new Array<ContainerSlot>();
this.itemStacks = new Array<ItemStack>();
}
}