mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-27 02:02:03 -07:00
Add enchantment seed update API
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
Reference in New Issue
Block a user