public static class RandomItemsContent.RandomAmountItem extends Object
| Constructor and Description |
|---|
RandomAmountItem(org.bukkit.Material type,
int minAmount,
int maxAmount) |
RandomAmountItem(org.bukkit.Material type,
int data,
int minAmount,
int maxAmount) |
| Modifier and Type | Method and Description |
|---|---|
Collection<org.bukkit.inventory.ItemStack> |
getItemStacks(Random random)
Generate a random set of items.
|
public RandomAmountItem(org.bukkit.Material type,
int minAmount,
int maxAmount)
public RandomAmountItem(org.bukkit.Material type,
int data,
int minAmount,
int maxAmount)
public Collection<org.bukkit.inventory.ItemStack> getItemStacks(Random random)
random - the PRNG to useCopyright © 2021. All rights reserved.