本文整理汇总了Java中ic2.core.Ic2Items类的典型用法代码示例。如果您正苦于以下问题:Java Ic2Items类的具体用法?Java Ic2Items怎么用?Java Ic2Items使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Ic2Items类属于ic2.core包,在下文中一共展示了Ic2Items类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getBlockForTier
import ic2.core.Ic2Items; //导入依赖的package包/类
public ItemStack getBlockForTier(int tier)
{
switch (tier)
{
case 0:
return Ic2Items.leadBlock;
case 1:
return Ic2Items.tinCableBlock;
case 2:
return Ic2Items.copperCableBlock;
case 3:
return Ic2Items.goldCableBlock;
case 4:
return Ic2Items.ironCableBlock;
case 5:
return Ic2Items.glassFiberCableBlock;
default:
return null;
}
}
开发者ID:spacebuilder2020,项目名称:Spacebuilder2020-s-addon-mod-for-ender-io,代码行数:22,代码来源:EUConduit.java
示例2: getOutputFor
import ic2.core.Ic2Items; //导入依赖的package包/类
@Override
public RecipeOutput getOutputFor(ItemStack input, boolean consume) {
if(ImmibisCore.areItemsEqual(input, Ic2Items.scrap)) {
if(input.stackSize < 9)
return null;
if(consume)
input.stackSize -= 9;
return scrapbox_out;
}
if(!consume)
return scrap_out;
input.stackSize--;
if(Recipes.recyclerBlacklist.contains(input))
return null_out;
return worldObj.rand.nextInt(8) == 0 ? scrap_out : null_out;
}
开发者ID:xbony2,项目名称:Bony-s-Advanced-Machines,代码行数:18,代码来源:TileEntityAdvancedRecycler.java
示例3: init
import ic2.core.Ic2Items; //导入依赖的package包/类
@RecipeRemoval(requiredModids = "IC2")
public static void init() {
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.iridiumDrill.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.mvTransformer.getItem(), 4);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.weedEx.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.suBattery.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.personalSafe.getItem(), 0);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.nanoHelmet.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.electricJetpack.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.carbonFiber.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(Ic2Items.nightvisionGoggles.getItem(), -1);
TweakingRegistry.markItemForRecipeRemoval(hybSolarHelm, -1);
TweakingRegistry.markItemForRecipeRemoval(ultSolarHelm, -1);
TweakingRegistry.markItemForRecipeRemoval(mtCore, 12);
if (ConfigurationHandler.addIridiumPanelRecipe)
TweakingRegistry.addTweakedTooltip(Ic2Items.iridiumPlate.getItem(), 0, TweakingAction.ADDED, "Added secondary recipe for", "AOBD compatibility.");
}
开发者ID:TPPIDev,项目名称:TPPI-Tweaks,代码行数:19,代码来源:TweakIC2.java
示例4: addRecipes
import ic2.core.Ic2Items; //导入依赖的package包/类
@RecipeAddition(requiredModids = "IC2", time = EventTime.INIT)
public static void addRecipes() {
if (ConfigurationHandler.doCharcoalBlockCompression) {
if (!OreDictionary.getOres("blockCharcoal").isEmpty()) {
Recipes.compressor.addRecipe(new RecipeInputOreDict("blockCharcoal"), null, new ItemStack(Items.coal, 1, 0));
}
}
if (ConfigurationHandler.addIridiumPanelRecipe) {
GameRegistry.addRecipe(new ShapedOreRecipe(Ic2Items.iridiumPlate,
"IPI",
"PDP",
"IPI",
'I', "ingotIridium",
'P', Ic2Items.advancedAlloy,
'D', "gemDiamond"
));
}
}
开发者ID:TPPIDev,项目名称:TPPI-Tweaks,代码行数:20,代码来源:TweakIC2.java
示例5: postInit
import ic2.core.Ic2Items; //导入依赖的package包/类
public static void postInit(FMLPostInitializationEvent event) {
addStack(IC2Items.getItem("rubber"), 32);
addStack(IC2Items.getItem("carbonPlate"), 256);
addStack(Ic2Items.energyCrystal, 32896 / 9);
addStack(Ic2Items.chargingEnergyCrystal, 32896 / 9);
addStack(IC2Items.getItem("refinedIronIngot"), 512);
addStack(Ic2Items.plateadviron, 512);
addStack(Ic2Items.reBattery, 608);
addStack(Ic2Items.chargedReBattery, 608);
addIC2Handlers();
}
开发者ID:modmuss50,项目名称:EE3-Compatiblity,代码行数:12,代码来源:IC2EE3.java
示例6: init
import ic2.core.Ic2Items; //导入依赖的package包/类
public void init(FMLInitializationEvent e) {
GameRegistry.addShapedRecipe(new ItemStack(Random_enderio_addons.iEU,2,0), new Object[]{
"CCC",
"AVA",
"CCC",
'A', Ic2Items.casinglead , 'C', Material.CONDUIT_BINDER.getStack(),'V', Items.iron_ingot
});
GameRegistry.addShapedRecipe(new ItemStack(Random_enderio_addons.iEU,2,1), new Object[]{
"CCC",
"AVA",
"CCC",
'A', Ic2Items.tinCableItem, 'C', Material.CONDUIT_BINDER.getStack(),'V', Alloy.ELECTRICAL_STEEL.getStackIngot()
});
GameRegistry.addShapedRecipe(new ItemStack(Random_enderio_addons.iEU,2,2), new Object[]{
"CCC",
"AVA",
"CCC",
'A', Ic2Items.copperCableItem, 'C', Material.CONDUIT_BINDER.getStack(),'V', Alloy.CONDUCTIVE_IRON.getStackIngot()
});
GameRegistry.addShapedRecipe(new ItemStack(Random_enderio_addons.iEU,2,3), new Object[]{
"CCC",
"AVA",
"CCC",
'A', Ic2Items.goldCableItem, 'C', Material.CONDUIT_BINDER.getStack(),'V', Alloy.ENERGETIC_ALLOY.getStackIngot()
});
GameRegistry.addShapedRecipe(new ItemStack(Random_enderio_addons.iEU,2,4), new Object[]{
"CCC",
"AVA",
"CCC",
'A', Ic2Items.ironCableItem, 'C', Material.CONDUIT_BINDER.getStack(),'V', Alloy.PHASED_GOLD.getStackIngot()
});
GameRegistry.addShapedRecipe(new ItemStack(Random_enderio_addons.iEU,2,5), new Object[]{
"CCC",
"AVA",
"CCC",
'A', Ic2Items.glassFiberCableItem, 'C', Material.CONDUIT_BINDER.getStack(),'V', Material.VIBRANT_CYSTAL.getStack()
});
}
开发者ID:spacebuilder2020,项目名称:Spacebuilder2020-s-addon-mod-for-ender-io,代码行数:39,代码来源:CommonProxy.java
示例7: registerModRecipes
import ic2.core.Ic2Items; //导入依赖的package包/类
public static void registerModRecipes()
{
if (EnergyFromMatter.hasBC && !EnergyFromMatter.hasIC2)
{
GameRegistry.addRecipe(new ItemStack(energyCreator), "gpg", "pep",
"gpg", 'g', Block.glass, 'p',
BuildCraftTransport.pipePowerDiamond, 'e', Item.enderPearl);
GameRegistry.addRecipe(new ItemStack(energyDistillery), "pop",
"omo", "pop", 'o', Block.obsidian, 'p',
BuildCraftTransport.pipePowerDiamond, 'm', new ItemStack(
com.pahimar.ee3.item.ModItems.miniumStone, 1,
OreDictionary.WILDCARD_VALUE));
}
if (!EnergyFromMatter.hasBC && EnergyFromMatter.hasIC2)
{
GameRegistry.addRecipe(new ItemStack(energyCreator), "gfg", "fef",
"gfg", 'g', Block.glass, 'f', Ic2Items.glassFiberCableItem,
'e', Item.enderPearl);
GameRegistry.addRecipe(new ItemStack(energyDistillery), "fof",
"omo", "fof", 'o', Block.obsidian, 'f',
Ic2Items.glassFiberCableItem, 'm', new ItemStack(
com.pahimar.ee3.item.ModItems.miniumStone, 1,
OreDictionary.WILDCARD_VALUE));
}
if (EnergyFromMatter.hasBC && EnergyFromMatter.hasIC2)
{
GameRegistry.addRecipe(new ItemStack(energyCreator), "gpg", "fef",
"gpg", 'g', Block.glass, 'p',
BuildCraftTransport.pipePowerDiamond, 'f',
Ic2Items.glassFiberCableItem, 'e', Item.enderPearl);
GameRegistry.addRecipe(new ItemStack(energyDistillery), "fop",
"omo", "fop", 'o', Block.obsidian, 'p',
BuildCraftTransport.pipePowerDiamond, 'f',
Ic2Items.glassFiberCableItem, 'm', new ItemStack(
com.pahimar.ee3.item.ModItems.miniumStone, 1,
OreDictionary.WILDCARD_VALUE));
}
}
开发者ID:Dynious,项目名称:EnergyFromMatter,代码行数:39,代码来源:ModBlocks.java
示例8: IC2Compatibility
import ic2.core.Ic2Items; //导入依赖的package包/类
public IC2Compatibility() {
MineGate.naquityProvider.registerNewType(10, TileEntityEUProvider.class, MineGate.MODID + ":naquityProviderEU");
GameRegistry.registerTileEntity(TileEntityEUProvider.class, "euNaquity");
GameRegistry.addRecipe(new ItemStack(MineGate.naquityProvider, 1, 10), new Object[]{"SIS", "CFC", "SIS", 'S', Blocks.stone, 'I', Ic2Items.casingiron, 'C', Ic2Items.advancedCircuit, 'F', MineGate.stargateFrame});
}
开发者ID:UnderMybrella,项目名称:Minegate,代码行数:6,代码来源:IC2Compatibility.java
示例9: IC2Compatibility
import ic2.core.Ic2Items; //导入依赖的package包/类
public IC2Compatibility() {
loaded = true;
MineGate.naquityProvider.registerNewType(10, TileEntityEUProvider.class, MineGate.MODID + ":naquityProviderEU");
GameRegistry.registerTileEntity(TileEntityEUProvider.class, "euNaquity");
GameRegistry.addRecipe(new ItemStack(MineGate.naquityProvider, 1, 10), new Object[]{"SIS", "CFC", "SIS", 'S', Blocks.stone, 'I', Ic2Items.casingiron, 'C', Ic2Items.advancedCircuit, 'F', MineGate.stargateFrame});
reactorIC2Recipe = MineGate.recipe(new ItemStack(MineGate.reactor), new Object[]{"S S", " R ", "S S", 'S', MineGate.stargateFrame, 'R', Ic2Items.nuclearReactor});
}
开发者ID:UnderMybrella,项目名称:Minegate,代码行数:11,代码来源:IC2Compatibility.java
注:本文中的ic2.core.Ic2Items类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论