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