Interface FabricLootModifier

All Known Implementing Classes:
AddEnchantedBookToPoolModifier, AddItemModifier, AddItemModifierWithRandomAmount, AddItemToShriekerLootModifier, AddItemToWardenLootModifier, ConditionalFabricLootModifier
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 interface FabricLootModifier
  • Method Summary

    Modifier and Type
    Method
    Description
    it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack>
    doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext context, net.minecraft.resources.ResourceLocation lootTable)
     
  • Method Details

    • doApply

      it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> doApply(it.unimi.dsi.fastutil.objects.ObjectArrayList<net.minecraft.world.item.ItemStack> generatedLoot, net.minecraft.world.level.storage.loot.LootContext context, net.minecraft.resources.ResourceLocation lootTable)