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 dah
  • Field Details

    • PROTECTION

      public static final RegistryKey<Enchantment> PROTECTION
      Mappings:
      Namespace Name Mixin selector
      named PROTECTION Lnet/minecraft/enchantment/Enchantments;PROTECTION:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9111 Lnet/minecraft/class_1893;field_9111:Lnet/minecraft/class_5321;
      official a Ldah;a:Lakq;
    • FIRE_PROTECTION

      public static final RegistryKey<Enchantment> FIRE_PROTECTION
      Mappings:
      Namespace Name Mixin selector
      named FIRE_PROTECTION Lnet/minecraft/enchantment/Enchantments;FIRE_PROTECTION:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9095 Lnet/minecraft/class_1893;field_9095:Lnet/minecraft/class_5321;
      official b Ldah;b:Lakq;
    • FEATHER_FALLING

      public static final RegistryKey<Enchantment> FEATHER_FALLING
      Mappings:
      Namespace Name Mixin selector
      named FEATHER_FALLING Lnet/minecraft/enchantment/Enchantments;FEATHER_FALLING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9129 Lnet/minecraft/class_1893;field_9129:Lnet/minecraft/class_5321;
      official c Ldah;c:Lakq;
    • BLAST_PROTECTION

      public static final RegistryKey<Enchantment> BLAST_PROTECTION
      Mappings:
      Namespace Name Mixin selector
      named BLAST_PROTECTION Lnet/minecraft/enchantment/Enchantments;BLAST_PROTECTION:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9107 Lnet/minecraft/class_1893;field_9107:Lnet/minecraft/class_5321;
      official d Ldah;d:Lakq;
    • PROJECTILE_PROTECTION

      public static final RegistryKey<Enchantment> PROJECTILE_PROTECTION
      Mappings:
      Namespace Name Mixin selector
      named PROJECTILE_PROTECTION Lnet/minecraft/enchantment/Enchantments;PROJECTILE_PROTECTION:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9096 Lnet/minecraft/class_1893;field_9096:Lnet/minecraft/class_5321;
      official e Ldah;e:Lakq;
    • RESPIRATION

      public static final RegistryKey<Enchantment> RESPIRATION
      Mappings:
      Namespace Name Mixin selector
      named RESPIRATION Lnet/minecraft/enchantment/Enchantments;RESPIRATION:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9127 Lnet/minecraft/class_1893;field_9127:Lnet/minecraft/class_5321;
      official f Ldah;f:Lakq;
    • AQUA_AFFINITY

      public static final RegistryKey<Enchantment> AQUA_AFFINITY
      Mappings:
      Namespace Name Mixin selector
      named AQUA_AFFINITY Lnet/minecraft/enchantment/Enchantments;AQUA_AFFINITY:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9105 Lnet/minecraft/class_1893;field_9105:Lnet/minecraft/class_5321;
      official g Ldah;g:Lakq;
    • THORNS

      public static final RegistryKey<Enchantment> THORNS
      Mappings:
      Namespace Name Mixin selector
      named THORNS Lnet/minecraft/enchantment/Enchantments;THORNS:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9097 Lnet/minecraft/class_1893;field_9097:Lnet/minecraft/class_5321;
      official h Ldah;h:Lakq;
    • DEPTH_STRIDER

      public static final RegistryKey<Enchantment> DEPTH_STRIDER
      Mappings:
      Namespace Name Mixin selector
      named DEPTH_STRIDER Lnet/minecraft/enchantment/Enchantments;DEPTH_STRIDER:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9128 Lnet/minecraft/class_1893;field_9128:Lnet/minecraft/class_5321;
      official i Ldah;i:Lakq;
    • FROST_WALKER

      public static final RegistryKey<Enchantment> FROST_WALKER
      Mappings:
      Namespace Name Mixin selector
      named FROST_WALKER Lnet/minecraft/enchantment/Enchantments;FROST_WALKER:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9122 Lnet/minecraft/class_1893;field_9122:Lnet/minecraft/class_5321;
      official j Ldah;j:Lakq;
    • BINDING_CURSE

      public static final RegistryKey<Enchantment> BINDING_CURSE
      Mappings:
      Namespace Name Mixin selector
      named BINDING_CURSE Lnet/minecraft/enchantment/Enchantments;BINDING_CURSE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9113 Lnet/minecraft/class_1893;field_9113:Lnet/minecraft/class_5321;
      official k Ldah;k:Lakq;
    • SOUL_SPEED

      public static final RegistryKey<Enchantment> SOUL_SPEED
      Mappings:
      Namespace Name Mixin selector
      named SOUL_SPEED Lnet/minecraft/enchantment/Enchantments;SOUL_SPEED:Lnet/minecraft/registry/RegistryKey;
      intermediary field_23071 Lnet/minecraft/class_1893;field_23071:Lnet/minecraft/class_5321;
      official l Ldah;l:Lakq;
    • SWIFT_SNEAK

      public static final RegistryKey<Enchantment> SWIFT_SNEAK
      Mappings:
      Namespace Name Mixin selector
      named SWIFT_SNEAK Lnet/minecraft/enchantment/Enchantments;SWIFT_SNEAK:Lnet/minecraft/registry/RegistryKey;
      intermediary field_38223 Lnet/minecraft/class_1893;field_38223:Lnet/minecraft/class_5321;
      official m Ldah;m:Lakq;
    • SHARPNESS

      public static final RegistryKey<Enchantment> SHARPNESS
      Mappings:
      Namespace Name Mixin selector
      named SHARPNESS Lnet/minecraft/enchantment/Enchantments;SHARPNESS:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9118 Lnet/minecraft/class_1893;field_9118:Lnet/minecraft/class_5321;
      official n Ldah;n:Lakq;
    • SMITE

      public static final RegistryKey<Enchantment> SMITE
      Mappings:
      Namespace Name Mixin selector
      named SMITE Lnet/minecraft/enchantment/Enchantments;SMITE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9123 Lnet/minecraft/class_1893;field_9123:Lnet/minecraft/class_5321;
      official o Ldah;o:Lakq;
    • BANE_OF_ARTHROPODS

      public static final RegistryKey<Enchantment> BANE_OF_ARTHROPODS
      Mappings:
      Namespace Name Mixin selector
      named BANE_OF_ARTHROPODS Lnet/minecraft/enchantment/Enchantments;BANE_OF_ARTHROPODS:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9112 Lnet/minecraft/class_1893;field_9112:Lnet/minecraft/class_5321;
      official p Ldah;p:Lakq;
    • KNOCKBACK

      public static final RegistryKey<Enchantment> KNOCKBACK
      Mappings:
      Namespace Name Mixin selector
      named KNOCKBACK Lnet/minecraft/enchantment/Enchantments;KNOCKBACK:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9121 Lnet/minecraft/class_1893;field_9121:Lnet/minecraft/class_5321;
      official q Ldah;q:Lakq;
    • FIRE_ASPECT

      public static final RegistryKey<Enchantment> FIRE_ASPECT
      Mappings:
      Namespace Name Mixin selector
      named FIRE_ASPECT Lnet/minecraft/enchantment/Enchantments;FIRE_ASPECT:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9124 Lnet/minecraft/class_1893;field_9124:Lnet/minecraft/class_5321;
      official r Ldah;r:Lakq;
    • LOOTING

      public static final RegistryKey<Enchantment> LOOTING
      Mappings:
      Namespace Name Mixin selector
      named LOOTING Lnet/minecraft/enchantment/Enchantments;LOOTING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9110 Lnet/minecraft/class_1893;field_9110:Lnet/minecraft/class_5321;
      official s Ldah;s:Lakq;
    • SWEEPING_EDGE

      public static final RegistryKey<Enchantment> SWEEPING_EDGE
      Mappings:
      Namespace Name Mixin selector
      named SWEEPING_EDGE Lnet/minecraft/enchantment/Enchantments;SWEEPING_EDGE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9115 Lnet/minecraft/class_1893;field_9115:Lnet/minecraft/class_5321;
      official t Ldah;t:Lakq;
    • EFFICIENCY

      public static final RegistryKey<Enchantment> EFFICIENCY
      Mappings:
      Namespace Name Mixin selector
      named EFFICIENCY Lnet/minecraft/enchantment/Enchantments;EFFICIENCY:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9131 Lnet/minecraft/class_1893;field_9131:Lnet/minecraft/class_5321;
      official u Ldah;u:Lakq;
    • SILK_TOUCH

      public static final RegistryKey<Enchantment> SILK_TOUCH
      Mappings:
      Namespace Name Mixin selector
      named SILK_TOUCH Lnet/minecraft/enchantment/Enchantments;SILK_TOUCH:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9099 Lnet/minecraft/class_1893;field_9099:Lnet/minecraft/class_5321;
      official v Ldah;v:Lakq;
    • UNBREAKING

      public static final RegistryKey<Enchantment> UNBREAKING
      Mappings:
      Namespace Name Mixin selector
      named UNBREAKING Lnet/minecraft/enchantment/Enchantments;UNBREAKING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9119 Lnet/minecraft/class_1893;field_9119:Lnet/minecraft/class_5321;
      official w Ldah;w:Lakq;
    • FORTUNE

      public static final RegistryKey<Enchantment> FORTUNE
      Mappings:
      Namespace Name Mixin selector
      named FORTUNE Lnet/minecraft/enchantment/Enchantments;FORTUNE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9130 Lnet/minecraft/class_1893;field_9130:Lnet/minecraft/class_5321;
      official x Ldah;x:Lakq;
    • POWER

      public static final RegistryKey<Enchantment> POWER
      Mappings:
      Namespace Name Mixin selector
      named POWER Lnet/minecraft/enchantment/Enchantments;POWER:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9103 Lnet/minecraft/class_1893;field_9103:Lnet/minecraft/class_5321;
      official y Ldah;y:Lakq;
    • PUNCH

      public static final RegistryKey<Enchantment> PUNCH
      Mappings:
      Namespace Name Mixin selector
      named PUNCH Lnet/minecraft/enchantment/Enchantments;PUNCH:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9116 Lnet/minecraft/class_1893;field_9116:Lnet/minecraft/class_5321;
      official z Ldah;z:Lakq;
    • FLAME

      public static final RegistryKey<Enchantment> FLAME
      Mappings:
      Namespace Name Mixin selector
      named FLAME Lnet/minecraft/enchantment/Enchantments;FLAME:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9126 Lnet/minecraft/class_1893;field_9126:Lnet/minecraft/class_5321;
      official A Ldah;A:Lakq;
    • INFINITY

      public static final RegistryKey<Enchantment> INFINITY
      Mappings:
      Namespace Name Mixin selector
      named INFINITY Lnet/minecraft/enchantment/Enchantments;INFINITY:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9125 Lnet/minecraft/class_1893;field_9125:Lnet/minecraft/class_5321;
      official B Ldah;B:Lakq;
    • LUCK_OF_THE_SEA

      public static final RegistryKey<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/registry/RegistryKey;
      intermediary field_9114 Lnet/minecraft/class_1893;field_9114:Lnet/minecraft/class_5321;
      official C Ldah;C:Lakq;
    • LURE

      public static final RegistryKey<Enchantment> LURE
      Mappings:
      Namespace Name Mixin selector
      named LURE Lnet/minecraft/enchantment/Enchantments;LURE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9100 Lnet/minecraft/class_1893;field_9100:Lnet/minecraft/class_5321;
      official D Ldah;D:Lakq;
    • LOYALTY

      public static final RegistryKey<Enchantment> LOYALTY
      Mappings:
      Namespace Name Mixin selector
      named LOYALTY Lnet/minecraft/enchantment/Enchantments;LOYALTY:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9120 Lnet/minecraft/class_1893;field_9120:Lnet/minecraft/class_5321;
      official E Ldah;E:Lakq;
    • IMPALING

      public static final RegistryKey<Enchantment> IMPALING
      Mappings:
      Namespace Name Mixin selector
      named IMPALING Lnet/minecraft/enchantment/Enchantments;IMPALING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9106 Lnet/minecraft/class_1893;field_9106:Lnet/minecraft/class_5321;
      official F Ldah;F:Lakq;
    • RIPTIDE

      public static final RegistryKey<Enchantment> RIPTIDE
      Mappings:
      Namespace Name Mixin selector
      named RIPTIDE Lnet/minecraft/enchantment/Enchantments;RIPTIDE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9104 Lnet/minecraft/class_1893;field_9104:Lnet/minecraft/class_5321;
      official G Ldah;G:Lakq;
    • CHANNELING

      public static final RegistryKey<Enchantment> CHANNELING
      Mappings:
      Namespace Name Mixin selector
      named CHANNELING Lnet/minecraft/enchantment/Enchantments;CHANNELING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9117 Lnet/minecraft/class_1893;field_9117:Lnet/minecraft/class_5321;
      official H Ldah;H:Lakq;
    • MULTISHOT

      public static final RegistryKey<Enchantment> MULTISHOT
      Mappings:
      Namespace Name Mixin selector
      named MULTISHOT Lnet/minecraft/enchantment/Enchantments;MULTISHOT:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9108 Lnet/minecraft/class_1893;field_9108:Lnet/minecraft/class_5321;
      official I Ldah;I:Lakq;
    • QUICK_CHARGE

      public static final RegistryKey<Enchantment> QUICK_CHARGE
      Mappings:
      Namespace Name Mixin selector
      named QUICK_CHARGE Lnet/minecraft/enchantment/Enchantments;QUICK_CHARGE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9098 Lnet/minecraft/class_1893;field_9098:Lnet/minecraft/class_5321;
      official J Ldah;J:Lakq;
    • PIERCING

      public static final RegistryKey<Enchantment> PIERCING
      Mappings:
      Namespace Name Mixin selector
      named PIERCING Lnet/minecraft/enchantment/Enchantments;PIERCING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9132 Lnet/minecraft/class_1893;field_9132:Lnet/minecraft/class_5321;
      official K Ldah;K:Lakq;
    • DENSITY

      public static final RegistryKey<Enchantment> DENSITY
      Mappings:
      Namespace Name Mixin selector
      named DENSITY Lnet/minecraft/enchantment/Enchantments;DENSITY:Lnet/minecraft/registry/RegistryKey;
      intermediary field_50157 Lnet/minecraft/class_1893;field_50157:Lnet/minecraft/class_5321;
      official L Ldah;L:Lakq;
    • BREACH

      public static final RegistryKey<Enchantment> BREACH
      Mappings:
      Namespace Name Mixin selector
      named BREACH Lnet/minecraft/enchantment/Enchantments;BREACH:Lnet/minecraft/registry/RegistryKey;
      intermediary field_50158 Lnet/minecraft/class_1893;field_50158:Lnet/minecraft/class_5321;
      official M Ldah;M:Lakq;
    • WIND_BURST

      public static final RegistryKey<Enchantment> WIND_BURST
      Mappings:
      Namespace Name Mixin selector
      named WIND_BURST Lnet/minecraft/enchantment/Enchantments;WIND_BURST:Lnet/minecraft/registry/RegistryKey;
      intermediary field_50159 Lnet/minecraft/class_1893;field_50159:Lnet/minecraft/class_5321;
      official N Ldah;N:Lakq;
    • MENDING

      public static final RegistryKey<Enchantment> MENDING
      Mappings:
      Namespace Name Mixin selector
      named MENDING Lnet/minecraft/enchantment/Enchantments;MENDING:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9101 Lnet/minecraft/class_1893;field_9101:Lnet/minecraft/class_5321;
      official O Ldah;O:Lakq;
    • VANISHING_CURSE

      public static final RegistryKey<Enchantment> VANISHING_CURSE
      Mappings:
      Namespace Name Mixin selector
      named VANISHING_CURSE Lnet/minecraft/enchantment/Enchantments;VANISHING_CURSE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_9109 Lnet/minecraft/class_1893;field_9109:Lnet/minecraft/class_5321;
      official P Ldah;P:Lakq;
  • Constructor Details

    • Enchantments

      public Enchantments()
  • Method Details

    • bootstrap

      public static void bootstrap(Registerable<Enchantment> registry)
      Mappings:
      Namespace Name Mixin selector
      named bootstrap Lnet/minecraft/enchantment/Enchantments;bootstrap(Lnet/minecraft/registry/Registerable;)V
      intermediary method_60184 Lnet/minecraft/class_1893;method_60184(Lnet/minecraft/class_7891;)V
      official a Ldah;a(Lqq;)V
    • register

      private static void register(Registerable<Enchantment> registry, RegistryKey<Enchantment> key, Enchantment.Builder builder)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/enchantment/Enchantments;register(Lnet/minecraft/registry/Registerable;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/enchantment/Enchantment$Builder;)V
      intermediary method_8235 Lnet/minecraft/class_1893;method_8235(Lnet/minecraft/class_7891;Lnet/minecraft/class_5321;Lnet/minecraft/class_1887$class_9700;)V
      official a Ldah;a(Lqq;Lakq;Ldac$a;)V
    • of

      private static RegistryKey<Enchantment> of(String id)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/enchantment/Enchantments;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
      intermediary method_60183 Lnet/minecraft/class_1893;method_60183(Ljava/lang/String;)Lnet/minecraft/class_5321;
      official a Ldah;a(Ljava/lang/String;)Lakq;