1

[1.7.10] Help [Java Modding]

TheMurkyModder 11/20/14 10:58 am
391
11/20/2014 11:30 am
What is with all these errors i get just from this?


@EventHandler
public void init(FMLInitializationEvent event){

}
@EventHandler
public void postInit(FMLPostInitialization event) {

}
Posted by
TheMurkyModder
Level 1 : New Crafter
0

  Have something to say?

JoinSign in

8

TheMurkyModder
11/20/2014 11:30 am
Level 1 : New Crafter
1
TheMurkyModder
11/20/2014 11:24 am
Level 1 : New Crafter
Do you have skype im still getting errors i would love to share my screen.
1
anonpmc844841
11/20/2014 11:27 am
Level 13 : Journeyman Miner
[deleted]
1
anonpmc844841
11/20/2014 11:22 am
Level 13 : Journeyman Miner
[deleted]
1
TheMurkyModder
11/20/2014 11:18 am
Level 1 : New Crafter
package murky;

import murky.items.ItemCopperPickaxe;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.util.EnumHelper;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
@Mod(modid = "mm", name = "More Ores Mod", version = "1.0")
public class BaseClass {

public static Item itemWand;
public static Block blockCopperore;
public static Item copperPickaxe;
public static Item copperSword;

public static final Item.ToolMaterial copperToolMaterial = EnumHelper.addToolMaterial("copperToolMaterial", 2, 520, 6.0F, 1.5F, 10);




@EventHandler
public void preInit(FMLPreInitializationEvent event) {
itemWand = new ItemWand().setUnlocalizedName("ItemWand").setTextureName("mm:itemwand");
GameRegistry.registerItem(itemWand, itemWand.getUnlocalizedName().substring(5));
blockCopperore = new BlockCopperore(Material.iron).setBlockName("BlockCopperOre").setBlockTextureName("mm:blockcopperore");
GameRegistry.registerBlock(blockCopperore, blockCopperore.getUnlocalizedName().substring(5));
GameRegistry.addRecipe (new ItemStack(itemWand), new Object[]{" B "," W "," W ", 'W', Blocks.planks, 'B', Items.blaze_rod});
copperPickaxe = new ItemCopperPickaxe(copperToolMaterial);

@EventHandler
public void init(FMLInitializationEvent event){

}
@EventHandler
public void postInit(FMLPostInitializationEvent event){

}
1
MaddDogg
11/20/2014 11:16 am
Level 1 : New Miner
show all
1
anonpmc844841
11/20/2014 11:13 am
Level 13 : Journeyman Miner
[deleted]
1
anonpmc1656136
11/20/2014 11:03 am
Level 9 : Apprentice Miner
[deleted]
1

Welcome