本文整理汇总了Java中net.minecraft.stats.StatBasic类的典型用法代码示例。如果您正苦于以下问题:Java StatBasic类的具体用法?Java StatBasic怎么用?Java StatBasic使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StatBasic类属于net.minecraft.stats包,在下文中一共展示了StatBasic类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: RegisterStats
import net.minecraft.stats.StatBasic; //导入依赖的package包/类
public static void RegisterStats() {
presentsbroken = new StatBasic("stat.presentsbroken", new ChatComponentTranslation("stat.presentsbroken", new Object[0])).initIndependentStat().registerStat();
KilledPat = new StatBasic("stat.KilledPat", new ChatComponentTranslation("stat.KilledPat", new Object[0])).initIndependentStat().registerStat();
KilledJen = new StatBasic("stat.KilledJen", new ChatComponentTranslation("stat.KilledJen", new Object[0])).initIndependentStat().registerStat();
KilledCC = new StatBasic("stat.KilledCC", new ChatComponentTranslation("stat.KilledCC", new Object[0])).initIndependentStat().registerStat();
SOEP_Crafted = new StatBasic("stat.SOEP_Crafted", new ChatComponentTranslation("stat.SOEP_Crafted", new Object[0])).initIndependentStat().registerStat();
SuperToolCrafted = new StatBasic("stat.SuperToolCrafted", new ChatComponentTranslation("stat.SuperToolCrafted", new Object[0])).initIndependentStat().registerStat();
SuperArmorCrafted = new StatBasic("stat.SuperArmorCrafted", new ChatComponentTranslation("stat.SuperArmorCrafted", new Object[0])).initIndependentStat().registerStat();
NinjaStarsThrown = new StatBasic("stat.NinjaStarsThrown", new ChatComponentTranslation("stat.NinjaStarsThrown", new Object[0])).initIndependentStat().registerStat();
}
示例2: RegisterStats
import net.minecraft.stats.StatBasic; //导入依赖的package包/类
public static void RegisterStats() {
chexplosions = new StatBasic("stat.chexplosions", new ChatComponentTranslation("stat.chexplosions", new Object[0])).initIndependentStat().registerStat();
thbaked = new StatBasic("stat.thbaked", new ChatComponentTranslation("stat.thbaked", new Object[0])).initIndependentStat().registerStat();
}
示例3: RegisterStats
import net.minecraft.stats.StatBasic; //导入依赖的package包/类
public static void RegisterStats() {
JingleBellsJingled = new StatBasic("stat.JingleBellsJingled", new ChatComponentTranslation("stat.JingleBellsJingled", new Object[0])).initIndependentStat().registerStat();
BigSnowBallsThrown = new StatBasic("stat.BigSnowBallsThrown", new ChatComponentTranslation("stat.BigSnowBallsThrown", new Object[0])).initIndependentStat().registerStat();
}