本文整理汇总了Java中com.bioxx.tfc.api.Crafting.BarrelManager类的典型用法代码示例。如果您正苦于以下问题:Java BarrelManager类的具体用法?Java BarrelManager怎么用?Java BarrelManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BarrelManager类属于com.bioxx.tfc.api.Crafting包,在下文中一共展示了BarrelManager类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: undo
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
@Override
public void undo()
{
List<BarrelRecipe> BarrelList = BarrelManager.getInstance().getRecipes();
for (int i = 0; i < BarrelList.size(); i++)
{
if (BarrelList.get(i) != null)
{
ItemStack recipeIS = BarrelList.get(i).getInItem();
FluidStack recipeFS = BarrelList.get(i).getInFluid();
if (recipeIS != null && inputStack != null && recipeIS.isItemEqual(inputStack) &&
recipeFS != null && inputFluid != null && recipeFS.isFluidStackIdentical(inputFluid))
{
BarrelList.remove(i--);
}
}
}
}
开发者ID:StrayWolfe,项目名称:TFC-Tweaker,代码行数:20,代码来源:Barrel.java
示例2: apply
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
@Override
public void apply()
{
List<BarrelRecipe> BarrelList = BarrelManager.getInstance().getRecipes();
for (int i = 0; i < BarrelList.size(); i++)
{
if (BarrelList.get(i) != null)
{
ItemStack recipeIS = BarrelList.get(i).getInItem();
FluidStack recipeFS = BarrelList.get(i).getInFluid();
if (recipeIS != null && inputStack != null && recipeIS.isItemEqual(inputStack) &&
recipeFS != null && inputFluid != null && recipeFS.isFluidStackIdentical(inputFluid))
{
BarrelList.remove(i--);
}
}
}
}
开发者ID:StrayWolfe,项目名称:TFC-Tweaker,代码行数:20,代码来源:Barrel.java
示例3: registerBarrelRecipes
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
private static void registerBarrelRecipes()
{
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.powderAsh, 1, 0), new FluidStack(TFCFluids.FRESHWATER, 500), null, new FluidStack(FluidList.BasePotashLiquor, 500), 8).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(false));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.reeds, 1, 0), new FluidStack(FluidList.BasePotashLiquor, 156), new ItemStack(ModItems.itemCelluloseFibers, 1, 0), new FluidStack(FluidList.Waste, 156), 24).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(false));
BarrelManager.getInstance().addRecipe(new BarrelMultiItemRecipe(new ItemStack(TFCItems.hide, 1, 0), new FluidStack(FluidList.BasePotashLiquor, 300), new ItemStack(TFCItems.soakedHide, 1, 0), new FluidStack(FluidList.Waste, 300)).setMinTechLevel(0));
BarrelManager.getInstance().addRecipe(new BarrelMultiItemRecipe(new ItemStack(TFCItems.hide, 1, 1), new FluidStack(FluidList.BasePotashLiquor, 600), new ItemStack(TFCItems.soakedHide, 1, 1), new FluidStack(FluidList.Waste, 600)).setMinTechLevel(0));
BarrelManager.getInstance().addRecipe(new BarrelMultiItemRecipe(new ItemStack(TFCItems.hide, 1, 2), new FluidStack(FluidList.BasePotashLiquor, 900), new ItemStack(TFCItems.soakedHide, 1, 2), new FluidStack(FluidList.Waste, 900)).setMinTechLevel(0));
}
开发者ID:Wahazar,项目名称:TFCPrimitiveTech,代码行数:11,代码来源:ModRecipes.java
示例4: registerBarrelRecipes
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
private static void registerBarrelRecipes()
{
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ItemList.Powder, 1, 0), new FluidStack(TFCFluids.FRESHWATER, 500), null, new FluidStack(FluidList.Plaster, 500), 0).setMinTechLevel(0).setSealedRecipe(false).setRemovesLiquid(false).setAllowAnyStack(false));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sand, 1, 32767), new FluidStack(FluidList.Plaster, 100), new ItemStack(TFCItems.mortar, 16), new FluidStack(FluidList.Plaster, 100)).setMinTechLevel(0));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sand2, 1, 32767), new FluidStack(FluidList.Plaster, 100), new ItemStack(TFCItems.mortar, 16), new FluidStack(FluidList.Plaster, 100)).setMinTechLevel(0));
BarrelManager.getInstance().addRecipe(new BarrelPlasterRecipe(new ItemStack(ItemList.Powder, 1, 0), new FluidStack(FluidList.Plaster, 50), new ItemStack(BlockList.Alabaster, 1), new FluidStack(FluidList.Plaster, 50)).setMinTechLevel(0));
for(int i = 0; i < FluidList.LiquidDyes.length; i++)
{
DyeFluid dye = FluidList.LiquidDyes[i];
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.dye, 1, dye.TFCDyeIndex), new FluidStack(TFCFluids.FRESHWATER, 400), null, new FluidStack(dye, 400), 0).setMinTechLevel(0).setSealedRecipe(false).setRemovesLiquid(false).setAllowAnyStack(false));
}
}
开发者ID:Aleksey-Terzi,项目名称:DecorationsTFC,代码行数:15,代码来源:Recipes.java
示例5: registerWoodenTieBarrelRecipes
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
private void registerWoodenTieBarrelRecipes() {
Item tie = GameRegistry.findItem("Railcraft", "part.tie");
ItemStack woodenTie = new ItemStack(tie, 1);
FluidStack creosote = new FluidStack(Fluids.CREOSOTE.get(), 1000);
for (int i = 0; i < Global.WOOD_ALL.length; i++) {
BarrelManager.getInstance().addRecipe(
new BarrelRecipe(new ItemStack(TFCItems.singlePlank, 1, i),
creosote,
woodenTie, creosote)
.setMinTechLevel(0));
}
}
开发者ID:vidaj,项目名称:TFCRailcraft,代码行数:14,代码来源:RecipeManager.java
示例6: registerPaintRecipe
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
private static void registerPaintRecipe(String resultDye, ItemStack input) {
ItemStack out = new ItemStack(ModItems.limePaint, 8, ModUtils.getColorIndex(resultDye));
BarrelManager.getInstance().addRecipe(
new BarrelRecipe(input, new FluidStack(TFCFluids.LIMEWATER, 100), out, new FluidStack(TFCFluids.LIMEWATER, 100)).setMinTechLevel(0));
}
开发者ID:Shurgent,项目名称:TFCTech,代码行数:6,代码来源:ModRecipes.java
示例7: registerBarrelRecipes
import com.bioxx.tfc.api.Crafting.BarrelManager; //导入依赖的package包/类
private static void registerBarrelRecipes() {
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.mulch, 1, 0), new FluidStack(TFCFluids.FRESHWATER, 1000), null, new FluidStack(ModFluids.ACACIAMIX, 1000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.mulch, 1, 1), new FluidStack(TFCFluids.FRESHWATER, 1000), null, new FluidStack(ModFluids.BIRCHMIX, 1000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.mulch, 1, 2), new FluidStack(TFCFluids.FRESHWATER, 1000), null, new FluidStack(ModFluids.DARKOAKMIX, 1000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.mulch, 1, 3), new FluidStack(TFCFluids.FRESHWATER, 1000), null, new FluidStack(ModFluids.JUNGLEMIX, 1000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.mulch, 1, 4), new FluidStack(TFCFluids.FRESHWATER, 1000), null, new FluidStack(ModFluids.OAKMIX, 1000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.mulch, 1, 5), new FluidStack(TFCFluids.FRESHWATER, 1000), null, new FluidStack(ModFluids.SPRUCEMIX, 1000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.fruitTreeSapling, 1, 1), new FluidStack(ModFluids.ACACIAMIX, 2000), new ItemStack(Blocks.sapling, 1, 4), new FluidStack(ModFluids.ACACIAMIX, 2000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sapling, 1, 2), new FluidStack(ModFluids.BIRCHMIX, 2000), new ItemStack(Blocks.sapling, 1, 2), new FluidStack(ModFluids.BIRCHMIX, 2000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sapling, 1, 3), new FluidStack(ModFluids.DARKOAKMIX, 2000), new ItemStack(Blocks.sapling, 1, 5), new FluidStack(ModFluids.DARKOAKMIX, 2000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sapling, 1, 4), new FluidStack(ModFluids.JUNGLEMIX, 2000), new ItemStack(Blocks.sapling, 1, 3), new FluidStack(ModFluids.JUNGLEMIX, 2000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sapling, 1, 0), new FluidStack(ModFluids.OAKMIX, 2000), new ItemStack(Blocks.sapling, 1, 0), new FluidStack(ModFluids.OAKMIX, 2000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.sapling, 1, 10), new FluidStack(ModFluids.SPRUCEMIX, 2000), new ItemStack(Blocks.sapling, 1, 1), new FluidStack(ModFluids.SPRUCEMIX, 2000), 24).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.logs, 1, 4), new FluidStack(TFCFluids.VINEGAR, 625), new ItemStack(Items.slime_ball, 4, 0), new FluidStack(TFCFluids.VINEGAR, 625), 8).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.logs, 1, 8), new FluidStack(TFCFluids.VINEGAR, 625), new ItemStack(Items.slime_ball, 4, 0), new FluidStack(TFCFluids.VINEGAR, 625), 8).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.logs, 1, 9), new FluidStack(TFCFluids.VINEGAR, 625), new ItemStack(Items.slime_ball, 4, 0), new FluidStack(TFCFluids.VINEGAR, 625), 8).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.logs, 1, 10), new FluidStack(TFCFluids.VINEGAR, 625), new ItemStack(Items.slime_ball, 4, 0), new FluidStack(TFCFluids.VINEGAR, 625), 8).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.spider_eye, 1, 0), new FluidStack(TFCFluids.BRINE, 100), new ItemStack(Items.fermented_spider_eye, 1, 0), new FluidStack(TFCFluids.BRINE, 100), 8).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.fermented_spider_eye, 1, 0), new FluidStack(TFCFluids.LIMEWATER, 250), null, new FluidStack(ModFluids.POISONPOT, 250), 72).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCBlocks.fungi, 1, 1), new FluidStack(TFCFluids.BRINE, 250), null, new FluidStack(ModFluids.WEAKNESSPOT, 250), 72).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.rotten_flesh, 1, 0), new FluidStack(TFCFluids.VINEGAR, 250), null, new FluidStack(ModFluids.HARMPOT, 250), 72).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(TFCItems.dye, 1, 15), new FluidStack(TFCFluids.CORNWHISKEY, 250), null, new FluidStack(ModFluids.INVISIBILITYPOT, 250), 72).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.sugar), 160), new FluidStack(TFCFluids.RYEWHISKEY, 4000), null, new FluidStack(ModFluids.REGENPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.soybean), 160), new FluidStack(TFCFluids.VODKA, 4000), null, new FluidStack(ModFluids.SWIFTPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.seaWeed), 160), new FluidStack(TFCFluids.OLIVEOIL, 4000), null, new FluidStack(ModFluids.FIRERESPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.garlic), 160), new FluidStack(TFCFluids.RUM, 4000), null, new FluidStack(ModFluids.HEALTHPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.carrot), 160), new FluidStack(TFCFluids.SAKE, 4000), null, new FluidStack(ModFluids.NIGHTVISIONPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.beefRaw), 160), new FluidStack(TFCFluids.WHISKEY, 4000), null, new FluidStack(ModFluids.STRPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.potato), 160), new FluidStack(TFCFluids.BEER, 4000), null, new FluidStack(ModFluids.SLOWPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelAlcoholRecipe(ItemFoodTFC.createTag(new ItemStack(TFCItems.fishRaw), 160), new FluidStack(TFCFluids.CIDER, 4000), null, new FluidStack(ModFluids.WATERBREATHINGPOT, 4000)));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.ender_eye, 1, 0), new FluidStack(TFCFluids.SALTWATER, 250), null, new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 72).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.ender_pearl, 1, 0), new FluidStack(TFCFluids.FRESHWATER, 625), null, new FluidStack(ModFluids.EXTENDINGFLUID, 625), 72).setMinTechLevel(0).setSealedRecipe(true).setRemovesLiquid(false).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleRegenPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8193), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleSwiftPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8194), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleFireResPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8195), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottlePoisonPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8196), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleHealthPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8197), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleNightVisionPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8198), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleWeaknessPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8200), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleStrPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8201), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleSlowPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8202), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleHarmPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8204), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleWaterBreathingPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8205), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(ModItems.BottleInvisibilityPot, 1, 0), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8206), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 8).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
//Enhance Potion
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8193), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8225), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8194), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8226), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8196), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8228), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8197), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8229), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8201), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8233), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8204), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8236), new FluidStack(ModFluids.ENERGIZINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
//Extend Potion
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8193), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8257), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8194), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8258), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8195), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8259), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8196), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8260), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8198), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8262), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8200), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8264), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8201), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8265), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8202), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8266), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8205), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8269), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
BarrelManager.getInstance().addRecipe(new BarrelRecipe(new ItemStack(Items.potionitem, 1, 8206), new FluidStack(ModFluids.EXTENDINGFLUID, 250), new ItemStack(Items.potionitem, 1, 8270), new FluidStack(ModFluids.EXTENDINGFLUID, 250), 4).setMinTechLevel(1).setSealedRecipe(true).setRemovesLiquid(true).setAllowAnyStack(true));
}
开发者ID:AnodeCathode,项目名称:TechNodefirmacraftMod,代码行数:72,代码来源:ModRecipes.java
注:本文中的com.bioxx.tfc.api.Crafting.BarrelManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论