Interface ItemParams

Object used in Item.createItem and Item.createThrowableItem methods to specify general item parameters.

interface ItemParams {
    category?: number;
    isTech?: boolean;
    stack?: number;
}

Hierarchy (view full)

Properties

category?: number

2.2.0b76

isTech?: boolean

If true, the item will not be added to creative.

false
stack?: number

Maximum item in stack size.

64

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.