Fix spawner API documentation

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2024-06-28 07:17:26 +10:00
parent 9683d23812
commit a414ad97f2
2 changed files with 11 additions and 4 deletions

View File

@@ -10,6 +10,17 @@ import org.bukkit.entity.minecart.SpawnerMinecart;
*/
public interface Spawner extends BaseSpawner {
/**
* {@inheritDoc}
* <br>
* If set to -1, the spawn delay will be reset to a random value between
* {@link #getMinSpawnDelay} and {@link #getMaxSpawnDelay()}.
*
* @param delay The delay.
*/
@Override
public void setDelay(int delay);
/**
* The minimum spawn delay amount (in ticks).
* <br>