@jsprismarine/prismarine
Version:
Dedicated Minecraft Bedrock Edition server written in TypeScript
20 lines • 568 B
TypeScript
import { default as ContainerEntry } from './ContainerEntry';
import { default as Inventory } from './Inventory';
import { Item } from '../item/Item';
export default class HumanInventory extends Inventory {
private get handSlot();
constructor();
/**
* Sets an item into the hand slot.
*/
setItemInHand(item: ContainerEntry): void;
/**
* Returns the item in the player hand.
*/
getItemInHand(): Item;
/**
* Returns the hand slot.
*/
getHandSlotIndex(): number;
}
//# sourceMappingURL=HumanInventory.d.ts.map