• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Solved Probleme de rendu CraftStudio

    Anciennes versions
    1.6.4
    3
    11
    2931
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sisidney last edited by

      Salut !!

      Oui je sais , sa fait super longtemps que je ne suis pas co(je ne pouvait pas)

      Enfin breff !!!

      On ma offert un compte premium chez craftstudio mais lorsque je veut chargé mon model Craftstudio , il ne fonctionne pas mais par contre sa fonctionne avec un modele Techne.

      Voici la classe:

      package net.minecraft.src;
      
      public class Model_o__t_Chaise_Bureau_noir_2 extends ModelBase
      {
      ModelRenderer Socle;
      ModelRenderer dos_d;
      ModelRenderer dos_d_g;
      ModelRenderer dos_d_d;
      ModelRenderer coussin_s;
      ModelRenderer socle_dr;
      ModelRenderer socle_f;
      ModelRenderer socle_g;
      ModelRenderer tube_haut;
      ModelRenderer tube_bas;
      ModelRenderer bas1;
      ModelRenderer roue;
      ModelRenderer roue1;
      ModelRenderer roue2;
      ModelRenderer roue3;
      ModelRenderer roue4;
      ModelRenderer bas2;
      ModelRenderer bas3;
      ModelRenderer bas4;
      ModelRenderer bas5;
      ModelRenderer coussin_d;
      ModelRenderer coussin_d_d;
      ModelRenderer coussin_d_g;
      ModelRenderer branche;
      ModelRenderer brache_o;
      ModelRenderer dos_1;
      ModelRenderer dos_2;
      ModelRenderer accoudoir_d1;
      ModelRenderer accoudoir_d2;
      ModelRenderer accoudoir_d4;
      ModelRenderer accoudoir_d3;
      ModelRenderer accoudoir_d5;
      ModelRenderer accoudoir_d6;
      ModelRenderer accoudoir_bras;
      ModelRenderer accoudoir_d21;
      ModelRenderer accoudoir_d22;
      ModelRenderer accoudoir_d41;
      ModelRenderer accoudoir_d31;
      ModelRenderer accoudoir_d51;
      ModelRenderer accoudoir_d61;
      ModelRenderer accoudoir_bras1;
      ModelRenderer Block;
      
      public Model_o__t_Chaise_Bureau_noir_2()
      {
      this( 0.0f );
      }
      
      public Model_o__t_Chaise_Bureau_noir_2( float par1 )
      {
      Socle = new ModelRenderer( this, 188, 56 );
      Socle.setTextureSize( 256, 256 );
      Socle.addBox( -5F, -5F, -5F, 10, 10, 10);
      Socle.setRotationPoint( 8F, 17F, -24F );
      dos_d = new ModelRenderer( this, 167, 27 );
      dos_d.setTextureSize( 256, 256 );
      dos_d.addBox( -3F, -4F, -0.5F, 6, 8, 1);
      dos_d.setRotationPoint( 8F, 10F, -20.5F );
      dos_d_g = new ModelRenderer( this, 197, 11 );
      dos_d_g.setTextureSize( 256, 256 );
      dos_d_g.addBox( -3F, -4F, -0.5F, 6, 8, 1);
      dos_d_g.setRotationPoint( 6F, 10.98262F, -20.62433F );
      dos_d_d = new ModelRenderer( this, 199, 31 );
      dos_d_d.setTextureSize( 256, 256 );
      dos_d_d.addBox( -3F, -4F, -0.5F, 6, 8, 1);
      dos_d_d.setRotationPoint( 10F, 10.98262F, -20.62433F );
      coussin_s = new ModelRenderer( this, 64, 145 );
      coussin_s.setTextureSize( 256, 256 );
      coussin_s.addBox( -6F, -1F, -5.5F, 12, 2, 11);
      coussin_s.setRotationPoint( 8F, 16.6F, -25F );
      socle_dr = new ModelRenderer( this, 97, 218 );
      socle_dr.setTextureSize( 256, 256 );
      socle_dr.addBox( -0.5F, -3F, -5F, 1, 6, 10);
      socle_dr.setRotationPoint( 13F, 17F, -24F );
      socle_f = new ModelRenderer( this, 90, 211 );
      socle_f.setTextureSize( 256, 256 );
      socle_f.addBox( -0.5F, -4F, -5F, 1, 8, 10);
      socle_f.setRotationPoint( 8F, 17F, -28.8F );
      socle_g = new ModelRenderer( this, 92, 211 );
      socle_g.setTextureSize( 256, 256 );
      socle_g.addBox( -0.5F, -3F, -5F, 1, 6, 10);
      socle_g.setRotationPoint( 3F, 17F, -24F );
      tube_haut = new ModelRenderer( this, 170, 218 );
      tube_haut.setTextureSize( 256, 256 );
      tube_haut.addBox( -2.5F, 0.5F, -2.5F, 5, 5, 5);
      tube_haut.setRotationPoint( 8F, 19F, -24F );
      tube_bas = new ModelRenderer( this, 168, 186 );
      tube_bas.setTextureSize( 256, 256 );
      tube_bas.addBox( -2.5F, -2.5F, -2.5F, 5, 5, 5);
      tube_bas.setRotationPoint( 8F, 24.6F, -24F );
      bas1 = new ModelRenderer( this, 16, 214 );
      bas1.setTextureSize( 256, 256 );
      bas1.addBox( -0.5F, -0.5F, -6F, 1, 1, 6);
      bas1.setRotationPoint( 8F, 27F, -24F );
      roue = new ModelRenderer( this, 210, 223 );
      roue.setTextureSize( 256, 256 );
      roue.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      roue.setRotationPoint( 5.65F, 27.5F, -19F );
      roue1 = new ModelRenderer( this, 230, 220 );
      roue1.setTextureSize( 256, 256 );
      roue1.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      roue1.setRotationPoint( 2.5F, 27.5F, -24.9F );
      roue2 = new ModelRenderer( this, 205, 242 );
      roue2.setTextureSize( 256, 256 );
      roue2.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      roue2.setRotationPoint( 6.6F, 27.5F, -29.6F );
      roue3 = new ModelRenderer( this, 205, 238 );
      roue3.setTextureSize( 256, 256 );
      roue3.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      roue3.setRotationPoint( 13F, 27.5F, -26.5F );
      roue4 = new ModelRenderer( this, 220, 237 );
      roue4.setTextureSize( 256, 256 );
      roue4.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      roue4.setRotationPoint( 11.9F, 27.5F, -20.01F );
      bas2 = new ModelRenderer( this, 16, 214 );
      bas2.setTextureSize( 256, 256 );
      bas2.addBox( -0.5F, -0.5F, -6F, 1, 1, 6);
      bas2.setRotationPoint( 8F, 27F, -24F );
      bas3 = new ModelRenderer( this, 16, 214 );
      bas3.setTextureSize( 256, 256 );
      bas3.addBox( -0.5F, -0.5F, -6F, 1, 1, 6);
      bas3.setRotationPoint( 8F, 27F, -24F );
      bas4 = new ModelRenderer( this, 16, 214 );
      bas4.setTextureSize( 256, 256 );
      bas4.addBox( -0.5F, -0.5F, -6F, 1, 1, 6);
      bas4.setRotationPoint( 8F, 27F, -24F );
      bas5 = new ModelRenderer( this, 16, 214 );
      bas5.setTextureSize( 256, 256 );
      bas5.addBox( -0.5F, -0.5F, -6F, 1, 1, 6);
      bas5.setRotationPoint( 8F, 27F, -24F );
      coussin_d = new ModelRenderer( this, 132, 128 );
      coussin_d.setTextureSize( 256, 256 );
      coussin_d.addBox( -3F, -4F, -0.5F, 6, 8, 1);
      coussin_d.setRotationPoint( 8F, 10F, -21F );
      coussin_d_d = new ModelRenderer( this, 149, 145 );
      coussin_d_d.setTextureSize( 256, 256 );
      coussin_d_d.addBox( -3F, -4F, -0.5F, 6, 8, 1);
      coussin_d_d.setRotationPoint( 6F, 11.20205F, -21.20949F );
      coussin_d_g = new ModelRenderer( this, 149, 145 );
      coussin_d_g.setTextureSize( 256, 256 );
      coussin_d_g.addBox( -3F, -4F, -0.5F, 6, 8, 1);
      coussin_d_g.setRotationPoint( 10F, 11.20205F, -21.20949F );
      branche = new ModelRenderer( this, 19, 145 );
      branche.setTextureSize( 256, 256 );
      branche.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      branche.setRotationPoint( 7F, 18F, -24F );
      brache_o = new ModelRenderer( this, 30, 148 );
      brache_o.setTextureSize( 256, 256 );
      brache_o.addBox( -0.5F, -0.5F, -0.5F, 1, 1, 1);
      brache_o.setRotationPoint( 6F, 18F, -24F );
      dos_1 = new ModelRenderer( this, 81, 220 );
      dos_1.setTextureSize( 256, 256 );
      dos_1.addBox( -0.5F, -2.5F, -1F, 1, 5, 2);
      dos_1.setRotationPoint( 8F, 15F, -20.5F );
      dos_2 = new ModelRenderer( this, 90, 207 );
      dos_2.setTextureSize( 256, 256 );
      dos_2.addBox( -0.5F, -3.5F, -1F, 1, 7, 2);
      dos_2.setRotationPoint( 8F, 12F, -20.25F );
      accoudoir_d1 = new ModelRenderer( this, 174, 236 );
      accoudoir_d1.setTextureSize( 256, 256 );
      accoudoir_d1.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d1.setRotationPoint( 3.3F, 14.08F, -25F );
      accoudoir_d2 = new ModelRenderer( this, 146, 220 );
      accoudoir_d2.setTextureSize( 256, 256 );
      accoudoir_d2.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d2.setRotationPoint( 3.3F, 14.05F, -23F );
      accoudoir_d4 = new ModelRenderer( this, 154, 236 );
      accoudoir_d4.setTextureSize( 256, 256 );
      accoudoir_d4.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d4.setRotationPoint( 3.3F, 14.02F, -24F );
      accoudoir_d3 = new ModelRenderer( this, 158, 212 );
      accoudoir_d3.setTextureSize( 256, 256 );
      accoudoir_d3.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d3.setRotationPoint( 3.3F, 14.25F, -21.8F );
      accoudoir_d5 = new ModelRenderer( this, 132, 202 );
      accoudoir_d5.setTextureSize( 256, 256 );
      accoudoir_d5.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d5.setRotationPoint( 3.3F, 14.1F, -22.5F );
      accoudoir_d6 = new ModelRenderer( this, 142, 190 );
      accoudoir_d6.setTextureSize( 256, 256 );
      accoudoir_d6.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d6.setRotationPoint( 3.3F, 14.27F, -25.8F );
      accoudoir_bras = new ModelRenderer( this, 175, 209 );
      accoudoir_bras.setTextureSize( 256, 256 );
      accoudoir_bras.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_bras.setRotationPoint( 3.3F, 15.5F, -25F );
      accoudoir_d21 = new ModelRenderer( this, 174, 236 );
      accoudoir_d21.setTextureSize( 256, 256 );
      accoudoir_d21.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d21.setRotationPoint( 12.7F, 14.08F, -25F );
      accoudoir_d22 = new ModelRenderer( this, 146, 220 );
      accoudoir_d22.setTextureSize( 256, 256 );
      accoudoir_d22.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d22.setRotationPoint( 12.7F, 14.05F, -23F );
      accoudoir_d41 = new ModelRenderer( this, 154, 236 );
      accoudoir_d41.setTextureSize( 256, 256 );
      accoudoir_d41.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d41.setRotationPoint( 12.7F, 14.02F, -24F );
      accoudoir_d31 = new ModelRenderer( this, 158, 212 );
      accoudoir_d31.setTextureSize( 256, 256 );
      accoudoir_d31.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d31.setRotationPoint( 12.7F, 14.25F, -21.8F );
      accoudoir_d51 = new ModelRenderer( this, 132, 202 );
      accoudoir_d51.setTextureSize( 256, 256 );
      accoudoir_d51.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d51.setRotationPoint( 12.7F, 14.1F, -22.5F );
      accoudoir_d61 = new ModelRenderer( this, 142, 190 );
      accoudoir_d61.setTextureSize( 256, 256 );
      accoudoir_d61.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_d61.setRotationPoint( 12.7F, 14.27F, -25.8F );
      accoudoir_bras1 = new ModelRenderer( this, 175, 209 );
      accoudoir_bras1.setTextureSize( 256, 256 );
      accoudoir_bras1.addBox( -0.5F, -0.5F, -3F, 1, 1, 6);
      accoudoir_bras1.setRotationPoint( 12.7F, 15.5F, -25F );
      Block = new ModelRenderer( this, 0, 0 );
      Block.setTextureSize( 256, 256 );
      Block.addBox( -8F, -8F, -8F, 16, 16, 16);
      Block.setRotationPoint( 33F, 16F, -24F );
      }
      
      public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
      {
      Socle.rotateAngleX = 0F;
      Socle.rotateAngleY = 0F;
      Socle.rotateAngleZ = 0F;
      Socle.renderWithRotation(par7);
      
      dos_d.rotateAngleX = -0.1561541F;
      dos_d.rotateAngleY = 0F;
      dos_d.rotateAngleZ = 0F;
      dos_d.renderWithRotation(par7);
      
      dos_d_g.rotateAngleX = -0.150348F;
      dos_d_g.rotateAngleY = 0F;
      dos_d_g.rotateAngleZ = 0F;
      dos_d_g.renderWithRotation(par7);
      
      dos_d_d.rotateAngleX = -0.150348F;
      dos_d_d.rotateAngleY = 0F;
      dos_d_d.rotateAngleZ = 0F;
      dos_d_d.renderWithRotation(par7);
      
      coussin_s.rotateAngleX = 0F;
      coussin_s.rotateAngleY = 0F;
      coussin_s.rotateAngleZ = 0F;
      coussin_s.renderWithRotation(par7);
      
      socle_dr.rotateAngleX = 0F;
      socle_dr.rotateAngleY = 0F;
      socle_dr.rotateAngleZ = 0F;
      socle_dr.renderWithRotation(par7);
      
      socle_f.rotateAngleX = 5.333817E-10F;
      socle_f.rotateAngleY = -1.560081F;
      socle_f.rotateAngleZ = -5.229799E-09F;
      socle_f.renderWithRotation(par7);
      
      socle_g.rotateAngleX = 0F;
      socle_g.rotateAngleY = 0F;
      socle_g.rotateAngleZ = 0F;
      socle_g.renderWithRotation(par7);
      
      tube_haut.rotateAngleX = 0F;
      tube_haut.rotateAngleY = 0F;
      tube_haut.rotateAngleZ = 0F;
      tube_haut.renderWithRotation(par7);
      
      tube_bas.rotateAngleX = 0F;
      tube_bas.rotateAngleY = 0F;
      tube_bas.rotateAngleZ = 0F;
      tube_bas.renderWithRotation(par7);
      
      bas1.rotateAngleX = 0F;
      bas1.rotateAngleY = 1.408205F;
      bas1.rotateAngleZ = 0F;
      bas1.renderWithRotation(par7);
      
      roue.rotateAngleX = 0F;
      roue.rotateAngleY = 0.5111604F;
      roue.rotateAngleZ = 0F;
      roue.renderWithRotation(par7);
      
      roue1.rotateAngleX = 0F;
      roue1.rotateAngleY = 1.406277F;
      roue1.rotateAngleZ = 0F;
      roue1.renderWithRotation(par7);
      
      roue2.rotateAngleX = 0F;
      roue2.rotateAngleY = 1.73106F;
      roue2.rotateAngleZ = 0F;
      roue2.renderWithRotation(par7);
      
      roue3.rotateAngleX = -6.283185F;
      roue3.rotateAngleY = 2.102216F;
      roue3.rotateAngleZ = 0F;
      roue3.renderWithRotation(par7);
      
      roue4.rotateAngleX = 0F;
      roue4.rotateAngleY = 0.2013723F;
      roue4.rotateAngleZ = 0F;
      roue4.renderWithRotation(par7);
      
      bas2.rotateAngleX = 0F;
      bas2.rotateAngleY = 0.243672F;
      bas2.rotateAngleZ = 0F;
      bas2.renderWithRotation(par7);
      
      bas3.rotateAngleX = 0F;
      bas3.rotateAngleY = -1.107904F;
      bas3.rotateAngleZ = 0F;
      bas3.renderWithRotation(par7);
      
      bas4.rotateAngleX = 0F;
      bas4.rotateAngleY = -2.382052F;
      bas4.rotateAngleZ = 0F;
      bas4.renderWithRotation(par7);
      
      bas5.rotateAngleX = 0F;
      bas5.rotateAngleY = 2.704898F;
      bas5.rotateAngleZ = 0F;
      bas5.renderWithRotation(par7);
      
      coussin_d.rotateAngleX = -0.1561541F;
      coussin_d.rotateAngleY = 0F;
      coussin_d.rotateAngleZ = 0F;
      coussin_d.renderWithRotation(par7);
      
      coussin_d_d.rotateAngleX = -0.1503481F;
      coussin_d_d.rotateAngleY = 0F;
      coussin_d_d.rotateAngleZ = 0F;
      coussin_d_d.renderWithRotation(par7);
      
      coussin_d_g.rotateAngleX = -0.1503481F;
      coussin_d_g.rotateAngleY = 0F;
      coussin_d_g.rotateAngleZ = 0F;
      coussin_d_g.renderWithRotation(par7);
      
      branche.rotateAngleX = 0F;
      branche.rotateAngleY = 0F;
      branche.rotateAngleZ = 0F;
      branche.renderWithRotation(par7);
      
      brache_o.rotateAngleX = 0F;
      brache_o.rotateAngleY = 0F;
      brache_o.rotateAngleZ = -0.1372439F;
      brache_o.renderWithRotation(par7);
      
      dos_1.rotateAngleX = -0.1040218F;
      dos_1.rotateAngleY = 0F;
      dos_1.rotateAngleZ = 0F;
      dos_1.renderWithRotation(par7);
      
      dos_2.rotateAngleX = -0.05915365F;
      dos_2.rotateAngleY = 0F;
      dos_2.rotateAngleZ = 0F;
      dos_2.renderWithRotation(par7);
      
      accoudoir_d1.rotateAngleX = 0.148642F;
      accoudoir_d1.rotateAngleY = 0F;
      accoudoir_d1.rotateAngleZ = 0F;
      accoudoir_d1.renderWithRotation(par7);
      
      accoudoir_d2.rotateAngleX = -0.06658977F;
      accoudoir_d2.rotateAngleY = 0F;
      accoudoir_d2.rotateAngleZ = 0F;
      accoudoir_d2.renderWithRotation(par7);
      
      accoudoir_d4.rotateAngleX = 0F;
      accoudoir_d4.rotateAngleY = 0F;
      accoudoir_d4.rotateAngleZ = 0F;
      accoudoir_d4.renderWithRotation(par7);
      
      accoudoir_d3.rotateAngleX = -0.236162F;
      accoudoir_d3.rotateAngleY = 0F;
      accoudoir_d3.rotateAngleZ = 0F;
      accoudoir_d3.renderWithRotation(par7);
      
      accoudoir_d5.rotateAngleX = -0.1381876F;
      accoudoir_d5.rotateAngleY = 0F;
      accoudoir_d5.rotateAngleZ = 0F;
      accoudoir_d5.renderWithRotation(par7);
      
      accoudoir_d6.rotateAngleX = 0.3158456F;
      accoudoir_d6.rotateAngleY = 0F;
      accoudoir_d6.rotateAngleZ = 0F;
      accoudoir_d6.renderWithRotation(par7);
      
      accoudoir_bras.rotateAngleX = 1.436327F;
      accoudoir_bras.rotateAngleY = -3.141593F;
      accoudoir_bras.rotateAngleZ = -3.141593F;
      accoudoir_bras.renderWithRotation(par7);
      
      accoudoir_d21.rotateAngleX = 0.148642F;
      accoudoir_d21.rotateAngleY = 0F;
      accoudoir_d21.rotateAngleZ = 0F;
      accoudoir_d21.renderWithRotation(par7);
      
      accoudoir_d22.rotateAngleX = -0.06658977F;
      accoudoir_d22.rotateAngleY = 0F;
      accoudoir_d22.rotateAngleZ = 0F;
      accoudoir_d22.renderWithRotation(par7);
      
      accoudoir_d41.rotateAngleX = 0F;
      accoudoir_d41.rotateAngleY = 0F;
      accoudoir_d41.rotateAngleZ = 0F;
      accoudoir_d41.renderWithRotation(par7);
      
      accoudoir_d31.rotateAngleX = -0.236162F;
      accoudoir_d31.rotateAngleY = 0F;
      accoudoir_d31.rotateAngleZ = 0F;
      accoudoir_d31.renderWithRotation(par7);
      
      accoudoir_d51.rotateAngleX = -0.1381876F;
      accoudoir_d51.rotateAngleY = 0F;
      accoudoir_d51.rotateAngleZ = 0F;
      accoudoir_d51.renderWithRotation(par7);
      
      accoudoir_d61.rotateAngleX = 0.3158456F;
      accoudoir_d61.rotateAngleY = 0F;
      accoudoir_d61.rotateAngleZ = 0F;
      accoudoir_d61.renderWithRotation(par7);
      
      accoudoir_bras1.rotateAngleX = 1.436327F;
      accoudoir_bras1.rotateAngleY = -3.141593F;
      accoudoir_bras1.rotateAngleZ = -3.141593F;
      accoudoir_bras1.renderWithRotation(par7);
      
      Block.rotateAngleX = 0F;
      Block.rotateAngleY = 0F;
      Block.rotateAngleZ = 0F;
      Block.renderWithRotation(par7);
      
      }
      
      }
      
      

      Cordialement Sidney

      1 Reply Last reply Reply Quote 0
      • robin4002
        robin4002 Moddeurs confirmés Rédacteurs Administrateurs last edited by

        Salut,
        Pas assez de détail.
        Avec quel code tu utilise le modèle ? C’est un rendu de bloc TESR ou d’item ou d’entity ?

        1 Reply Last reply Reply Quote 0
        • Deleted
          Deleted last edited by

          @‘robin4002’:

          Salut,
          Pas assez de détail.
          Avec quel code tu utilise le modèle ? C’est un rendu de bloc TESR ou d’item ou d’entity ?

          Je ne suis pas sûr mais à mon avis si il parle d’une chaise de bureau (```java
          public Model_o__t_Chaise_Bureau_noir_2()

          il parle d'un code TESR, non sisidney?
          1 Reply Last reply Reply Quote 0
          • robin4002
            robin4002 Moddeurs confirmés Rédacteurs Administrateurs last edited by

            Possible, il faut les codes du rendu du TESR. D’ailleurs autre problème, les balises de version ne sont pas là pour rien, là je ne sais pas en quel version tu code.

            1 Reply Last reply Reply Quote 0
            • S
              sisidney last edited by

              Ah oui c’est vrais desolé 🙂 oui c’est bien un redus TESR
              Je code en 1.6.4 il y a une différence de rendu entre la 1.6 et la 1.7 avec craftstudio car avec Techne j’ai aucun souci .

              1 Reply Last reply Reply Quote 0
              • robin4002
                robin4002 Moddeurs confirmés Rédacteurs Administrateurs last edited by

                Tu as des erreurs quelques part ?
                Je peux avoir le code de la classe du rendu ?

                1 Reply Last reply Reply Quote 0
                • S
                  sisidney last edited by

                  La voici 🙂 :

                  package modCrafttech.client;
                  
                  import org.lwjgl.opengl.GL11;
                  
                  import modCrafttech.common.TileEntityTest;
                  import net.minecraft.client.renderer.tileentity.TileEntityRenderer;
                  import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
                  import net.minecraft.tileentity.TileEntity;
                  import net.minecraft.util.ResourceLocation;
                  
                  public class TileEntityTestSpecialRender extends TileEntitySpecialRenderer implements IInventoryRenderer {
                  private final ModelBariquade model = new ModelBariquade();
                  public static final ResourceLocation textureLocation = new ResourceLocation("craftech", "textures/blocks/chaise.png");
                  
                  public TileEntityTestSpecialRender()
                  {
                  this.setTileEntityRenderer(TileEntityRenderer.instance);
                  }
                  
                  @Override
                  public void renderInventory(double x, double y, double z)
                  {
                  this.renderTileEntityTestAt(null, x, y, z, 0.0F);
                  }
                  
                  @Override
                  public void renderTileEntityAt(TileEntity te, double x, double y, double z, float tick)
                  {
                  this.renderTileEntityTestAt((TileEntityTest)te, x, y, z, tick);
                  }
                  public void renderTileEntityTestAt(TileEntityTest te, double x, double y, double z, float tick)
                  {
                  GL11.glPushMatrix();
                  GL11.glTranslated(x + 0.5F, y + 1.5F, z + 0.5F);
                  this.bindTexture(textureLocation);
                  GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
                  if(te != null)
                  {
                  GL11.glRotatef(90F * te.getDirection(), 0.0F, 1.0F, 0.0F);
                  }
                  this.model.render(0.0625F);
                  GL11.glPopMatrix();
                  }
                  }
                  

                  Et oui j ai une erreur la :this.model.render(0.0625F);

                  1 Reply Last reply Reply Quote 0
                  • robin4002
                    robin4002 Moddeurs confirmés Rédacteurs Administrateurs last edited by

                    Dans la classe de ton modèle, remplace :
                    public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
                    par :
                    public void render(float par7)

                    1 Reply Last reply Reply Quote 0
                    • S
                      sisidney last edited by

                      Sa ne fonctionne tjr pas enfin sa fonctionne mais le modéle est déformé.

                      1 Reply Last reply Reply Quote 0
                      • robin4002
                        robin4002 Moddeurs confirmés Rédacteurs Administrateurs last edited by

                        Dans la classe du modèle, remplace tout les renderWithRotation(par7) par render(par7)

                        1 Reply Last reply Reply Quote 0
                        • S
                          sisidney last edited by

                          Cela ne venait pas de la enfaîte, cela venait tout simplement du faite que j’avais mit des étirement 😕

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          Design by Woryk
                          Contact / Mentions Légales

                          MINECRAFT FORGE FRANCE © 2018

                          Powered by NodeBB