Interface EnchantmentHelper.ContextAwareConsumer

Enclosing class:
EnchantmentHelper
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface private static interface EnchantmentHelper.ContextAwareConsumer
Mappings:
Namespace Name
named net/minecraft/enchantment/EnchantmentHelper$ContextAwareConsumer
intermediary net/minecraft/class_1890$class_9702
official dae$a
  • Method Details

    • accept

      void accept(RegistryEntry<Enchantment> enchantment, int level, EnchantmentEffectContext context)
      Mappings:
      Namespace Name Mixin selector
      named accept Lnet/minecraft/enchantment/EnchantmentHelper$ContextAwareConsumer;accept(Lnet/minecraft/registry/entry/RegistryEntry;ILnet/minecraft/enchantment/EnchantmentEffectContext;)V
      intermediary accept Lnet/minecraft/class_1890$class_9702;accept(Lnet/minecraft/class_6880;ILnet/minecraft/class_9699;)V
      official accept Ldae$a;accept(Ljm;ILdab;)V