mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 14:42:22 -07:00
Add enchantment seed update API
This commit is contained in:
@@ -22,6 +22,15 @@ public interface EnchantmentView extends InventoryView {
|
|||||||
*/
|
*/
|
||||||
int getEnchantmentSeed();
|
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
|
* Gets the offers of this EnchantmentView
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user