public class Minerate extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Minerate.MinerateType  | 
| Constructor and Description | 
|---|
Minerate()  | 
Minerate(HashMap<Minerate.MinerateType,Integer> mined,
        int fullMined)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addMine(Minerate.MinerateType type,
       Player player)
Add mined block even if the type is null. 
 | 
int | 
getFullMined()
Get full mined blocks 
 | 
String[] | 
getInventoryLoreString()  | 
HashMap<Minerate.MinerateType,Integer> | 
getMined()
Get raw mined types and their values 
 | 
Integer | 
getMinerateType(Minerate.MinerateType type)
Get mined block for the given type 
 | 
void | 
setMine(Minerate.MinerateType type,
       int value)  | 
String | 
toString()  | 
public Minerate()
public Minerate(HashMap<Minerate.MinerateType,Integer> mined, int fullMined)
public void setMine(Minerate.MinerateType type, int value)
public void addMine(Minerate.MinerateType type, Player player)
type - the type of the blockplayer - the player that mined itpublic Integer getMinerateType(Minerate.MinerateType type)
type - the typepublic HashMap<Minerate.MinerateType,Integer> getMined()
public int getFullMined()
public String[] getInventoryLoreString()