mirror of
https://github.com/SimplexDevelopment/FeelingLucky.git
synced 2025-07-04 19:16:41 +00:00
Initial commit
This commit is contained in:
20
src/main/java/io/github/simplex/api/LuckContainer.java
Normal file
20
src/main/java/io/github/simplex/api/LuckContainer.java
Normal file
@ -0,0 +1,20 @@
|
||||
package io.github.simplex.api;
|
||||
|
||||
import org.bukkit.attribute.Attribute;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface LuckContainer {
|
||||
Attribute asAttribute();
|
||||
|
||||
double getNumber();
|
||||
|
||||
boolean isMatch(double number);
|
||||
|
||||
boolean isClose(double number, int range);
|
||||
|
||||
double multiplier();
|
||||
|
||||
Player associatedPlayer();
|
||||
|
||||
double baseValue();
|
||||
}
|
Reference in New Issue
Block a user