Jump to content

Recommended Posts

Posted

I get this problem a lot and I can't fix it

 

package net.sidemod.Mod;

import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemCoal;
import net.minecraft.item.ItemStack;
import net.minecraft.src.BaseMod;

public class Basemod_mod extends BaseMod
{
public static final String version = "Side mod V.25";

public static Item Stick_Left_Half = new ModItem(900, "Stick_Left_Half").setUnlocalizedName("Stick Left Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Stick_Right_Half = new ModItem(901, "Stick_Right_Half").setUnlocalizedName("Stick Right Half").setCreativeTab(CreativeTabs.tabMaterials);

public static Item Iron_Hammer_Left_Gunpowder_Half = new ModItem(902, "Iron_Hammer_Left_Gunpowder_Half").setUnlocalizedName("Iron Hammer Left Gunpowder Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Iron_Hammer_Right_Lighter_Half = new ModItem(903, "Iron_Hammer_Right_Lighter_Half").setUnlocalizedName("Iron Hammer Right Lighter Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Gold_Hammer_Left_Gunpowder_Half = new ModItem(904, "Gold_Hammer_Left_Gunpowder_Half").setUnlocalizedName("Gold Hammer Left Gunpowder Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Gold_Hammer_Right_Lighter_Half = new ModItem(905, "Gold_Hammer_Right_Lighter_Half").setUnlocalizedName("Gold Hammer Right Lighter Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Diamond_Hammer_Left_Gunpowder_Half = new ModItem(906, "Diamond_Hammer_Left_Gunpowder_Half").setUnlocalizedName("Diamond Hammer Left Gunpowder Half").setCreativeTab(CreativeTabs.tabMaterials);
public static Item Diamond_Hammer_Right_Lighter_Half = new ModItem(907, "Diamond_Hammer_Right_Lighter_Half").setUnlocalizedName("Diamond Hammer Right Lighter Half").setCreativeTab(CreativeTabs.tabMaterials);

public static Item Iron_Hammer = new ModHammer(908, "Iron_Hammer", EnumToolMaterial.Strong_IRON, 0).setUnlocalizedName("Iron Hammer").setCreativeTab(CreativeTabs.tabTools);
public static Item Gold_Hammer = new ModHammer(909, "Gold_Hammer", EnumToolMaterial.Strong_GOLD, 0).setUnlocalizedName("Gold Hammer").setCreativeTab(CreativeTabs.tabTools);
public static Item Diamond_Hammer = new ModHammer(910, "Diamond_Hammer", EnumToolMaterial.Strong_EMERALD, 0).setUnlocalizedName("Diamond Hammer").setCreativeTab(CreativeTabs.tabTools);

public static Item Strong_Iron = new ModItem(911, "Strong_Iron").setUnlocalizedName("Strong Ingot Iron");
public static Item Strong_Gold = new ModItem(912, "Strong_Gold").setUnlocalizedName("Strong Ingot Gold");
public static Item Strong_Diamond = new ModItem(913, "Strong_Diamond").setUnlocalizedName("Strong iamond");

public static Material materialOrc;

public void load()
	{	
	GameRegistry.addSmelting(Item.coal.itemID, new ItemStack(Item.gunpowder, 2), 8F);
	GameRegistry.addSmelting(Block.gravel.blockID, new ItemStack(Item.flint, 1), 8F);

	GameRegistry.addRecipe(new ItemStack(Stick_Left_Half, 2), new Object[]{"  x", " xc", "xcv", 'x', Item.stick, 'c', Block.planks, 'v', Block.wood});
	GameRegistry.addRecipe(new ItemStack(Stick_Right_Half, 2), new Object[]{ "x ", "cx", 'x', Item.stick, 'c', Block.planks,});
	GameRegistry.addRecipe(new ItemStack(Iron_Hammer_Left_Gunpowder_Half), new Object[]{"xxx", "xcc ", "xxx", 'x', Item.ingotIron, 'c', Item.gunpowder});
	GameRegistry.addRecipe(new ItemStack(Iron_Hammer_Right_Lighter_Half), new Object[]{"  xx", " cx", " xx", 'x', Item.ingotIron, 'c', Item.flintAndSteel});
	GameRegistry.addRecipe(new ItemStack(Gold_Hammer_Left_Gunpowder_Half), new Object[]{"xxx", "xcc ", "xxx", 'x', Item.ingotGold, 'c', Item.gunpowder});
	GameRegistry.addRecipe(new ItemStack(Gold_Hammer_Right_Lighter_Half), new Object[]{"  xx", " cx", " xx", 'x', Item.ingotGold, 'c', Item.flintAndSteel});
	GameRegistry.addRecipe(new ItemStack(Diamond_Hammer_Left_Gunpowder_Half), new Object[]{"xxx", "xcc ", "xxx", 'x', Item.diamond, 'c', Item.gunpowder});
	GameRegistry.addRecipe(new ItemStack(Diamond_Hammer_Right_Lighter_Half), new Object[]{"  xx", " cx", " xx", 'x', Item.diamond, 'c', Item.flintAndSteel});

	GameRegistry.addRecipe(new ItemStack(Iron_Hammer), new Object[]{"xc ", "vb ", 'x', Basemod_mod.Iron_Hammer_Left_Gunpowder_Half, 'c', Basemod_mod.Iron_Hammer_Right_Lighter_Half, 'v', Basemod_mod.Stick_Left_Half, 'b', Basemod_mod.Stick_Right_Half});
	GameRegistry.addRecipe(new ItemStack(Gold_Hammer), new Object[]{"xc ", "vb ", 'x', Basemod_mod.Gold_Hammer_Left_Gunpowder_Half, 'c', Basemod_mod.Gold_Hammer_Right_Lighter_Half, 'v', Basemod_mod.Stick_Left_Half, 'b', Basemod_mod.Stick_Right_Half});
	GameRegistry.addRecipe(new ItemStack(Diamond_Hammer), new Object[]{"xc ", "vb ", 'x', Basemod_mod.Diamond_Hammer_Left_Gunpowder_Half, 'c', Basemod_mod.Diamond_Hammer_Right_Lighter_Half, 'v', Basemod_mod.Stick_Left_Half, 'b', Basemod_mod.Stick_Right_Half});

	GameRegistry.registerItem(Stick_Left_Half, "Stick_Left_Half");
	GameRegistry.registerItem(Stick_Right_Half, "Stick Right Half");
	GameRegistry.registerItem(Iron_Hammer_Left_Gunpowder_Half, "Iron_Hammer_Left Gunpowder_Half");
	GameRegistry.registerItem(Iron_Hammer_Right_Lighter_Half, "Iron Hammer Right Lighter Half");
	GameRegistry.registerItem(Gold_Hammer_Left_Gunpowder_Half, "Gold Hammer Left Gunpowder Half");
	GameRegistry.registerItem(Gold_Hammer_Right_Lighter_Half, "Gold Hammer Right Lighter Half");
	GameRegistry.registerItem(Diamond_Hammer_Left_Gunpowder_Half, "Diamond Hammer Left Gunpowder Half");
	GameRegistry.registerItem(Diamond_Hammer_Right_Lighter_Half, "Diamond Hammer Right Lighter Half");

	GameRegistry.registerItem(Iron_Hammer, "Iron Hammer");
	GameRegistry.registerItem(Gold_Hammer, "Gold Hammer");
	GameRegistry.registerItem(Diamond_Hammer, "Diamond Hammer");

	GameRegistry.registerItem(Strong_Iron, "Strong Iron");
	GameRegistry.registerItem(Strong_Gold, "Strong Gold");
	GameRegistry.registerItem(Strong_Diamond, "Strong Diamond");

	LanguageRegistry.addName(Stick_Left_Half, "Stick Left Half");
	LanguageRegistry.addName(Stick_Right_Half, "Stick Right Half");

	LanguageRegistry.addName(Iron_Hammer_Left_Gunpowder_Half, "Iron Hammer Left Gunpowder Half");
	LanguageRegistry.addName(Iron_Hammer_Right_Lighter_Half, "Iron Hammer Right Lighter Half");
	LanguageRegistry.addName(Gold_Hammer_Left_Gunpowder_Half, "Gold Hammer Left Gunpowder Half");
	LanguageRegistry.addName(Gold_Hammer_Right_Lighter_Half, "Gold Hammer Right Lighter Half");
	LanguageRegistry.addName(Diamond_Hammer_Left_Gunpowder_Half, "Diamond Hammer Left Gunpowder Half");
	LanguageRegistry.addName(Diamond_Hammer_Right_Lighter_Half, "Diamond Hammer Right Lighter Half");

	LanguageRegistry.addName(Iron_Hammer, "Iron Hammer");
	LanguageRegistry.addName(Gold_Hammer, "Gold Hammer");
	LanguageRegistry.addName(Diamond_Hammer, "Diamond Hammer");

	LanguageRegistry.addName(Strong_Iron, "Strong Iron");
	LanguageRegistry.addName(Strong_Gold, "Strong Gold");
	LanguageRegistry.addName(Strong_Diamond, "Strong Diamond");
	}

public String getVersion()
	{
	return version;
	}


}

 

When I get to the recipe of making the hammers left gunpowder half I have to remove the bottom left iron, gold or diamond to make it and I can't make the hammer right lighter half recipe and don't know what to do, if needed the other coding will be up when needed

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I tried do download the essential mod to my mod pack but i didnt work. I paly on 1.21 and it should work. I use neoforge for my modding. The weird things is my friend somehow added the mod to his modpack and many others that I somehow can´t. Is there anything i can do? 
    • Thanks, I've now installed a slightly newer version and the server is at least starting up now.
    • i have the same issue. Found 1 Create mod class dependency(ies) in createdeco-1.3.3-1.19.2.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Found 11 Create mod class dependency(ies) in createaddition-fabric+1.19.2-20230723a.jar, which are missing from the current create-1.19.2-0.5.1.i.jar Detailed walkthrough of mods which rely on missing Create mod classes: Mod: createaddition-fabric+1.19.2-20230723a.jar Missing classes of create: com/simibubi/create/compat/jei/category/sequencedAssembly/JeiSequencedAssemblySubCategory com/simibubi/create/compat/recipeViewerCommon/SequencedAssemblySubCategoryType com/simibubi/create/compat/rei/CreateREI com/simibubi/create/compat/rei/EmptyBackground com/simibubi/create/compat/rei/ItemIcon com/simibubi/create/compat/rei/category/CreateRecipeCategory com/simibubi/create/compat/rei/category/WidgetUtil com/simibubi/create/compat/rei/category/animations/AnimatedBlazeBurner com/simibubi/create/compat/rei/category/animations/AnimatedKinetics com/simibubi/create/compat/rei/category/sequencedAssembly/ReiSequencedAssemblySubCategory com/simibubi/create/compat/rei/display/CreateDisplay Mod: createdeco-1.3.3-1.19.2.jar Missing classes of create: com/simibubi/create/content/kinetics/fan/SplashingRecipe
    • The crash points to moonlight lib - try other builds or make a test without this mod and the mods requiring it
    • Do you have shaders enabled? There is an issue with the mod simpleclouds - remove this mod or disable shaders, if enabled  
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.