public abstract class Drop extends io.lumine.utils.collections.AWeightedItem implements Cloneable
DropTable
Constructor and Description |
---|
Drop(String line,
MythicLineConfig config) |
Drop(String line,
MythicLineConfig config,
double amount) |
Drop(String line,
MythicLineConfig config,
io.lumine.utils.numbers.RandomDouble amount) |
Modifier and Type | Method and Description |
---|---|
Drop |
addAmount(Drop other) |
Drop |
clone() |
boolean |
equals(Object o) |
static Drop |
getDrop(String fileName,
String drop) |
int |
hashCode() |
void |
rollAmount(DropMetadata data) |
boolean |
rollChance() |
protected String dropVar
public Drop(String line, MythicLineConfig config)
public Drop(String line, MythicLineConfig config, double amount)
public Drop(String line, MythicLineConfig config, io.lumine.utils.numbers.RandomDouble amount)
public boolean rollChance()
public void rollAmount(DropMetadata data)
Copyright © 2020. All rights reserved.