Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Item

Velt's Custom Items Utility

Hierarchy

  • Item

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Item(opts: {}): Item
  • new Item(material: string, opts: {}): Item
  • Parameters

    • opts: {}

      The options for this custom item.

    Returns Item

  • Parameters

    • material: string
    • opts: {}

    Returns Item

Properties

itemstack

itemstack: any

The itemstack this custom item instance created.

Methods

give

  • give(...players: any[]): void
  • Give this custom item to the given players

    Parameters

    • Rest ...players: any[]

      The players to give the item to

    Returns void

Generated using TypeDoc