public class Achievement extends StatBase
Modifier and Type | Field and Description |
---|---|
int |
displayColumn |
int |
displayRow |
Achievement |
parentAchievement |
ItemStack |
theItemStack |
distanceStatType, divideByTen, isIndependent, simpleStatType, statId, timeStatType
Constructor and Description |
---|
Achievement(java.lang.String statIdIn,
java.lang.String unlocalizedName,
int column,
int row,
Block blockIn,
Achievement parent) |
Achievement(java.lang.String statIdIn,
java.lang.String unlocalizedName,
int column,
int row,
Item itemIn,
Achievement parent) |
Achievement(java.lang.String statIdIn,
java.lang.String unlocalizedName,
int column,
int row,
ItemStack stack,
Achievement parent) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
boolean |
getSpecial() |
ITextComponent |
getStatName() |
Achievement |
initIndependentStat() |
boolean |
isAchievement() |
Achievement |
registerStat() |
Achievement |
setSerializableClazz(java.lang.Class<? extends IJsonSerializable> clazz) |
Achievement |
setSpecial() |
Achievement |
setStatStringFormatter(IStatStringFormat statStringFormatterIn) |
createChatComponent, equals, format, getCriteria, getSerializableClazz, hashCode, toString
public final int displayColumn
public final int displayRow
public final Achievement parentAchievement
public final ItemStack theItemStack
public Achievement(java.lang.String statIdIn, java.lang.String unlocalizedName, int column, int row, Item itemIn, Achievement parent)
public Achievement(java.lang.String statIdIn, java.lang.String unlocalizedName, int column, int row, Block blockIn, Achievement parent)
public Achievement(java.lang.String statIdIn, java.lang.String unlocalizedName, int column, int row, ItemStack stack, Achievement parent)
public Achievement initIndependentStat()
initIndependentStat
in class StatBase
public Achievement setSpecial()
public Achievement registerStat()
registerStat
in class StatBase
public boolean isAchievement()
isAchievement
in class StatBase
public ITextComponent getStatName()
getStatName
in class StatBase
public Achievement setSerializableClazz(java.lang.Class<? extends IJsonSerializable> clazz)
setSerializableClazz
in class StatBase
public java.lang.String getDescription()
public Achievement setStatStringFormatter(IStatStringFormat statStringFormatterIn)
public boolean getSpecial()