mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 06:50:12 +01:00
Add enchantment seed update API
This commit is contained in:
parent
4641e233e7
commit
c3bccfb1d6
1 changed files with 9 additions and 0 deletions
|
@ -22,6 +22,15 @@ public interface EnchantmentView extends InventoryView {
|
|||
*/
|
||||
int getEnchantmentSeed();
|
||||
|
||||
// Paper start - add enchantment seed update API
|
||||
/**
|
||||
* Sets the random enchantment seed used in this view. Loses its effect once the view is closed.
|
||||
*
|
||||
* @param seed the random seed to use
|
||||
*/
|
||||
void setEnchantmentSeed(int seed);
|
||||
// Paper end - add enchantment seed update API
|
||||
|
||||
/**
|
||||
* Gets the offers of this EnchantmentView
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue