Le modding en vidéo

  • Auteur de la discussion Auteur de la discussion Toadico
  • Date de début Date de début

Toadico

Architecte en herbe
23 Avril 2011
84
5
105
Bonjour !

Je vous présente ici une série de tutoriaux vidéos que j'ai réalisé pour débuter dans le modding :

Premier épisode : http://dai.ly/itLyeX

Il y a actuellement 7 épisodes, pour l'instant pas de 8ème au programme. Dites-moi ce que vous en pensez, et si vous avez des questions sur le modding, postez-les de préférence ici pour ne pas surcharger Dailymotion en commentaires (je sais que je n'ai pas un nombre hallucinant de vues, mais c'est surtout que vous pourrez poster de plus long message ici).

Si vous préférez un support d'apprentissage écrit je vous redirige vers le très bon tuto de nostre.

Bonnes vidéos ! :)
 
Bonjours ,
Je suis entrain de me créé un mod rajoutant un bloc (ok) un item(ok) et une épée utilisant le dit item d'après ta vidéo numéro 7 Toadico , le problème c'est que j'ai ce message d'erreur lorsque je recompile ( j'ai mis les fichiers de ScotTools source dans le fichier src de mcp) :

Code:
== ERRORS FOUND ==
 
src\minecraft\net\minecraft\src\mod_MonMod.java:30: cannot find symbol
symbol : constructor ItemSword(int,int,int)
location: class net.minecraft.src.ItemSword
Darksword = (new ItemSword(414, 2000, 4))^

Maintenant voila le code de mon mod:

Code:
package net.minecraft.src;
import java.util.Random;
public class mod_MonMod extends BaseMod
 
{
    public static final Block Silverore = (new BlockMonBloc(123, 153))
    .setHardness(1.5F)
    .setResistance(10F)
    .setStepSound(Block.soundStoneFootstep)
    .setBlockName("Silver Ore");
 
 
 
    public mod_MonMod()
    {
        ModLoader.RegisterBlock(Silverore);
        ModLoader.AddRecipe(
        new ItemStack(Silverore, 4),
        new Object[] {"##", "##", Character.valueOf('#'), Block.dirt}
        );
        ModLoader.AddName(Silverore, "Silver Ore");
        ModLoader.AddSmelting(Block.obsidian.blockID, new ItemStack(Silverore, 2));
 
 
        Silver1 = (new ItemMonItem(1000))
        .setIconIndex(ModLoader.addOverride("/gui/items.png", "/mod_MonMod_items/Silver.png"))
        .setItemName("Silver");
        ModLoader.AddName(Silver1, "Silver");
 
        Darksword = (new ItemSword(414, 2000, 4))
        .setIconIndex(150)
        .setItemName("Epée Du Chevalier Noir");
        ModLoader.AddName(Darksword, "Epée du Chevalier Noir");
        ModLoader.AddRecipe(
        new ItemStack(Darksword, 1),
        new Object[] {" X ", " X ", " # ", Character.valueOf('#'), Item.stick, Character.valueOf('X'), Block.dirt}
        );
    }
 
    public String Version()
    {
        return "1.0.0";
    }
    public static Item Silver1;
    public static Item Darksword;
 
    @Override
    public String getVersion() { return null; }
 
    @Override
    public void load() {}
 
}

Merci de m'aider car je ne trouve pas mon erreur :'( .
PS: Dans ScotTools pour la 1.0.0 le fichier ItemCustomSword n'existe pas , il s’appelle ItemSword si sa peut t'aider à résoudre mon problème.
 
Bonjour, depuis la mise à jour quand j'essaie de recompiler, il me met cette erreur, alors que avant ça marchait parfaitement :​
Code:
[/INDENT]
[INDENT=1]== MCP 6.2 (data: 6.2, client: 1.2.5, server: 1.2.5) ==[/INDENT]
[INDENT=1]# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa[/INDENT]
[INDENT=1]ram csvs, astyle, astyle config[/INDENT]
[INDENT=1]== Recompiling client ==[/INDENT]
[INDENT=1]> Cleaning bin[/INDENT]
[INDENT=1]> Recompiling[/INDENT]
[INDENT=1]'"C:\Program Files (x86)\Java\jdk1.7.0_01\bin\javac" -Xlint:-options -deprecatio[/INDENT]
[INDENT=1]n -g -source 1.6 -tar...' failed : 1[/INDENT]
[INDENT=1]== ERRORS FOUND ==[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\BlockC4.java:171: error: cannot find symbol[/INDENT]
[INDENT=1]if (world.multiplayerWorld)[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: variable multiplayerWorld[/INDENT]
[INDENT=1]location: variable world of type World[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\BlockC4.java:222: error: cannot find symbol[/INDENT]
[INDENT=1]setTickOnLoad(true);[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method setTickOnLoad(boolean)[/INDENT]
[INDENT=1]location: class BlockC4[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\BlockdoubleC4.java:171: error: cannot find symbo[/INDENT]
[INDENT=1]l[/INDENT]
[INDENT=1]if (world.multiplayerWorld)[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: variable multiplayerWorld[/INDENT]
[INDENT=1]location: variable world of type World[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\BlockdoubleC4.java:222: error: cannot find symbo[/INDENT]
[INDENT=1]l[/INDENT]
[INDENT=1]setTickOnLoad(true);[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method setTickOnLoad(boolean)[/INDENT]
[INDENT=1]location: class BlockdoubleC4[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\EntityC4Primed.java:45: error: cannot find symbo[/INDENT]
[INDENT=1]l[/INDENT]
[INDENT=1]if (!worldObj.multiplayerWorld)[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: variable multiplayerWorld[/INDENT]
[INDENT=1]location: variable worldObj of type World[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\EntityC4Primed.java:47: error: cannot find symbo[/INDENT]
[INDENT=1]l[/INDENT]
[INDENT=1]setEntityDead();[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method setEntityDead()[/INDENT]
[INDENT=1]location: class EntityC4Primed[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\EntityC4Primed.java:52: error: cannot find symbo[/INDENT]
[INDENT=1]l[/INDENT]
[INDENT=1]setEntityDead();[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method setEntityDead()[/INDENT]
[INDENT=1]location: class EntityC4Primed[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\EntitydoubleC4Primed.java:45: error: cannot find[/INDENT]
[INDENT=1]symbol[/INDENT]
[INDENT=1]if (!worldObj.multiplayerWorld)[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: variable multiplayerWorld[/INDENT]
[INDENT=1]location: variable worldObj of type World[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\EntitydoubleC4Primed.java:47: error: cannot find[/INDENT]
[INDENT=1]symbol[/INDENT]
[INDENT=1]setEntityDead();[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method setEntityDead()[/INDENT]
[INDENT=1]location: class EntitydoubleC4Primed[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\EntitydoubleC4Primed.java:52: error: cannot find[/INDENT]
[INDENT=1]symbol[/INDENT]
[INDENT=1]setEntityDead();[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method setEntityDead()[/INDENT]
[INDENT=1]location: class EntitydoubleC4Primed[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:22: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.SetInGUIHook(this, true, true);[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method SetInGUIHook(mod_C4,boolean,boolean)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:23: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.SetInGameHook(this, true, true);[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method SetInGameHook(mod_C4,boolean,boolean)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:27: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.RegisterBlock(doubleC4);[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method RegisterBlock(Block)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:28: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.RegisterBlock(C4);[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method RegisterBlock(Block)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:29: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddName(doubleC4, "Double C4");[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddName(Block,String)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:30: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddName(C4, "C4");[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddName(Block,String)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:35: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddName(teledoubleC4, "Control Double C4");[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddName(Item,String)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:40: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddName(teleC4, "Control C4");[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddName(Item,String)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:45: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddName(tele2doubleC4, "Super Control Double C4");[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddName(Item,String)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:50: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddName(tele2C4, "Super Control C4");[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddName(Item,String)[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:52: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:57: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:62: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:67: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:72: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:77: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:82: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:87: error: cannot find symbol[/INDENT]
[INDENT=1]ModLoader.AddRecipe([/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: method AddRecipe(ItemStack,Object[])[/INDENT]
[INDENT=1]location: class ModLoader[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:109: error: method does not override[/INDENT]
[INDENT=1]or implement a method from a supertype[/INDENT]
[INDENT=1]@Override[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:124: error: cannot find symbol[/INDENT]
[INDENT=1]if((guiscreen instanceof GuiContainerCreative) && !(lastGuiOpen instance[/INDENT]
[INDENT=1]of GuiContainerCreative) && !minecraft.theWorld.multiplayerWorld)[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]symbol: variable multiplayerWorld[/INDENT]
[INDENT=1]location: variable theWorld of type World[/INDENT]
[INDENT=1]src\minecraft\net\minecraft\src\mod_C4.java:121: error: method does not override[/INDENT]
[INDENT=1]or implement a method from a supertype[/INDENT]
[INDENT=1]@Override[/INDENT]
[INDENT=1]^[/INDENT]
[INDENT=1]31 errors[/INDENT]
[INDENT=1]==================[/INDENT]
[INDENT=1]!! Can not find server sources, try decompiling !![/INDENT]
[INDENT=1]Appuyez sur une touche pour continuer...[/INDENT]
[INDENT=1]
Est-ce que vous pouvez m'aider ?​
C'est comme si il ne trouvait pas modloader​
[/code][/INDENT]
 
Oui effectivement anoobnyme, cela permettrait une aide plus active de la part de la communauté, surtout que je ne modde plus depuis quelque temps...
 
bonjour, j'ai visionner tes vidéos je les aime bien mais est ce que c'est toujours la meme chose meme si ya eu la 1.2.5 sinon tes video sont vrm bon