当前位置: 首页>>代码示例>>Java>>正文


Java StatBasic类代码示例

本文整理汇总了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();
	
}
 
开发者ID:jtrent238,项目名称:PopularMMOS-EpicProportions-Mod,代码行数:13,代码来源:Stats.java

示例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();
	
}
 
开发者ID:jtrent238,项目名称:Hammer-Mod,代码行数:7,代码来源:Stats.java

示例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();
	
}
 
开发者ID:jtrent238,项目名称:PopularMMOS-EpicProportions-Mod,代码行数:7,代码来源:Stats.java


注:本文中的net.minecraft.stats.StatBasic类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。