base mod created
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package net.minecraft.stats;
|
||||
|
||||
import net.minecraft.util.text.ITextComponent;
|
||||
|
||||
public class StatBasic extends StatBase
|
||||
{
|
||||
public StatBasic(String statIdIn, ITextComponent statNameIn, IStatType typeIn)
|
||||
{
|
||||
super(statIdIn, statNameIn, typeIn);
|
||||
}
|
||||
|
||||
public StatBasic(String statIdIn, ITextComponent statNameIn)
|
||||
{
|
||||
super(statIdIn, statNameIn);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the stat into StatList.
|
||||
*/
|
||||
public StatBase registerStat()
|
||||
{
|
||||
super.registerStat();
|
||||
StatList.BASIC_STATS.add(this);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user