endstone.enchantments

Classes relating to the specialized enhancements to ItemStacks.

Classes relating to the specialized enhancements to ItemStacks.

Classes

NameDescription
Enchantment

classEnchantment

Enchantment()

Methods

NameDescription
can_enchant_item

Checks if this Enchantment may be applied to the given ItemStack.

conflicts_with

Check if this enchantment conflicts with another enchantment.

get

Attempts to get the Enchantment with the given name.

attrAQUA_AFFINITY

AQUA_AFFINITY = 'minecraft:aqua_affinity'

attrBANE_OF_ARTHROPODS

BANE_OF_ARTHROPODS = 'minecraft:bane_of_arthropods'

attrBLAST_PROTECTION

BLAST_PROTECTION = 'minecraft:blast_protection'

attrBREACH

BREACH = 'minecraft:breach'

attrCHANNELING

CHANNELING = 'minecraft:channeling'

attrCURSE_OF_BINDING

CURSE_OF_BINDING = 'minecraft:binding'

attrCURSE_OF_VANISHING

CURSE_OF_VANISHING = 'minecraft:vanishing'

attrDENSITY

DENSITY = 'minecraft:density'

attrDEPTH_STRIDER

DEPTH_STRIDER = 'minecraft:depth_strider'

attrEFFICIENCY

EFFICIENCY = 'minecraft:efficiency'

attrFEATHER_FALLING

FEATHER_FALLING = 'minecraft:feather_falling'

attrFIRE_ASPECT

FIRE_ASPECT = 'minecraft:fire_aspect'

attrFIRE_PROTECTION

FIRE_PROTECTION = 'minecraft:fire_protection'

attrFLAME

FLAME = 'minecraft:flame'

attrFROST_WALKER

FROST_WALKER = 'minecraft:frost_walker'

attrIMPALING

IMPALING = 'minecraft:impaling'

attrINFINITY

INFINITY = 'minecraft:infinity'

attrKNOCKBACK

KNOCKBACK = 'minecraft:knockback'

attrLOOTING

LOOTING = 'minecraft:looting'

attrLOYALTY

LOYALTY = 'minecraft:loyalty'

attrLUCK_OF_THE_SEA

LUCK_OF_THE_SEA = 'minecraft:luck_of_the_sea'

attrLUNGE

LUNGE = 'minecraft:lunge'

attrLURE

LURE = 'minecraft:lure'

attrMENDING

MENDING = 'minecraft:mending'

attrMULTISHOT

MULTISHOT = 'minecraft:multishot'

attrPIERCING

PIERCING = 'minecraft:piercing'

attrPOWER

POWER = 'minecraft:power'

attrPROJECTILE_PROTECTION

PROJECTILE_PROTECTION = 'minecraft:projectile_protection'

attrPROTECTION

PROTECTION = 'minecraft:protection'

attrPUNCH

PUNCH = 'minecraft:punch'

attrQUICK_CHARGE

QUICK_CHARGE = 'minecraft:quick_charge'

attrRESPIRATION

RESPIRATION = 'minecraft:respiration'

attrRIPTIDE

RIPTIDE = 'minecraft:riptide'

attrSHARPNESS

SHARPNESS = 'minecraft:sharpness'

attrSILK_TOUCH

SILK_TOUCH = 'minecraft:silk_touch'

attrSMITE

SMITE = 'minecraft:smite'

attrSOUL_SPEED

SOUL_SPEED = 'minecraft:soul_speed'

attrSWIFT_SNEAK

SWIFT_SNEAK = 'minecraft:swift_sneak'

attrTHORNS

THORNS = 'minecraft:thorns'

attrUNBREAKING

UNBREAKING = 'minecraft:unbreaking'

attrWIND_BURST

WIND_BURST = 'minecraft:wind_burst'

attridproperty

id: str

Return the identifier for this enchantment.

attrmax_levelproperty

max_level: int

Gets the maximum level that this Enchantment may become.

attrstart_levelproperty

start_level: int

Gets the level that this Enchantment should start at (also known as minimum level).

attrtranslation_keyproperty

translation_key: str

Get the translation key, suitable for use in a translation component.

methcan_enchant_item

can_enchant_item(item: ItemStack) -> bool

Checks if this Enchantment may be applied to the given ItemStack.

This does not check if it conflicts with any enchantments already applied to the item.

methconflicts_with

conflicts_with(other: Enchantment) -> bool

Check if this enchantment conflicts with another enchantment.

methgetstaticmethod

get(name: str) -> Enchantment

Attempts to get the Enchantment with the given name.

On this page