more Recipes
This commit is contained in:
parent
5f4ae53c85
commit
1cfa5e79e7
2 changed files with 32 additions and 14 deletions
|
@ -345,6 +345,13 @@ public class ModRecipes {
|
||||||
CraftingHelper.addShapedOreRecipe(BlockStorage.getStorageBlockByName(name), "AAA", "AAA", "AAA", 'A',
|
CraftingHelper.addShapedOreRecipe(BlockStorage.getStorageBlockByName(name), "AAA", "AAA", "AAA", 'A',
|
||||||
"ingot" + name.substring(0, 1).toUpperCase() + name.substring(1));
|
"ingot" + name.substring(0, 1).toUpperCase() + name.substring(1));
|
||||||
}
|
}
|
||||||
|
CraftingHelper.addShapedOreRecipe(ItemCells.getCellByName("empty", 16, false), " T ", "T T", " T ",
|
||||||
|
'T', "ingotTin");
|
||||||
|
|
||||||
|
|
||||||
|
CraftingHelper.addShapedOreRecipe(new ItemStack(ModBlocks.ironFence, 6), " ", "RRR", "RRR",
|
||||||
|
'R', ItemIngots.getIngotByName("refinedIron"));
|
||||||
|
|
||||||
|
|
||||||
addGemToolRecipes(new ItemStack(ModItems.rubySword), new ItemStack(ModItems.rubyPickaxe), new ItemStack(ModItems.rubyAxe), new ItemStack(ModItems.rubyHoe),
|
addGemToolRecipes(new ItemStack(ModItems.rubySword), new ItemStack(ModItems.rubyPickaxe), new ItemStack(ModItems.rubyAxe), new ItemStack(ModItems.rubyHoe),
|
||||||
new ItemStack(ModItems.rubySpade), new ItemStack(ModItems.rubyHelmet), new ItemStack(ModItems.rubyChestplate), new ItemStack(ModItems.rubyLeggings), new ItemStack(ModItems.rubyBoots), ItemGems.getGemByName("ruby"));
|
new ItemStack(ModItems.rubySpade), new ItemStack(ModItems.rubyHelmet), new ItemStack(ModItems.rubyChestplate), new ItemStack(ModItems.rubyLeggings), new ItemStack(ModItems.rubyBoots), ItemGems.getGemByName("ruby"));
|
||||||
|
@ -355,6 +362,10 @@ public class ModRecipes {
|
||||||
addGemToolRecipes(new ItemStack(ModItems.peridotSword), new ItemStack(ModItems.peridotPickaxe), new ItemStack(ModItems.peridotAxe), new ItemStack(ModItems.peridotHoe),
|
addGemToolRecipes(new ItemStack(ModItems.peridotSword), new ItemStack(ModItems.peridotPickaxe), new ItemStack(ModItems.peridotAxe), new ItemStack(ModItems.peridotHoe),
|
||||||
new ItemStack(ModItems.peridotSpade), new ItemStack(ModItems.peridotHelmet), new ItemStack(ModItems.peridotChestplate), new ItemStack(ModItems.peridotLeggings), new ItemStack(ModItems.peridotBoots), ItemGems.getGemByName("peridot"));
|
new ItemStack(ModItems.peridotSpade), new ItemStack(ModItems.peridotHelmet), new ItemStack(ModItems.peridotChestplate), new ItemStack(ModItems.peridotLeggings), new ItemStack(ModItems.peridotBoots), ItemGems.getGemByName("peridot"));
|
||||||
|
|
||||||
|
addGemToolRecipes(new ItemStack(ModItems.bronzeSword), new ItemStack(ModItems.bronzePickaxe), new ItemStack(ModItems.bronzeAxe), new ItemStack(ModItems.bronzeHoe),
|
||||||
|
new ItemStack(ModItems.bronzeSpade), new ItemStack(ModItems.bronzeHelmet), new ItemStack(ModItems.bronzeChestplate), new ItemStack(ModItems.bronzeLeggings), new ItemStack(ModItems.bronzeBoots), ItemIngots.getIngotByName("bronze"));
|
||||||
|
|
||||||
|
|
||||||
CraftingHelper.addShapedOreRecipe(new ItemStack(ModItems.ironChainsaw), " SS", "SCS", "BS ",
|
CraftingHelper.addShapedOreRecipe(new ItemStack(ModItems.ironChainsaw), " SS", "SCS", "BS ",
|
||||||
'S', "ingotSteel", 'B', TechRebornAPI.recipeCompact.getItem("reBattery"), 'C',
|
'S', "ingotSteel", 'B', TechRebornAPI.recipeCompact.getItem("reBattery"), 'C',
|
||||||
TechRebornAPI.recipeCompact.getItem("electronicCircuit"));
|
TechRebornAPI.recipeCompact.getItem("electronicCircuit"));
|
||||||
|
|
|
@ -13,6 +13,7 @@ import net.minecraft.item.ItemSword;
|
||||||
import net.minecraft.util.ActionResult;
|
import net.minecraft.util.ActionResult;
|
||||||
import net.minecraft.util.EnumActionResult;
|
import net.minecraft.util.EnumActionResult;
|
||||||
import net.minecraft.util.EnumHand;
|
import net.minecraft.util.EnumHand;
|
||||||
|
import net.minecraft.util.text.TextFormatting;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
@ -81,19 +82,19 @@ public class ItemNanosaber extends ItemSword implements IEnergyItemInfo, ITextur
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SideOnly(Side.CLIENT)
|
// @SideOnly(Side.CLIENT)
|
||||||
@Override
|
// @Override
|
||||||
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4)
|
// public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean par4)
|
||||||
{
|
// {
|
||||||
if (ItemNBTHelper.verifyExistance(stack, "isActive"))
|
// if (ItemNBTHelper.verifyExistance(stack, "isActive"))
|
||||||
{
|
// {
|
||||||
list.add("Active");
|
// list.add("Active");
|
||||||
} else if (!ItemNBTHelper.verifyExistance(stack, "isActive"))
|
// } else if (!ItemNBTHelper.verifyExistance(stack, "isActive"))
|
||||||
{
|
// {
|
||||||
list.add("Not Active");
|
// list.add("Not Active");
|
||||||
}
|
// }
|
||||||
super.addInformation(stack, player, list, par4);
|
// super.addInformation(stack, player, list, par4);
|
||||||
}
|
// }
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isRepairable()
|
public boolean isRepairable()
|
||||||
|
@ -179,4 +180,10 @@ public class ItemNanosaber extends ItemSword implements IEnergyItemInfo, ITextur
|
||||||
{
|
{
|
||||||
return new ModelResourceLocation(ModInfo.MOD_ID + ":" + getUnlocalizedName(stack).substring(5), "inventory");
|
return new ModelResourceLocation(ModInfo.MOD_ID + ":" + getUnlocalizedName(stack).substring(5), "inventory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void addInformation(ItemStack stack, EntityPlayer playerIn, List<String> tooltip, boolean advanced)
|
||||||
|
{
|
||||||
|
tooltip.add(TextFormatting.RED + "WIP Coming Soon");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue