Interface IWishableLootPoolEntryContainer


public interface IWishableLootPoolEntryContainer
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.minecraft.world.item.ItemStack>
    getWishedItems(AbstractWishList wishList, IAdvancedIngredient<? super net.minecraft.world.item.ItemStack> wish, Stream<net.minecraft.world.level.storage.loot.functions.LootItemFunction> lootItemFunctions, net.minecraft.world.level.storage.loot.LootContext context)
     
  • Method Details

    • getWishedItems

      List<net.minecraft.world.item.ItemStack> getWishedItems(AbstractWishList wishList, IAdvancedIngredient<? super net.minecraft.world.item.ItemStack> wish, Stream<net.minecraft.world.level.storage.loot.functions.LootItemFunction> lootItemFunctions, net.minecraft.world.level.storage.loot.LootContext context)
      Parameters:
      wishList -
      wish -
      lootItemFunctions - Additional Loot Item Functions that must be applied to any returned ItemStacks
      context -
      Returns:
      Collection of ItemStacks matching the wish, or an empty List if no matching Stacks can be generated