Interface LootContext.Dropper

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

@FunctionalInterface public static interface LootContext.Dropper
Mappings:
Namespace Name
official dip$b
intermediary net/minecraft/class_47$class_49
named net/minecraft/loot/context/LootContext$Dropper
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add​(LootContext context, Consumer<ItemStack> consumer)
     
  • Method Details

    • add

      void add(LootContext context, Consumer<ItemStack> consumer)
      Mappings:
      Namespace Name Mixin selector
      official add Ldip$b;add(Ldip;Ljava/util/function/Consumer;)V
      intermediary add Lnet/minecraft/class_47$class_49;add(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)V
      named add Lnet/minecraft/loot/context/LootContext$Dropper;add(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)V