Class Enchantments

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

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

    • ALL_ARMOR

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final Enchantment DENSITY
      Mappings:
      Namespace Name Mixin selector
      named DENSITY Lnet/minecraft/enchantment/Enchantments;DENSITY:Lnet/minecraft/enchantment/Enchantment;
      intermediary field_50157 Lnet/minecraft/class_1893;field_50157:Lnet/minecraft/class_1887;
      official L Ldae;L:Ldab;
    • BREACH

      public static final Enchantment BREACH
      Mappings:
      Namespace Name Mixin selector
      named BREACH Lnet/minecraft/enchantment/Enchantments;BREACH:Lnet/minecraft/enchantment/Enchantment;
      intermediary field_50158 Lnet/minecraft/class_1893;field_50158:Lnet/minecraft/class_1887;
      official M Ldae;M:Ldab;
    • WIND_BURST

      public static final Enchantment WIND_BURST
      Mappings:
      Namespace Name Mixin selector
      named WIND_BURST Lnet/minecraft/enchantment/Enchantments;WIND_BURST:Lnet/minecraft/enchantment/Enchantment;
      intermediary field_50159 Lnet/minecraft/class_1893;field_50159:Lnet/minecraft/class_1887;
      official N Ldae;N:Ldab;
    • MENDING

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

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

    • Enchantments

      public Enchantments()
  • Method Details

    • register

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