Options
All
  • Public
  • Public/Protected
  • All
Menu

Object used in all tool item creation methods.

since

1.0

Hierarchy

Index

Properties

Properties

isTech?: boolean

If true, the tool item will not be displayed in creative inventory, defaults to false.

stack?: number

Maximum stack size of the tool item, defaults to 1.

tier?: string | ToolMaterial

Tool item's material, you can use string name of the material defined by vanilla or registered by ToolAPI.addToolMaterial or by creating a KEX.ToolsModule.ItemTier, or you can specify the description object of the new tool material. If you don't specify name property in this object, this new material will have name like __unnamedMaterial{N}, where {N} is an incrementing integer.

Generated using TypeDoc