Item#

class corkus.objects.Item#

Represents regular (non-crafted) Wynncraft item.

property name#

The name of the item.

Return type:

str

property display_name#

Name that should be displayed to end-user, usually match name.

Caution

This property may not be reliable. See: Wynncraft/WynncraftAPI19.

Return type:

str

property type#

Type of the item.

Return type:

ItemType

property category#

Category of the item.

Return type:

ItemCategory

property tier#

Item rarity tier.

Return type:

ItemTier

property set#

The name of the set this item is part of. None if not part of a set.

Caution

This property is currently bugged and works only for Leaf set. See: Wynncraft/WynncraftAPI#36.

Return type:

Optional[str]

property sockets#

Number of powder slots this item has.

Return type:

int

property armour_type#

Material from which armour is made. If not a armour piece, or item is player head, returns None.

Return type:

Optional[ArmourType]

property armour_color#

Color that this armour piece is dyed. This is only present if armour_type is ArmourType.LEATHER or else returns None.

Return type:

Optional[Color]

property required_level#

Minimum combat level (PlayerProfession.level from Character.combat) required to use this item.

Return type:

int

property required_class#

The class that is required for this item to be used. None if item can be used by all classes.

Return type:

Optional[CharacterType]

property skill_points#

Skill points required in order to use this item.

Return type:

SkillPoints

property required_quest#

The quest that must have been completed in order for this item to be used.

Return type:

Optional[Quest]

property restrictions#

Restrictions applied to this item.

Return type:

Optional[ItemRestrictions]

property lore#

This item’s lore.

Return type:

Optional[str]

property damage#

If this item is a weapon (category is ItemCategory.WEAPON) return it’s damage.

Return type:

Optional[WeaponDamage]

property attack_speed#

If this item is a weapon (category is ItemCategory.WEAPON) return it’s attack speed.

Return type:

Optional[AttackSpeed]

property identified#

Is this item is pre-identified when obtained.

Return type:

bool

property health#

If this item is a armour piece (category is ItemCategory.ARMOUR) return set amount of health this armor provides.

Return type:

Optional[AttackSpeed]

property armour_defence#

If this item is a armour piece (category is ItemCategory.ARMOUR) return protection it gives against elemental attacks.

Return type:

Optional[ArmourDefence]

property major_identifications#

List all Major IDs on the item.

Return type:

List[MajorIdentification]

property identifications#

List all identifications of this item.

Return type:

List[Identification]

property skin#

If this item is a helmet (type is ItemType.HELMET) in form player head, this return information about owner of the head.

Return type:

Optional[MojangSkinResponse]

property item_id#

Minecraft block/item ID + optional data value, pre-flattening. Format: ID:DV

Return type:

str