Add enchantment seed update API

This commit is contained in:
okx-code 2024-08-17 13:02:56 +01:00
parent 4641e233e7
commit c3bccfb1d6

View file

@ -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
* *