13
0
geforkt von Mirrors/Paper

Add enchantment seed update API

Dieser Commit ist enthalten in:
okx-code 2024-08-17 13:02:56 +01:00
Ursprung 4641e233e7
Commit c3bccfb1d6

Datei anzeigen

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