25 nov. 2013, 07:44

Hmm depuis hier, passé plus de 15heures sur ce tuto ><
Fonctionne toujours pas je suis désespéré …
L’œuf et le mob apparait dans le jeux (même si je le vois pas je ne peux pas poser de block là ou j’ai posé le mob) mais comme plusieurs personne apparemment le skin ne se charge pas …

Voici le log :


nov. 25, 2013 8:34:33 AM net.minecraft.launchwrapper.LogWrapper log
Infos: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
nov. 25, 2013 8:34:33 AM net.minecraft.launchwrapper.LogWrapper log
Infos: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
nov. 25, 2013 8:34:33 AM net.minecraft.launchwrapper.LogWrapper log
Infos: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_45, running on Windows XP:x86:5.1, installed at C:\Program Files\Java\jre7
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
2013-11-25 08:34:33 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2013-11-25 08:34:33 [Infos] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
2013-11-25 08:34:34 [Grave] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2013-11-25 08:34:35 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
2013-11-25 08:34:35 [Infos] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
2013-11-25 08:34:35 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
2013-11-25 08:34:35 [Infos] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
2013-11-25 08:34:36 [Infos] [Minecraft-Client] Setting user: Player757
2013-11-25 08:34:37 [Infos] [Minecraft-Client] LWJGL Version: 2.9.0
2013-11-25 08:34:37 [Infos] [STDERR] javax.imageio.IIOException: Can't read input file!
2013-11-25 08:34:37 [Infos] [STDERR] at javax.imageio.ImageIO.read(Unknown Source)
2013-11-25 08:34:37 [Infos] [STDERR] at net.minecraft.client.Minecraft.readImage(Minecraft.java:558)
2013-11-25 08:34:37 [Infos] [STDERR] at net.minecraft.client.Minecraft.startGame(Minecraft.java:419)
2013-11-25 08:34:37 [Infos] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:808)
2013-11-25 08:34:37 [Infos] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93)
2013-11-25 08:34:37 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-25 08:34:37 [Infos] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-11-25 08:34:37 [Infos] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-11-25 08:34:37 [Infos] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-11-25 08:34:37 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-11-25 08:34:37 [Infos] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-11-25 08:34:39 [Infos] [Minecraft-Client] Reloading ResourceManager: Default
2013-11-25 08:34:39 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
2013-11-25 08:34:39 [Infos] [STDOUT] MinecraftForge v9.11.1.953 Initialized
2013-11-25 08:34:39 [Infos] [ForgeModLoader] MinecraftForge v9.11.1.953 Initialized
2013-11-25 08:34:40 [Infos] [STDOUT] Replaced 112 ore recipies
2013-11-25 08:34:40 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
2013-11-25 08:34:40 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Documents and Settings\Administrateur\Bureau\forge\mcp\jars\config\logging.properties
2013-11-25 08:34:40 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-11-25 08:34:40 [Infos] [ForgeModLoader] Searching C:\Documents and Settings\Administrateur\Bureau\forge\mcp\jars\mods for mods
2013-11-25 08:34:44 [Infos] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-11-25 08:34:44 [Infos] [mcp] Activating mod mcp
2013-11-25 08:34:44 [Infos] [FML] Activating mod FML
2013-11-25 08:34:44 [Infos] [Forge] Activating mod Forge
2013-11-25 08:34:44 [Infos] [testemodel] Activating mod testemodel
2013-11-25 08:34:44 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2013-11-25 08:34:44 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2013-11-25 08:34:44 [Avertissement] [testemodel] Mod testemodel is missing a pack.mcmeta file, things may not work well
2013-11-25 08:34:44 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testemodel
2013-11-25 08:34:44 [Infos] [ForgeModLoader] Registering Forge Packet Handler
2013-11-25 08:34:44 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-11-25 08:34:44 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-11-25 08:34:46 [Infos] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2013-11-25 08:34:46 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2013-11-25 08:34:46 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2013-11-25 08:34:46 [Avertissement] [testemodel] Mod testemodel is missing a pack.mcmeta file, things may not work well
2013-11-25 08:34:46 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:testemodel
2013-11-25 08:34:47 [Infos] [STDOUT]
2013-11-25 08:34:47 [Infos] [STDOUT] Starting up SoundSystem…
2013-11-25 08:34:47 [Infos] [STDOUT] Initializing LWJGL OpenAL
2013-11-25 08:34:47 [Infos] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
2013-11-25 08:34:48 [Infos] [STDOUT] OpenAL initialized.
2013-11-25 08:34:48 [Infos] [STDOUT]
2013-11-25 08:34:49 [Grave] [Minecraft-Client] Realms: Invalid session id

ça me fait carrément planter Eclipse ><

Class principal “model1” :


package testemodel;

import testemodel.common.CommonProxy;
import net.minecraft.entity.EnumCreatureType;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkMod;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;

@Mod(modid = "testemodel", name = "testemodel", version = "versionDuMod")
@NetworkMod(clientSideRequired = true, serverSideRequired = false)

public class model1
{
@SidedProxy(clientSide="testemodel.client.ClientProxy", serverSide="testemodel.common.CommonProxy")
public static CommonProxy proxy;

@Instance("testemodel")
public static model1 modInstance;

@EventHandler
public void initConfig(FMLPreInitializationEvent event)
{
proxy.registerRenderThings();
}

@EventHandler
public void load(FMLInitializationEvent event)
{
EntityRegistry.registerGlobalEntityID(EntityAniZob.class, "AniZob", EntityRegistry.findGlobalUniqueEntityId(), 24, 30);
EntityRegistry.registerModEntity(EntityAniZob.class, "AniZob", 250, this, 40, 1, true);
EntityRegistry.addSpawn(EntityAniZob.class, 1, 4, 4, EnumCreatureType.creature);
LanguageRegistry.instance().addStringLocalization("entity.AniZob.name", "AniZob");
}
@EventHandler
public void afterLoad(FMLPostInitializationEvent event)
{

}

}

Class “EntityAniZob” :


package testemodel;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.world.World;

public class EntityAniZob extends EntityCreature
{
public EntityAniZob(World world)
{
super(world);
}
@Override
public void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setAttribute(40D);
this.getEntityAttribute(SharedMonsterAttributes.followRange).setAttribute(40.0D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setAttribute(0.699999988079071D);
//this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setAttribute(8.0D);
}
}

Class “RenderAniZob” :


package testemodel;

import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderBiped;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;

public class RenderAniZob extends RenderBiped {

protected static final ResourceLocation texture = new ResourceLocation("testemodel:alex.png");

public RenderAniZob(ModelBiped biped, float tailleOmbre)
{
super(biped, tailleOmbre);
}

protected ResourceLocation getAniZobTextures(EntityAniZob anizob)
{
return texture;
}

protected ResourceLocation getEntityTexture(Entity par1Entity)
{
return this.getAniZobTextures((EntityAniZob)par1Entity);
}

}

Class “ClientProxy” :


package testemodel.client;

import cpw.mods.fml.client.registry.RenderingRegistry;
import testemodel.EntityAniZob;
import testemodel.common.CommonProxy;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderBiped;
import net.minecraftforge.client.MinecraftForgeClient;

public class ClientProxy extends CommonProxy
{

@Override
public void registerRenderThings()
{
RenderingRegistry.registerEntityRenderingHandler(EntityAniZob.class, new RenderBiped(new ModelBiped(), 0.5f));
}
}

Class “CommonProxy” :


package testemodel.common;

import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderBiped;
import testemodel.EntityAniZob;
import cpw.mods.fml.client.registry.RenderingRegistry;

public class CommonProxy
{

public void registerRenderThings()
{

}
}

Et donc l’image teste que j’ai pris d’un mec qui avais le même genre de problème que moi juste avant posé ici :

\mcp\src\minecraft\testemodel\alex.png

J’ai regardé pourtant, j’ai rien ajouté de plus ou de moins de ce qui est expliqué dans ce tuto, mais ça ne fonctionne toujours pas ><