Class Enchantments

java.lang.Object
net.minecraft.enchantment.Enchantments

public class Enchantments extends Object
Mappings:
Namespace Name
official crn
intermediary net/minecraft/class_1893
named net/minecraft/enchantment/Enchantments
  • Field Details

    • ALL_ARMOR

      private static final EquipmentSlot[] ALL_ARMOR
      Mappings:
      Namespace Name Mixin selector
      official N Lcrn;N:[Lbma;
      intermediary field_9102 Lnet/minecraft/class_1893;field_9102:[Lnet/minecraft/class_1304;
      named ALL_ARMOR Lnet/minecraft/enchantment/Enchantments;ALL_ARMOR:[Lnet/minecraft/entity/EquipmentSlot;
    • PROTECTION

      public static final Enchantment PROTECTION
      Mappings:
      Namespace Name Mixin selector
      official a Lcrn;a:Lcrj;
      intermediary field_9111 Lnet/minecraft/class_1893;field_9111:Lnet/minecraft/class_1887;
      named PROTECTION Lnet/minecraft/enchantment/Enchantments;PROTECTION:Lnet/minecraft/enchantment/Enchantment;
    • FIRE_PROTECTION

      public static final Enchantment FIRE_PROTECTION
      Mappings:
      Namespace Name Mixin selector
      official b Lcrn;b:Lcrj;
      intermediary field_9095 Lnet/minecraft/class_1893;field_9095:Lnet/minecraft/class_1887;
      named FIRE_PROTECTION Lnet/minecraft/enchantment/Enchantments;FIRE_PROTECTION:Lnet/minecraft/enchantment/Enchantment;
    • FEATHER_FALLING

      public static final Enchantment FEATHER_FALLING
      Mappings:
      Namespace Name Mixin selector
      official c Lcrn;c:Lcrj;
      intermediary field_9129 Lnet/minecraft/class_1893;field_9129:Lnet/minecraft/class_1887;
      named FEATHER_FALLING Lnet/minecraft/enchantment/Enchantments;FEATHER_FALLING:Lnet/minecraft/enchantment/Enchantment;
    • BLAST_PROTECTION

      public static final Enchantment BLAST_PROTECTION
      Mappings:
      Namespace Name Mixin selector
      official d Lcrn;d:Lcrj;
      intermediary field_9107 Lnet/minecraft/class_1893;field_9107:Lnet/minecraft/class_1887;
      named BLAST_PROTECTION Lnet/minecraft/enchantment/Enchantments;BLAST_PROTECTION:Lnet/minecraft/enchantment/Enchantment;
    • PROJECTILE_PROTECTION

      public static final Enchantment PROJECTILE_PROTECTION
      Mappings:
      Namespace Name Mixin selector
      official e Lcrn;e:Lcrj;
      intermediary field_9096 Lnet/minecraft/class_1893;field_9096:Lnet/minecraft/class_1887;
      named PROJECTILE_PROTECTION Lnet/minecraft/enchantment/Enchantments;PROJECTILE_PROTECTION:Lnet/minecraft/enchantment/Enchantment;
    • RESPIRATION

      public static final Enchantment RESPIRATION
      Mappings:
      Namespace Name Mixin selector
      official f Lcrn;f:Lcrj;
      intermediary field_9127 Lnet/minecraft/class_1893;field_9127:Lnet/minecraft/class_1887;
      named RESPIRATION Lnet/minecraft/enchantment/Enchantments;RESPIRATION:Lnet/minecraft/enchantment/Enchantment;
    • AQUA_AFFINITY

      public static final Enchantment AQUA_AFFINITY
      Mappings:
      Namespace Name Mixin selector
      official g Lcrn;g:Lcrj;
      intermediary field_9105 Lnet/minecraft/class_1893;field_9105:Lnet/minecraft/class_1887;
      named AQUA_AFFINITY Lnet/minecraft/enchantment/Enchantments;AQUA_AFFINITY:Lnet/minecraft/enchantment/Enchantment;
    • THORNS

      public static final Enchantment THORNS
      Mappings:
      Namespace Name Mixin selector
      official h Lcrn;h:Lcrj;
      intermediary field_9097 Lnet/minecraft/class_1893;field_9097:Lnet/minecraft/class_1887;
      named THORNS Lnet/minecraft/enchantment/Enchantments;THORNS:Lnet/minecraft/enchantment/Enchantment;
    • DEPTH_STRIDER

      public static final Enchantment DEPTH_STRIDER
      Mappings:
      Namespace Name Mixin selector
      official i Lcrn;i:Lcrj;
      intermediary field_9128 Lnet/minecraft/class_1893;field_9128:Lnet/minecraft/class_1887;
      named DEPTH_STRIDER Lnet/minecraft/enchantment/Enchantments;DEPTH_STRIDER:Lnet/minecraft/enchantment/Enchantment;
    • FROST_WALKER

      public static final Enchantment FROST_WALKER
      Mappings:
      Namespace Name Mixin selector
      official j Lcrn;j:Lcrj;
      intermediary field_9122 Lnet/minecraft/class_1893;field_9122:Lnet/minecraft/class_1887;
      named FROST_WALKER Lnet/minecraft/enchantment/Enchantments;FROST_WALKER:Lnet/minecraft/enchantment/Enchantment;
    • BINDING_CURSE

      public static final Enchantment BINDING_CURSE
      Mappings:
      Namespace Name Mixin selector
      official k Lcrn;k:Lcrj;
      intermediary field_9113 Lnet/minecraft/class_1893;field_9113:Lnet/minecraft/class_1887;
      named BINDING_CURSE Lnet/minecraft/enchantment/Enchantments;BINDING_CURSE:Lnet/minecraft/enchantment/Enchantment;
    • SOUL_SPEED

      public static final Enchantment SOUL_SPEED
      Mappings:
      Namespace Name Mixin selector
      official l Lcrn;l:Lcrj;
      intermediary field_23071 Lnet/minecraft/class_1893;field_23071:Lnet/minecraft/class_1887;
      named SOUL_SPEED Lnet/minecraft/enchantment/Enchantments;SOUL_SPEED:Lnet/minecraft/enchantment/Enchantment;
    • SWIFT_SNEAK

      public static final Enchantment SWIFT_SNEAK
      Mappings:
      Namespace Name Mixin selector
      official m Lcrn;m:Lcrj;
      intermediary field_38223 Lnet/minecraft/class_1893;field_38223:Lnet/minecraft/class_1887;
      named SWIFT_SNEAK Lnet/minecraft/enchantment/Enchantments;SWIFT_SNEAK:Lnet/minecraft/enchantment/Enchantment;
    • SHARPNESS

      public static final Enchantment SHARPNESS
      Mappings:
      Namespace Name Mixin selector
      official n Lcrn;n:Lcrj;
      intermediary field_9118 Lnet/minecraft/class_1893;field_9118:Lnet/minecraft/class_1887;
      named SHARPNESS Lnet/minecraft/enchantment/Enchantments;SHARPNESS:Lnet/minecraft/enchantment/Enchantment;
    • SMITE

      public static final Enchantment SMITE
      Mappings:
      Namespace Name Mixin selector
      official o Lcrn;o:Lcrj;
      intermediary field_9123 Lnet/minecraft/class_1893;field_9123:Lnet/minecraft/class_1887;
      named SMITE Lnet/minecraft/enchantment/Enchantments;SMITE:Lnet/minecraft/enchantment/Enchantment;
    • BANE_OF_ARTHROPODS

      public static final Enchantment BANE_OF_ARTHROPODS
      Mappings:
      Namespace Name Mixin selector
      official p Lcrn;p:Lcrj;
      intermediary field_9112 Lnet/minecraft/class_1893;field_9112:Lnet/minecraft/class_1887;
      named BANE_OF_ARTHROPODS Lnet/minecraft/enchantment/Enchantments;BANE_OF_ARTHROPODS:Lnet/minecraft/enchantment/Enchantment;
    • KNOCKBACK

      public static final Enchantment KNOCKBACK
      Mappings:
      Namespace Name Mixin selector
      official q Lcrn;q:Lcrj;
      intermediary field_9121 Lnet/minecraft/class_1893;field_9121:Lnet/minecraft/class_1887;
      named KNOCKBACK Lnet/minecraft/enchantment/Enchantments;KNOCKBACK:Lnet/minecraft/enchantment/Enchantment;
    • FIRE_ASPECT

      public static final Enchantment FIRE_ASPECT
      Mappings:
      Namespace Name Mixin selector
      official r Lcrn;r:Lcrj;
      intermediary field_9124 Lnet/minecraft/class_1893;field_9124:Lnet/minecraft/class_1887;
      named FIRE_ASPECT Lnet/minecraft/enchantment/Enchantments;FIRE_ASPECT:Lnet/minecraft/enchantment/Enchantment;
    • LOOTING

      public static final Enchantment LOOTING
      Mappings:
      Namespace Name Mixin selector
      official s Lcrn;s:Lcrj;
      intermediary field_9110 Lnet/minecraft/class_1893;field_9110:Lnet/minecraft/class_1887;
      named LOOTING Lnet/minecraft/enchantment/Enchantments;LOOTING:Lnet/minecraft/enchantment/Enchantment;
    • SWEEPING

      public static final Enchantment SWEEPING
      Mappings:
      Namespace Name Mixin selector
      official t Lcrn;t:Lcrj;
      intermediary field_9115 Lnet/minecraft/class_1893;field_9115:Lnet/minecraft/class_1887;
      named SWEEPING Lnet/minecraft/enchantment/Enchantments;SWEEPING:Lnet/minecraft/enchantment/Enchantment;
    • EFFICIENCY

      public static final Enchantment EFFICIENCY
      Mappings:
      Namespace Name Mixin selector
      official u Lcrn;u:Lcrj;
      intermediary field_9131 Lnet/minecraft/class_1893;field_9131:Lnet/minecraft/class_1887;
      named EFFICIENCY Lnet/minecraft/enchantment/Enchantments;EFFICIENCY:Lnet/minecraft/enchantment/Enchantment;
    • SILK_TOUCH

      public static final Enchantment SILK_TOUCH
      Mappings:
      Namespace Name Mixin selector
      official v Lcrn;v:Lcrj;
      intermediary field_9099 Lnet/minecraft/class_1893;field_9099:Lnet/minecraft/class_1887;
      named SILK_TOUCH Lnet/minecraft/enchantment/Enchantments;SILK_TOUCH:Lnet/minecraft/enchantment/Enchantment;
    • UNBREAKING

      public static final Enchantment UNBREAKING
      Mappings:
      Namespace Name Mixin selector
      official w Lcrn;w:Lcrj;
      intermediary field_9119 Lnet/minecraft/class_1893;field_9119:Lnet/minecraft/class_1887;
      named UNBREAKING Lnet/minecraft/enchantment/Enchantments;UNBREAKING:Lnet/minecraft/enchantment/Enchantment;
    • FORTUNE

      public static final Enchantment FORTUNE
      Mappings:
      Namespace Name Mixin selector
      official x Lcrn;x:Lcrj;
      intermediary field_9130 Lnet/minecraft/class_1893;field_9130:Lnet/minecraft/class_1887;
      named FORTUNE Lnet/minecraft/enchantment/Enchantments;FORTUNE:Lnet/minecraft/enchantment/Enchantment;
    • POWER

      public static final Enchantment POWER
      Mappings:
      Namespace Name Mixin selector
      official y Lcrn;y:Lcrj;
      intermediary field_9103 Lnet/minecraft/class_1893;field_9103:Lnet/minecraft/class_1887;
      named POWER Lnet/minecraft/enchantment/Enchantments;POWER:Lnet/minecraft/enchantment/Enchantment;
    • PUNCH

      public static final Enchantment PUNCH
      Mappings:
      Namespace Name Mixin selector
      official z Lcrn;z:Lcrj;
      intermediary field_9116 Lnet/minecraft/class_1893;field_9116:Lnet/minecraft/class_1887;
      named PUNCH Lnet/minecraft/enchantment/Enchantments;PUNCH:Lnet/minecraft/enchantment/Enchantment;
    • FLAME

      public static final Enchantment FLAME
      Mappings:
      Namespace Name Mixin selector
      official A Lcrn;A:Lcrj;
      intermediary field_9126 Lnet/minecraft/class_1893;field_9126:Lnet/minecraft/class_1887;
      named FLAME Lnet/minecraft/enchantment/Enchantments;FLAME:Lnet/minecraft/enchantment/Enchantment;
    • INFINITY

      public static final Enchantment INFINITY
      Mappings:
      Namespace Name Mixin selector
      official B Lcrn;B:Lcrj;
      intermediary field_9125 Lnet/minecraft/class_1893;field_9125:Lnet/minecraft/class_1887;
      named INFINITY Lnet/minecraft/enchantment/Enchantments;INFINITY:Lnet/minecraft/enchantment/Enchantment;
    • LUCK_OF_THE_SEA

      public static final Enchantment LUCK_OF_THE_SEA
      Mappings:
      Namespace Name Mixin selector
      official C Lcrn;C:Lcrj;
      intermediary field_9114 Lnet/minecraft/class_1893;field_9114:Lnet/minecraft/class_1887;
      named LUCK_OF_THE_SEA Lnet/minecraft/enchantment/Enchantments;LUCK_OF_THE_SEA:Lnet/minecraft/enchantment/Enchantment;
    • LURE

      public static final Enchantment LURE
      Mappings:
      Namespace Name Mixin selector
      official D Lcrn;D:Lcrj;
      intermediary field_9100 Lnet/minecraft/class_1893;field_9100:Lnet/minecraft/class_1887;
      named LURE Lnet/minecraft/enchantment/Enchantments;LURE:Lnet/minecraft/enchantment/Enchantment;
    • LOYALTY

      public static final Enchantment LOYALTY
      Mappings:
      Namespace Name Mixin selector
      official E Lcrn;E:Lcrj;
      intermediary field_9120 Lnet/minecraft/class_1893;field_9120:Lnet/minecraft/class_1887;
      named LOYALTY Lnet/minecraft/enchantment/Enchantments;LOYALTY:Lnet/minecraft/enchantment/Enchantment;
    • IMPALING

      public static final Enchantment IMPALING
      Mappings:
      Namespace Name Mixin selector
      official F Lcrn;F:Lcrj;
      intermediary field_9106 Lnet/minecraft/class_1893;field_9106:Lnet/minecraft/class_1887;
      named IMPALING Lnet/minecraft/enchantment/Enchantments;IMPALING:Lnet/minecraft/enchantment/Enchantment;
    • RIPTIDE

      public static final Enchantment RIPTIDE
      Mappings:
      Namespace Name Mixin selector
      official G Lcrn;G:Lcrj;
      intermediary field_9104 Lnet/minecraft/class_1893;field_9104:Lnet/minecraft/class_1887;
      named RIPTIDE Lnet/minecraft/enchantment/Enchantments;RIPTIDE:Lnet/minecraft/enchantment/Enchantment;
    • CHANNELING

      public static final Enchantment CHANNELING
      Mappings:
      Namespace Name Mixin selector
      official H Lcrn;H:Lcrj;
      intermediary field_9117 Lnet/minecraft/class_1893;field_9117:Lnet/minecraft/class_1887;
      named CHANNELING Lnet/minecraft/enchantment/Enchantments;CHANNELING:Lnet/minecraft/enchantment/Enchantment;
    • MULTISHOT

      public static final Enchantment MULTISHOT
      Mappings:
      Namespace Name Mixin selector
      official I Lcrn;I:Lcrj;
      intermediary field_9108 Lnet/minecraft/class_1893;field_9108:Lnet/minecraft/class_1887;
      named MULTISHOT Lnet/minecraft/enchantment/Enchantments;MULTISHOT:Lnet/minecraft/enchantment/Enchantment;
    • QUICK_CHARGE

      public static final Enchantment QUICK_CHARGE
      Mappings:
      Namespace Name Mixin selector
      official J Lcrn;J:Lcrj;
      intermediary field_9098 Lnet/minecraft/class_1893;field_9098:Lnet/minecraft/class_1887;
      named QUICK_CHARGE Lnet/minecraft/enchantment/Enchantments;QUICK_CHARGE:Lnet/minecraft/enchantment/Enchantment;
    • PIERCING

      public static final Enchantment PIERCING
      Mappings:
      Namespace Name Mixin selector
      official K Lcrn;K:Lcrj;
      intermediary field_9132 Lnet/minecraft/class_1893;field_9132:Lnet/minecraft/class_1887;
      named PIERCING Lnet/minecraft/enchantment/Enchantments;PIERCING:Lnet/minecraft/enchantment/Enchantment;
    • MENDING

      public static final Enchantment MENDING
      Mappings:
      Namespace Name Mixin selector
      official L Lcrn;L:Lcrj;
      intermediary field_9101 Lnet/minecraft/class_1893;field_9101:Lnet/minecraft/class_1887;
      named MENDING Lnet/minecraft/enchantment/Enchantments;MENDING:Lnet/minecraft/enchantment/Enchantment;
    • VANISHING_CURSE

      public static final Enchantment VANISHING_CURSE
      Mappings:
      Namespace Name Mixin selector
      official M Lcrn;M:Lcrj;
      intermediary field_9109 Lnet/minecraft/class_1893;field_9109:Lnet/minecraft/class_1887;
      named VANISHING_CURSE Lnet/minecraft/enchantment/Enchantments;VANISHING_CURSE:Lnet/minecraft/enchantment/Enchantment;
  • Constructor Details

    • Enchantments

      public Enchantments()
  • Method Details

    • register

      private static Enchantment register(String name, Enchantment enchantment)
      Mappings:
      Namespace Name Mixin selector
      official a Lcrn;a(Ljava/lang/String;Lcrj;)Lcrj;
      intermediary method_8235 Lnet/minecraft/class_1893;method_8235(Ljava/lang/String;Lnet/minecraft/class_1887;)Lnet/minecraft/class_1887;
      named register Lnet/minecraft/enchantment/Enchantments;register(Ljava/lang/String;Lnet/minecraft/enchantment/Enchantment;)Lnet/minecraft/enchantment/Enchantment;