All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tealcube.minecraft.bukkit.mythicdrops.api.settings.spawning.NumberOfPasses.kt Maven / Gradle / Ivy

There is a newer version: 9.0.4
Show newest version
package com.tealcube.minecraft.bukkit.mythicdrops.api.settings.spawning

/**
 * Represents a number of passes that could be done for a creature.
 * @property minimum Minimum number of passes
 * @property maximum Maximum number of passes
 */
interface NumberOfPasses {
    val minimum: Int
    val maximum: Int

    /**
     * Returns a random number between minimum and maximum.
     */
    fun random(): Int
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy