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


C# ModRecipe.AddTile方法代码示例

本文整理汇总了C#中Terraria.ModLoader.ModRecipe.AddTile方法的典型用法代码示例。如果您正苦于以下问题:C# ModRecipe.AddTile方法的具体用法?C# ModRecipe.AddTile怎么用?C# ModRecipe.AddTile使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Terraria.ModLoader.ModRecipe的用法示例。


在下文中一共展示了ModRecipe.AddTile方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.Diamond, 1);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this, 50);
 }
开发者ID:MountainDrew8,项目名称:CalamityMod,代码行数:7,代码来源:DiamondDust.cs

示例2: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "AerialiteOre", 5);
     recipe.AddTile(TileID.Furnaces);
     recipe.SetResult(this);
 }
开发者ID:MountainDrew8,项目名称:CalamityMod,代码行数:7,代码来源:AerialiteBar.cs

示例3: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.SiltBlock, 100);
     recipe.AddTile(TileID.Furnaces);
     recipe.SetResult(this);
 }
开发者ID:MountainDrew8,项目名称:CalamityMod,代码行数:7,代码来源:AncientFossil.cs

示例4: AddRecipes

        public override void AddRecipes()
        {
            ModRecipe recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.Amethyst);
            recipe.AddIngredient(ItemID.RottenChunk, 10);
            recipe.AddIngredient(ItemID.ShadowScale, 10);
            recipe.AddIngredient(ItemID.SoulofNight, 5);
            recipe.AddIngredient(null, "PowerlessRing");
            recipe.AddTile(TileID.MythrilAnvil);
            recipe.SetResult(this);
            recipe.AddRecipe();
            recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.Amethyst);
            recipe.AddIngredient(ItemID.Vertebrae, 10);
            recipe.AddIngredient(ItemID.TissueSample, 10);
            recipe.AddIngredient(ItemID.SoulofNight, 5);
            recipe.AddIngredient(null, "PowerlessRing");
            recipe.AddTile(TileID.MythrilAnvil);
            recipe.SetResult(this);
            recipe.AddRecipe();

            // DEBUGGING, REMOVE WHEN PUBLISHING
            recipe = new ModRecipe(mod);
            recipe.AddIngredient(ItemID.DirtBlock);
            recipe.SetResult(this);
            recipe.AddRecipe();
        }
开发者ID:Eldrazi,项目名称:Pletharia,代码行数:27,代码来源:ShadowRing.cs

示例5: AddRecipes

        public override void AddRecipes()
        {
            ModRecipe recipe = new ModRecipe(this);
            recipe.AddIngredient(Terraria.ID.ItemID.Wood, 5);
            recipe.SetResult(ItemID.Wood, 999);
            recipe.AddRecipe();

            recipe = new ModRecipe(this);
            recipe.AddIngredient(Terraria.ID.ItemID.CopperBar, 1);
            recipe.AddIngredient(Terraria.ID.ItemID.SilverBar, 1);
            recipe.AddIngredient(Terraria.ID.ItemID.GoldBar, 1);
            recipe.AddTile(TileID.Tables);
            recipe.AddTile(TileID.Chairs);
            recipe.SetResult(Terraria.ID.ItemID.DepthMeter, 1);
            recipe.AddRecipe();
        }
开发者ID:rpetit3-fun,项目名称:terraria-plus-one,代码行数:16,代码来源:TerrariaPlusOne.cs

示例6: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "ForestEnergy", 10);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
开发者ID:ColinAV516,项目名称:EnergyMod,代码行数:8,代码来源:ForestBlast.cs

示例7: AddRecipes

		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(null, "ExampleItem", 10);
			recipe.AddTile(TileID.WorkBenches);
			recipe.SetResult(this);
			recipe.AddRecipe();
		}
开发者ID:DrakoGlyph,项目名称:tModLoader,代码行数:8,代码来源:SpectreGun.cs

示例8: AddRecipes

		public override void AddRecipes()
		{
			ModRecipe recipe = new ModRecipe(mod);
			recipe.AddIngredient(ItemID.LunarBar, 12);
			recipe.AddTile(TileID.LunarCraftingStation);
			recipe.SetResult(this);
			recipe.AddRecipe();
		}
开发者ID:bluemagic123,项目名称:tModLoader,代码行数:8,代码来源:VoidMonolith.cs

示例9: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "Dirt Block", 1);
     recipe.AddTile(null, "Work Bench");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
开发者ID:raaaasmus,项目名称:tHeroes-Old,代码行数:8,代码来源:FlashMask.cs

示例10: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.SpectreBar, 10);
        recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this, 1);
     recipe.AddRecipe();
 }
开发者ID:ColinAV516,项目名称:Spirit-Mod,代码行数:8,代码来源:SpectreRing.cs

示例11: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "FloranBar", 10);
     recipe.AddTile(TileID.Anvils);
     recipe.SetResult(this, 1);
     recipe.AddRecipe();
 }
开发者ID:ColinAV516,项目名称:Spirit-Mod,代码行数:8,代码来源:FBow.cs

示例12: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "MharadiumOre", 6);
     recipe.AddTile(null, "MharadiumForge");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
开发者ID:Eldrazi,项目名称:Mharadium,代码行数:8,代码来源:MharadiumBar.cs

示例13: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null,"SpiritOre", 4);
     recipe.AddTile(TileID.AdamantiteForge);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
开发者ID:ColinAV516,项目名称:Spirit-Mod,代码行数:8,代码来源:SpiritBar.cs

示例14: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(ItemID.AdamantiteBar, 12);
     recipe.AddTile(TileID.MythrilAnvil);
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
开发者ID:ColinAV516,项目名称:Spirit-Mod,代码行数:8,代码来源:AdamantiteWarhammer.cs

示例15: AddRecipes

 public override void AddRecipes()
 {
     ModRecipe recipe = new ModRecipe(mod);
     recipe.AddIngredient(null, "PlutoniumBar", 15);
     recipe.AddTile(null, "ParticleAccelerator");
     recipe.SetResult(this);
     recipe.AddRecipe();
 }
开发者ID:MountainDrew8,项目名称:CalamityMod,代码行数:8,代码来源:PlutoniumGreatsword.cs


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