net.minecraft.loot.function

public interface LootFunction

extends LootContextAware, BiFunction<ItemStack, LootContext, ItemStack>

net.minecraft.world.level.storage.loot.functions.LootItemFunction
net.minecraft.class_117
net.minecraft.loot.function.LootFunction

Method summary

Modifier and TypeMethod
LootFunctionType<? extends LootFunction>
getType()
method_29321()
getType()
static Consumer<ItemStack>
decorate(BiFunction<ItemStack, LootContext, ItemStack> function, Consumer<ItemStack> output, LootContext context)
method_513(BiFunction<class_1799, class_47, class_1799> arg0, Consumer<class_1799> arg1, class_47 arg2)
apply(BiFunction<ItemStack, LootContext, ItemStack> itemApplier, Consumer<ItemStack> lootConsumer, LootContext context)
private static void
lambda$decorate$0(Consumer arg0, BiFunction arg1, LootContext arg2, ItemStack arg3)
method_514(Consumer arg0, BiFunction arg1, class_47 arg2, class_1799 arg3)
method_514(Consumer arg0, BiFunction arg1, LootContext arg2, ItemStack stack)