MFF

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

    Rendu complexe de bloc via TESR

    Planifier Épinglé Verrouillé Déplacé Les blocs
    1.6.x
    215 Messages 31 Publieurs 75.2k 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.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      Étrange, vire le extends BlockContainer et fait un extends Block plutôt avec la méthode :

      public boolean hasTileEntity(int metadata)
      {
      return true;
      }
      

      Vire la méthode public TileEntity createNewTileEntity(World world).

      Et ici :

      @Override
      public TileEntity createTileEntity(World world, int metadata)
      {
      
      {
      return new TileEntitySolarPanelBasic();
      }
      
      }
      

      Tu as des accolades en trop :

      @Override
      public TileEntity createTileEntity(World world, int metadata)
      {
      return new TileEntitySolarPanelBasic();
      }
      
      1 réponse Dernière réponse Répondre Citer 0
      • Bowser338B Hors-ligne
        Bowser338
        dernière édition par

        Ok merci je testerais sa demain la je peux pas

        Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

        1 réponse Dernière réponse Répondre Citer 0
        • Superloup10S Hors-ligne
          Superloup10 Modérateurs
          dernière édition par

          @Bowser338, tu es sur quelle version de Forge?

          Si vous souhaitez me faire un don, il vous suffit de cliquer sur le bouton situé en dessous.

          Je suis un membre apprécié et joueur, j'ai déjà obtenu 17 points de réputation.

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

            Je suis sous Forge 9.11.1.953

            Les modifications apportées ne fonctionnent pas mais j’ai l’impression que c’est pas vraiment un “crash” parce que quand je lance le monde dans les logs il met out of memory et apres il affiche quelques trucs puis
            crash report has been saved machin bidule
            et le jeu ne se ferme pas ( Java ne reponds pas )

            
            mars 04, 2014 7:07:21 PM net.minecraft.launchwrapper.LogWrapper log
            Infos: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
            mars 04, 2014 7:07:21 PM net.minecraft.launchwrapper.LogWrapper log
            Infos: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
            mars 04, 2014 7:07:21 PM net.minecraft.launchwrapper.LogWrapper log
            Infos: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Forge Mod Loader version 6.4.45.953 for Minecraft 1.6.4 loading
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_51, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
            2014-03-04 19:07:21 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
            2014-03-04 19:07:21 [Infos] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
            2014-03-04 19:07:21 [Grave] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
            2014-03-04 19:07:22 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
            2014-03-04 19:07:22 [Infos] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg
            2014-03-04 19:07:22 [Infos] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
            2014-03-04 19:07:22 [Infos] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
            2014-03-04 19:07:22 [Infos] [Minecraft-Client] Setting user: Player289
            2014-03-04 19:07:23 [Infos] [Minecraft-Client] LWJGL Version: 2.9.0
            2014-03-04 19:07:23 [Infos] [Minecraft-Client] Reloading ResourceManager: Default
            2014-03-04 19:07:24 [Infos] [MinecraftForge] Attempting early MinecraftForge initialization
            2014-03-04 19:07:24 [Infos] [STDOUT] MinecraftForge v9.11.1.953 Initialized
            2014-03-04 19:07:24 [Infos] [ForgeModLoader] MinecraftForge v9.11.1.953 Initialized
            2014-03-04 19:07:24 [Infos] [STDOUT] Replaced 112 ore recipies
            2014-03-04 19:07:24 [Infos] [MinecraftForge] Completed early MinecraftForge initialization
            2014-03-04 19:07:24 [Infos] [ForgeModLoader] Reading custom logging properties from C:\Users\Alexandre\Desktop\Ressources\modding\forge MobTest\mcp\jars\config\logging.properties
            2014-03-04 19:07:24 [Désactivé] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
            2014-03-04 19:07:24 [Infos] [ForgeModLoader] Searching C:\Users\Alexandre\Desktop\Ressources\modding\forge MobTest\mcp\jars\mods for mods
            2014-03-04 19:07:25 [Infos] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
            2014-03-04 19:07:25 [Infos] [mcp] Activating mod mcp
            2014-03-04 19:07:25 [Infos] [FML] Activating mod FML
            2014-03-04 19:07:25 [Infos] [Forge] Activating mod Forge
            2014-03-04 19:07:25 [Infos] [UltimateUniverseMod] Activating mod UltimateUniverseMod
            2014-03-04 19:07:25 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
            2014-03-04 19:07:25 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
            2014-03-04 19:07:25 [Avertissement] [Ultimate Universe Mod] Mod Ultimate Universe Mod is missing a pack.mcmeta file, things may not work well
            2014-03-04 19:07:25 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Ultimate Universe Mod
            2014-03-04 19:07:25 [Infos] [ForgeModLoader] Registering Forge Packet Handler
            2014-03-04 19:07:25 [Infos] [ForgeModLoader] Succeeded registering Forge Packet Handler
            2014-03-04 19:07:25 [Infos] [ForgeModLoader] Configured a dormant chunk cache size of 0
            2014-03-04 19:07:26 [Grave] [Minecraft-Client] Using missing texture, unable to load: universe:textures/blocks/basicsolarpanel.png
            2014-03-04 19:07:26 [Infos] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
            2014-03-04 19:07:26 [Avertissement] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
            2014-03-04 19:07:26 [Avertissement] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
            2014-03-04 19:07:26 [Avertissement] [Ultimate Universe Mod] Mod Ultimate Universe Mod is missing a pack.mcmeta file, things may not work well
            2014-03-04 19:07:26 [Infos] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Ultimate Universe Mod
            2014-03-04 19:07:27 [Grave] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_0_null.png
            2014-03-04 19:07:27 [Grave] [Minecraft-Client] Using missing texture, unable to load: universe:textures/blocks/basicsolarpanel.png
            2014-03-04 19:07:27 [Infos] [STDOUT]
            2014-03-04 19:07:27 [Infos] [STDOUT] Starting up SoundSystem…
            2014-03-04 19:07:27 [Infos] [STDOUT] Initializing LWJGL OpenAL
            2014-03-04 19:07:27 [Infos] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
            2014-03-04 19:07:27 [Infos] [STDOUT] OpenAL initialized.
            2014-03-04 19:07:27 [Infos] [STDOUT]
            2014-03-04 19:07:28 [Grave] [Minecraft-Client] Realms: Server not available!
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting level New World-
            2014-03-04 19:07:30 [Infos] [STDOUT] Attempt 1…
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\data
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\data\Mineshaft.dat
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\data\villages.dat
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\DIM-1
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\DIM-1\data
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\DIM1
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\DIM1\data
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\level.dat
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\level.dat_mcr
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\level.dat_old
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\players
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\region
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\region\r.-1.0.mca
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\region\r.0.-1.mca
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\region\r.0.0.mca
            2014-03-04 19:07:30 [Infos] [STDOUT] Deleting .\saves\New World-\session.lock
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting level New World
            2014-03-04 19:07:32 [Infos] [STDOUT] Attempt 1…
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\data
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\data\Mineshaft.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\data\Village.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\data\villages.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM-1
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM-1\data
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM-1\data\villages.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM-1\forcedchunks.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM1
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM1\data
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM1\data\villages.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\DIM1\forcedchunks.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\forcedchunks.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\level.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\level.dat_mcr
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player103.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player11.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player136.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player145.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player168.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player181.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player215.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player223.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player239.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player24.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player273.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player274.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player283.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player299.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player3.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player302.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player318.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player328.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player345.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player373.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player473.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player486.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player497.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player5.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player504.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player541.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player553.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player559.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player57.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player573.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player580.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player608.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player688.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player713.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player724.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player741.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player78.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player784.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player796.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player815.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player831.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player853.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player86.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player956.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player964.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player974.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\players\Player976.dat
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region\r.-1.-1.mca
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region\r.-1.0.mca
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region\r.-1.1.mca
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region\r.0.-1.mca
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region\r.0.0.mca
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\region\r.0.1.mca
            2014-03-04 19:07:32 [Infos] [STDOUT] Deleting .\saves\New World\session.lock
            2014-03-04 19:07:41 [Infos] [Minecraft-Server] Starting integrated minecraft server version 1.6.4
            2014-03-04 19:07:41 [Infos] [Minecraft-Server] Generating keypair
            2014-03-04 19:07:42 [Infos] [Minecraft-Server] Converting map!
            2014-03-04 19:07:42 [Infos] [Minecraft-Server] Scanning folders…
            2014-03-04 19:07:42 [Infos] [Minecraft-Server] Total conversion count is 0
            2014-03-04 19:07:42 [Infos] [ForgeModLoader] Loading dimension 0 (Techne) (net.minecraft.server.integrated.IntegratedServer@6a233503)
            2014-03-04 19:07:42 [Infos] [ForgeModLoader] Loading dimension 1 (Techne) (net.minecraft.server.integrated.IntegratedServer@6a233503)
            2014-03-04 19:07:42 [Infos] [ForgeModLoader] Loading dimension -1 (Techne) (net.minecraft.server.integrated.IntegratedServer@6a233503)
            2014-03-04 19:07:42 [Infos] [Minecraft-Server] Preparing start region for level 0
            2014-03-04 19:07:43 [Infos] [Minecraft-Server] Preparing spawn area: 12%
            2014-03-04 19:07:44 [Infos] [Minecraft-Server] Preparing spawn area: 40%
            2014-03-04 19:07:45 [Infos] [Minecraft-Server] Preparing spawn area: 74%
            2014-03-04 19:08:04 [Infos] [STDERR] java.lang.OutOfMemoryError: Java heap space
            2014-03-04 19:08:06 [Infos] [STDERR] at net.minecraft.util.AABBPool.getAABB(AABBPool.java:50)
            2014-03-04 19:08:08 [Infos] [STDERR] at net.minecraft.block.Block.getCollisionBoundingBoxFromPool(Block.java:602)
            2014-03-04 19:08:09 [Infos] [STDERR] at net.minecraft.block.Block.addCollisionBoxesToList(Block.java:568)
            2014-03-04 19:08:10 [Infos] [STDERR] at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1684)
            2014-03-04 19:08:14 [Infos] [STDERR] at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:187)
            2014-03-04 19:08:15 [Infos] [STDERR] at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:389)
            2014-03-04 19:08:21 [Infos] [STDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:91)
            2014-03-04 19:08:21 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
            2014-03-04 19:08:21 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
            2014-03-04 19:08:21 [Infos] [STDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
            2014-03-04 19:08:21 [Infos] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
            2014-03-04 19:08:21 [Infos] [STDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
            2014-03-04 19:08:21 [Grave] [Minecraft-Server] Encountered an unexpected exception OutOfMemoryError
            java.lang.OutOfMemoryError: Java heap space
            at net.minecraft.util.AABBPool.getAABB(AABBPool.java:50)
            at net.minecraft.block.Block.getCollisionBoundingBoxFromPool(Block.java:602)
            at net.minecraft.block.Block.addCollisionBoxesToList(Block.java:568)
            at net.minecraft.world.World.getCollidingBoundingBoxes(World.java:1684)
            at net.minecraft.entity.player.EntityPlayerMP.<init>(EntityPlayerMP.java:187)
            at net.minecraft.server.management.ServerConfigurationManager.createPlayerForUser(ServerConfigurationManager.java:389)
            at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:91)
            at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691)
            at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587)
            at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
            at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
            2014-03-04 19:08:21 [Grave] [Minecraft-Server] This crash report has been saved to: C:\Users\Alexandre\Desktop\Ressources\modding\forge MobTest\mcp\jars\.\crash-reports\crash-2014-03-04_19.08.21-server.txt
            2014-03-04 19:08:21 [Infos] [Minecraft-Server] Stopping server
            2014-03-04 19:08:21 [Infos] [Minecraft-Server] Saving players
            2014-03-04 19:08:21 [Infos] [Minecraft-Server] Saving worlds
            2014-03-04 19:08:21 [Infos] [Minecraft-Server] Saving chunks for level 'Techne'/Overworld
            
            

            C’est ce que m’affiche les logs d’eclipse sa devrait vous aider</init></init>

            Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

            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

              Classe principale ? Le seul truc qui peut causer ça, c’est que l’id du bloc soit 0.

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

                
                PanneauSolaireBasique = new BasicSolarPanel(2000).setHardness(1.0F).setResistance(5.0F).setStepSound(Block.soundStoneFootstep)
                .setUnlocalizedName("BasicSolarPanel").setTextureName("universe:basicsolarpanel");
                GameRegistry.registerBlock(PanneauSolaireBasique, "PanneausolaireBasique");
                
                

                c’est 2000 a priori

                Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                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

                  Tu as compléter ta classe TESRInventoryRenderer ou tu as la même chose qu’avant ?

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

                    je l’ai completée mais sa ne change rien

                    
                    package Universe.common;
                    
                    import java.util.HashMap;
                    
                    import net.minecraft.block.Block;
                    import net.minecraft.client.renderer.RenderBlocks;
                    import net.minecraft.world.IBlockAccess;
                    import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
                    
                    public class TESRInventoryRenderer implements ISimpleBlockRenderingHandler {
                    
                    public static class TESRIndex
                    {
                    Block block;
                    int metadata;
                    
                    public TESRIndex(Block block, int metadata)
                    {
                    this.block = block;
                    this.metadata = metadata;
                    }
                    
                    @Override
                    public int hashCode()
                    {
                    return block.hashCode() + metadata;
                    }
                    
                    @Override
                    public boolean equals(Object o)
                    {
                    if(!(o instanceof TESRIndex))
                    return false;
                    
                    TESRIndex tesr = (TESRIndex)o;
                    
                    return tesr.block == block && tesr.metadata == metadata;
                    }
                    }
                    
                    public static HashMap <tesrindex, iinventoryrenderer="">blockByTESR = new HashMap<tesrindex, iinventoryrenderer="">();
                    
                    @Override
                    public void renderInventoryBlock(Block block, int metadata, int modelID,
                    RenderBlocks renderer) {
                    // TODO Auto-generated method stub
                    
                    TESRIndex index = new TESRIndex(block, metadata);
                    if(blockByTESR.containsKey(index))
                    {
                    blockByTESR.get(index).renderInventory(-0.5, -0.5, -0.5);
                    }
                    
                    }
                    
                    @Override
                    public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
                    {
                    return true;
                    }
                    
                    @Override
                    public boolean shouldRender3DInInventory()
                    {
                    return true;
                    }
                    
                    @Override
                    public int getRenderId()
                    {
                    return ClientProxy.renderInventoryTESRId;
                    }
                    
                    }
                    
                    ```</tesrindex,></tesrindex,>

                    Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                    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

                      J’ai jamais vu ça, si tu commente le bloc tout fonctionne ?

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

                        comment sa ?

                        Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                        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

                          // devant le GameRegistry.registerBlock

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

                            rien
                            je sais pas pourquoi quand je lance le monde il genere puis sa bloque et OutOf memory sinon je peux essayer de compiler le mod
                            et tester avec mes 4go de ram alloués ?

                            
                            2014-03-04 20:32:30 [Infos] [Minecraft-Server] Preparing start region for level 0
                            2014-03-04 20:32:31 [Infos] [Minecraft-Server] Preparing spawn area: 18%
                            2014-03-04 20:32:32 [Infos] [Minecraft-Server] Preparing spawn area: 36%
                            2014-03-04 20:32:33 [Infos] [Minecraft-Server] Preparing spawn area: 62%
                            2014-03-04 20:32:34 [Infos] [Minecraft-Server] Preparing spawn area: 86%
                            2014-03-04 20:32:52 [Infos] [STDERR] java.lang.OutOfMemoryError: Java heap space
                            
                            

                            Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                            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

                              @‘Bowser338’:

                              rien

                              = pas de crash ?

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

                                Petit Probleme
                                le rendu en main ne marche pas j’ai toujours le carré dans la main

                                Je n’arrive pas a integrer sa au client Proxy

                                TESRInventoryRenderer.blockByTESR.put(new TESRIndex(Universe.common.BasicSolarPanel, 0), new TileEntitySolarPanelBasicSpecialRender());
                                
                                

                                il me met une erreur la ou je dois indiquer la classe de mon bloc ( Universe.common.BasicSolarPanel )

                                Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                                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

                                  C’est pas la classe du bloc, mais l’objet du bloc qu’il faut (ClassePrincipale.nomdubloc)

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

                                    Merci Erreur réglée mais quand je lance le jeu maintenant sa crash

                                    
                                    –-- Minecraft Crash Report ----
                                    // Would you like a cupcake?
                                    
                                    Time: 05/03/14 16:16
                                    Description: There was a severe problem during mod loading that has caused the game to fail
                                    
                                    cpw.mods.fml.common.LoaderException: java.lang.NullPointerException
                                    at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:75)
                                    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:524)
                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                    at java.lang.reflect.Method.invoke(Unknown Source)
                                    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
                                    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
                                    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
                                    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
                                    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
                                    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
                                    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                    at java.lang.reflect.Method.invoke(Unknown Source)
                                    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
                                    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
                                    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
                                    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
                                    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
                                    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
                                    at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)
                                    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)
                                    at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)
                                    at net.minecraft.client.Minecraft.run(Minecraft.java:808)
                                    at net.minecraft.client.main.Main.main(Main.java:93)
                                    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:131)
                                    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
                                    Caused by: java.lang.NullPointerException
                                    at Universe.common.TESRInventoryRenderer$TESRIndex.hashCode(TESRInventoryRenderer.java:27)
                                    at java.util.HashMap.hash(Unknown Source)
                                    at java.util.HashMap.put(Unknown Source)
                                    at Universe.common.ClientProxy.<init>(ClientProxy.java:36)
                                    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                                    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
                                    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
                                    at java.lang.reflect.Constructor.newInstance(Unknown Source)
                                    at java.lang.Class.newInstance(Unknown Source)
                                    at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:58)
                                    ... 33 more
                                    
                                    A detailed walkthrough of the error, its code path and all known details is as follows:
                                    ---------------------------------------------------------------------------------------
                                    
                                    -- System Details --
                                    Details:
                                    Minecraft Version: 1.6.4
                                    Operating System: Windows 7 (amd64) version 6.1
                                    Java Version: 1.7.0_51, Oracle Corporation
                                    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                    Memory: 928539264 bytes (885 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
                                    Suspicious classes: FML and Forge are installed
                                    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                                    FML: MCP v8.11 FML v6.4.45.953 Minecraft Forge 9.11.1.953 4 mods loaded, 4 mods active
                                    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
                                    FML{6.4.45.953} [Forge Mod Loader] (bin) Unloaded->Constructed
                                    Forge{9.11.1.953} [Minecraft Forge] (bin) Unloaded->Constructed
                                    UltimateUniverseMod{1.0.0} [Ultimate Universe Mod] (bin) Unloaded->Errored
                                    
                                    

                                    Je crois que c’est lié a TESRInventoryRenderer

                                    donc :

                                    
                                    package Universe.common;
                                    
                                    import java.util.HashMap;
                                    
                                    import net.minecraft.block.Block;
                                    import net.minecraft.client.renderer.RenderBlocks;
                                    import net.minecraft.world.IBlockAccess;
                                    import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
                                    
                                    public class TESRInventoryRenderer implements ISimpleBlockRenderingHandler {
                                    
                                    public static class TESRIndex
                                    {
                                    Block block;
                                    int metadata;
                                    
                                    public TESRIndex(Block block, int metadata)
                                    {
                                    this.block = block;
                                    this.metadata = metadata;
                                    }
                                    
                                    @Override
                                    public int hashCode()
                                    {
                                    return block.hashCode() + metadata;
                                    }
                                    
                                    @Override
                                    public boolean equals(Object o)
                                    {
                                    if(!(o instanceof TESRIndex))
                                    return false;
                                    
                                    TESRIndex tesr = (TESRIndex)o;
                                    
                                    return tesr.block == block && tesr.metadata == metadata;
                                    }
                                    }
                                    
                                    public static HashMap <tesrindex, iinventoryrenderer="">blockByTESR = new HashMap<tesrindex, iinventoryrenderer="">();
                                    
                                    @Override
                                    public void renderInventoryBlock(Block block, int metadata, int modelID,
                                    RenderBlocks renderer) {
                                    
                                    TESRIndex index = new TESRIndex(block, metadata);
                                    if(blockByTESR.containsKey(index))
                                    {
                                    blockByTESR.get(index).renderInventory(-0.5, -0.5, -0.5);
                                    }
                                    
                                    }
                                    
                                    @Override
                                    public boolean renderWorldBlock(IBlockAccess world, int x, int y, int z, Block block, int modelId, RenderBlocks renderer)
                                    {
                                    return true;
                                    }
                                    
                                    @Override
                                    public boolean shouldRender3DInInventory()
                                    {
                                    return true;
                                    }
                                    
                                    @Override
                                    public int getRenderId()
                                    {
                                    return ClientProxy.renderInventoryTESRId;
                                    }
                                    
                                    }
                                    
                                    ```</tesrindex,></tesrindex,></init>

                                    Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                                    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

                                      Ton bloc est null. Classe principale ?

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

                                        
                                        package Universe.common;
                                        
                                        import net.minecraft.block.Block;
                                        import net.minecraft.entity.EntityCreature;
                                        import net.minecraft.entity.EnumCreatureType;
                                        import net.minecraftforge.common.Configuration;
                                        import cpw.mods.fml.common.Mod;
                                        import cpw.mods.fml.common.Mod.EventHandler;
                                        import cpw.mods.fml.common.Mod.Instance;
                                        import cpw.mods.fml.common.SidedProxy;
                                        import cpw.mods.fml.common.event.FMLInitializationEvent;
                                        import cpw.mods.fml.common.event.FMLPostInitializationEvent;
                                        import cpw.mods.fml.common.event.FMLPreInitializationEvent;
                                        import cpw.mods.fml.common.network.NetworkMod;
                                        import cpw.mods.fml.common.registry.EntityRegistry;
                                        import cpw.mods.fml.common.registry.GameRegistry;
                                        import cpw.mods.fml.common.registry.LanguageRegistry;
                                        
                                        @Mod(modid = "UltimateUniverseMod", name = "Ultimate Universe Mod", version = "1.0.0")
                                        @NetworkMod(clientSideRequired = true, serverSideRequired = false)
                                        
                                        public class UniverseMain
                                        
                                        {
                                        
                                        public static Block PanneauSolaireBasique;
                                        
                                        @SidedProxy(clientSide = "Universe.common.ClientProxy", serverSide = "Universe.common.CommonProxy")
                                        public static CommonProxy proxy;
                                        
                                        @Instance("ModTutoriel")
                                        public static UniverseMain instance;
                                        
                                        @EventHandler
                                        public void PreInit(FMLPreInitializationEvent event)
                                        {
                                        
                                        // Blocks
                                        
                                        PanneauSolaireBasique = new BasicSolarPanel(1000).setTextureName("universe:PanneauSolaireBasique").setUnlocalizedName("PSB");
                                        GameRegistry.registerBlock(PanneauSolaireBasique, "PSB");
                                        LanguageRegistry.addName(PanneauSolaireBasique,"Basic Solar Panel");
                                        
                                        }
                                        
                                        @EventHandler
                                        public void Init(FMLInitializationEvent event)
                                        {
                                        
                                        //Registry
                                        GameRegistry.registerTileEntity(TileEntitySolarPanelBasic.class, "TileEntitySolarPanelBasic");
                                        
                                        proxy.registerTileEntityRender();
                                        
                                        }
                                        
                                        @EventHandler
                                        public void PostInit(FMLPostInitializationEvent event)
                                        {
                                        
                                        }
                                        }
                                        
                                        

                                        Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

                                        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

                                          Étrange, le bloc est bien initialisé et la méthode du proxy est appelé après l’initialisation. Je ne vois pas de raison à ce crash. Je peux voir ton ClientProxy ?

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

                                            J’ai trouvé d’ou venait l’erreur des crochets en trop

                                            Mais sinon toujours pas le rendu en main et dans l’inventaire 😕

                                            Tout probleme a sa solution, s'il n'y a pas de solution c'est qu'il n'y a pas de problemes

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB