Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ItemContainerSlot

Hierarchy

  • ItemContainerSlot

Index

Properties

count

count: number

data

data: number

extra

id

id: number

Methods

clear

  • clear(): void

dropAt

  • dropAt(region: BlockSource, x: number, y: number, z: number): void

getContainer

getCount

  • getCount(): number

getData

  • getData(): number

getExtra

getId

  • getId(): number

getName

  • getName(): string

isEmpty

  • isEmpty(): boolean

markDirty

  • markDirty(): void

set

  • set(id: number, count: number, data: number, extra: ItemExtraData): boolean

setSlot

  • setSlot(id: number, count: number, data: number, extra?: ItemExtraData): boolean

validate

  • validate(): void

Generated using TypeDoc