MFF

    Minecraft Forge France
    • Récent
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Forge Events
      • Automatique
      • Foncé
      • Clair
    • S'inscrire
    • Se connecter

    Problème Bloc complexe et rendue d'item qui crash

    Planifier Épinglé Verrouillé Déplacé Sans suite
    1.7.x
    25 Messages 5 Publieurs 6.9k Vues 1 Watching
    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.
    • Y Hors-ligne
      yohannlog
      dernière édition par

      Bonjour, j’ai un petit problème avec mon bloc avec rendu puis le rendue d’item qui fais crash mon jeu

      • Bonus: Un crash

      ps: Je précise que j’ai beaucoup mal à la tête, donc je pense que j’ai du oublier plein de choses
      ps2: J’ai regardé plein de fois le tutoriel sans succès
      ps3: vérifié (si vous pouvez) que tout les renders et codes pour renders et directions sont bons

      Autre précision: J’ai enlever les “import”

      Classe principale

      :::

      ​package fr.HearGaold.yohannlog;
      
      import cpw.mods.fml.common.Mod;
      import cpw.mods.fml.common.SidedProxy;
      import cpw.mods.fml.common.event.FMLInitializationEvent;
      import cpw.mods.fml.common.event.FMLPostInitializationEvent;
      import cpw.mods.fml.common.event.FMLPreInitializationEvent;
      import cpw.mods.fml.common.registry.GameRegistry;
      import fr.DrekFust.yohannlog.TileEntities.TileEntityTransformer;
      import fr.DrekFust.yohannlog.blocks.BlockSpiritTransformer;
      import fr.DrekFust.yohannlog.creativet.CTBlocks;
      import fr.DrekFust.yohannlog.creativet.CTItems;
      import fr.DrekFust.yohannlog.items.ItemCorruptedSpirit;
      import fr.DrekFust.yohannlog.items.ItemFireSpirit;
      import fr.DrekFust.yohannlog.items.ItemGroundSpirit;
      import fr.DrekFust.yohannlog.items.ItemIceSpirit;
      import fr.DrekFust.yohannlog.items.ItemWaterSpirit;
      import fr.DrekFust.yohannlog.items.ItemWindSpirit;
      import fr.HearGaold.yohannlog.proxy.CommonProxy;
      import net.minecraft.block.Block;
      import net.minecraft.block.material.Material;
      import net.minecraft.creativetab.CreativeTabs;
      import net.minecraft.item.Item;
      
      @Mod(modid="df", name="DrekFust", version="DrekFust-a120-ALPHA")
      public class DrekFust
      {
          public static final String modid = "df";
          @SidedProxy(clientSide="fr.HearGaold.yohannlog.proxy.ClientProxy",serverSide="fr.HearGaold.yohannlog.proxy.Commonproxy")
          public static CommonProxy proxy;
          public static DrekFust instance;
      
          public static CreativeTabs tabitems = new CTItems(CreativeTabs.getNextID(), "tabitems");
          public static CreativeTabs tabBlocks = new CTBlocks(CreativeTabs.getNextID(), "tabblocks");
      
          //Items des Elements
          public static Item FireSpirit, WaterSpirit, GroundSpirit, WindSpirit, IceSpirit, CorruptedSpirit;
          public static Block SpiritTransformer;
      
          @Mod.EventHandler
          public void preInit(FMLPreInitializationEvent event)
          {
              SpiritTransformer = new BlockSpiritTransformer(Material.iron).setBlockName("spirittransformer");
              //Elements
              FireSpirit = new ItemFireSpirit().setUnlocalizedName("firespirit").setTextureName("df:firespirit");
              WaterSpirit = new ItemWaterSpirit().setUnlocalizedName("waterspirit").setTextureName("df:waterspirit");
              GroundSpirit = new ItemGroundSpirit().setUnlocalizedName("groundspirit").setTextureName("df:groundspirit");
              WindSpirit = new ItemWindSpirit().setUnlocalizedName("windspirit").setTextureName("df:windspirit");
              IceSpirit = new ItemIceSpirit().setUnlocalizedName("icespirit").setTextureName("df:icespirit");
              CorruptedSpirit = new ItemCorruptedSpirit().setUnlocalizedName("corruptedspirit").setTextureName("df:corruptedspirit");
      
              GameRegistry.registerItem(FireSpirit, "firespirit");
              GameRegistry.registerItem(WaterSpirit, "waterspirit");
              GameRegistry.registerItem(GroundSpirit, "groundspirit");
              GameRegistry.registerItem(WindSpirit, "windspirit");
              GameRegistry.registerItem(IceSpirit, "icespirit");
              GameRegistry.registerItem(CorruptedSpirit, "corruptedspirit");
          }
      
          @Mod.EventHandler
          public void init(FMLInitializationEvent event)
          {
              GameRegistry.registerTileEntity(TileEntityTransformer.class, "df:spirittransformer");
              proxy.registerRender();    
          }
          @Mod.EventHandler
          public void postInit(FMLPostInitializationEvent event)
          {  
          }
      }
      

      :::

      BlockSpiritTransformer

      :::

      ​package fr.DrekFust.yohannlog.blocks;
      
      import cpw.mods.fml.relauncher.Side;
      import cpw.mods.fml.relauncher.SideOnly;
      import fr.DrekFust.yohannlog.TileEntities.TileEntityTransformer;
      import fr.HearGaold.yohannlog.DrekFust;
      import fr.HearGaold.yohannlog.proxy.ClientProxy;
      import net.minecraft.block.Block;
      import net.minecraft.block.material.Material;
      import net.minecraft.entity.EntityLivingBase;
      import net.minecraft.item.ItemStack;
      import net.minecraft.tileentity.TileEntity;
      import net.minecraft.util.IIcon;
      import net.minecraft.util.MathHelper;
      import net.minecraft.world.World;
      import net.minecraftforge.common.util.ForgeDirection;
      
      public class BlockSpiritTransformer extends Block
      {
          public BlockSpiritTransformer(Material material)
          {
              super(material);
              this.setCreativeTab(DrekFust.tabBlocks);
          }
      
          public boolean isOpaqueCube()
          {
              return false;
          }
      
          public boolean renderAsNormalBlock()
          {
              return false;
          }
      
          public int getRenderType()
          {
              return ClientProxy.tesrRenderId;
          }
      
          @Override
          public TileEntity createTileEntity(World world, int metadata)
          {
              return new TileEntityTransformer();
      
          }
      
          @Override
          public boolean hasTileEntity(int metadata)
          {
              return true;
          }
      
          public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase living, ItemStack stack)
          {
              if(stack.getItemDamage() == 0)
              {
                  TileEntity tile = world.getTileEntity(x, y, z);
                  if(tile instanceof TileEntityTransformer)
                  {
                      int direction = MathHelper.floor_double((double)(living.rotationYaw * 4.0F / 360.0F) + 2.5D) & 3;
                      ((TileEntityTransformer)tile).setDirection((byte)direction);
                  }
              }
          }
      
          @Override
          public boolean rotateBlock(World world, int x, int y, int z, ForgeDirection axis)
          {
              if((axis == ForgeDirection.UP || axis == ForgeDirection.DOWN) && !world.isRemote && world.getBlockMetadata(x, y, z) == 0)
              {
                  TileEntity tile = world.getTileEntity(x, y, z);
                  if(tile instanceof TileEntityTransformer)
                  {
                      TileEntityTransformer tileTuto = (TileEntityTransformer)tile;
                      byte direction = tileTuto.getDirection();
                      direction++;
                      if(direction > 3)
                      {
                          direction = 0;
                      }
                      tileTuto.setDirection(direction);
                      return true;
                  }
              }
              return false;
          }
      
          public ForgeDirection[] getValidRotations(World world, int x, int y, int z)
          {
              return world.getBlockMetadata(x, y, z) == 0 ? new ForgeDirection[] {ForgeDirection.UP, ForgeDirection.DOWN} : ForgeDirection.VALID_DIRECTIONS;
          }
      
      }
      

      :::

      TileEntityTransformerSpecialRenderer:

      :::

      ​package fr.DrekFust.yohannlog.client;
      
      import org.lwjgl.opengl.GL11;
      
      import org.lwjgl.opengl.GL11;
      import fr.DrekFust.yohannlog.TileEntities.TileEntityTransformer;
      import fr.DrekFust.yohannlog.models.SpiritTransformer;
      import fr.HearGaold.yohannlog.DrekFust;
      import net.minecraft.client.model.ModelBiped;
      import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher;
      import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
      import net.minecraft.tileentity.TileEntity;
      import net.minecraft.util.ResourceLocation;
      
      public class TileEntityTransformerSpecialRenderer extends TileEntitySpecialRenderer
      {
           public static SpiritTransformer model = new SpiritTransformer();
              public static ResourceLocation texture = new ResourceLocation(DrekFust.modid, "textures/models/blocks/modeltransformer.png");
      
              public TileEntityTransformerSpecialRenderer()
              {
                  this.func_147497_a(TileEntityRendererDispatcher.instance);
              }
      
          @Override
          public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float partialRenderTick) // la fonction qui était la de base
          {
              this.renderTileEntityTransformerAt((TileEntityTransformer)tile, x, y, z, partialRenderTick); // j'appelle ma fonction renderTileEntityTutorielAt en castant TileEntityTutoriel à l'argument tile
          }
      
          private void renderTileEntityTransformerAt(TileEntityTransformer tile, double x, double y, double z, float partialRenderTick) // ma propre fonction
          {
              GL11.glPushMatrix();
              GL11.glTranslated(x + 0.5D, y + 1.5D, z + 0.5D);
              GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
              GL11.glRotatef((90F * tile.getDirection()) + 180F, 0.0F, 1.0F, 0.0F);
              this.bindTexture(texture);
              model.renderAll();
              GL11.glPopMatrix();
          }
      
      }
      

      :::

      ClientProxy:

      :::

      ​package fr.HearGaold.yohannlog.proxy;
      import cpw.mods.fml.client.registry.ClientRegistry;
      import cpw.mods.fml.client.registry.RenderingRegistry;
      import fr.DrekFust.yohannlog.TileEntities.*;
      import fr.DrekFust.yohannlog.client.TileEntityTransformerSpecialRenderer;
      import net.minecraft.client.model.ModelBiped;
      
      public class ClientProxy extends CommonProxy
      {
          public static int tesrRenderId;
      
          @Override
          public void registerRender()
          {
              tesrRenderId = RenderingRegistry.getNextAvailableRenderId();
              RenderingRegistry.registerBlockHandler(new TESRInventoryRender());
      
              ClientRegistry.bindTileEntitySpecialRenderer(TileEntityTransformer.class, new TileEntityTransformerSpecialRenderer());
      
          }
      
      }
      

      :::

      TESRInventoryRender

      :::

      package fr.DrekFust.yohannlog.TileEntities;
      
      import org.lwjgl.opengl.GL11;
      
      import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
      import fr.DrekFust.yohannlog.client.TileEntityTransformerSpecialRenderer;
      import fr.HearGaold.yohannlog.DrekFust;
      import fr.HearGaold.yohannlog.proxy.ClientProxy;
      import net.minecraft.block.Block;
      import net.minecraft.client.Minecraft;
      import net.minecraft.client.renderer.RenderBlocks;
      import net.minecraft.world.IBlockAccess;
      
      ​public class TESRInventoryRender implements ISimpleBlockRenderingHandler
      {
          @Override
          public void renderInventoryBlock(Block block, int metadata, int modelId, RenderBlocks renderer)
          {
              if(block == DrekFust.SpiritTransformer && metadata == 0)
              {
                  GL11.glPushMatrix();
                  GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F);
                  GL11.glTranslatef(0.0F, -1.0F, 0.0F);
                  GL11.glRotatef(180F, 0.0F, 1.0F, 0.0F);
                  Minecraft.getMinecraft().getTextureManager().bindTexture(TileEntityTransformerSpecialRenderer.texture);
                  TileEntityTransformerSpecialRenderer.model.renderAll();
                  GL11.glPopMatrix();
              }
          }
      
          @Override
          public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
          {
              return false;
          }
      
          @Override
          public boolean shouldRender3DInInventory(int modelId)
          {
              return true;
          }
      
          @Override
          public int getRenderId()
          {
              return ClientProxy.tesrRenderId;
          }
      }
      

      :::

      Puis pour finir (enfin) le crash (je sais que c’est un pb de render, mais ou?)

      [22:38:00] [Server thread/INFO] [FML]: Holder lookups applied
      [22:38:01] [Client thread/FATAL]: Reported exception thrown!
      net.minecraft.util.ReportedException: Rendering item
      at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1168) ~[EntityRenderer.class:?]
      at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) ~[Minecraft.class:?]
      at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
      at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
      at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
      at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
      at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
      at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
      at GradleStart.main(Unknown Source) [start/:?]
      Caused by: java.lang.NullPointerException
      at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265) ~[ItemStack.class:?]
      at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419) ~[RenderItem.class:?]
      at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) ~[RenderItem.class:?]
      at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:968) ~[GuiContainerCreative.class:?]
      at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:795) ~[GuiContainerCreative.class:?]
      at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93) ~[GuiContainer.class:?]
      at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44) ~[InventoryEffectRenderer.class:?]
      at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673) ~[GuiContainerCreative.class:?]
      at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137) ~[EntityRenderer.class:?]
      … 11 more
      [22:38:01] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
      // Surprise! Haha. Well, this is awkward.
      
      Time: 05/07/15 22:38
      Description: Rendering item
      
      java.lang.NullPointerException: Rendering item
      at net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)
      at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)
      at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
      at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:968)
      at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:795)
      at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93)
      at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)
      at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673)
      at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1137)
      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 net.minecraft.item.ItemStack.getItemDamage(ItemStack.java:265)
      at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:419)
      
      -- Item being rendered --
      Details:
      Item Type: null
      Item Aux: ~~ERROR~~ NullPointerException: null
      Item NBT: null
      Item Foil: ~~ERROR~~ NullPointerException: null
      Stacktrace:
      at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
      at net.minecraft.client.gui.inventory.GuiContainerCreative.func_147051_a(GuiContainerCreative.java:968)
      at net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer(GuiContainerCreative.java:795)
      at net.minecraft.client.gui.inventory.GuiContainer.drawScreen(GuiContainer.java:93)
      at net.minecraft.client.renderer.InventoryEffectRenderer.drawScreen(InventoryEffectRenderer.java:44)
      at net.minecraft.client.gui.inventory.GuiContainerCreative.drawScreen(GuiContainerCreative.java:673)
      
      -- Screen render details --
      Details:
      Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
      Mouse location: Scaled: (304, 15). Absolute: (609, 449)
      Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2
      
      -- Affected level --
      Details:
      Level name: MpServer
      All players: 1 total; [EntityClientPlayerMP['Player75'/1243, l='MpServer', x=940,50, y=5,62, z=-117,50]]
      Chunk stats: MultiplayerChunkCache: 330, 330
      Level seed: 0
      Level generator: ID 01 - flat, ver 0\. Features enabled: false
      Level generator options:
      Level spawn location: World: (947,4,-109), Chunk: (at 3,0,3 in 59,-7; contains blocks 944,0,-112 to 959,255,-97), Region: (1,-1; contains chunks 32,-32 to 63,-1, blocks 512,0,-512 to 1023,255,-1)
      Level time: 87 game time, 87 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: 6 total; [EntitySlime['Slime'/21328, l='MpServer', x=939,40, y=4,00, z=-48,60], EntitySlime['Slime'/14392, l='MpServer', x=901,40, y=4,00, z=-143,60], EntityClientPlayerMP['Player75'/1243, l='MpServer', x=940,50, y=5,62, z=-117,50], EntitySlime['Slime'/21501, l='MpServer', x=930,80, y=4,00, z=-60,20], EntitySlime['Slime'/5950, l='MpServer', x=906,50, y=4,95, z=-179,98], EntitySlime['Slime'/14990, l='MpServer', x=898,20, y=4,00, z=-151,80]]
      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 8.1 (amd64) version 6.3
      Java Version: 1.8.0_45, Oracle Corporation
      Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      Memory: 705195800 bytes (672 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: 12, tallocated: 94
      FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1481 4 mods loaded, 4 mods active
      States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
      UCHIJAAAAAAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
      UCHIJAAAAAAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar)
      UCHIJAAAAAAAAA Forge{10.13.4.1481} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar)
      UCHIJAAAAAAAAA df{DrekFust-a120-ALPHA} [DrekFust] (bin)
      GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 353.30' Renderer: 'GeForce GTX 860M/PCIe/SSE2'
      Launched Version: 1.7.10
      LWJGL: 2.9.1
      OpenGL: GeForce GTX 860M/PCIe/SSE2 GL version 4.5.0 NVIDIA 353.30, 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: Français (France)
      Profiler Position: N/A (disabled)
      Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      Anisotropic Filtering: Off (1)
      [22:38:01] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Yohann\Desktop\First Mod\eclipse\.\crash-reports\crash-2015-07-05_22.38.01-client.txt
      AL lib: (EE) alc_cleanup: 1 device not closed
      Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
      
      

      Cordialement Yohann

      1 réponse Dernière réponse Répondre Citer 0
      • SCAREXS Hors-ligne
        SCAREX
        dernière édition par

        Tu as oublié d’enregistrer ton block.

        PS : la convention java veux que tes variables commencent par une majuscule.
        PS 2 : si tu enlèves les imports, les crash report seront faussés car ceux-ci nous indiquent la ligne d’où vient le problème or si tu enlèves quoi que ce soit, les lignes ne sont plus valables.

        Site web contenant mes scripts : http://SCAREXgaming.github.io

        Pas de demandes de support par MP ni par skype SVP.
        Je n'accepte sur skype que l…

        1 réponse Dernière réponse Répondre Citer 1
        • Y Hors-ligne
          yohannlog
          dernière édition par

          @‘SCAREX’:

          Tu as oublié d’enregistrer ton block.

          PS : la convention java veux que tes variables commencent par une majuscule.
          PS 2 : si tu enlèves les imports, les crash report seront faussés car ceux-ci nous indiquent la ligne d’où vient le problème or si tu enlèves quoi que ce soit, les lignes ne sont plus valables.

          Ho ba mince, ca remarche ducoup

          J’ai remis les imports
          –---------------------------------------------------
          Par contre j’ai un seul soucis…ma texture n’apparait pas (violette et noir)
          http://hpics.li/e1f4810

          alors que :

          http://hpics.li/9b41662       (Il a pris mes deux écrans, je suis désolé)

          Puis quand j’enleve le .png de spirittransformer.png, (biensur le fichier reste png car le .png n’est qu’une écriture est pas une extension dans ce cas la) et ben…un crash:

          donc le fichier se nomme donc spirittransformer (sans le .png) avec format png

          :::
          [23:54:31] [Client thread/FATAL]: Reported exception thrown!
          net.minecraft.util.ReportedException: Registering texture
              at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:624) ~[RenderItem.class:?]
              at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) ~[GuiIngame.class:?]
              at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) ~[GuiIngameForge.class:?]
              at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) ~[GuiIngameForge.class:?]
              at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114) ~[EntityRenderer.class:?]
              at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) ~[Minecraft.class:?]
              at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
              at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
              at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
              at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
              at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
              at GradleStart.main(Unknown Source) [start/:?]
          Caused by: java.lang.NullPointerException
              at net.minecraft.client.renderer.texture.TextureUtil.uploadTextureImageAllocate(TextureUtil.java:193) ~[TextureUtil.class:?]
              at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:59) ~[SimpleTexture.class:?]
              at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) ~[TextureManager.class:?]
              at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:45) ~[TextureManager.class:?]
              at fr.DrekFust.yohannlog.TileEntities.TESRInventoryRender.renderInventoryBlock(TESRInventoryRender.java:25) ~[TESRInventoryRender.class:?]
              at cpw.mods.fml.client.registry.RenderingRegistry.renderInventoryBlock(RenderingRegistry.java:125) ~[RenderingRegistry.class:?]
              at net.minecraft.src.FMLRenderAccessLibrary.renderInventoryBlock(FMLRenderAccessLibrary.java:59) ~[FMLRenderAccessLibrary.class:?]
              at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8361) ~[RenderBlocks.class:?]
              at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:463) ~[RenderItem.class:?]
              at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) ~[RenderItem.class:?]
              … 15 more
          [23:54:31] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
          // Oops.

          Time: 05/07/15 23:54
          Description: Registering texture

          java.lang.NullPointerException: Registering texture
              at net.minecraft.client.renderer.texture.TextureUtil.uploadTextureImageAllocate(TextureUtil.java:193)
              at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:59)
              at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89)
              at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:45)
              at fr.DrekFust.yohannlog.TileEntities.TESRInventoryRender.renderInventoryBlock(TESRInventoryRender.java:25)
              at cpw.mods.fml.client.registry.RenderingRegistry.renderInventoryBlock(RenderingRegistry.java:125)
              at net.minecraft.src.FMLRenderAccessLibrary.renderInventoryBlock(FMLRenderAccessLibrary.java:59)
              at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8361)
              at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:463)
              at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
              at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973)
              at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209)
              at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144)
              at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114)
              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 net.minecraft.client.renderer.texture.TextureUtil.uploadTextureImageAllocate(TextureUtil.java:193)
              at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:59)

          – Resource location being registered –
          Details:
              Resource location: df:textures/models/blocks/modeltransformer.png
              Texture object class: net.minecraft.client.renderer.texture.SimpleTexture
          Stacktrace:
              at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89)
              at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:45)
              at fr.DrekFust.yohannlog.TileEntities.TESRInventoryRender.renderInventoryBlock(TESRInventoryRender.java:25)
              at cpw.mods.fml.client.registry.RenderingRegistry.renderInventoryBlock(RenderingRegistry.java:125)
              at net.minecraft.src.FMLRenderAccessLibrary.renderInventoryBlock(FMLRenderAccessLibrary.java:59)
              at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8361)
              at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:463)

          – Item being rendered –
          Details:
              Item Type: net.minecraft.item.ItemBlock@1ddf9fd
              Item Aux: 0
              Item NBT: null
              Item Foil: false
          Stacktrace:
              at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585)
              at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973)
              at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209)
              at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144)

          – Affected level –
          Details:
              Level name: MpServer
              All players: 1 total; [EntityClientPlayerMP[‘Player289’/196, l=‘MpServer’, x=935,76, y=5,62, z=-110,67]]
              Chunk stats: MultiplayerChunkCache: 0, 0
              Level seed: 0
              Level generator: ID 01 - flat, ver 0. Features enabled: false
              Level generator options:
              Level spawn location: World: (947,4,-109), Chunk: (at 3,0,3 in 59,-7; contains blocks 944,0,-112 to 959,255,-97), Region: (1,-1; contains chunks 32,-32 to 63,-1, blocks 512,0,-512 to 1023,255,-1)
              Level time: 6763 game time, 6763 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: 1 total; [EntityClientPlayerMP[‘Player289’/196, l=‘MpServer’, x=935,76, y=5,62, z=-110,67]]
              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 8.1 (amd64) version 6.3
              Java Version: 1.8.0_45, Oracle Corporation
              Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 819693824 bytes (781 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.99.99 Minecraft Forge 10.13.4.1481 4 mods loaded, 4 mods active
              States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored
              UCHIJAAAA    mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
              UCHIJAAAA    FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar)
              UCHIJAAAA    Forge{10.13.4.1481} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar)
              UCHIJAAAA    df{DrekFust-a120-ALPHA} [DrekFust] (bin)
              GL info: ’ Vendor: ‘NVIDIA Corporation’ Version: ‘4.5.0 NVIDIA 353.30’ Renderer: ‘GeForce GTX 860M/PCIe/SSE2’
              Launched Version: 1.7.10
              LWJGL: 2.9.1
              OpenGL: GeForce GTX 860M/PCIe/SSE2 GL version 4.5.0 NVIDIA 353.30, 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: Français (France)
              Profiler Position: N/A (disabled)
              Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
              Anisotropic Filtering: Off (1)
          [23:54:31] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Yohann\Desktop\First Mod\eclipse.\crash-reports\crash-2015-07-05_23.54.31-client.txt
          AL lib: (EE) alc_cleanup: 1 device not closed
          Java HotSpot™ 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

          :::

          1 réponse Dernière réponse Répondre Citer 0
          • SCAREXS Hors-ligne
            SCAREX
            dernière édition par

            Le .png est obligatoire. Si la texture n’y est pas, il te l’affiche dans les logs, tu as quoi dans les logs ?

            Site web contenant mes scripts : http://SCAREXgaming.github.io

            Pas de demandes de support par MP ni par skype SVP.
            Je n'accepte sur skype que l…

            1 réponse Dernière réponse Répondre Citer 0
            • Y Hors-ligne
              yohannlog
              dernière édition par

              @‘SCAREX’:

              Le .png est obligatoire. Si la texture n’y est pas, il te l’affiche dans les logs, tu as quoi dans les logs ?

              voilà ce qu’il  me met
              :::
               +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN minecraft
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:   domain minecraft is missing 1 texture
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:     domain minecraft has 3 locations:
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:       mod FML resources at C:\Users\Yohann.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1481-1.7.10\forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Forge resources at C:\Users\Yohann.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1481-1.7.10\forgeSrc-1.7.10-10.13.4.1481-1.7.10.jar
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain minecraft are:
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MISSING_ICON_BLOCK_165_spirittransformer.png
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain minecraft
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
              [11:05:52] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

              :::

              et dans le jeu:

              :::
              [11:08:38] [Client thread/WARN]: Failed to load texture: df:textures/models/blocks/modeltransformer.png
              java.io.FileNotFoundException: df:textures/models/blocks/modeltransformer.png
                  at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:65) ~[FallbackResourceManager.class:?]
                  at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) ~[SimpleReloadableResourceManager.class:?]
                  at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:35) ~[SimpleTexture.class:?]
                  at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:89) [TextureManager.class:?]
                  at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:45) [TextureManager.class:?]
                  at fr.DrekFust.yohannlog.TileEntities.TESRInventoryRender.renderInventoryBlock(TESRInventoryRender.java:25) [TESRInventoryRender.class:?]
                  at cpw.mods.fml.client.registry.RenderingRegistry.renderInventoryBlock(RenderingRegistry.java:125) [RenderingRegistry.class:?]
                  at net.minecraft.src.FMLRenderAccessLibrary.renderInventoryBlock(FMLRenderAccessLibrary.java:59) [FMLRenderAccessLibrary.class:?]
                  at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8361) [RenderBlocks.class:?]
                  at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:463) [RenderItem.class:?]
                  at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:585) [RenderItem.class:?]
                  at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:973) [GuiIngame.class:?]
                  at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:209) [GuiIngameForge.class:?]
                  at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:144) [GuiIngameForge.class:?]
                  at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1114) [EntityRenderer.class:?]
                  at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1067) [Minecraft.class:?]
                  at net.minecraft.client.Minecraft.run(Minecraft.java:962) [Minecraft.class:?]
                  at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
                  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_45]
                  at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
                  at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                  at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                  at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
                  at GradleStart.main(Unknown Source) [start/:?]
              :::

              Autre question, le gameregistry pour le TileEntity est “GameRegistry.registerTileEntity(TileEntityTransformer.class, “spirittransformer”);” ou “GameRegistry.registerTileEntity(TileEntityTransformer.class, “df:spirittransformer”);”

              1 réponse Dernière réponse Répondre Citer 0
              • DiangleD Hors-ligne
                Diangle
                dernière édition par

                Déjà, pour le registry, tu as besoins de mettre le modid, le paramètre String indique un id (depuis la 1.7 les id sont sous forme de nom).

                Ensuite, tu as mis dans quel repèrtoir ta texture ?

                1 réponse Dernière réponse Répondre Citer 0
                • Y Hors-ligne
                  yohannlog
                  dernière édition par

                  1.Ok

                  2.src/main/resources/assets/df/textures/models/blocks

                  1 réponse Dernière réponse Répondre Citer 0
                  • DiangleD Hors-ligne
                    Diangle
                    dernière édition par

                    ton .png est bien nommer : “modeltransformer.png”

                    1 réponse Dernière réponse Répondre Citer 0
                    • Y Hors-ligne
                      yohannlog
                      dernière édition par

                      Ba oui, je viens de vérifier

                      What? quand j’ouvre ma texture , il y a une erreur, ca se trouve c’est ca qui déconne

                      1 réponse Dernière réponse Répondre Citer 0
                      • DiangleD Hors-ligne
                        Diangle
                        dernière édition par

                        ton fichier de texture est erroné ?!

                        1 réponse Dernière réponse Répondre Citer 0
                        • Y Hors-ligne
                          yohannlog
                          dernière édition par

                          Ca va m’aggacer, la texture qui met en invisible sur techne!!!

                          1 réponse Dernière réponse Répondre Citer 0
                          • Y Hors-ligne
                            yohannlog
                            dernière édition par

                            @‘Diangle’:

                            ton fichier de texture est erroné ?!

                            Apparemment, je peux l’ouvrir avec rien et quand je met la texture sur techne, la texture est en invisible

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

                              Dans ce cas il faut refaire la texture, elle est corrompue.

                              1 réponse Dernière réponse Répondre Citer 0
                              • DiangleD Hors-ligne
                                Diangle
                                dernière édition par

                                une texture corrompue ne peux être lue, c’est pour ça. Je suis robin (pas de blague), il faut que tu créer de niuveau une texture.

                                1 réponse Dernière réponse Répondre Citer 0
                                • Y Hors-ligne
                                  yohannlog
                                  dernière édition par

                                  Ok, je vous informerai de l’avancer

                                  1 réponse Dernière réponse Répondre Citer 0
                                  • Y Hors-ligne
                                    yohannlog
                                    dernière édition par

                                    D’ailleur, j’ai un autre problème, sur techne quand je fais la model et la texture, quand je met la texture sur le model techne depuis le logiciel, il met le block en texture invisible (pas tout les endroits), comme si il n’y avais pas de texture a proprement parlé.

                                    C’est un bug ?

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

                                      Envoies un sceenshot.

                                      1 réponse Dernière réponse Répondre Citer 0
                                      • Y Hors-ligne
                                        yohannlog
                                        dernière édition par

                                        Voila: http://hpics.li/9fbefed

                                        Ps: Je précise que toutes les textures sont au bon endroit

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

                                          Heu ? Mauvaise image non ?

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • Y Hors-ligne
                                            yohannlog
                                            dernière édition par

                                            Heu….Ba mince alors, what the bug

                                            je réenvoie l’image: http://hpics.li/30657d8

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB