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 daf
  • 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 Ldaf;a:Lakp;
    • 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 Ldaf;b:Lakp;
    • 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 Ldaf;c:Lakp;
    • 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 Ldaf;d:Lakp;
    • 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 Ldaf;e:Lakp;
    • 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 Ldaf;f:Lakp;
    • 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 Ldaf;g:Lakp;
    • 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 Ldaf;h:Lakp;
    • 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 Ldaf;i:Lakp;
    • 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 Ldaf;j:Lakp;
    • 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 Ldaf;k:Lakp;
    • 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 Ldaf;l:Lakp;
    • 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 Ldaf;m:Lakp;
    • 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 Ldaf;n:Lakp;
    • 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 Ldaf;o:Lakp;
    • 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 Ldaf;p:Lakp;
    • 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 Ldaf;q:Lakp;
    • 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 Ldaf;r:Lakp;
    • 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 Ldaf;s:Lakp;
    • 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 Ldaf;t:Lakp;
    • 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 Ldaf;u:Lakp;
    • 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 Ldaf;v:Lakp;
    • 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 Ldaf;w:Lakp;
    • 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 Ldaf;x:Lakp;
    • 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 Ldaf;y:Lakp;
    • 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 Ldaf;z:Lakp;
    • 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 Ldaf;A:Lakp;
    • 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 Ldaf;B:Lakp;
    • 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 Ldaf;C:Lakp;
    • 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 Ldaf;D:Lakp;
    • 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 Ldaf;E:Lakp;
    • 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 Ldaf;F:Lakp;
    • 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 Ldaf;G:Lakp;
    • 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 Ldaf;H:Lakp;
    • 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 Ldaf;I:Lakp;
    • 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 Ldaf;J:Lakp;
    • 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 Ldaf;K:Lakp;
    • 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 Ldaf;L:Lakp;
    • 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 Ldaf;M:Lakp;
    • 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 Ldaf;N:Lakp;
    • 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 Ldaf;O:Lakp;
    • 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 Ldaf;P:Lakp;
  • 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 Ldaf;a(Lqp;)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 Ldaf;a(Lqp;Lakp;Ldaa$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 Ldaf;a(Ljava/lang/String;)Lakp;