Options
All
  • Public
  • Public/Protected
  • All
Menu

Object used in Item.createArmorItem method to specify general armor item parameters

Hierarchy

  • ArmorParams

Index

Properties

armor?: number

Armor proptection. Default value is 0.

durability?: number

Armor durability, the more it is, the more hits the armor will resist. Default value is 1.

isTech?: boolean

If true, the item will not be added to creative. Default value is false.

knockbackResist?: number

Knockback resistance, that the player will have when wearing the following armor. It must be value from 0 (no knockback resistance) to 1 (full knockback resistance). Default value is 0.

texture?: string

Relative path to the armor model texture from the mod assets directory. Default value is textures/logo.png

type: ArmorType

Armor type, should be one of the helmet, chestplate, leggings or boots

Generated using TypeDoc