本文整理汇总了Java中net.minecraft.creativetab.CreativeTabs.getNextID方法的典型用法代码示例。如果您正苦于以下问题:Java CreativeTabs.getNextID方法的具体用法?Java CreativeTabs.getNextID怎么用?Java CreativeTabs.getNextID使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类net.minecraft.creativetab.CreativeTabs
的用法示例。
在下文中一共展示了CreativeTabs.getNextID方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: init
import net.minecraft.creativetab.CreativeTabs; //导入方法依赖的package包/类
@EventHandler
public void init(FMLInitializationEvent event) {
proxy.load();
this.registerEntities();
// TODO Register Planets: -------------------------------
TrappistOnePlanets.init();
TPCreativeTabs.TPBlocksTab = new CreativeTabGC(CreativeTabs.getNextID(), "TPBlocks", Item.getItemFromBlock(Blocks.grass), 0);
TPCreativeTabs.TPItemsTab = new CreativeTabGC(CreativeTabs.getNextID(), "TPItems", TPItems.itemAlienGel, 0);
TPCreativeTabs.TPArmorTab = new CreativeTabGC(CreativeTabs.getNextID(), "TPArmor", Items.diamond_helmet, 0);
}
示例2: preInit
import net.minecraft.creativetab.CreativeTabs; //导入方法依赖的package包/类
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
creativeTabRunicArcana = new CreativeTabRunicArcana(CreativeTabs.getNextID(),"Runic Arcana");
proxy.preInit(event);
ModItems.preInit();
ModBlocks.preInit();
ModTileEntities.preInit();
PacketHandler.registerMessages("chalkNBT");
ModRecipesVanilla.registerRecipes();
ModEnchantment.registerEnchantments();
ModEvents.initCommon();
}
示例3: preInit
import net.minecraft.creativetab.CreativeTabs; //导入方法依赖的package包/类
@Mod.EventHandler
public void preInit(FMLPreInitializationEvent event) {
TabStatclock = new CreativeTabSC(CreativeTabs.getNextID(), "tab_statclock");
ModItems.preInit();
ModBlocks.preInit();
GameRegistry.registerWorldGenerator(new Generation(), 2);
proxy.preInit(event);
}
示例4: preInit
import net.minecraft.creativetab.CreativeTabs; //导入方法依赖的package包/类
@EventHandler
public void preInit(FMLPreInitializationEvent event){
thisTab = new thiscreativetab(CreativeTabs.getNextID(), "this_tab");
Moditems.preInit();
proxy.preInit(event);
}
示例5: preInit
import net.minecraft.creativetab.CreativeTabs; //导入方法依赖的package包/类
@EventHandler
public void preInit(FMLPreInitializationEvent event) {
creativetab = new Creativetab(CreativeTabs.getNextID(), "creativetab");
proxy.preInit(event);
}