endstone.enchantments
Classes relating to the specialized enhancements to ItemStacks.
Classes relating to the specialized enhancements to ItemStacks.
Classes
| Name | Description |
|---|---|
Enchantment |
classEnchantment
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 | ||
LUNGE | ||
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. |
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: strReturn the identifier for this enchantment.
attrmax_levelproperty
max_level: intGets the maximum level that this Enchantment may become.
attrstart_levelproperty
start_level: intGets the level that this Enchantment should start at (also known as minimum level).
attrtranslation_keyproperty
translation_key: strGet the translation key, suitable for use in a translation component.
methcan_enchant_item
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) -> boolCheck if this enchantment conflicts with another enchantment.
methgetstaticmethod
get(name: str) -> EnchantmentAttempts to get the Enchantment with the given name.