Jump to content

Recommended Posts

Posted

hi, i am a new modder and i've got an crash error. This IS MY CODE:

package minecraft.mod;

 

import net.minecraft.item.EnumToolMaterial;

import net.minecraft.item.Item;

import net.minecraft.item.ItemStack;

import net.minecraftforge.common.EnumHelper;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler;

import cpw.mods.fml.common.event.FMLPreInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.registry.*;

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

import cpw.mods.fml.common.Mod.*;

import net.minecraft.block.Block;

import net.minecraft.item.EnumToolMaterial;

import net.minecraft.item.ItemFood;

//Define basic information for mod

@Mod(modid= "minecraft.mod", name = "Mandarine Mania", version = "Alpha 0.0.1")

//Define Client & Server Side Requirements

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class FoodLol {

   

    @EventHandler

    public void preInit(FMLPreInitializationEvent event) {

}

//Define Our Items

public static Item DiamondMandarine;

public static Item DiamondDust;

public static Item Mandarine;

//Define Our tools

public static Item DiamondMandarineSword;

public static Item DiamondMandarineShovel;

public static Item DiamondMandarinePickAxe;

public static Item DiamondMandarineAxe;

public static Item DiamondMandarineHoe;

 

 

 

//Define our Material

public static EnumToolMaterial CraftingDiamondMandarine;

{

//Redifine Our Material

CraftingDiamondMandarine = EnumHelper.addToolMaterial("CraftingDiamondMandarine", 13, 6712, 80.0F, 40.0F, 42);

//Redifine Our items

DiamondMandarine = new DiamondMandarine(1005).setUnlocalizedName("DiamondMandarine");

DiamondDust = new DiamondDust(1006).setUnlocalizedName("DiamondDust");

Mandarine = new Mandarine(1007).setUnlocalizedName("Mandarine");

 

 

//Settings For our Tools

DiamondMandarineSword = (new ToolDiamondMandarineSword (1000, FoodLol.CraftingDiamondMandarine).setUnlocalizedName("Minecraft_Mod:DiamondMandarineSword"));

DiamondMandarineShovel = (new ToolDiamondMandarineShovel(1001, FoodLol.CraftingDiamondMandarine).setUnlocalizedName("MinecraftMod:DiamondMandarine_Shovel"));

DiamondMandarinePickAxe = (new ToolDiamondMandarinePickAxe(1002, FoodLol.CraftingDiamondMandarine).setUnlocalizedName("MinecraftMod:DiamondMandarine_PickAxe"));

DiamondMandarineAxe = (new ToolDiamondMandarineAxe(1003, FoodLol.CraftingDiamondMandarine).setUnlocalizedName("MinecraftMod:DiamondMandarine_Axe"));

DiamondMandarineHoe= (new ToolDiamondMandarineHoe(1004, FoodLol.CraftingDiamondMandarine).setUnlocalizedName("MinecraftMod:DiamondMandarine_Hoe"));

//Register our Tools

GameRegistry.registerItem(DiamondMandarineSword, DiamondMandarineSword);

LanguageRegistry.addName(DiamondMandarineSword, "DiamondMandarine Sword");

 

GameRegistry.registerItem(DiamondMandarineShovel, DiamondMandarineShovel);

LanguageRegistry.addName(DiamondMandarineShovel, "DiamondMandarine Shovel");

 

GameRegistry.registerItem(DiamondMandarinePickAxe, DiamondMandarinePickAxe);

LanguageRegistry.addName(DiamondMandarinePickAxe, "DiamondMandarine Pickaxe");

 

GameRegistry.registerItem(DiamondMandarineAxe, DiamondMandarineAxe);

LanguageRegistry.addName(DiamondMandarineAxe, "DiamondMandarine Axe");

 

GameRegistry.registerItem(DiamondMandarineHoe, DiamondMandarineHoe);

LanguageRegistry.addName(DiamondMandarineHoe, "DiamondMandarine Hoe");

 

//Register our Items

LanguageRegistry.addName(DiamondMandarine, "Diamond Mandarine");

LanguageRegistry.addName(DiamondDust, "Diamond Dust");

LanguageRegistry.addName(Mandarine, "Mandarine");

 

 

//Define Recipe for Tools

GameRegistry.addRecipe(new ItemStack(DiamondMandarinePickAxe, 1), new Object[]{

        "DDD"," S "," S ",'D',DiamondMandarine,'S',Item.stick

});

 

 

GameRegistry.addRecipe(new ItemStack(DiamondMandarineSword, 1), new Object[]{

" D "," D "," S ",'D',FoodLol.DiamondMandarine,'S',Item.stick

});

 

 

GameRegistry.addRecipe(new ItemStack(DiamondMandarineAxe, 1), new Object[]{

"DD","DS "," D ",'D',FoodLol.DiamondMandarine,'S',Item.stick

});

GameRegistry.addRecipe(new ItemStack(DiamondMandarineHoe, 1), new Object[]{

"DD "," S "," S ",'D',FoodLol.DiamondMandarine,'S',Item.stick

});

GameRegistry.addRecipe(new ItemStack(DiamondMandarineShovel, 1), new Object[]{

" D "," S "," S ",'D',FoodLol.DiamondMandarine,'S',Item.stick

});

//Define Recipe for Items

GameRegistry.addRecipe(new ItemStack(FoodLol.DiamondMandarine, 1), "DDD","DSD","DDD",

'D', FoodLol.DiamondDust, 'S', FoodLol.Mandarine);

GameRegistry.addShapelessRecipe(new ItemStack(FoodLol.DiamondDust, 9), new ItemStack(Item.diamond));

 

 

}

}

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

And THIS IS THE CRASH REPORT:

 

2014-02-18 17:44:59 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----

2014-02-18 17:44:59 [iNFO] [sTDOUT] // Sorry :(

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT] Time: 18/02/14 17:44

2014-02-18 17:44:59 [iNFO] [sTDOUT] Description: Initializing game

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT] java.lang.StringIndexOutOfBoundsException: String index out of range: 8

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.String.charAt(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:210)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:246)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:241)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at minecraft.mod.FoodLol.<init>(FoodLol.java:89)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Constructor.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.Class.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:

2014-02-18 17:44:59 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT] -- Head --

2014-02-18 17:44:59 [iNFO] [sTDOUT] Stacktrace:

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.String.charAt(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:210)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:246)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:241)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at minecraft.mod.FoodLol.<init>(FoodLol.java:89)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Constructor.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.Class.newInstance(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT] -- Initialization --

2014-02-18 17:44:59 [iNFO] [sTDOUT] Details:

2014-02-18 17:44:59 [iNFO] [sTDOUT] Stacktrace:

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-02-18 17:44:59 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-02-18 17:44:59 [iNFO] [sTDOUT]

2014-02-18 17:44:59 [iNFO] [sTDOUT] -- System Details --

2014-02-18 17:44:59 [iNFO] [sTDOUT] Details:

2014-02-18 17:44:59 [iNFO] [sTDOUT] Minecraft Version: 1.6.4

2014-02-18 17:44:59 [iNFO] [sTDOUT] Operating System: Windows 7 (x86) version 6.1

2014-02-18 17:44:59 [iNFO] [sTDOUT] Java Version: 1.7.0_45, Oracle Corporation

2014-02-18 17:44:59 [iNFO] [sTDOUT] Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

2014-02-18 17:44:59 [iNFO] [sTDOUT] Memory: 953294744 bytes (909 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)

2014-02-18 17:44:59 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

2014-02-18 17:44:59 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

2014-02-18 17:44:59 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed

2014-02-18 17:44:59 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

2014-02-18 17:44:59 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active

2014-02-18 17:44:59 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

2014-02-18 17:44:59 [iNFO] [sTDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed

2014-02-18 17:44:59 [iNFO] [sTDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed

2014-02-18 17:44:59 [iNFO] [sTDOUT] minecraft.mod{Alpha 0.0.1} [Mandarine Mania] (bin) Unloaded->Errored

2014-02-18 17:44:59 [iNFO] [sTDOUT] Launched Version: 1.6

2014-02-18 17:44:59 [iNFO] [sTDOUT] LWJGL: 2.9.0

2014-02-18 17:44:59 [iNFO] [sTDOUT] OpenGL: GeForce GT 610/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation

2014-02-18 17:44:59 [iNFO] [sTDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge'

2014-02-18 17:44:59 [iNFO] [sTDOUT] Type: Client (map_client.txt)

2014-02-18 17:44:59 [iNFO] [sTDOUT] Resource Pack: Default

2014-02-18 17:44:59 [iNFO] [sTDOUT] Current Language: English (US)

2014-02-18 17:44:59 [iNFO] [sTDOUT] Profiler Position: N/A (disabled)

2014-02-18 17:44:59 [iNFO] [sTDOUT] Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

2014-02-18 17:44:59 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\maximka2030\Desktop\MCForge MODDING\MOD\mcp\jars\.\crash-reports\crash-2014-02-18_17.44.59-client.txt

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

PLZZZZ HELP ME

Posted

You're missing a space here:

      GameRegistry.addRecipe(new ItemStack(DiamondMandarineAxe, 1), new Object[]{
         "DD", //<------ Right here
"DS "," D ",'D',FoodLol.DiamondMandarine,'S',Item.stick
      });

 

Could you post the FoodLol class?

Kain

Posted

Also please don't put your mod inside the minecraft package...

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

So that how the code should be????:

 

      GameRegistry.addRecipe(new ItemStack(DiamondMandarinePickAxe, 1), new Object[]{

          "DDD",

      " S "," S ",'D',DiamondMandarine,'S',Item.stick

      });

 

 

      GameRegistry.addRecipe(new ItemStack(DiamondMandarineSword, 1), new Object[]{

        " D ",

      " D "," S ",'D',FoodLol.DiamondMandarine,'S',Item.stick

      });

 

 

      GameRegistry.addRecipe(new ItemStack(DiamondMandarineAxe, 1), new Object[]{

      "DD",

      "DS "," D ",'D',FoodLol.DiamondMandarine,'S',Item.stick

      });

      GameRegistry.addRecipe(new ItemStack(DiamondMandarineHoe, 1), new Object[]{

      "DD ",

      " S "," S ",'D',FoodLol.DiamondMandarine,'S',Item.stick

      });

      GameRegistry.addRecipe(new ItemStack(DiamondMandarineShovel, 1), new Object[]{

        " D ",

      " S "," S ",'D',FoodLol.DiamondMandarine,'S',Item.stick

      });

--------------------------------------------------------------------------------------------------

PS: That's the link for foodlol.java!

CLICK HERE---------->    https://mega.co.nz/#!aJoFjIBT!5iVlfpIy45AYmF6cI1dp-NMy5xtuDrO-VfDJ6INeh5w

Posted

That depends on what you want the recipe to be.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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