public interface LootTable extends Keyed
| Modifier and Type | Method and Description | 
|---|---|
void | 
fillInventory(Inventory inventory,
             Random random,
             LootContext context)
Attempt to fill an inventory with this LootTable's loot. 
 | 
Collection<ItemStack> | 
populateLoot(Random random,
            LootContext context)
Returns a mutable list of loot generated by this LootTable. 
 | 
@NotNull Collection<ItemStack> populateLoot(@NotNull Random random, @NotNull LootContext context)
random - the random instance to use to generate lootcontext - context within to populate lootvoid fillInventory(@NotNull
                   Inventory inventory,
                   @NotNull
                   Random random,
                   @NotNull
                   LootContext context)
inventory - the inventory to fillrandom - the random instance to use to generate lootcontext - context within to populate lootCopyright © 2022. All rights reserved.