SOLVED Erreur chargement mobs


  • Bonjour, j’ai un problème au niveau de mon mob que j’ai réalisé sur Techne, j’ai suivis le tutoriel de création d’un mob basique ainsi que celui-ci de créer un modèle Techne, et j’ai plusieurs erreurs:

    Classe crawler avec erreurs:

    // Date: 09/05/2015 17:56:29
    // Template version 1.1
    // Java generated by Techne
    // Keep in mind that you still need to fill in some blanks
    // - ZeuX
    
    package fr.google.test.client;
    
    import net.minecraft.client.model.ModelBase;
    import net.minecraft.client.model.ModelRenderer;
    
    import com.sun.xml.internal.stream.Entity;
    
    public class crawler extends ModelBase
    {
     //fields
       ModelRenderer osBras;
       ModelRenderer yeux;
       ModelRenderer arriere4;
       ModelRenderer arriere5;
       ModelRenderer arriere6;
       ModelRenderer body;
       ModelRenderer rightarm;
       ModelRenderer leftarm;
       ModelRenderer tete1;
       ModelRenderer tete2;
       ModelRenderer head;
       ModelRenderer teteHaut;
       ModelRenderer centretete;
       ModelRenderer tete3;
       ModelRenderer arriere2;
       ModelRenderer arriere1;
       ModelRenderer arriere3;
    
     public crawler()
     {
       textureWidth = 128;
       textureHeight = 32;
    
         osBras = new ModelRenderer(this, 40, 28);
         osBras.addBox(0F, 0F, 0F, 1, 1, 3);
         osBras.setRotationPoint(7F, 22F, -8F);
         osBras.setTextureSize(128, 32);
         osBras.mirror = true;
         setRotation(osBras, 0F, -0.1745329F, 0F);
         yeux = new ModelRenderer(this, 39, 11);
         yeux.addBox(0F, 0F, 0F, 6, 1, 1);
         yeux.setRotationPoint(-3F, 16.5F, -5F);
         yeux.setTextureSize(128, 32);
         yeux.mirror = true;
         setRotation(yeux, -0.3490659F, 0F, 0F);
         arriere4 = new ModelRenderer(this, 58, 0);
         arriere4.addBox(0F, 0F, 0F, 1, 1, 4);
         arriere4.setRotationPoint(-1.8F, 22.5F, 12F);
         arriere4.setTextureSize(128, 32);
         arriere4.mirror = true;
         setRotation(arriere4, 0F, 0F, 0F);
         arriere5 = new ModelRenderer(this, 36, 0);
         arriere5.addBox(0F, 0F, 0F, 1, 1, 1);
         arriere5.setRotationPoint(-1F, 23F, 12F);
         arriere5.setTextureSize(128, 32);
         arriere5.mirror = true;
         setRotation(arriere5, 0F, 0F, 0F);
         arriere6 = new ModelRenderer(this, 36, 0);
         arriere6.addBox(0F, 0F, 0F, 1, 1, 1);
         arriere6.setRotationPoint(1F, 23F, 11F);
         arriere6.setTextureSize(128, 32);
         arriere6.mirror = true;
         setRotation(arriere6, 0F, 0F, 0F);
         body = new ModelRenderer(this, 51, 16);
         body.addBox(-4F, 0F, -2F, 8, 12, 4);
         body.setRotationPoint(0F, 22F, -1F);
         body.setTextureSize(128, 32);
         body.mirror = true;
         setRotation(body, 1.570796F, 0F, 0F);
         rightarm = new ModelRenderer(this, 77, 16);
         rightarm.addBox(-3F, -2F, -2F, 4, 12, 4);
         rightarm.setRotationPoint(-5F, 22F, 0F);
         rightarm.setTextureSize(128, 32);
         rightarm.mirror = true;
         setRotation(rightarm, -1.610247F, 0.1487144F, 0F);
         leftarm = new ModelRenderer(this, 95, 20);
         leftarm.addBox(-1F, -2F, -2F, 4, 8, 4);
         leftarm.setRotationPoint(5F, 22F, 0F);
         leftarm.setTextureSize(128, 32);
         leftarm.mirror = true;
         setRotation(leftarm, -1.570796F, -0.1745329F, 0F);
         tete1 = new ModelRenderer(this, 20, 21);
         tete1.addBox(0F, 1F, -0.4F, 1, 1, 8);
         tete1.setRotationPoint(3F, 15.5F, -5F);
         tete1.setTextureSize(128, 32);
         tete1.mirror = true;
         setRotation(tete1, -0.3490659F, 0F, 0F);
         tete2 = new ModelRenderer(this, 20, 21);
         tete2.addBox(0F, 1F, -0.4F, 1, 1, 8);
         tete2.setRotationPoint(-4F, 15.5F, -5F);
         tete2.setTextureSize(128, 32);
         tete2.mirror = true;
         setRotation(tete2, -0.3490659F, 0F, 0F);
         head = new ModelRenderer(this, 87, 2);
         head.addBox(-4F, -8F, -4F, 8, 3, 8);
         head.setRotationPoint(0F, 26F, -5F);
         head.setTextureSize(128, 32);
         head.mirror = true;
         setRotation(head, -0.3490659F, 0F, 0F);
         teteHaut = new ModelRenderer(this, 0, 0);
         teteHaut.addBox(0F, 0F, 0F, 8, 4, 8);
         teteHaut.setRotationPoint(-4F, 12.7F, -4.4F);
         teteHaut.setTextureSize(128, 32);
         teteHaut.mirror = true;
         setRotation(teteHaut, -0.3490659F, 0F, 0F);
         centretete = new ModelRenderer(this, 0, 23);
         centretete.addBox(0F, 0F, 0F, 2, 1, 8);
         centretete.setRotationPoint(-1F, 16.3F, -5.8F);
         centretete.setTextureSize(128, 32);
         centretete.mirror = true;
         setRotation(centretete, -0.3490659F, 0F, 0F);
         tete3 = new ModelRenderer(this, 20, 14);
         tete3.addBox(0F, 0F, 0F, 1, 1, 6);
         tete3.setRotationPoint(-3F, 19F, 1.7F);
         tete3.setTextureSize(128, 32);
         tete3.mirror = true;
         setRotation(tete3, 0F, 1.570796F, -0.3490659F);
         arriere2 = new ModelRenderer(this, 47, 3);
         arriere2.addBox(0F, 0F, 0F, 3, 3, 1);
         arriere2.setRotationPoint(-3F, 21F, 11F);
         arriere2.setTextureSize(128, 32);
         arriere2.mirror = true;
         setRotation(arriere2, 0F, 0F, 0F);
         arriere1 = new ModelRenderer(this, 47, -1);
         arriere1.addBox(0F, 0F, 0F, 1, 2, 1);
         arriere1.setRotationPoint(0F, 22F, 11F);
         arriere1.setTextureSize(128, 32);
         arriere1.mirror = true;
         setRotation(arriere1, 0F, 0F, 0F);
         arriere3 = new ModelRenderer(this, 37, 6);
         arriere3.addBox(-6F, 0F, 0F, 2, 2, 1);
         arriere3.setRotationPoint(3.5F, 22F, 12F);
         arriere3.setTextureSize(128, 32);
         arriere3.mirror = true;
         setRotation(arriere3, 0F, 0F, 0F);
     }
    
     public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
    {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5, entity); //J'ai une erreur ici à render(dessus)/RotationAngles/Shapes1(bas)
    Shape1.render(f5);
       osBras.render(f5);
       yeux.render(f5);
       arriere4.render(f5);
       arriere5.render(f5);
       arriere6.render(f5);
       body.render(f5);
       rightarm.render(f5);
       leftarm.render(f5);
       tete1.render(f5);
       tete2.render(f5);
       head.render(f5);
       teteHaut.render(f5);
       centretete.render(f5);
       tete3.render(f5);
       arriere2.render(f5);
       arriere1.render(f5);
       arriere3.render(f5);
     }
    
     private void setRotation(ModelRenderer model, float x, float y, float z)
     {
       model.rotateAngleX = x;
       model.rotateAngleY = y;
       model.rotateAngleZ = z;
     }
    
     public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
     {
       super.setRotationAngles(f, f1, f2, f3, f4, f5, null);
     }
    
    }
    

    Code render avec erreurs:

    package fr.google.test.client;
    
    import net.minecraft.client.model.ModelBiped;
    import net.minecraft.client.renderer.entity.RenderBiped;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.util.ResourceLocation;
    import fr.google.test.common.EntityMobTest;
    
    public class RenderTest extends RenderBiped
    {
    public final ResourceLocation texture = new ResourceLocation("test", "forge-1.7.10/src/main/resources/assets/modtest/textures/texturecrawler.png.");
    
    public RenderTest(ModelBiped model, float shadow)
    {
    new crawler() //Une erreur ici à Crawler
    super(model, shadow); //Une erreur sur toute la ligne
    }
    
    protected ResourceLocation getEntityTexture(EntityLiving living)
    {
    return this.getMobTestexture((EntityMobTest)living); //Une erreur à getMobTestexture
    }
    
    private ResourceLocation getMobTutorielTexture(EntityMobTest mobTutoriel)
    {
    return texture;
    }
    }
    
    Code crash-report:
    
    –-- Minecraft Crash Report ----
    // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
    
    Time: 09/05/15 18:09
    Description: There was a severe problem during mod loading that has caused the game to fail
    
    cpw.mods.fml.common.LoaderException: java.lang.Error: Unresolved compilation problems:
    Implicit super constructor RenderBiped() is undefined. Must explicitly invoke another constructor
    crawler cannot be resolved to a type
    Syntax error, insert ";" to complete BlockStatements
    Constructor call must be the first statement in a constructor
    The method getMobTestexture(EntityMobTest) is undefined for the type RenderTest
    
    at cpw.mods.fml.common.LoadController.transition(LoadController.java:163)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:715)
    at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:309)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
    at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    Caused by: java.lang.Error: Unresolved compilation problems:
    Implicit super constructor RenderBiped() is undefined. Must explicitly invoke another constructor
    crawler cannot be resolved to a type
    Syntax error, insert ";" to complete BlockStatements
    Constructor call must be the first statement in a constructor
    The method getMobTestexture(EntityMobTest) is undefined for the type RenderTest
    
    at fr.google.test.client.RenderTest.<init>(RenderTest.java:1)
    at fr.google.test.proxy.ClientProxy.registerRender(ClientProxy.java:15)
    at fr.google.test.common.TestMod.init(TestMod.java:35)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
    at com.google.common.eventbus.EventBus.post(EventBus.java:275)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
    at cpw.mods.fml.common.Loader.initializeMods(Loader.java:713)
    … 12 more
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.7.0_79, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 892577216 bytes (851 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v9.05 FML v7.10.138.1400 Minecraft Forge 10.13.3.1400 5 mods loaded, 5 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
    FML{7.10.138.1400} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.3.1400-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized
    Forge{10.13.3.1400} [Minecraft Forge] (forgeSrc-1.7.10-10.13.3.1400-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized
    examplemod{1.0} [examplemod] (bin) Unloaded->Constructed->Pre-initialized->Initialized
    modtest{1.0.0} [Test Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 970/PCIe/SSE2'
    ```</init>

  • Déjà si tu commençais par nous dire quels sont tes erreurs, on pourrait t’aider. Ensuite penses à donner toutes les classes qui sont concernées comme par-exemple ta classe crawler.


  • Les erreurs sont indiqués à l’aide de // dans le code.

    La classe crawler est la première, et vous voyez ici les codes de toutes les classes qui possèdent une erreur.


  • Alors soit j’ai des soucis de vision soit tu ne comprends pas ce que je veux te dire.
    Je te demande la description des erreurs, pas là où elles se trouvent. 
    Ensuite ta première classe n’est pas la class crawler car elle s’appelle tout simplement ModelTest


  • En effet, j’avais indiqué la mauvaise class, voila une erreur de résolus.

    En suite, je ne sais pas quoi te dire sur la description des erreurs à part le fait qu’elle m’empêche de démarrer la démo …


  • Quand tu passes ta souris  sur l’erreur tu peux voir qu’est ce qui la cause : une sorte de petite description. Et sans cela je ne peux pas t’aider à les résoudre. Envoies moi donc pour chaque erreur sa description stp 🙂


  • Erreur code crawler:

    super.render(entity, f, f1, f2, f3, f4, f5);
    

    (render): The method render(net.minecraft.entity.Entity, float, float, float, float, float, float) in the type ModelBase is not applicable for the arguments (com.sun.xml.internal.stream.Entity, float, float, float, float, float, float)

    setRotationAngles(f, f1, f2, f3, f4, f5, entity);
    

    (setRotationAngles): The method setRotationAngles(float, float, float, float, float, float, net.minecraft.entity.Entity) in the type ModelBase is not applicable for the arguments (float, float, float, float, float, float, com.sun.xml.internal.stream.Entity)

    Shape1.render(f5);
    

    (Shape1): Shape1 cannot be resolved

    Code RenderTest

    new crawler()
    

    (crawler()) crawler cannot be resolved

    super(model, shadow);
    

    (super(model, shadow): Constructor call must be the first statement in a constructor

    return this.getMobTestexture((EntityMobTest)living);
    

    (getMobTestexture): The method getMobTestexture(EntityMobTest) is undefined for the type RenderTest


  • Mauvais imports, il faut import net.minecraft.entity et non com.sun.xml.stream.Entity.

    PS : apprends le java avant toute chose car actuellement tu ne respectes pas la convention java.

  • Administrateurs Rédacteurs Moddeurs confirmés

        public RenderTest(ModelBiped model, float shadow)
        {
            new crawler() //Une erreur ici à Crawler
            super(model, shadow); //Une erreur sur toute la ligne
        }
    

    new crawler() n’a rien à faire là. Retires-le.

    et
        public final ResourceLocation texture = new ResourceLocation(“test”, “forge-1.7.10/src/main/resources/assets/modtest/textures/texturecrawler.png.”);
    devrait être :
        public final ResourceLocation texture = new ResourceLocation(“modtest”, “textures/texturecrawler.png”);

    @Julot10085 et @SCAREX n’utilisez pas la fonction citer quand vous répondez au message qui est juste au dessus, ça ne sert strictement puisqu’il suffit de remonter un peu pour voir le message et ça rend la discussion moins lisible, surtout quand les messages sont long. Utilisez le bouton poster une réponse.


  • Merci bien, le jeu ce lance avec succès.

    Mais j’ai une question pour ajouter mon modèle Techne comment je fais pour le RenderTest puis ce que je dois enlever le ‘’ new crawler’’

    Code:

    package fr.google.test.client;
    
    import net.minecraft.client.model.ModelBiped;
    import net.minecraft.client.renderer.entity.RenderBiped;
    import net.minecraft.entity.EntityLiving;
    import net.minecraft.util.ResourceLocation;
    import fr.google.test.common.EntityMobTest;
    
    public class RenderTest extends RenderBiped
    {
    public final ResourceLocation texture = new ResourceLocation("modtest", "textures/texturecrawler.png");  
    
    public RenderTest(ModelBiped model, float shadow)
    {
    super(model, shadow);
    }
    
    protected ResourceLocation getEntityTexture(EntityLiving living)
    {
    return this.getMobTestexture((EntityMobTest)living);
    }
    
    private ResourceLocation getMobTutorielTexture(EntityMobTest mobTutoriel)
    {
    return texture;
    }
    }
    
  • Administrateurs Rédacteurs Moddeurs confirmés

    C’est dans le client proxy qu’il faut changer ModelBiped par ton modèle.


  • Lorsque je spawn mon mob, mon jeu crash une idée ?

    Crash report:

    –-- Minecraft Crash Report ----
    // You're mean.
    
    Time: 10/05/15 14:33
    Description: Rendering entity in world
    
    java.lang.Error: Unresolved compilation problem:
    The method getMobTestexture(EntityMobTest) is undefined for the type RenderTest
    
    at fr.google.test.client.RenderTest.getEntityTexture(RenderTest.java:20)
    at net.minecraft.client.renderer.entity.RenderBiped.getEntityTexture(RenderBiped.java:381)
    at net.minecraft.client.renderer.entity.Render.bindEntityTexture(Render.java:55)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:305)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:165)
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:36)
    at net.minecraft.client.renderer.entity.RenderBiped.doRender(RenderBiped.java:174)
    at net.minecraft.client.renderer.entity.RenderBiped.doRender(RenderBiped.java:392)
    at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:278)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:251)
    at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:527)
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1300)
    at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1087)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067)
    at net.minecraft.client.Minecraft.run(Minecraft.java:962)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    at fr.google.test.client.RenderTest.getEntityTexture(RenderTest.java:20)
    at net.minecraft.client.renderer.entity.RenderBiped.getEntityTexture(RenderBiped.java:381)
    at net.minecraft.client.renderer.entity.Render.bindEntityTexture(Render.java:55)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.renderModel(RendererLivingEntity.java:305)
    at net.minecraft.client.renderer.entity.RendererLivingEntity.doRender(RendererLivingEntity.java:165)
    at net.minecraft.client.renderer.entity.RenderLiving.doRender(RenderLiving.java:36)
    at net.minecraft.client.renderer.entity.RenderBiped.doRender(RenderBiped.java:174)
    at net.minecraft.client.renderer.entity.RenderBiped.doRender(RenderBiped.java:392)
    
    -- Entity being rendered --
    Details:
    Entity Type: mobTest (fr.google.test.common.EntityMobTest)
    Entity ID: 9283
    Entity Name: Zombie Test
    Entity's Exact location: 115,50, 63,00, -200,50
    Entity's Block location: World: (115,63,-201), Chunk: (at 3,3,7 in 7,-13; contains blocks 112,0,-208 to 127,255,-193), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Entity's Momentum: 0,00, -0,08, 0,00
    
    -- Renderer details --
    Details:
    Assigned renderer: fr.google.test.client.RenderTest@72aa1e6e
    Location: -2,52,-2,63,0,09 - World: (-3,-3,0), Chunk: (at 13,-1,0 in -1,0; contains blocks -16,0,0 to -1,255,15), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
    Rotation: -26.71875
    Delta: 0.2449677
    Stacktrace:
    at net.minecraft.client.renderer.entity.RenderManager.func_147939_a(RenderManager.java:300)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntityStatic(RenderManager.java:278)
    at net.minecraft.client.renderer.entity.RenderManager.renderEntitySimple(RenderManager.java:251)
    at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:527)
    at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1300)
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Player73'/176, l='MpServer', x=118,01, y=65,63, z=-200,63]]
    Chunk stats: MultiplayerChunkCache: 595, 595
    Level seed: 0
    Level generator: ID 00 - default, ver 1\. Features enabled: false
    Level generator options:
    Level spawn location: World: (132,64,-144), Chunk: (at 4,4,0 in 8,-9; contains blocks 128,0,-144 to 143,255,-129), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
    Level time: 1135 game time, 1135 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 146 total; [EntityItem['item.item.seeds'/6584, l='MpServer', x=119,41, y=63,13, z=-172,84], EntityPig['Pig'/46, l='MpServer', x=43,88, y=79,00, z=-208,72], EntityPig['Pig'/48, l='MpServer', x=39,50, y=84,00, z=-209,50], EntitySheep['Sheep'/55, l='MpServer', x=51,22, y=65,00, z=-128,53], EntitySheep['Sheep'/54, l='MpServer', x=49,50, y=64,00, z=-128,50], EntitySheep['Sheep'/53, l='MpServer', x=51,50, y=64,00, z=-127,47], EntitySheep['Sheep'/56, l='MpServer', x=53,34, y=69,00, z=-131,44], EntityCow['Cow'/68, l='MpServer', x=52,28, y=71,00, z=-226,50], EntityPig['Pig'/69, l='MpServer', x=61,72, y=68,00, z=-247,50], EntityPig['Pig'/70, l='MpServer', x=60,50, y=68,00, z=-244,50], EntityPig['Pig'/71, l='MpServer', x=60,97, y=68,00, z=-242,47], EntityCow['Cow'/65, l='MpServer', x=60,47, y=67,00, z=-236,22], EntityCow['Cow'/66, l='MpServer', x=69,78, y=64,00, z=-236,66], EntityCow['Cow'/67, l='MpServer', x=68,06, y=64,00, z=-231,09], EntityPig['Pig'/72, l='MpServer', x=60,47, y=68,00, z=-247,50], EntityPig['Pig'/81, l='MpServer', x=78,53, y=73,00, z=-146,69], EntityPig['Pig'/80, l='MpServer', x=95,94, y=63,00, z=-134,38], EntityPig['Pig'/83, l='MpServer', x=82,44, y=71,00, z=-141,50], EntityPig['Pig'/82, l='MpServer', x=80,72, y=70,00, z=-133,22], EntitySheep['Sheep'/93, l='MpServer', x=100,03, y=63,00, z=-129,03], EntitySheep['Sheep'/92, l='MpServer', x=105,14, y=63,00, z=-138,97], EntitySheep['Sheep'/94, l='MpServer', x=105,50, y=63,00, z=-137,81], EntityItem['item.item.seeds'/89, l='MpServer', x=107,81, y=63,13, z=-154,47], EntityItem['item.item.seeds'/88, l='MpServer', x=114,19, y=63,13, z=-154,97], EntitySheep['Sheep'/91, l='MpServer', x=105,53, y=64,00, z=-130,47], EntityItem['item.item.seeds'/90, l='MpServer', x=107,13, y=63,13, z=-155,34], EntityVillager['Villager'/99, l='MpServer', x=145,22, y=65,00, z=-165,50], EntityCow['Cow'/110, l='MpServer', x=139,47, y=64,00, z=-178,47], EntityCow['Cow'/111, l='MpServer', x=140,19, y=64,00, z=-175,59], EntityCow['Cow'/108, l='MpServer', x=135,66, y=63,00, z=-179,03], EntityCow['Cow'/109, l='MpServer', x=132,50, y=63,00, z=-180,34], EntityVillager['Villager'/106, l='MpServer', x=144,50, y=65,00, z=-195,50], EntityVillager['Villager'/107, l='MpServer', x=138,31, y=64,00, z=-175,50], EntityVillager['Villager'/119, l='MpServer', x=154,06, y=70,00, z=-188,00], EntityVillager['Villager'/118, l='MpServer', x=159,50, y=68,00, z=-190,66], EntityVillager['Villager'/117, l='MpServer', x=148,66, y=67,00, z=-187,78], EntityVillager['Villager'/116, l='MpServer', x=152,66, y=68,00, z=-193,66], EntityVillager['Villager'/115, l='MpServer', x=158,50, y=68,00, z=-195,06], EntityVillager['Villager'/114, l='MpServer', x=146,91, y=65,00, z=-187,50], EntityVillager['Villager'/113, l='MpServer', x=145,70, y=70,00, z=-148,70], EntityVillager['Villager'/112, l='MpServer', x=142,00, y=70,00, z=-145,00], EntitySheep['Sheep'/127, l='MpServer', x=163,78, y=71,00, z=-123,22], EntityVillager['Villager'/126, l='MpServer', x=160,38, y=67,00, z=-171,16], EntityVillager['Villager'/125, l='MpServer', x=144,94, y=64,00, z=-175,72], EntityCow['Cow'/124, l='MpServer', x=149,50, y=70,00, z=-146,75], EntityCow['Cow'/123, l='MpServer', x=159,81, y=68,00, z=-162,81], EntityCow['Cow'/122, l='MpServer', x=143,94, y=66,00, z=-157,84], EntityCow['Cow'/121, l='MpServer', x=163,13, y=68,00, z=-152,13], EntityVillager['Villager'/120, l='MpServer', x=138,69, y=64,00, z=-180,34], EntityCow['Cow'/137, l='MpServer', x=184,69, y=73,00, z=-220,31], EntityCow['Cow'/136, l='MpServer', x=181,78, y=73,00, z=-222,53], EntityPig['Pig'/139, l='MpServer', x=173,50, y=74,00, z=-225,50], EntityCow['Cow'/138, l='MpServer', x=183,06, y=73,00, z=-222,03], EntityPig['Pig'/141, l='MpServer', x=177,50, y=74,00, z=-221,50], EntityPig['Pig'/140, l='MpServer', x=179,84, y=74,00, z=-224,50], EntityVillager['Villager'/143, l='MpServer', x=163,94, y=72,00, z=-188,47], EntityPig['Pig'/142, l='MpServer', x=174,78, y=73,00, z=-215,13], EntitySheep['Sheep'/129, l='MpServer', x=167,50, y=71,00, z=-125,50], EntitySheep['Sheep'/128, l='MpServer', x=164,34, y=72,00, z=-126,56], EntityChicken['Chicken'/131, l='MpServer', x=160,50, y=72,00, z=-131,50], EntitySheep['Sheep'/130, l='MpServer', x=162,19, y=72,00, z=-124,81], EntityChicken['Chicken'/133, l='MpServer', x=163,50, y=72,00, z=-128,50], EntityChicken['Chicken'/132, l='MpServer', x=162,50, y=72,00, z=-129,50], EntityCow['Cow'/135, l='MpServer', x=181,50, y=73,00, z=-218,50], EntityChicken['Chicken'/134, l='MpServer', x=166,50, y=71,00, z=-128,50], EntityCow['Cow'/153, l='MpServer', x=189,97, y=72,00, z=-252,94], EntityCow['Cow'/154, l='MpServer', x=194,50, y=71,00, z=-242,50], EntityCow['Cow'/155, l='MpServer', x=194,50, y=70,00, z=-240,50], EntityCow['Cow'/156, l='MpServer', x=192,50, y=70,00, z=-242,50], EntityCow['Cow'/157, l='MpServer', x=193,22, y=72,00, z=-229,50], EntityCow['Cow'/158, l='MpServer', x=193,19, y=73,00, z=-220,88], EntityCow['Cow'/159, l='MpServer', x=195,03, y=72,00, z=-222,94], EntityVillager['Villager'/144, l='MpServer', x=173,47, y=72,00, z=-180,72], EntityCreeper['Creeper'/8945, l='MpServer', x=125,50, y=23,00, z=-258,50], EntityPig['Pig'/145, l='MpServer', x=174,19, y=69,00, z=-158,88], EntityZombie['Zombie'/8946, l='MpServer', x=122,50, y=23,00, z=-258,50], EntityPig['Pig'/146, l='MpServer', x=173,53, y=68,00, z=-150,47], EntityZombie['Zombie'/8947, l='MpServer', x=125,50, y=23,00, z=-259,50], EntityPig['Pig'/147, l='MpServer', x=164,75, y=68,00, z=-149,66], EntityPig['Pig'/148, l='MpServer', x=165,25, y=67,00, z=-147,09], EntityZombie['Zombie'/8950, l='MpServer', x=66,50, y=23,00, z=-126,50], EntityZombie['Zombie'/8951, l='MpServer', x=66,50, y=23,00, z=-127,50], EntitySheep['Sheep'/163, l='MpServer', x=191,50, y=64,00, z=-133,81], EntitySheep['Sheep'/162, l='MpServer', x=191,50, y=63,00, z=-132,22], EntitySheep['Sheep'/161, l='MpServer', x=192,50, y=63,00, z=-128,31], EntityCow['Cow'/160, l='MpServer', x=195,41, y=66,00, z=-227,31], EntityClientPlayerMP['Player73'/176, l='MpServer', x=118,01, y=65,63, z=-200,63], EntityEnderman['Enderman'/6482, l='MpServer', x=143,75, y=38,00, z=-143,09], EntityBat['Bat'/8991, l='MpServer', x=50,69, y=50,09, z=-271,25], EntityBat['Bat'/8984, l='MpServer', x=148,23, y=31,16, z=-120,47], EntityEnderman['Enderman'/9211, l='MpServer', x=165,50, y=64,00, z=-214,50], EntityZombie['Zombie'/6190, l='MpServer', x=133,50, y=19,00, z=-154,50], EntityZombie['Zombie'/6189, l='MpServer', x=136,50, y=19,00, z=-155,50], EntityZombie['Zombie'/6188, l='MpServer', x=132,50, y=19,00, z=-155,50], EntityBat['Bat'/576, l='MpServer', x=88,06, y=28,10, z=-135,22], EntityBat['Bat'/577, l='MpServer', x=108,16, y=23,24, z=-143,94], EntityBat['Bat'/590, l='MpServer', x=67,88, y=52,18, z=-191,61], EntityBat['Bat'/591, l='MpServer', x=69,66, y=50,05, z=-186,44], EntityBat['Bat'/686, l='MpServer', x=65,66, y=51,17, z=-187,29], EntityBat['Bat'/8415, l='MpServer', x=134,59, y=41,42, z=-122,08], EntityBat['Bat'/8416, l='MpServer', x=140,19, y=39,30, z=-125,71], EntityWitch['Witch'/766, l='MpServer', x=111,50, y=52,00, z=-168,91], EntitySkeleton['Skeleton'/8349, l='MpServer', x=139,50, y=22,00, z=-145,50], EntityWitch['Witch'/765, l='MpServer', x=106,50, y=52,00, z=-177,10], EntityZombie['Zombie'/8356, l='MpServer', x=109,50, y=16,00, z=-131,50], EntityZombie['Zombie'/816, l='MpServer', x=88,50, y=42,00, z=-198,48], EntityZombie['Zombie'/8518, l='MpServer', x=110,50, y=24,00, z=-270,50], EntitySkeleton['Skeleton'/8519, l='MpServer', x=191,74, y=38,00, z=-213,50], EntitySpider['Spider'/768, l='MpServer', x=104,49, y=52,00, z=-177,95], EntitySkeleton['Skeleton'/8507, l='MpServer', x=176,59, y=57,00, z=-207,72], EntitySkeleton['Skeleton'/8506, l='MpServer', x=181,50, y=58,00, z=-211,09], EntitySkeleton['Skeleton'/8509, l='MpServer', x=174,50, y=57,00, z=-206,50], EntitySkeleton['Skeleton'/8508, l='MpServer', x=169,16, y=56,00, z=-209,49], EntityBat['Bat'/8490, l='MpServer', x=80,97, y=48,08, z=-190,53], EntitySkeleton['Skeleton'/8670, l='MpServer', x=165,63, y=33,00, z=-263,13], EntitySkeleton['Skeleton'/8671, l='MpServer', x=166,50, y=33,00, z=-255,50], EntitySkeleton['Skeleton'/6708, l='MpServer', x=166,50, y=56,00, z=-210,50], EntitySkeleton['Skeleton'/6706, l='MpServer', x=169,09, y=54,00, z=-207,38], EntitySkeleton['Skeleton'/6707, l='MpServer', x=178,50, y=57,00, z=-210,38], EntitySkeleton['Skeleton'/999, l='MpServer', x=190,50, y=60,00, z=-205,50], EntityItem['item.item.seeds'/6756, l='MpServer', x=106,38, y=63,13, z=-179,88], EntityCreeper['Creeper'/7605, l='MpServer', x=129,50, y=21,00, z=-157,50], EntityCreeper['Creeper'/1070, l='MpServer', x=165,94, y=54,00, z=-170,38], EntityCreeper['Creeper'/1071, l='MpServer', x=172,72, y=55,00, z=-168,56], EntitySkeleton['Skeleton'/1072, l='MpServer', x=167,13, y=54,00, z=-171,22], EntityZombie['Zombie'/7422, l='MpServer', x=94,16, y=23,00, z=-133,47], EntitySkeleton['Skeleton'/7349, l='MpServer', x=135,50, y=15,00, z=-231,50], EntityItem['item.tile.flower2.poppy'/3475, l='MpServer', x=168,91, y=71,13, z=-198,34], EntityCreeper['Creeper'/7329, l='MpServer', x=135,50, y=40,00, z=-141,50], EntityCreeper['Creeper'/7195, l='MpServer', x=90,91, y=24,00, z=-132,72], EntityCreeper['Creeper'/7196, l='MpServer', x=91,50, y=24,00, z=-134,50], EntityCreeper['Creeper'/7197, l='MpServer', x=92,50, y=24,00, z=-133,50], EntitySkeleton['Skeleton'/8142, l='MpServer', x=146,50, y=14,00, z=-265,50], EntityCreeper['Creeper'/8177, l='MpServer', x=167,50, y=53,00, z=-204,50], EntityCreeper['Creeper'/8178, l='MpServer', x=168,50, y=53,00, z=-201,50], EntityMobTest['Zombie Test'/9283, l='MpServer', x=115,50, y=63,00, z=-200,50], EntitySkeleton['Skeleton'/8072, l='MpServer', x=103,50, y=38,00, z=-204,50], EntityZombie['Zombie'/1741, l='MpServer', x=160,92, y=54,00, z=-199,33], EntityZombie['Zombie'/1743, l='MpServer', x=161,78, y=54,00, z=-199,03], EntityZombie['Zombie'/1742, l='MpServer', x=167,47, y=54,00, z=-190,97], EntityZombie['Zombie'/1744, l='MpServer', x=168,56, y=54,00, z=-190,31], EntityWitch['Witch'/7907, l='MpServer', x=169,50, y=58,00, z=-176,50], EntityItem['item.tile.flower2.poppy'/7705, l='MpServer', x=168,41, y=71,13, z=-202,41], EntityBat['Bat'/1980, l='MpServer', x=136,11, y=41,18, z=-139,14], EntityBat['Bat'/1981, l='MpServer', x=135,68, y=38,69, z=-143,39], EntityBat['Bat'/7699, l='MpServer', x=59,59, y=38,49, z=-234,05]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:415)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2566)
    at net.minecraft.client.Minecraft.run(Minecraft.java:984)
    at net.minecraft.client.main.Main.main(Main.java:164)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    at GradleStart.main(Unknown Source)
    
    – System Details --
    Details:
    Minecraft Version: 1.7.10
    Operating System: Windows 7 (amd64) version 6.1
    Java Version: 1.7.0_79, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 562583712 bytes (536 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
    FML: MCP v9.05 FML v7.10.138.1400 Minecraft Forge 10.13.3.1400 6 mods loaded, 6 mods active
    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{7.10.138.1400} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.3.1400-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{10.13.3.1400} [Minecraft Forge] (forgeSrc-1.7.10-10.13.3.1400-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    examplemod{1.0} [examplemod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    modtest{1.0.0} [Test Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    custommenu{1.1.0} [Custom Menu] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 970/PCIe/SSE2'
    Launched Version: 1.7.10
    LWJGL: 2.9.1
    OpenGL: GeForce GTX 970/PCIe/SSE2 GL version 4.5.0 NVIDIA 350.12, NVIDIA Corporation
    GL Caps: Using GL 1.3 multitexturing.
    Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
    Anisotropic filtering is supported and maximum anisotropy is 16.
    Shaders are available because OpenGL 2.1 is supported.
    
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Resource Packs: []
    Current Language: English (US)
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Anisotropic Filtering: Off (1)
    

  • Il te manque une fonction non ?

    return this.getMobTestexture((EntityMobTest)living);
    

    getMobTestTexture ? ou getMobTexture ?


  • @‘SCAREX’:

    Il te manque une fonction non ?

    return this.getMobTestexture((EntityMobTest)living);
    

    getMobTestTexture ? ou getMobTexture ?

    Je ne sais pas du tout, j’ai bien suivis le tutoriel normalement tout est bon.


  • Est-ce que la fonction est soulignée en rouge par eclipse ? Essaie de faire Ctrl + clique sur la fonction et regardes où elle t’emmène.


  • Oui, elle est souligné en rouge et elle m’emmène à cette ligne dans RenderBiped:

    protected ResourceLocation getEntityTexture(EntityLiving p_110775_1_)
    
  • Administrateurs Rédacteurs Moddeurs confirmés

    Si tu utilise un modèle différent du ModelBiped il faut utiliser RenderLiving et non RenderBiped.