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