本文整理汇总了Java中vazkii.botania.api.BotaniaAPI.categoryDevices方法的典型用法代码示例。如果您正苦于以下问题:Java BotaniaAPI.categoryDevices方法的具体用法?Java BotaniaAPI.categoryDevices怎么用?Java BotaniaAPI.categoryDevices使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类vazkii.botania.api.BotaniaAPI
的用法示例。
在下文中一共展示了BotaniaAPI.categoryDevices方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getEntry
import vazkii.botania.api.BotaniaAPI; //导入方法依赖的package包/类
public LexiconEntry getEntry() {
LexiconEntry entry = new LexionEntryHelper.elvenKnowledgeEntry("entry.elvenportal", BotaniaAPI.categoryDevices, new ItemStack(this));
//entry.addPage(LexionEntryHelper.LexiconPageCreator.createTextPage("page.elvenportal", 10, 10, 10, 12, "THIS IS A TEST TEXT!!!"));
//entry.addPage(new PageText("This is a test text page"));
entry.addPage(new PageText("page1.elvenportal"));
entry.addPage(new PageElvenRecipe("pageRecipe.elvenportal", BotanicEnergisticsBlocks.RecRuneAssembler));
return entry;
}
示例2: getEntry
import vazkii.botania.api.BotaniaAPI; //导入方法依赖的package包/类
public LexiconEntry getEntry() {
LexiconEntry entry = new LexionEntryHelper.elvenKnowledgeEntry("entry.runeassembler", BotaniaAPI.categoryDevices, new ItemStack(this));
//entry.addPage(LexionEntryHelper.LexiconPageCreator.createTextPage("page.runeassembler", 10, 10, 10, 12, "THIS IS A TEST TEXT!!!"));
//entry.addPage(new PageText("This is a test text page"));
entry.addPage(new PageText("page1.runeassembler"));
entry.addPage(new PageElvenRecipe("pageRecipe.runeassembler", BotanicEnergisticsBlocks.RecRuneAssembler));
return entry;
}
示例3: getEntry
import vazkii.botania.api.BotaniaAPI; //导入方法依赖的package包/类
public LexiconEntry getEntry(){
LexiconEntry entry = new LexionEntryHelper.elvenKnowledgeEntry("entry.aedaisy", BotaniaAPI.categoryDevices, new ItemStack(BotanicEnergisticsBlocks.AEDaisy));
entry.addPage(new PageText("page1.aedaisy"));
entry.addPage(new PageElvenRecipe("pageRecipe.aedaisy", BotanicEnergisticsBlocks.RecAEDaisy));
return entry;
}