@jsprismarine/prismarine
Version:
Dedicated Minecraft Bedrock Edition server written in TypeScript
26 lines • 612 B
TypeScript
import { Item } from '../item/';
import { Block } from '../block/';
export default class ContainerEntry {
private item;
private count;
constructor({ item, count }: {
item: Item | Block;
count?: number;
});
/**
* Get the item.
* @returns {Item} the item.
*/
getItem(): Item;
/**
* Get the amount of items.
* @returns {number} the count.
*/
getCount(): number;
/**
* Set the amount of items.
* @param {number} count - set the count.
*/
setCount(count: number): void;
}
//# sourceMappingURL=ContainerEntry.d.ts.map