• S'inscrire
    • Se connecter
    • Recherche
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes

    Bug render techne mob

    Sans suite
    1.6.4
    2
    6
    1798
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • A
      alastar59 dernière édition par

      Bonjour, j’ai un problème que j’ai du mal a percevoir d’où viens vraiment l’erreur j’ai importé mon render techne je l’ai applique aux mob voulue et ça plante lors du lancement du jeu

      Code d’erreur

      
      2014-02-09 14:29:36 [Infos] [STDOUT] Time: 09/02/14 14:29
      2014-02-09 14:29:36 [Infos] [STDOUT] Description: Initializing game
      2014-02-09 14:29:36 [Infos] [STDOUT]
      2014-02-09 14:29:36 [Infos] [STDOUT] java.lang.NullPointerException
      2014-02-09 14:29:36 [Infos] [STDOUT] at opu.common.requinopu.<init>(requinopu.java:191)
      2014-02-09 14:29:36 [Infos] [STDOUT] at opu.proxy.ClientProxy.registerRender(ClientProxy.java:17)
      2014-02-09 14:29:36 [Infos] [STDOUT] at opu.common.modopu.Init(modopu.java:157)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
      2014-02-09 14:29:36 [Infos] [STDOUT]
      2014-02-09 14:29:36 [Infos] [STDOUT]
      2014-02-09 14:29:36 [Infos] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
      2014-02-09 14:29:36 [Infos] [STDOUT] –-------------------------------------------------------------------------------------
      2014-02-09 14:29:36 [Infos] [STDOUT]
      2014-02-09 14:29:36 [Infos] [STDOUT] – Head --
      2014-02-09 14:29:36 [Infos] [STDOUT] Stacktrace:
      2014-02-09 14:29:36 [Infos] [STDOUT] at opu.common.requinopu.<init>(requinopu.java:191)
      2014-02-09 14:29:36 [Infos] [STDOUT] at opu.proxy.ClientProxy.registerRender(ClientProxy.java:17)
      2014-02-09 14:29:36 [Infos] [STDOUT] at opu.common.modopu.Init(modopu.java:157)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
      2014-02-09 14:29:36 [Infos] [STDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699)
      2014-02-09 14:29:36 [Infos] [STDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:509)
      2014-02-09 14:29:36 [Infos] [STDOUT]
      2014-02-09 14:29:36 [Infos] [STDOUT] – Initialization --
      2014-02-09 14:29:36 [Infos] [STDOUT] Details:
      2014-02-09 14:29:36 [Infos] [STDOUT] Stacktrace:
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
      2014-02-09 14:29:36 [Infos] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
      
      

      Et mes classe au cas ou

      Client proxy

      
      package opu.proxy;
      
      import opu.common.EntityAniZob;
      import opu.common.kokuto;
      import opu.common.modopu;
      import opu.common.requinopu;
      import net.minecraft.client.model.ModelBiped;
      import net.minecraftforge.client.IItemRenderer;
      import net.minecraftforge.client.MinecraftForgeClient;
      import cpw.mods.fml.client.registry.RenderingRegistry;
      
      public class ClientProxy extends CommonProxy
      {
      @Override
      public void registerRender()
      {
      RenderingRegistry.registerEntityRenderingHandler(EntityAniZob.class, new RenderAnizob(new requinopu(), 0.5F));
      }
      
      }
      
      

      Render du mob

      
      package opu.proxy;
      
      import opu.common.EntityAniZob;
      import opu.common.requinopu;
      import net.minecraft.client.model.ModelBiped;
      import net.minecraft.client.renderer.entity.RenderBiped;
      import net.minecraft.client.renderer.entity.RenderLiving;
      import net.minecraft.entity.Entity;
      import net.minecraft.util.ResourceLocation;
      
      public class RenderAnizob extends RenderLiving {
      
      protected static final ResourceLocation texture = new ResourceLocation("modopu:textures/pirate.png");
      
      public RenderAnizob(requinopu requinopu, float tailleOmbre)
      {
      super(requinopu, tailleOmbre);
      }
      
      protected ResourceLocation getAniZobTextures(EntityAniZob AniZob)
      {
      return texture;
      }
      
      protected ResourceLocation getEntityTexture(Entity par1Entity)
      {
      return this.getAniZobTextures((EntityAniZob)par1Entity);
      }
      }
      
      ```</init></init>
      1 réponse Dernière réponse Répondre Citer 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

        2014-02-09 14:29:36 [Infos] [STDOUT] java.lang.NullPointerException
        2014-02-09 14:29:36 [Infos] [STDOUT] at opu.common.requinopu.<init>(requinopu.java:191)
        
        

        requiopu.java ? il me faut la ligne 191.</init>

        1 réponse Dernière réponse Répondre Citer 0
        • A
          alastar59 dernière édition par

          
          nageoir1.mirror = true;
          
          

          Voila la ligne 191

          1 réponse Dernière réponse Répondre Citer 0
          • robin4002
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

            Envoie toute la classe, mais visiblement nageoi1 est null.

            1 réponse Dernière réponse Répondre Citer 0
            • A
              alastar59 dernière édition par

              
              package opu.common;
              
              import net.minecraft.client.model.ModelBase;
              import net.minecraft.client.model.ModelRenderer;
              import net.minecraft.entity.Entity;
              
              public class requinopu extends ModelBase
              {
              //fields
              ModelRenderer corp1;
              ModelRenderer corp2;
              ModelRenderer corp3;
              ModelRenderer corp4;
              ModelRenderer corp5;
              ModelRenderer queu0;
              ModelRenderer queu1;
              ModelRenderer queu2;
              ModelRenderer queu3;
              ModelRenderer queu4;
              ModelRenderer queu5;
              ModelRenderer queu6;
              ModelRenderer queu7;
              ModelRenderer queu8;
              ModelRenderer queu9;
              ModelRenderer queu10;
              ModelRenderer queu11;
              ModelRenderer queu12;
              ModelRenderer heleron1;
              ModelRenderer heleron2;
              ModelRenderer heleron3;
              ModelRenderer heleron4;
              ModelRenderer nageoir1;
              ModelRenderer nageoir2;
              ModelRenderer nageoir3;
              ModelRenderer nageoir4;
              ModelRenderer nageoir5;
              ModelRenderer nageoir6;
              ModelRenderer Museau1;
              ModelRenderer museau2;
              ModelRenderer museau3;
              ModelRenderer museau4;
              ModelRenderer museau5;
              ModelRenderer museau6;
              ModelRenderer museau7;
              ModelRenderer museau8;
              ModelRenderer museau9;
              ModelRenderer museau10;
              ModelRenderer museau11;
              ModelRenderer museau12;
              ModelRenderer museau13;
              ModelRenderer museau14;
              ModelRenderer museau15;
              
              public requinopu ()
              {
              textureWidth = 2000;
              textureHeight = 1000;
              
              corp1 = new ModelRenderer(this, 200, 300);
              corp1.addBox(-16F, -32F, -16F, 32, 40, 88);
              corp1.setRotationPoint(0F, -1F, 0F);
              corp1.setTextureSize(2000, 1000);
              corp1.mirror = true;
              setRotation(corp1, 0F, 0F, 0F);
              corp2 = new ModelRenderer(this, 0, 300);
              corp2.addBox(0F, -18F, -42F, 4, 36, 84);
              corp2.setRotationPoint(15F, -12F, 28F);
              corp2.setTextureSize(2000, 1000);
              corp2.mirror = true;
              setRotation(corp2, 0F, 0F, 0F);
              corp3 = new ModelRenderer(this, 460, 300);
              corp3.addBox(-4F, -18F, -42F, 4, 36, 84);
              corp3.setRotationPoint(-15F, -12F, 28F);
              corp3.setTextureSize(2000, 1000);
              corp3.mirror = true;
              setRotation(corp3, 0F, 0F, 0F);
              corp4 = new ModelRenderer(this, 200, 150);
              corp4.addBox(-14F, 0F, -42F, 28, 4, 84);
              corp4.setRotationPoint(0F, 7F, 28F);
              corp4.setTextureSize(2000, 1000);
              corp4.mirror = true;
              setRotation(corp4, 0F, 0F, 0F);
              corp5 = new ModelRenderer(this, 200, 500);
              corp5.addBox(-14F, -4F, -42F, 28, 4, 84);
              corp5.setRotationPoint(0F, -31F, 28F);
              corp5.setTextureSize(2000, 1000);
              corp5.mirror = true;
              setRotation(corp5, 0.0174533F, 0F, 0F);
              queu0 = new ModelRenderer(this, 1000, 400);
              queu0.addBox(-10F, 0F, -17F, 20, 4, 32);
              queu0.setRotationPoint(0F, 3F, 88F);
              queu0.setTextureSize(2000, 1000);
              queu0.mirror = true;
              setRotation(queu0, 0F, 0F, 0F);
              queu1 = new ModelRenderer(this, 1000, 300);
              queu1.addBox(-12F, -16F, 0F, 24, 32, 32);
              queu1.setRotationPoint(0F, -12F, 71F);
              queu1.setTextureSize(2000, 1000);
              queu1.mirror = true;
              setRotation(queu1, 0F, 0F, 0F);
              queu2 = new ModelRenderer(this, 1000, 200);
              queu2.addBox(-10F, -4F, -16F, 20, 4, 32);
              queu2.setRotationPoint(0F, -27F, 87F);
              queu2.setTextureSize(2000, 1000);
              queu2.mirror = true;
              setRotation(queu2, 0F, 0F, 0F);
              queu3 = new ModelRenderer(this, 900, 300);
              queu3.addBox(0F, -14F, -16F, 4, 28, 32);
              queu3.setRotationPoint(11F, -12F, 87F);
              queu3.setTextureSize(2000, 1000);
              queu3.mirror = true;
              setRotation(queu3, 0F, 0F, 0F);
              queu4 = new ModelRenderer(this, 1200, 300);
              queu4.addBox(-4F, -14F, -16F, 4, 28, 32);
              queu4.setRotationPoint(-11F, -12F, 87F);
              queu4.setTextureSize(2000, 1000);
              queu4.mirror = true;
              setRotation(queu4, 0F, 0F, 0F);
              queu5 = new ModelRenderer(this, 1000, 700);
              queu5.addBox(-8F, -13F, 0F, 16, 24, 32);
              queu5.setRotationPoint(0F, -11F, 100F);
              queu5.setTextureSize(2000, 1000);
              queu5.mirror = true;
              setRotation(queu5, 0F, 0F, 0F);
              queu6 = new ModelRenderer(this, 900, 700);
              queu6.addBox(0F, -10F, -16F, 4, 20, 32);
              queu6.setRotationPoint(7F, -12F, 116F);
              queu6.setTextureSize(2000, 1000);
              queu6.mirror = true;
              setRotation(queu6, 0F, 0F, 0F);
              queu7 = new ModelRenderer(this, 1200, 700);
              queu7.addBox(-4F, -10F, -16F, 4, 20, 32);
              queu7.setRotationPoint(-7F, -12F, 116F);
              queu7.setTextureSize(2000, 1000);
              queu7.mirror = true;
              setRotation(queu7, 0F, 0F, 0F);
              queu8 = new ModelRenderer(this, 0, 0);
              queu8.addBox(-4F, -8F, 0F, 8, 16, 16);
              queu8.setRotationPoint(0F, -12F, 131F);
              queu8.setTextureSize(2000, 1000);
              queu8.mirror = true;
              setRotation(queu8, 0F, 0F, 0F);
              queu9 = new ModelRenderer(this, 1000, 0);
              queu9.addBox(-2F, -14F, 0F, 4, 28, 16);
              queu9.setRotationPoint(0F, -11F, 138F);
              queu9.setTextureSize(2000, 1000);
              queu9.mirror = true;
              setRotation(queu9, 0F, 0F, 0F);
              queu10 = new ModelRenderer(this, 1100, 0);
              queu10.addBox(-2F, -8F, -4F, 4, 8, 20);
              queu10.setRotationPoint(0F, -24F, 147F);
              queu10.setTextureSize(2000, 1000);
              queu10.mirror = true;
              setRotation(queu10, 0F, 0F, 0F);
              queu11 = new ModelRenderer(this, 1200, 0);
              queu11.addBox(-2F, -8F, -4F, 4, 8, 20);
              queu11.setRotationPoint(0F, -31F, 156F);
              queu11.setTextureSize(2000, 1000);
              queu11.mirror = true;
              setRotation(queu11, 0F, 0F, 0F);
              queu12 = new ModelRenderer(this, 1300, 0);
              queu12.addBox(-2F, 0F, 0F, 4, 8, 16);
              queu12.setRotationPoint(0F, 0F, 147F);
              queu12.setTextureSize(2000, 1000);
              queu12.mirror = true;
              setRotation(queu12, 0F, 0F, 0F);
              heleron1 = new ModelRenderer(this, 300, 0);
              heleron1.addBox(-4F, -4F, -10F, 8, 4, 20);
              heleron1.setRotationPoint(0F, -34F, 28F);
              heleron1.setTextureSize(2000, 1000);
              heleron1.mirror = true;
              setRotation(heleron1, 0F, 0F, 0F);
              heleron2 = new ModelRenderer(this, 400, 0);
              heleron2.addBox(-2F, -8F, 0F, 4, 8, 20);
              heleron2.setRotationPoint(0F, -37F, 21F);
              heleron2.setTextureSize(2000, 1000);
              heleron2.mirror = true;
              setRotation(heleron2, 0F, 0F, 0F);
              heleron3 = new ModelRenderer(this, 500, 0);
              heleron3.addBox(-2F, -8F, 0F, 4, 8, 16);
              heleron3.setRotationPoint(0F, -43F, 29F);
              heleron3.setTextureSize(2000, 1000);
              heleron3.mirror = true;
              setRotation(heleron3, 0F, 0F, 0F);
              heleron4 = new ModelRenderer(this, 600, 0);
              heleron4.addBox(-2F, -4F, 0F, 4, 4, 16);
              heleron4.setRotationPoint(0F, -50F, 35F);
              heleron4.setTextureSize(2000, 1000);
              heleron4.mirror = true;
              setRotation(heleron4, 0F, 0F, 0F);
              nageoir1.mirror = true;
              nageoir1 = new ModelRenderer(this, 0, 600);
              nageoir1.addBox(-12F, -2F, -2F, 12, 4, 4);
              nageoir1.setRotationPoint(-13F, 9F, 23F);
              nageoir1.setTextureSize(2000, 1000);
              nageoir1.mirror = true;
              setRotation(nageoir1, 0F, 0F, -0.7330383F);
              nageoir1.mirror = false;
              nageoir2.mirror = true;
              nageoir2 = new ModelRenderer(this, 0, 700);
              nageoir2.addBox(-20F, -2F, -2F, 20, 4, 4);
              nageoir2.setRotationPoint(-13F, 9F, 26F);
              nageoir2.setTextureSize(2000, 1000);
              nageoir2.mirror = true;
              setRotation(nageoir2, 0F, 0F, -0.7330383F);
              nageoir2.mirror = false;
              nageoir3.mirror = true;
              nageoir3 = new ModelRenderer(this, 0, 800);
              nageoir3.addBox(-28F, -2F, -4F, 28, 4, 8);
              nageoir3.setRotationPoint(-13F, 9F, 31F);
              nageoir3.setTextureSize(2000, 1000);
              nageoir3.mirror = true;
              setRotation(nageoir3, 0F, 0F, -0.7330383F);
              nageoir3.mirror = false;
              nageoir4.mirror = true;
              nageoir4 = new ModelRenderer(this, 0, 600);
              nageoir4.addBox(0F, -2F, -2F, 12, 4, 4);
              nageoir4.setRotationPoint(13F, 9F, 23F);
              nageoir4.setTextureSize(2000, 1000);
              nageoir4.mirror = true;
              setRotation(nageoir4, 0F, 0F, 0.7330383F);
              nageoir4.mirror = false;
              nageoir5.mirror = true;
              nageoir5 = new ModelRenderer(this, 0, 700);
              nageoir5.addBox(0F, -2F, -2F, 20, 4, 4);
              nageoir5.setRotationPoint(13F, 9F, 26F);
              nageoir5.setTextureSize(2000, 1000);
              nageoir5.mirror = true;
              setRotation(nageoir5, 0F, 0F, 0.7330383F);
              nageoir5.mirror = false;
              nageoir6.mirror = true;
              nageoir6 = new ModelRenderer(this, 0, 800);
              nageoir6.addBox(0F, -2F, -4F, 28, 4, 8);
              nageoir6.setRotationPoint(13F, 9F, 31F);
              nageoir6.setTextureSize(2000, 1000);
              nageoir6.mirror = true;
              setRotation(nageoir6, 0F, 0F, 0.7330383F);
              nageoir6.mirror = false;
              Museau1 = new ModelRenderer(this, 500, 100);
              Museau1.addBox(-14F, -6F, -12F, 28, 12, 12);
              Museau1.setRotationPoint(0F, -25F, -15F);
              Museau1.setTextureSize(2000, 1000);
              Museau1.mirror = true;
              setRotation(Museau1, 0F, 0F, 0F);
              museau2 = new ModelRenderer(this, 600, 100);
              museau2.addBox(-12F, -6F, -8F, 24, 11, 8);
              museau2.setRotationPoint(0F, -24F, -26F);
              museau2.setTextureSize(2000, 1000);
              museau2.mirror = true;
              setRotation(museau2, 0F, 0F, 0F);
              museau3 = new ModelRenderer(this, 700, 100);
              museau3.addBox(-10F, -4F, -8F, 20, 9, 8);
              museau3.setRotationPoint(0F, -24F, -33F);
              museau3.setTextureSize(2000, 1000);
              museau3.mirror = true;
              setRotation(museau3, 0F, 0F, 0F);
              museau4 = new ModelRenderer(this, 800, 100);
              museau4.addBox(-8F, -4F, -4F, 16, 9, 4);
              museau4.setRotationPoint(0F, -24F, -41F);
              museau4.setTextureSize(2000, 1000);
              museau4.mirror = true;
              setRotation(museau4, 0F, 0F, 0F);
              museau5 = new ModelRenderer(this, 100, 0);
              museau5.addBox(-6F, -4F, -4F, 12, 8, 4);
              museau5.setRotationPoint(0F, -23F, -43F);
              museau5.setTextureSize(2000, 1000);
              museau5.mirror = true;
              setRotation(museau5, 0F, 0F, 0F);
              museau6 = new ModelRenderer(this, 1300, 100);
              museau6.addBox(-12F, -3F, -6F, 24, 3, 12);
              museau6.setRotationPoint(0F, -30F, -21F);
              museau6.setTextureSize(2000, 1000);
              museau6.mirror = true;
              setRotation(museau6, 0F, 0F, 0F);
              museau7 = new ModelRenderer(this, 1400, 100);
              museau7.addBox(-10F, -3F, -4F, 20, 3, 8);
              museau7.setRotationPoint(0F, -29F, -30F);
              museau7.setTextureSize(2000, 1000);
              museau7.mirror = true;
              setRotation(museau7, 0F, 0F, 0F);
              museau8 = new ModelRenderer(this, 1500, 100);
              museau8.addBox(-8F, -3F, -4F, 16, 3, 8);
              museau8.setRotationPoint(0F, -27F, -37F);
              museau8.setTextureSize(2000, 1000);
              museau8.mirror = true;
              setRotation(museau8, 0F, 0F, 0F);
              museau9 = new ModelRenderer(this, 900, 100);
              museau9.addBox(-12F, -6F, -12F, 24, 12, 12);
              museau9.setRotationPoint(0F, -1F, -15F);
              museau9.setTextureSize(2000, 1000);
              museau9.mirror = true;
              setRotation(museau9, 0F, 0F, 0F);
              museau10 = new ModelRenderer(this, 1000, 100);
              museau10.addBox(-10F, -4F, -8F, 20, 8, 8);
              museau10.setRotationPoint(0F, -3F, -26F);
              museau10.setTextureSize(2000, 1000);
              museau10.mirror = true;
              setRotation(museau10, 0F, 0F, 0F);
              museau11 = new ModelRenderer(this, 1100, 100);
              museau11.addBox(-8F, -2F, -4F, 16, 4, 4);
              museau11.setRotationPoint(0F, -5F, -33F);
              museau11.setTextureSize(2000, 1000);
              museau11.mirror = true;
              setRotation(museau11, 0F, 0F, 0F);
              museau12 = new ModelRenderer(this, 1200, 100);
              museau12.addBox(-6F, -4F, -4F, 12, 8, 4);
              museau12.setRotationPoint(0F, -3F, -36F);
              museau12.setTextureSize(2000, 1000);
              museau12.mirror = true;
              setRotation(museau12, 0F, 0F, 0F);
              museau13 = new ModelRenderer(this, 1600, 100);
              museau13.addBox(-10F, 0F, -6F, 20, 4, 12);
              museau13.setRotationPoint(0F, 3F, -21F);
              museau13.setTextureSize(2000, 1000);
              museau13.mirror = true;
              setRotation(museau13, 0F, 0F, 0F);
              museau14 = new ModelRenderer(this, 1700, 100);
              museau14.addBox(-8F, 0F, -4F, 16, 4, 8);
              museau14.setRotationPoint(0F, 0F, -30F);
              museau14.setTextureSize(2000, 1000);
              museau14.mirror = true;
              setRotation(museau14, 0F, 0F, 0F);
              museau15 = new ModelRenderer(this, 1800, 100);
              museau15.addBox(-8F, 0F, -4F, 16, 6, 4);
              museau15.setRotationPoint(0F, -4F, -33F);
              museau15.setTextureSize(2000, 1000);
              museau15.mirror = true;
              setRotation(museau15, 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);
              corp1.render(f5);
              corp2.render(f5);
              corp3.render(f5);
              corp4.render(f5);
              corp5.render(f5);
              queu0.render(f5);
              queu1.render(f5);
              queu2.render(f5);
              queu3.render(f5);
              queu4.render(f5);
              queu5.render(f5);
              queu6.render(f5);
              queu7.render(f5);
              queu8.render(f5);
              queu9.render(f5);
              queu10.render(f5);
              queu11.render(f5);
              queu12.render(f5);
              heleron1.render(f5);
              heleron2.render(f5);
              heleron3.render(f5);
              heleron4.render(f5);
              nageoir1.render(f5);
              nageoir2.render(f5);
              nageoir3.render(f5);
              nageoir4.render(f5);
              nageoir5.render(f5);
              nageoir6.render(f5);
              Museau1.render(f5);
              museau2.render(f5);
              museau3.render(f5);
              museau4.render(f5);
              museau5.render(f5);
              museau6.render(f5);
              museau7.render(f5);
              museau8.render(f5);
              museau9.render(f5);
              museau10.render(f5);
              museau11.render(f5);
              museau12.render(f5);
              museau13.render(f5);
              museau14.render(f5);
              museau15.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, Entity entity)
              {
              super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
              }
              }
              
              

              Voila

              1 réponse Dernière réponse Répondre Citer 0
              • robin4002
                robin4002 Moddeurs confirmés Rédacteurs Administrateurs dernière édition par

                Essaye de reexporter ton modèle, car visiblement il à planté.

                nageoir1.mirror = true;
                nageoir1 = new ModelRenderer(this, 0, 600);
                nageoir1.addBox(-12F, -2F, -2F, 12, 4, 4);
                nageoir1.setRotationPoint(-13F, 9F, 23F);
                nageoir1.setTextureSize(2000, 1000);
                nageoir1.mirror = true;
                setRotation(nageoir1, 0F, 0F, -0.7330383F);
                nageoir1.mirror = false;
                

                devrait être

                nageoir1 = new ModelRenderer(this, 0, 600);
                nageoir1.addBox(-12F, -2F, -2F, 12, 4, 4);
                nageoir1.setRotationPoint(-13F, 9F, 23F);
                nageoir1.setTextureSize(2000, 1000);
                setRotation(nageoir1, 0F, 0F, -0.7330383F);
                nageoir1.mirror = false;
                

                Et c’est le cas pour toutes tes nageoires.

                1 réponse Dernière réponse Répondre Citer 0
                • 1 / 1
                • Premier message
                  Dernier message
                Design by Woryk
                Contact / Mentions Légales

                MINECRAFT FORGE FRANCE © 2018

                Powered by NodeBB