Skip to content

ItemData

Represents an item type.

Has the following properties:

  • maxStackSize : Integer
  • maxDamage : Integer
  • bFull3D : Boolean
  • hasSubtypes : Boolean
  • potionEffect : String

Has the following methods:

  • getID() : Integer
  • setMaxStackSize(maxStackSize: Integer) : ItemData
  • setHasSubtypes(hasSubtypes: Boolean) : ItemData
  • setMaxDamage(maxDamageIn: Integer) : ItemData
  • setUnlocalizedName(s: String) : ItemData
  • setPotionEffect(potionEffect: String) : ItemData