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