Skip to content

Enchantments

endstone.enchantments

Classes relating to the specialized enhancements to ItemStacks.

Classes:

Name Description
Enchantment

Enchantment

Methods:

Name Description
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.

Attributes:

Name Type Description
AQUA_AFFINITY
BANE_OF_ARTHROPODS
BLAST_PROTECTION
BREACH
CHANNELING
CURSE_OF_BINDING
CURSE_OF_VANISHING
DENSITY
DEPTH_STRIDER
EFFICIENCY
FEATHER_FALLING
FIRE_ASPECT
FIRE_PROTECTION
FLAME
FROST_WALKER
IMPALING
INFINITY
KNOCKBACK
LOOTING
LOYALTY
LUCK_OF_THE_SEA
LURE
MENDING
MULTISHOT
PIERCING
POWER
PROJECTILE_PROTECTION
PROTECTION
PUNCH
QUICK_CHARGE
RESPIRATION
RIPTIDE
SHARPNESS
SILK_TOUCH
SMITE
SOUL_SPEED
SWIFT_SNEAK
THORNS
UNBREAKING
WIND_BURST
id str

Return the identifier for this enchantment.

max_level int

Gets the maximum level that this Enchantment may become.

start_level int

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

translation_key str

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

AQUA_AFFINITY class-attribute instance-attribute

AQUA_AFFINITY = 'minecraft:aqua_affinity'

BANE_OF_ARTHROPODS class-attribute instance-attribute

BANE_OF_ARTHROPODS = 'minecraft:bane_of_arthropods'

BLAST_PROTECTION class-attribute instance-attribute

BLAST_PROTECTION = 'minecraft:blast_protection'

BREACH class-attribute instance-attribute

BREACH = 'minecraft:breach'

CHANNELING class-attribute instance-attribute

CHANNELING = 'minecraft:channeling'

CURSE_OF_BINDING class-attribute instance-attribute

CURSE_OF_BINDING = 'minecraft:binding'

CURSE_OF_VANISHING class-attribute instance-attribute

CURSE_OF_VANISHING = 'minecraft:vanishing'

DENSITY class-attribute instance-attribute

DENSITY = 'minecraft:density'

DEPTH_STRIDER class-attribute instance-attribute

DEPTH_STRIDER = 'minecraft:depth_strider'

EFFICIENCY class-attribute instance-attribute

EFFICIENCY = 'minecraft:efficiency'

FEATHER_FALLING class-attribute instance-attribute

FEATHER_FALLING = 'minecraft:feather_falling'

FIRE_ASPECT class-attribute instance-attribute

FIRE_ASPECT = 'minecraft:fire_aspect'

FIRE_PROTECTION class-attribute instance-attribute

FIRE_PROTECTION = 'minecraft:fire_protection'

FLAME class-attribute instance-attribute

FLAME = 'minecraft:flame'

FROST_WALKER class-attribute instance-attribute

FROST_WALKER = 'minecraft:frost_walker'

IMPALING class-attribute instance-attribute

IMPALING = 'minecraft:impaling'

INFINITY class-attribute instance-attribute

INFINITY = 'minecraft:infinity'

KNOCKBACK class-attribute instance-attribute

KNOCKBACK = 'minecraft:knockback'

LOOTING class-attribute instance-attribute

LOOTING = 'minecraft:looting'

LOYALTY class-attribute instance-attribute

LOYALTY = 'minecraft:loyalty'

LUCK_OF_THE_SEA class-attribute instance-attribute

LUCK_OF_THE_SEA = 'minecraft:luck_of_the_sea'

LURE class-attribute instance-attribute

LURE = 'minecraft:lure'

MENDING class-attribute instance-attribute

MENDING = 'minecraft:mending'

MULTISHOT class-attribute instance-attribute

MULTISHOT = 'minecraft:multishot'

PIERCING class-attribute instance-attribute

PIERCING = 'minecraft:piercing'

POWER class-attribute instance-attribute

POWER = 'minecraft:power'

PROJECTILE_PROTECTION class-attribute instance-attribute

PROJECTILE_PROTECTION = 'minecraft:projectile_protection'

PROTECTION class-attribute instance-attribute

PROTECTION = 'minecraft:protection'

PUNCH class-attribute instance-attribute

PUNCH = 'minecraft:punch'

QUICK_CHARGE class-attribute instance-attribute

QUICK_CHARGE = 'minecraft:quick_charge'

RESPIRATION class-attribute instance-attribute

RESPIRATION = 'minecraft:respiration'

RIPTIDE class-attribute instance-attribute

RIPTIDE = 'minecraft:riptide'

SHARPNESS class-attribute instance-attribute

SHARPNESS = 'minecraft:sharpness'

SILK_TOUCH class-attribute instance-attribute

SILK_TOUCH = 'minecraft:silk_touch'

SMITE class-attribute instance-attribute

SMITE = 'minecraft:smite'

SOUL_SPEED class-attribute instance-attribute

SOUL_SPEED = 'minecraft:soul_speed'

SWIFT_SNEAK class-attribute instance-attribute

SWIFT_SNEAK = 'minecraft:swift_sneak'

THORNS class-attribute instance-attribute

THORNS = 'minecraft:thorns'

UNBREAKING class-attribute instance-attribute

UNBREAKING = 'minecraft:unbreaking'

WIND_BURST class-attribute instance-attribute

WIND_BURST = 'minecraft:wind_burst'

id property

id: str

Return the identifier for this enchantment.

max_level property

max_level: int

Gets the maximum level that this Enchantment may become.

start_level property

start_level: int

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

translation_key property

translation_key: str

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

can_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.

conflicts_with

conflicts_with(other: Enchantment) -> bool

Check if this enchantment conflicts with another enchantment.

get staticmethod

get(name: str) -> Enchantment

Attempts to get the Enchantment with the given name.