Represents a game material or resource used for character and weapon enhancement
Create a Material
material ID
const material = new Material(104001)console.log(material.name)console.log(material.description) Copy
const material = new Material(104001)console.log(material.name)console.log(material.description)
Readonly
Material description
Material icon
Material ID
Material type
Optional
Material name
Material pictures
Static
Get all material IDs
all material IDs
const allIds = Material.allMaterialIdsconsole.log(allIds.length) Copy
const allIds = Material.allMaterialIdsconsole.log(allIds.length)
Get material ID by name
material name
const ids = Material.getMaterialIdByName('Mystic Enhancement Ore')console.log(ids) Copy
const ids = Material.getMaterialIdByName('Mystic Enhancement Ore')console.log(ids)
Represents a game material or resource used for character and weapon enhancement