Modding FR

nostre

Aventurier
13 Novembre 2010
424
5
0
31
subject_mods_32.png

Minecraft est un jeu en plein développement,aussi bien du coté de chez Mojang que de celui de la communauté, qui ne cesse de développer toujours plus de mods et de extures packs.

Cependant, pour toute personne voulant tenter le modding de Minecraft,il faudra passer par les tutoriaux du forum officiel,où le français n'est pas vraiment courant.
De plus,si la personne en question ne connait pas un minimum certaines bases de code,sa devient vite un enfer de se lancer dans le domaines...

C'est pourquoi,devant l'absence total de tutoriel français sur le sujet,et afin d'encourager de nouveaux modder français,j'ai décidé de créer le 1er Tutoriel de Modding Minecraft FR.

Le but n'est pas seulement de créer un tutoriel en français,j'esseye de faire en sorte qu'il sois le plus accessible possible pour toutes personnes, compréhensible même pour des non initiés a toutes formes de codes (ou presque).

tutorial.gif


changelog.png
ChangeLog:
changelog.png

*27-02-11: Mise a jour des tutos I et III pour MCP 29a et ModLoader Beta 1.3_01v4.
*27-02-11: Correction d'une erreur dans le tuto II,merci a Woreck de me l'avoir fait remarquer !
*11-04-11: Mise a jour complète pour Minecraft Beta 1.4_01,MCP211 et ModLoader B1.4_01 v1.
*27-04-2011: Mise a jour pour Minecraft B1.5_01,MCP v2.12 et ModLoader v3 B1.5_01.
*30-04-2011: Correction d'une erreur avec les recettes,et mise a disposition des fichiers mod_MyMod.java et BlockMyBloc.java.
exclamation.gif
*29-05-11: Mise a jour pour Minecraft B1.6.5,MCP v3.3 et ModLoader v1 B1.6.5.


! Les liens suivants sont morts !

tuto.png

green-download-arrow-grey-line.png
Tutorial Modding FR - Téléchargement:
green-download-arrow-grey-line.png

asus_download_arrow004.gif
Tuto I - Téléchargement et installation
asus_download_arrow004.gif
Tuto II - Création d'un mod simple,ajout de nouveaux blocs
asus_download_arrow004.gif
Tuto III - Compilation et tests
asus_download_arrow004.gif
Tuto IV - Quelques petits trucs a savoir avant de continuer
asus_download_arrow004.gif
Tuto - Création de nouveaux objets
asus_download_arrow004.gif
Tuto - Ajouter des blocs et objets pour le four
asus_download_arrow004.gif
Tuto - Blocs – Autres possibilités
asus_download_arrow004.gif
Tuto - Autres possibilités - objets
asus_download_arrow004.gif
Sources du mod du Tuto II

Nouveaux fichiers ajoutés suite aux liens morts à la fin du message.
Il manque juste les "Sources du mod du Tuto II".
Je précise que ce sont les fichiers d'origine, le code est parfois obsolète !
 

Fichiers joints

Sorax a dit:
Oui donc en gros tu m'a dis ce que je savais déjà, je voulais juste savoir si je pouvais utiliser Item ou la création de mon Item.

Il est parfois bon de le rappeler ^^, et oui, si tu ne fait que changer des propriétés, sans en rajouter, il est viable d'utiliser la classe Item.
 
KiwiAtomique essaye avec ceci :

Code:
public boolean onItemUse(ItemStack itemstack, EntityPlayer entityplayer, World world, int i, int j, int k, int l)
    {
        if(l != 1)
        {
            return false;
        }
        int i1 = world.getBlockId(i, j, k);
        if(i1 == mod_MonMod.distributeur.blockID)
        {
            itemstack.ItemID = mod_MonMod.chopepleine.shiftedIndex;
            return true;
        } else
        {
            return false;
        }
    }
 
Bon ça m'énerve un peu là, quoique je fasse, voici le problème, j'ai même étais jusqu'à tout recoder, et voilà à chaque fois le même problème :

Code:
Mods loaded: 1
ModLoader Beta 1.6.6

      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem.

If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.



--- BEGIN ERROR REPORT 72687359 --------
Generated 20/06/11 11:40

Minecraft: Minecraft Beta 1.6.6
OS: Windows XP (x86) version 5.1
Java: 1.6.0_26, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: GeForce 8600M GS/PCI/SSE2 version 3.3.0, NVIDIA Corporation

java.lang.IllegalArgumentException
	at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
	at java.util.zip.ZipInputStream.getFileName(Unknown Source)
	at java.util.zip.ZipInputStream.readLOC(Unknown Source)
	at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
	at ModLoader.readFromModFolder(ModLoader.java:1096)
	at ModLoader.init(ModLoader.java:822)
	at ModLoader.AddAllRenderers(ModLoader.java:124)
	at tc.<init>(tc.java:60)
	at tc.<clinit>(tc.java:9)
	at net.minecraft.client.Minecraft.a(SourceFile:312)
	at net.minecraft.client.Minecraft.run(SourceFile:683)
	at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 93888bf1 ----------

J'ai cherché partout et pas moyen de trouver réponse à mon problème !

Voici le code :

Code:
package net.minecraft.src;
import java.util.*;

public class mod_MoNightmare extends BaseMod
{	
	//Item normaux
	public static final Item mybowlMilk = (new ItemSoup(2009,3)).setItemName("Bol de lair").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/boldelait.png"));;
	public static final Item mybanane = (new ItemBanane(2010,4)).setItemName("Banane").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/banane.png"));
	public static final Item myamethyste =(new Item(2011)).setItemName("Amethyste").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/amethyste.png"));
	public static final Item myrubis =(new Item(2012)).setItemName("Rubis").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/rubis.png"));
	public static final Item myfioleor =(new Item(2013)).setItemName("Fiole Or").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/fioleor.png"));
	public static final Item myfiolediamant =(new Item(2014)).setItemName("Fiole Diamant").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/fiolediamant.png"));
	public static final Item myfiolerubis =(new Item (2015)).setItemName("Fiole Rubis").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/fiolerubis.png"));

	//Epée
	public static final Item myswordamethyste =(new ItemSwordNightmare(2016, EnumToolNightmare.AMETHYSTE)).setItemName("Epee Amethyste").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/swordamethyste.png"));
	public static final Item myswordmysteriox =(new ItemSwordNightmare(2017, EnumToolNightmare.MYSTERIOX)).setItemName("Epee Mysteriox").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/swordmysteriox.png")); 

	//Item Armor
	public static final Item myecailles = (new Item(2018)).setItemName("myecailles").setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/ecaille.png"));
	public static final Item helmetcroco = (new ItemArmor(916, 2, ModLoader.AddArmor("croco"), 0).setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/helmetcroco.png")).setItemName("HelmetCroco"));
	public static final Item bodycroco = (new ItemArmor(917, 2, ModLoader.AddArmor("croco"), 1).setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/bodycroco.png")).setItemName("BodyCroco"));
	public static final Item legscroco = (new ItemArmor(918, 2, ModLoader.AddArmor("croco"), 2).setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/legscroco.png")).setItemName("LegsCroco"));
	public static final Item bootscroco = (new ItemArmor(919, 2, ModLoader.AddArmor("croco"), 3).setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod/junglecraft/bootscroco.png")).setItemName("BootsCroco"));
		
	public mod_MoNightmare()
	{	
		//Recette
		ModLoader.AddRecipe(new ItemStack(mybowlMilk, 1), new Object[] {"#", "X", Character.valueOf('#'), Item.bucketMilk, Character.valueOf('X'), Item.bowlEmpty}); 
		ModLoader.AddRecipe(new ItemStack(myamethyste, 1), new Object[] {"#", "Y", " X", Character.valueOf('#'), myfiolerubis, Character.valueOf('X'), myfioleor, Character.valueOf('Y'), myfiolediamant}); 
		ModLoader.AddRecipe(new ItemStack(myswordamethyste, 1), new Object[] {"#", "#", "X", Character.valueOf('#'), myamethyste, Character.valueOf('X'), Item.stick});
	
		//Four
		ModLoader.AddSmelting(myrubis.shiftedIndex, new ItemStack(myfiolerubis));
		ModLoader.AddSmelting(Item.diamond.shiftedIndex, new ItemStack(myfiolediamant));
		ModLoader.AddSmelting(Item.ingotGold.shiftedIndex, new ItemStack(myfioleor));
		
		//AddName
		ModLoader.AddName(mybowlMilk, "Bol de lait");
		ModLoader.AddName(mybanane, "Banane");
		ModLoader.AddName(myfiolerubis, "Rubissium");
		ModLoader.AddName(myfiolediamant, "Diamanssium");
		ModLoader.AddName(myfioleor, "Orissium");
	}
	
	//Version
	public String Version()
	{
		return "MoNightmare V0.1";
	}
	
}
 
Il y en a une:
Code:
java.lang.IllegalArgumentException

Cela signifie que quelque part dans le code, tu passe un mauvais argument. (un int à la place d'un object, par exemple).

Regarde donc tous tes appels de fonction, ça provient de là.
 
Sinon essaye de développer en utilisant eclipse que je trouve très pratique car on peut explorer tout les fichiers src facilement, il vérifie les erreurs et en plus on peut tester son mod directement.

Sinon je vien de finir un mod mais quand je le mait sur mon jeu voila le message d'erreur :
Code:
20 juin 2011 13:38:12 ModLoader init
FIN: ModLoader Beta 1.6.6 Initializing...
20 juin 2011 13:38:12 ModLoader readFromClassPath
PLUS FIN: Adding mods from C:\Documents and Settings\Salle de Jeux\Application Data\.minecraft\bin\minecraft.jar
20 juin 2011 13:38:12 ModLoader readFromClassPath
PLUS FIN: Zip found.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,ModCacao/FeveCacaoCote.png,30). 87 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,ModCacao/FeveCacao.png,54). 86 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,ModCacao/Cacaoyer.png,76). 85 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,ModCacao/Feuille.png,77). 84 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,ModCacao/Cacao.png,38). 130 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/bowlcacaof.png,46). 129 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/bowlcacaoc.png,61). 128 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/chocolat.png,62). 127 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/farine.png,91). 126 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/pate.png,93). 125 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/spagetti.png,101). 124 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/pizza1.png,78). 83 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/pizza2.png,85). 82 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/pizza3.png,100). 81 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/pizza4.png,101). 80 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/pizzaitem.png,102). 123 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/pizzaitem2.png,105). 122 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate0.png,106). 79 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate1.png,107). 78 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate2.png,108). 77 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate3.png,109). 76 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate4.png,110). 75 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate5.png,111). 74 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate6.png,125). 73 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/tomate7.png,126). 72 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/tomate.png,106). 121 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/tomategraine.png,107). 120 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/fertilisant.png,108). 119 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/spagettibolo.png,109). 118 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/bowlmilk.png,117). 117 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/fromage.png,118). 116 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule0.png,127). 71 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule1.png,136). 70 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule2.png,137). 69 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule3.png,138). 68 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule4.png,139). 67 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule5.png,141). 66 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule6.png,142). 65 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule7.png,143). 64 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule8.png,148). 63 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/terrain.png,mod/moule9.png,153). 62 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/cheeseburger.png,119). 115 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/hamburger.png,120). 114 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/caramelc.png,121). 113 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/caramelf.png,122). 112 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/bonbon.png,123). 111 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/bowlcaramel.png,124). 110 left.
20 juin 2011 13:38:13 ModLoader addOverride
PLUS FIN: addOverride(/gui/items.png,mod/fertilisantXP.png,125). 109 left.
20 juin 2011 13:38:13 ModLoader addMod
FIN: Failed to load mod from "mod_Cacaoyer.class"
20 juin 2011 13:38:13 ModLoader addMod
PLUS FIN: THROW
java.lang.NullPointerException
	at hi.a(SourceFile:456)
	at ModLoader.AddRecipe(ModLoader.java:381)
	at mod_Cacaoyer.<init>(Unknown Source)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.lang.Class.newInstance0(Unknown Source)
	at java.lang.Class.newInstance(Unknown Source)
	at ModLoader.addMod(ModLoader.java:215)
	at ModLoader.readFromClassPath(ModLoader.java:1145)
	at ModLoader.init(ModLoader.java:823)
	at ModLoader.AddAllRenderers(ModLoader.java:124)
	at tc.<init>(tc.java:60)
	at tc.<clinit>(tc.java:9)
	at net.minecraft.client.Minecraft.a(SourceFile:312)
	at net.minecraft.client.Minecraft.run(SourceFile:683)
	at java.lang.Thread.run(Unknown Source)
20 juin 2011 13:38:24 ModLoader addMod
FIN: Mod Loaded: "mod_MoreFood 1.5_01" from mod_MoreFood.class
20 juin 2011 13:38:24 ModLoader AddAllRenderers
FIN: Initialized
 
bonjours alors voila depuis hier je cherche a genere une plante mais sa crahs toujours voilas les code et le crash

mod-mymod

Code:
package net.minecraft.src;

public class mod_mymod extends BaseMod
{
	public mod_mymod()
	{
	ModLoader.AddName(herbedodo, "Herbe Sommeille");
    ModLoader.RegisterBlock(herbedodo);
	}

public static final Block herbedodo = (new Blockherbedodo(105,ModLoader.addOverride("/terrain.png", "/mod/herbedodo.png"))).setHardness(2.0F).setResistance(30F).setStepSound(Block.soundStoneFootstep).setBlockName("Herbe Sommeille");
	
	public String Version()
	{
	return "1.5_01";
	}

Blockherbedodo
Code:
package net.minecraft.src;

import java.util.Random;

// Referenced classes of package net.minecraft.src:
//            Block, Material, World, BlockGrass, 
//            AxisAlignedBB

public class Blockherbedodo extends Block
{

    protected Blockherbedodo(int i, int j)
    {
        super(i, Material.plants);
        blockIndexInTexture = j;
        setTickOnLoad(true);
        float f = 0.2F;
        setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 3F, 0.5F + f);
    }

    public boolean canPlaceBlockAt(World world, int i, int j, int k)
    {
        return super.canPlaceBlockAt(world, i, j, k) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
    }

    protected boolean canThisPlantGrowOnThisBlockID(int i)
    {
        return i == Block.grass.blockID || i == Block.dirt.blockID || i == Block.tilledField.blockID;
    }

    public void onNeighborBlockChange(World world, int i, int j, int k, int l)
    {
        super.onNeighborBlockChange(world, i, j, k, l);
        func_268_h(world, i, j, k);
    }

    public void updateTick(World world, int i, int j, int k, Random random)
    {
        func_268_h(world, i, j, k);
    }

    protected final void func_268_h(World world, int i, int j, int k)
    {
        if(!canBlockStay(world, i, j, k))
        {
            dropBlockAsItem(world, i, j, k, world.getBlockMetadata(i, j, k));
            world.setBlockWithNotify(i, j, k, 0);
        }
    }

    public boolean canBlockStay(World world, int i, int j, int k)
    {
        return (world.getFullBlockLightValue(i, j, k) >= 8 || world.canBlockSeeTheSky(i, j, k)) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
    }

    public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
    {
        return null;
    }

    public boolean isOpaqueCube()
    {
        return false;
    }

    public boolean renderAsNormalBlock()
    {
        return false;
    }

    public int getRenderType()
    {
        return 1;
    }
}

world gen herbedodo

Code:
package net.minecraft.src;

import java.util.Random;

// Referenced classes of package net.minecraft.src:
//            WorldGenerator, World, Block, BlockFlower

public class WorldGenherbedodo extends WorldGenerator
{

    public WorldGenherbedodo(int i)
    {
    }

    public boolean generate(World world, Random random, int i, int j, int k)
    {
        for(int l = 0; l < 64; l++)
        {
            int i1 = (i + random.nextInt(8)) - random.nextInt(8);
            int j1 = (j + random.nextInt(4)) - random.nextInt(4);
            int k1 = (k + random.nextInt(8)) - random.nextInt(8);
            if(world.isAirBlock(i1, j1, k1) && world.getBlockId(i1, j1 - 1, k1) == Block.grass.blockID && mod_mymod.herbedodo.canPlaceBlockAt(world, i1, j1, k1))
            {
                world.setBlockAndMetadata(i1, j1, k1, mod_mymod.herbedodo.blockID, random.nextInt(4));
            }
        }

se su'il ya a desn chunk providence

Code:
if(rand.nextInt(2) == 0)
        {
            int j15 = k + rand.nextInt(16) + 8;
            int j17 = rand.nextInt(128);
            int j20 = l + rand.nextInt(16) + 8;
            (new WorldGenFlowers(mod_mymod.herbedodo.blockID)).generate(worldObj, rand, j15, j17, j20);
        }
return true;
    }

   
}

puis le crash
Code:
Mods loaded: 1
ModLoader Beta 1.6.6

      Minecraft has crashed!      
      ----------------------      

Minecraft has stopped running because it encountered a problem.

If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.



--- BEGIN ERROR REPORT 72687359 --------
Generated 20/06/11 16:26

Minecraft: Minecraft Beta 1.6.6
OS: Windows 7 (x86) version 6.1
Java: 1.6.0_26, Sun Microsystems Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.4.2
OpenGL: Intel(R) HD Graphics version 2.1.0 - Build 8.15.10.2141, Intel

java.lang.NullPointerException
	at net.minecraft.src.CraftingManager.addRecipe(CraftingManager.java:257)
	at net.minecraft.src.ModLoader.AddRecipe(ModLoader.java:428)
	at net.minecraft.src.mod_newtool.<init>(mod_newtool.java:39)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at net.minecraft.src.ModLoader.addMod(ModLoader.java:215)
	at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1179)
	at net.minecraft.src.ModLoader.init(ModLoader.java:785)
	at net.minecraft.src.ModLoader.AddAllRenderers(ModLoader.java:112)
	at net.minecraft.src.RenderManager.<init>(RenderManager.java:65)
	at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:158)
	at net.minecraft.client.Minecraft.startGame(Minecraft.java:138)
	at net.minecraft.client.Minecraft.run(Minecraft.java:435)
	at java.lang.Thread.run(Thread.java:662)
--- END ERROR REPORT 7e583e72 ----------

voila j'esper que vous pourez m'aider