mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
@@ -44,9 +44,6 @@ public interface BaseSpawner {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the spawner's delay.
|
* Set the spawner's delay.
|
||||||
* <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.
|
* @param delay The delay.
|
||||||
*/
|
*/
|
||||||
@@ -134,7 +131,6 @@ public interface BaseSpawner {
|
|||||||
* {@link #addPotentialSpawn}
|
* {@link #addPotentialSpawn}
|
||||||
*
|
*
|
||||||
* @param spawnerEntry the spawner entry to use
|
* @param spawnerEntry the spawner entry to use
|
||||||
* @see #setSpawnedEntity(EntitySnapshot, SpawnRule)
|
|
||||||
*/
|
*/
|
||||||
public void setSpawnedEntity(@NotNull SpawnerEntry spawnerEntry);
|
public void setSpawnedEntity(@NotNull SpawnerEntry spawnerEntry);
|
||||||
|
|
||||||
|
@@ -10,6 +10,17 @@ import org.bukkit.entity.minecart.SpawnerMinecart;
|
|||||||
*/
|
*/
|
||||||
public interface Spawner extends BaseSpawner {
|
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).
|
* The minimum spawn delay amount (in ticks).
|
||||||
* <br>
|
* <br>
|
||||||
|
Reference in New Issue
Block a user