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


Java LibOreDict类代码示例

本文整理汇总了Java中vazkii.botania.common.lib.LibOreDict的典型用法代码示例。如果您正苦于以下问题:Java LibOreDict类的具体用法?Java LibOreDict怎么用?Java LibOreDict使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


LibOreDict类属于vazkii.botania.common.lib包,在下文中一共展示了LibOreDict类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: addManaseerMonocle

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addManaseerMonocle() {
	RecipeBuilder.shaped(ModItems.monocle)
	.pattern("GN ", "IN ", " N ")
	.define('G', new ItemStack(ModBlocks.manaGlass))
	.define('I', LibOreDict.MANA_STEEL)
	.define('N', "oreNormalGold")
	.register();
	
	RecipeBuilder.shaped(ModItems.monocle)
	.pattern("GN ", "IN ", " N ")
	.define('G', new ItemStack(ModBlocks.manaGlass))
	.define('I', LibOreDict.MANA_STEEL)
	.define('N', "oreRichGold")
	.register();
	
	RecipeBuilder.shaped(ModItems.monocle)
	.pattern("GN ", "IN ", " N ")
	.define('G', new ItemStack(ModBlocks.manaGlass))
	.define('I', LibOreDict.MANA_STEEL)
	.define('N', "orePoorGold")
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:23,代码来源:RecipeManager.java

示例2: addAlchemyCatalyst

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addAlchemyCatalyst() {
	RecipeBuilder.shaped(ModBlocks.alchemyCatalyst)
	.pattern("SGS", "GPG", "SGS")
	.define('S', LibOreDict.LIVING_ROCK)
	.define('G', "ingotGold")
	.define('P', LibOreDict.MANA_PEARL)
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:9,代码来源:RecipeManager.java

示例3: addSpark

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addSpark() {
	for(int i = 0; i < 16; i++) {
		RecipeBuilder.shaped(ModItems.spark)
		.pattern(" P ", "BNB", " P ")
		.define('P', LibOreDict.MANA_PETAL[i])
		.define('B', "dustSulfur")
		.define('N', "oreNormalGold")
		.register();
	}
	
	for(int i = 0; i < 16; i++) {
		RecipeBuilder.shaped(ModItems.spark)
		.pattern(" P ", "BNB", " P ")
		.define('P', LibOreDict.MANA_PETAL[i])
		.define('B', "dustSulfur")
		.define('N', "oreRichGold")
		.register();
	}
	
	for(int i = 0; i < 16; i++) {
		RecipeBuilder.shaped(ModItems.spark)
		.pattern(" P ", "BNB", " P ")
		.define('P', LibOreDict.MANA_PETAL[i])
		.define('B', "dustSulfur")
		.define('N', "orePoorGold")
		.register();
	}
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:29,代码来源:RecipeManager.java

示例4: addRodOfTheHells

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addRodOfTheHells() {
	RecipeBuilder.shaped(ModItems.fireRod)
	.pattern("  F", " T ", "R  ")
	.define('F', "dustSulfur")
	.define('T', LibOreDict.LIVINGWOOD_TWIG)
	.define('R', LibOreDict.RUNE[1])
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:9,代码来源:RecipeManager.java

示例5: addRingOfChordata

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addRingOfChordata() {		
	RecipeBuilder.shaped(new ItemStack(ModItems.waterRing))
	.pattern("WMF", "M M", "FM ")
	.define('W', LibOreDict.RUNE[0])
	.define('M', LibOreDict.MANA_STEEL)
	.define('F', new ItemStack(TFCItems.fishingRod))
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:9,代码来源:RecipeManager.java

示例6: addTectonicGirdle

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addTectonicGirdle() {
	RecipeBuilder.shaped(new ItemStack(ModItems.knockbackBelt))
	.pattern("AL ",  "L L", "SLE")
	.define('E', LibOreDict.RUNE[2])
	.define('A', LibOreDict.RUNE[1])
	.define('S', LibOreDict.MANA_STEEL)
	.define('L', "materialLeather")
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:10,代码来源:RecipeManager.java

示例7: addSoujournerSash

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addSoujournerSash() {
	RecipeBuilder.shaped(new ItemStack(ModItems.travelBelt))
	.pattern("EL ",  "L L", "SLA")
	.define('E', LibOreDict.RUNE[2])
	.define('A', LibOreDict.RUNE[3])
	.define('S', LibOreDict.MANA_STEEL)
	.define('L', "materialLeather")
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:10,代码来源:RecipeManager.java

示例8: addFireRune

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addFireRune() {
	ItemStack output = new ItemStack(ModItems.rune, 3, 1);
	Object[] inputs = new Object[] {
			"dustSulfur",
			new ItemStack(Items.gunpowder),
			new ItemStack(Items.netherbrick),
			LibOreDict.MANA_STEEL,
			LibOreDict.MANA_STEEL,
			LibOreDict.MANA_STEEL
	};
	
	BotaniaAPI.runeAltarRecipes.add(new RecipeRuneAltar(output, TIER1_MANA_COST, inputs));
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:14,代码来源:RecipeManager.java

示例9: addWaterRune

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addWaterRune() {
	ItemStack output = new ItemStack(ModItems.rune, 3);
	Object[] inputs = new Object[] {
			"itemReed",
			new ItemStack(TFCItems.fishingRod),
			"dyeWhite",
			LibOreDict.MANA_STEEL,
			LibOreDict.MANA_STEEL,
			LibOreDict.MANA_STEEL
	};
	
	BotaniaAPI.runeAltarRecipes.add(new RecipeRuneAltar(output, TIER1_MANA_COST, inputs));
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:14,代码来源:RecipeManager.java

示例10: addAirRune

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addAirRune() {
	ItemStack output = new ItemStack(ModItems.rune, 3, 3);
	Object[] inputs = new Object[] {
			new ItemStack(Items.feather),
			new ItemStack(Items.string),
			"materialCloth",
			LibOreDict.MANA_STEEL,
			LibOreDict.MANA_STEEL,
			LibOreDict.MANA_STEEL
	};
	
	BotaniaAPI.runeAltarRecipes.add(new RecipeRuneAltar(output, TIER1_MANA_COST, inputs));
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:14,代码来源:RecipeManager.java

示例11: addSpringRune

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addSpringRune() {
	ItemStack output = new ItemStack(ModItems.rune, 1, 4);
	Object[] inputs = new Object[] {
			"seedBag",
			"treeSapling", 
			"treeSapling", 
			"treeSapling",
			LibOreDict.RUNE[0], 
			LibOreDict.RUNE[1]
	};
	
	BotaniaAPI.runeAltarRecipes.add(new RecipeRuneAltar(output, TIER2_MANA_COST, inputs));
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:14,代码来源:RecipeManager.java

示例12: addSummerRune

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addSummerRune() {
	ItemStack output = new ItemStack(ModItems.rune, 1, 5);
	Object[] inputs = new Object[] {
			"dyeGreen",
			new ItemStack(TFCBlocks.pumpkin), 
			"blockSand", 
			"blockSand",
			LibOreDict.RUNE[2], 
			LibOreDict.RUNE[3]
	};
	
	BotaniaAPI.runeAltarRecipes.add(new RecipeRuneAltar(output, TIER2_MANA_COST, inputs));
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:14,代码来源:RecipeManager.java

示例13: addWinterRune

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addWinterRune() {
	ItemStack output = new ItemStack(ModItems.rune, 1, 7);
	Object[] inputs = new Object[] {
			"dyeWhite",
			"materialCloth",
			new ItemStack(Blocks.snow), 
			new ItemStack(Blocks.snow),
			LibOreDict.RUNE[0], 
			LibOreDict.RUNE[2]
	};
	
	BotaniaAPI.runeAltarRecipes.add(new RecipeRuneAltar(output, TIER2_MANA_COST, inputs));
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:14,代码来源:RecipeManager.java

示例14: addManaLenses

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addManaLenses() {
	RecipeBuilder.shaped(ModItems.lens, 1, 14)
	.pattern(" E ", "WLW", " E ")
	.define('E', LibOreDict.ELEMENTIUM)
	.define('W', "materialCloth")
	.define('L', ModItems.lens)
	.register();
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:9,代码来源:RecipeManager.java

示例15: addPetalApothecary

import vazkii.botania.common.lib.LibOreDict; //导入依赖的package包/类
private void addPetalApothecary() {
	for (int meta = 0; meta < 16; meta++) {
		RecipeBuilder.shaped(ModBlocks.altar)
		.pattern("SPS", " C ", "CCC")
		.define('S', "itemRock")
		.define('P', LibOreDict.PETAL[meta])
		.define('C', "cobblestone")
		.register();
	}
}
 
开发者ID:vidaj,项目名称:TFCBotania,代码行数:11,代码来源:RecipeManager.java


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