MFF

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

    Ajouter une nouvelle dimension

    Planifier Épinglé Verrouillé Déplacé La génération & les dimensions
    1.7.10
    101 Messages 11 Publieurs 37.8k Vues 2 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.
    • DiangleD Hors-ligne
      Diangle
      dernière édition par

      J’ai utilisé une variable pour le tutoriel car c’est plus portable et ça permet une adaptation facile à un fichier de config. Je te conseil de faire un fichier de config, car si un autre mod ajoute une dimension avec ton ID et n’a pas de fichier de config alors crash.

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

        Euuh aussi. Désolé je suis lourd je sais 🙂

        package mod.common.world.generator;
        
        import mod.common.world.biome.AncientBiome;
        import mod.common.world.biome.BiomeRegister;
        import net.minecraft.world.biome.BiomeGenBase;
        import net.minecraft.world.gen.layer.GenLayer;
        import net.minecraft.world.gen.layer.IntCache;
        
        public class AncientGenLayerBiome extends GenLayer
        {
        protected AncientBiome[] baseBiome = {BiomeRegister.AncientBiome};
        
        public AncientGenLayerBiome(long seed)
        {
        super(seed);
        }
        
        @Override
        public int[] getInts(int coordX, int coordZ, int width, int depth)
        {
        int[] dest = IntCache.getIntCache(width * depth);
        
        for(int dz = 0; dz < depth; dz++)
        {
        for(int dx = 0; dx < width; dx++)
        {
        this.initChunkSeed(dx + coordX, dz + coordZ);
        dest[(dx + dz * width)] = this.baseBiome[nextInt(this.baseBiome.length)].biomeID;
        }
        }
        return dest;
        }
        
        }
        

        Il ne veut pas prendre ceci : BiomeRegister.AncientBiome

        Il le souligne en rouge , pourtant je dois bien mettre ca non ?

        Mon biome est enregistré , public static BiomeGenBase AncientBiome;

        J’ai aussi essayé BiomeGenBase.AncientBiome mais ca ne fonctionne pas ( jmen doutais un peu 😕 )

        EDIT : D’accord merci Diange :)) ( * Diangle , chaque fois je me trompe sur ton pseudo T_T , désolé )

        Oui ce gif est drôle.

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

          déjà, par convention tu met pas de majuscule au début d’une variable. Ensuite dit moi quel erreur il te donne quand tu passes la souris dessus.

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

            Pardon 😞 J’ai encore des progrès a faire 😞 Type mismatch : cannot convert from BiomeGenBase to AncientBiome.

            Oui ce gif est drôle.

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

              Fait voir la classe BiomeRegister s’il te plait.

              edit… En faite dans le tableau, tu met le tableau en : “AncienBiome[]” mais ça doit être : “BiomeGenBase[]”

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

                La voici : ```java
                package mod.common.world.biome;

                import net.minecraft.world.biome.BiomeGenBase;

                public class BiomeRegister
                {

                public static BiomeGenBase AncientBiome;

                public static void register()
                {
                AncientBiome = new AncientBiome(40).setBiomeName(“AncientBiome”).setDisableRain().setTemperatureRainfall(1.2F, 0.9F).setEnableSnow();
                }

                }

                Oui ce gif est drôle.

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

                  @‘Legrandfifou’:

                  La voici :

                  package mod.common.world.biome;
                  
                  import net.minecraft.world.biome.BiomeGenBase;
                  
                  public class BiomeRegister
                  {
                  
                  public static BiomeGenBase AncientBiome;
                  
                  public static void register()
                     {
                  AncientBiome = new AncientBiome(40).setBiomeName("AncientBiome").setDisableRain().setTemperatureRainfall(1.2F, 0.9F).setEnableSnow();
                     }
                  
                  }
                  

                  Donc, je t’ai répondue avec le edit juste au dessus, mais par contre renomme la variable AncientBiome ==> ancientBiome. Regarde rapidement sur internet les conventions de nommage.

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

                    Oui je connais la convention avec une variable doit etre nommé sans majuscules au début mais peut en contenir après ex uneVariable mais quand je code je n’y fais pas attention :s

                    Merci Diangle et désolé je me rend compte que je suis lourd mais bon je préfère demander que de faire nimporte quoi 😕 J’ai encore beaucoup à apprendre 😕

                    Oui ce gif est drôle.

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

                      Ne t’en fait pas, on est la pour ça (et si on répond c’est que on peu) ^^

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

                        J’ai l’impression d’être un boulet la xDD

                        [GradleStart]: Extra: []
                        [01:36:56] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Legrandfifou/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                        [01:36:56] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                        [01:36:56] [main/INFO] [FML]: Forge Mod Loader version 7.99.16.1448 for Minecraft 1.7.10 loading
                        [01:36:56] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_75, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7
                        [01:36:56] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                        [01:36:56] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                        [01:36:56] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                        [01:36:56] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                        [01:36:56] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [01:36:56] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                        [01:36:56] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                        [01:36:57] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                        [01:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                        [01:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                        [01:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                        [01:36:57] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                        [01:36:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                        [01:36:57] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                        [01:36:58] [main/INFO]: Setting user: Player718
                        [01:36:59] [Client thread/INFO]: LWJGL Version: 2.9.1
                        [01:37:00] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
                        // I feel sad now :(
                        
                        Time: 11/07/15 1:37
                        Description: Loading screen debug info
                        
                        This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
                        
                        A detailed walkthrough of the error, its code path and all known details is as follows:
                        ---------------------------------------------------------------------------------------
                        
                        -- System Details --
                        Details:
                        Minecraft Version: 1.7.10
                        Operating System: Windows 8.1 (amd64) version 6.3
                        Java Version: 1.7.0_75, Oracle Corporation
                        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                        Memory: 818234272 bytes (780 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:
                        GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 770/PCIe/SSE2'
                        [01:37:00] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                        [01:37:00] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1448 Initialized
                        [01:37:00] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                        [01:37:00] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                        [01:37:00] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                        [01:37:00] [Client thread/INFO] [FML]: Searching C:\Users\Legrandfifou\Pictures\forge\eclipse\mods for mods
                        [01:37:03] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                        [01:37:03] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modminecraft] at CLIENT
                        [01:37:03] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modminecraft] at SERVER
                        [01:37:03] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                        [01:37:03] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                        [01:37:03] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                        [01:37:03] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                        [01:37:03] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                        [01:37:03] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                        [01:37:03] [Client thread/INFO] [FML]: Applying holder lookups
                        [01:37:03] [Client thread/INFO] [FML]: Holder lookups applied
                        [01:37:03] [Client thread/INFO] [FML]: Injecting itemstacks
                        [01:37:03] [Client thread/INFO] [FML]: Itemstack injection complete
                        [01:37:03] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                        [01:37:03] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                        [01:37:04] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                        [01:37:04] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
                        [01:37:04] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                        [01:37:04] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                        [01:37:04] [Sound Library Loader/INFO]: Sound engine started
                        [01:37:05] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                        [01:37:05] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                        [01:37:05] [Client thread/INFO] [STDOUT]: [mod.client.ClientProxy:registerRender:36]: render
                        [01:37:05] [Client thread/INFO] [FML]: Injecting itemstacks
                        [01:37:05] [Client thread/INFO] [FML]: Itemstack injection complete
                        [01:37:05] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                        [01:37:05] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                        [01:37:05] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                        [01:37:06] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                        [01:37:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                        [01:37:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                        [01:37:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
                        [01:37:06] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                        [01:37:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                        [01:37:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                        [01:37:06] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                        [01:37:06] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
                        [01:37:06] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                        [01:37:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                        [01:37:06] [Sound Library Loader/INFO]: Sound engine started
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN minecraft
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft is missing 2 textures
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: domain minecraft has 3 locations:
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: mod FML resources at C:\Users\Legrandfifou\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: mod Forge resources at C:\Users\Legrandfifou\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain minecraft are:
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/MISSING_ICON_BLOCK_177_portail.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/items/MISSING_ICON_ITEM_4109_activateur.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain minecraft
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN modminecraft
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: domain modminecraft is missing 7 textures
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: domain modminecraft has 1 location:
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: mod modminecraft resources at C:\Users\Legrandfifou\Pictures\forge\bin
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain modminecraft are:
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/blockTronc_top.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/blockTronc.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/blockFeuille_opaque.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/items/itemEgg2.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/items/itemEgg.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/blockAmbre.png.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/blockFeuille.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: The following other errors were reported for domain modminecraft:
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: Problem: broken aspect ratio and not an animation
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/blockBarriere.png
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                        [01:37:07] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                        [01:37:09] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
                        [01:37:09] [Server thread/INFO]: Generating keypair
                        [01:37:09] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
                        [01:37:09] [Server thread/INFO] [FML]: Applying holder lookups
                        [01:37:09] [Server thread/INFO] [FML]: Holder lookups applied
                        [01:37:09] [Server thread/INFO] [FML]: Loading dimension 0 (Presentation) (net.minecraft.server.integrated.IntegratedServer@4ffcf27)
                        [01:37:09] [Server thread/INFO] [FML]: Loading dimension 2 (Presentation) (net.minecraft.server.integrated.IntegratedServer@4ffcf27)
                        [01:37:09] [Server thread/INFO] [FML]: Loading dimension 1 (Presentation) (net.minecraft.server.integrated.IntegratedServer@4ffcf27)
                        [01:37:09] [Server thread/INFO] [FML]: Loading dimension -1 (Presentation) (net.minecraft.server.integrated.IntegratedServer@4ffcf27)
                        [01:37:09] [Server thread/INFO]: Preparing start region for level 0
                        [01:37:10] [Server thread/INFO]: Changing view distance to 12, from 10
                        [01:37:10] [Netty Client IO #0/INFO] [FML]: Server protocol version 2
                        [01:37:10] [Netty IO #1/INFO] [FML]: Client protocol version 2
                        [01:37:10] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : mcp@9.05,FML@7.10.99.99,modminecraft@1.0,Forge@10.13.4.1448
                        [01:37:10] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
                        [01:37:10] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
                        [01:37:10] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
                        [01:37:10] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
                        [01:37:10] [Server thread/INFO]: Player718[local:E:3c868163] logged in with entity id 181 at (9.0, 237.0, 9.0)
                        [01:37:10] [Server thread/INFO]: Player718 joined the game
                        [01:37:10] [Server thread/ERROR] [FML]: HandshakeCompletionHandler exception
                        net.minecraft.util.ReportedException: Exception generating new chunk
                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:199) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]
                        at net.minecraft.world.World.spawnEntityInWorld(World.java:1505) ~[World.class:?]
                        at net.minecraft.server.management.ServerConfigurationManager.playerLoggedIn(ServerConfigurationManager.java:322) ~[ServerConfigurationManager.class:?]
                        at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:170) ~[ServerConfigurationManager.class:?]
                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:190) ~[NetworkDispatcher.class:?]
                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:463) ~[NetworkDispatcher.class:?]
                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:17) ~[HandshakeCompletionHandler.class:?]
                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) ~[HandshakeCompletionHandler.class:?]
                        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
                        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
                        at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
                        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
                        at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:86) [FMLProxyPacket.class:?]
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) [NetworkManager.class:?]
                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]
                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?]
                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?]
                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?]
                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                        Caused by: java.lang.NullPointerException
                        at mod.common.world.generator.AncientGenLayerBiome.getInts(AncientGenLayerBiome.java:28) ~[AncientGenLayerBiome.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerVoronoiZoom.getInts(GenLayerVoronoiZoom.java:25) ~[GenLayerVoronoiZoom.class:?]
                        at mod.common.world.type.AncientWorldChunkManager.getBiomeGenAt(AncientWorldChunkManager.java:153) ~[AncientWorldChunkManager.class:?]
                        at net.minecraft.world.biome.BiomeCache$Block.<init>(BiomeCache.java:108) ~[BiomeCache$Block.class:?]
                        at net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock(BiomeCache.java:37) ~[BiomeCache.class:?]
                        at net.minecraft.world.biome.BiomeCache.getCachedBiomes(BiomeCache.java:86) ~[BiomeCache.class:?]
                        at mod.common.world.type.AncientWorldChunkManager.getBiomeGenAt(AncientWorldChunkManager.java:147) ~[AncientWorldChunkManager.class:?]
                        at mod.common.world.type.AncientWorldChunkManager.loadBlockGeneratorData(AncientWorldChunkManager.java:131) ~[AncientWorldChunkManager.class:?]
                        at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:149) ~[ChunkProviderFlat.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) ~[ChunkProviderServer.class:?]
                        … 28 more
                        [01:37:10] [Server thread/ERROR] [FML]: There was a critical exception handling a packet on channel FML
                        net.minecraft.util.ReportedException: Exception generating new chunk
                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:199) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]
                        at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]
                        at net.minecraft.world.World.spawnEntityInWorld(World.java:1505) ~[World.class:?]
                        at net.minecraft.server.management.ServerConfigurationManager.playerLoggedIn(ServerConfigurationManager.java:322) ~[ServerConfigurationManager.class:?]
                        at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:170) ~[ServerConfigurationManager.class:?]
                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:190) ~[NetworkDispatcher.class:?]
                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:463) ~[NetworkDispatcher.class:?]
                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:17) ~[HandshakeCompletionHandler.class:?]
                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) ~[HandshakeCompletionHandler.class:?]
                        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
                        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[MessageToMessageDecoder.class:?]
                        at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
                        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]
                        at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]
                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:86) [FMLProxyPacket.class:?]
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) [NetworkManager.class:?]
                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]
                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?]
                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?]
                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?]
                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                        Caused by: java.lang.NullPointerException
                        at mod.common.world.generator.AncientGenLayerBiome.getInts(AncientGenLayerBiome.java:28) ~[AncientGenLayerBiome.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerZoom.getInts(GenLayerZoom.java:23) ~[GenLayerZoom.class:?]
                        at net.minecraft.world.gen.layer.GenLayerVoronoiZoom.getInts(GenLayerVoronoiZoom.java:25) ~[GenLayerVoronoiZoom.class:?]
                        at mod.common.world.type.AncientWorldChunkManager.getBiomeGenAt(AncientWorldChunkManager.java:153) ~[AncientWorldChunkManager.class:?]
                        at net.minecraft.world.biome.BiomeCache$Block.<init>(BiomeCache.java:108) ~[BiomeCache$Block.class:?]
                        at net.minecraft.world.biome.BiomeCache.getBiomeCacheBlock(BiomeCache.java:37) ~[BiomeCache.class:?]
                        at net.minecraft.world.biome.BiomeCache.getCachedBiomes(BiomeCache.java:86) ~[BiomeCache.class:?]
                        at mod.common.world.type.AncientWorldChunkManager.getBiomeGenAt(AncientWorldChunkManager.java:147) ~[AncientWorldChunkManager.class:?]
                        at mod.common.world.type.AncientWorldChunkManager.loadBlockGeneratorData(AncientWorldChunkManager.java:131) ~[AncientWorldChunkManager.class:?]
                        at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:149) ~[ChunkProviderFlat.class:?]
                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) ~[ChunkProviderServer.class:?]
                        … 28 more
                        [01:37:10] [Server thread/ERROR]: Encountered an unexpected exception
                        net.minecraft.util.ReportedException: Ticking memory connection
                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?]
                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]
                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]
                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?]
                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                        Caused by: java.lang.NullPointerException
                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110) ~[FMLProxyPacket.class:?]
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?]
                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]
                        … 5 more
                        [01:37:10] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Legrandfifou\Pictures\forge\eclipse\.\crash-reports\crash-2015-07-11_01.37.10-server.txt
                        [01:37:10] [Server thread/INFO]: Stopping server
                        [01:37:10] [Server thread/INFO]: Saving players
                        [01:37:10] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                        // Shall we play a game?
                        
                        Time: 11/07/15 1:37
                        Description: Ticking memory connection
                        
                        java.lang.NullPointerException: Ticking memory connection
                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110)
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                        
                        A detailed walkthrough of the error, its code path and all known details is as follows:
                        ---------------------------------------------------------------------------------------
                        
                        -- Head --
                        Stacktrace:
                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110)
                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                        
                        -- Ticking connection --
                        Details:
                        Connection: net.minecraft.network.NetworkManager@6563f1be
                        Stacktrace:
                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                        
                        -- System Details --
                        Details:
                        Minecraft Version: 1.7.10
                        Operating System: Windows 8.1 (amd64) version 6.3
                        Java Version: 1.7.0_75, Oracle Corporation
                        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                        Memory: 749774464 bytes (715 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: 1
                        FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 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.1448-1.7.10.jar)
                        UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar)
                        UCHIJAAAA modminecraft{1.0} [Mod Minecraft] (bin)
                        GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
                        Profiler Position: N/A (disabled)
                        Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                        Player Count: 1 / 8; [EntityPlayerMP['Player718'/181, l='Presentation', x=9,00, y=237,00, z=9,00]]
                        Type: Integrated Server (map_client.txt)
                        Is Modded: Definitely; Client brand changed to 'fml,forge'
                        [01:37:10] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2015-07-11_01.37.10-server.txt
                        [01:37:10] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
                        [01:37:10] [Server thread/INFO]: Saving worlds
                        [01:37:10] [Server thread/INFO]: Saving chunks for level 'Presentation'/Overworld
                        [01:37:10] [Server thread/INFO]: Saving chunks for level 'Presentation'/Nether
                        [01:37:10] [Server thread/INFO]: Saving chunks for level 'Presentation'/The End
                        [01:37:10] [Server thread/INFO]: Saving chunks for level 'Presentation'/Ancient World
                        [01:37:11] [Server thread/INFO] [FML]: Unloading dimension 0
                        [01:37:11] [Server thread/INFO] [FML]: Unloading dimension -1
                        [01:37:11] [Server thread/INFO] [FML]: Unloading dimension 1
                        [01:37:11] [Server thread/INFO] [FML]: Unloading dimension 2
                        [01:37:11] [Server thread/INFO] [FML]: Applying holder lookups
                        [01:37:11] [Server thread/INFO] [FML]: Holder lookups applied
                        [01:37:11] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
                        [01:37:11] [Client thread/INFO] [FML]: Server terminated.
                        AL lib: (EE) alc_cleanup: 1 device not closed
                        ```</init></init>

                        Oui ce gif est drôle.

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

                          Tu peux envoyer la classe principale ?

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

                            Mon ModMinecraft ```java
                            package mod;

                            import mod.common.CommonProxy;
                            import mod.common.block.BlockRegister;
                            import mod.common.block.GuiHandler;
                            import mod.common.block.entity.RegisterTileEntity;
                            import mod.common.entity.EntityRegister;
                            import mod.common.item.ItemRegister;
                            import mod.common.item.recipe.RecipeRegister;
                            import mod.common.world.biome.BiomeRegister;
                            import mod.common.world.structure.DimensionRegister;
                            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.NetworkRegistry;
                            import cpw.mods.fml.common.registry.GameRegistry;

                            @Mod(modid = ModMinecraft.MODID, name = ModMinecraft.Name, version = ModMinecraft.Version)
                            public class ModMinecraft
                            {
                            public static final String MODID = “modminecraft”;
                            public static final String Name = “Mod Minecraft”;
                            public static final String Version = “1.0”;
                            @Instance(“modminecraft”)
                            public static ModMinecraft instance;

                            @SidedProxy(clientSide = “mod.client.ClientProxy”, serverSide = “mod.common.CommonProxy”)
                            public static CommonProxy proxy;

                            @EventHandler
                            public void preInit(FMLPreInitializationEvent event)
                            {
                            BlockRegister.register();
                            ItemRegister.register();

                            }

                            @EventHandler
                            public void init(FMLInitializationEvent event)
                            {
                            RegisterTileEntity.register();
                            RecipeRegister.register();

                            EntityRegister.register();

                            proxy.registerRender();
                            proxy.registerTileEntityRender();

                            NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
                            }

                            @EventHandler
                            public void postInit(FMLPostInitializationEvent event)
                            {
                            DimensionRegister.register();
                            }
                            }

                            
                            Et le DimensionRegister
                            
                            ```java
                            package mod.common.world.structure;
                            
                            import cpw.mods.fml.common.registry.GameRegistry;
                            import mod.common.world.type.AncientWorldProvider;
                            import net.minecraft.block.Block;
                            import net.minecraft.block.material.Material;
                            import net.minecraft.item.Item;
                            import net.minecraftforge.common.DimensionManager;
                            
                            public class DimensionRegister {
                            
                            public static Block AncientPortail;
                            public static Item AncientActivateur;
                            public static int tutoDimAncient4 = 2;
                            
                            public static void register()
                            {
                            AncientPortail = new AncientPortail(Material.portal).setBlockName("portail");
                            AncientActivateur = new AncientActivateur().setUnlocalizedName("activateur");
                            
                            GameRegistry.registerBlock(AncientPortail, "tuto_portail");
                            GameRegistry.registerItem(AncientActivateur, "tuto_activateur");
                            
                            DimensionManager.registerProviderType(DimensionRegister.tutoDimAncient4, AncientWorldProvider.class, false);
                            DimensionManager.registerDimension(DimensionRegister.tutoDimAncient4, DimensionRegister.tutoDimAncient4);
                            
                            }
                            }
                            
                            

                            Oui ce gif est drôle.

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

                              Tu enregistres pas les biomes.

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

                                Achète moi une corde et un tabouret stp

                                Si je les enregistre il vont apparaître dans le monde normal non ?

                                Oui ce gif est drôle.

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

                                  non. et non. Il y a une fonction qui est faite pour les faire apparaître dans le monde normale (je croit que c’est que en 1.8). Ducoup, il faut juste initialisé les biomes, car quand tu tente de générer les biomes dans ta dimension il accède à une variable null donc il te fait un NPE.

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

                                    Donc j’ajoute ceci

                                    public static BiomeGenBase AncientBiome;
                                    
                                    BiomeManager.addSpawnBiome(AncientBiome);
                                    

                                    Si je met ca ca crash encore /:

                                    Oui ce gif est drôle.

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

                                      non, tu doit appeler la classe qui enregistrer tes biomes, dans init : “BiomeRegister.register”

                                      edit: on réglera les autres problème demain. je vais me coucher.

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

                                        Ah oui il me semblait l’avoir initialisé /:

                                        Euh la je vois pas pourquoi j’ai regardé et je vois pas de code a moi Oo

                                        [02:03:52] [main/INFO] [GradleStart]: Extra: []
                                        [02:03:52] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Legrandfifou/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                                        [02:03:52] [main/INFO] [FML]: Forge Mod Loader version 7.99.16.1448 for Minecraft 1.7.10 loading
                                        [02:03:52] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_75, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre7
                                        [02:03:52] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                                        [02:03:52] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
                                        [02:03:52] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                                        [02:03:52] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                        [02:03:52] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                                        [02:03:53] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                        [02:03:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                                        [02:03:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                                        [02:03:54] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                        [02:03:54] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                                        [02:03:54] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                                        [02:03:54] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                                        [02:03:55] [main/INFO]: Setting user: Player515
                                        [02:03:56] [Client thread/INFO]: LWJGL Version: 2.9.1
                                        [02:03:57] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
                                        // Why did you do that?
                                        
                                        Time: 11/07/15 2:03
                                        Description: Loading screen debug info
                                        
                                        This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
                                        
                                        A detailed walkthrough of the error, its code path and all known details is as follows:
                                        ---------------------------------------------------------------------------------------
                                        
                                        -- System Details --
                                        Details:
                                        Minecraft Version: 1.7.10
                                        Operating System: Windows 8.1 (amd64) version 6.3
                                        Java Version: 1.7.0_75, Oracle Corporation
                                        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                        Memory: 818121960 bytes (780 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:
                                        GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 350.12' Renderer: 'GeForce GTX 770/PCIe/SSE2'
                                        [02:03:57] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                                        [02:03:57] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1448 Initialized
                                        [02:03:57] [Client thread/INFO] [FML]: Replaced 183 ore recipies
                                        [02:03:57] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                                        [02:03:57] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                                        [02:03:57] [Client thread/INFO] [FML]: Searching C:\Users\Legrandfifou\Pictures\forge\eclipse\mods for mods
                                        [02:03:59] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                                        [02:03:59] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modminecraft] at CLIENT
                                        [02:03:59] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, modminecraft] at SERVER
                                        [02:03:59] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                                        [02:04:00] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                                        [02:04:00] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                                        [02:04:00] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                                        [02:04:00] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                                        [02:04:00] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                                        [02:04:00] [Client thread/INFO] [FML]: Applying holder lookups
                                        [02:04:00] [Client thread/INFO] [FML]: Holder lookups applied
                                        [02:04:00] [Client thread/INFO] [FML]: Injecting itemstacks
                                        [02:04:00] [Client thread/INFO] [FML]: Itemstack injection complete
                                        [02:04:00] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                        [02:04:00] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                                        [02:04:00] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                                        [02:04:00] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                        [02:04:00] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                                        [02:04:00] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                        [02:04:00] [Sound Library Loader/INFO]: Sound engine started
                                        [02:04:01] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                                        [02:04:01] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                                        [02:04:01] [Client thread/INFO] [STDOUT]: [mod.client.ClientProxy:registerRender:36]: render
                                        [02:04:01] [Client thread/INFO] [FML]: Injecting itemstacks
                                        [02:04:01] [Client thread/INFO] [FML]: Itemstack injection complete
                                        [02:04:01] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                                        [02:04:01] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Mod Minecraft
                                        [02:04:01] [Client thread/INFO]: Created: 256x256 textures/items-atlas
                                        [02:04:02] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
                                        [02:04:02] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                        [02:04:02] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
                                        [02:04:02] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
                                        [02:04:02] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                        [02:04:02] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                        [02:04:02] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
                                        [02:04:02] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
                                        [02:04:02] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                                        [02:04:02] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
                                        [02:04:02] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
                                        [02:04:02] [Sound Library Loader/INFO]: Sound engine started
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN minecraft
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:   domain minecraft is missing 2 textures
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     domain minecraft has 3 locations:
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       mod FML resources at C:\Users\Legrandfifou\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Forge resources at C:\Users\Legrandfifou\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1448-1.7.10\forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain minecraft are:
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MISSING_ICON_BLOCK_177_portail.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/MISSING_ICON_ITEM_4109_activateur.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain minecraft
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN modminecraft
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:   domain modminecraft is missing 7 textures
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     domain modminecraft has 1 location:
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       mod modminecraft resources at C:\Users\Legrandfifou\Pictures\forge\bin
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain modminecraft are:
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockTronc_top.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockTronc.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockFeuille_opaque.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/itemEgg2.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/items/itemEgg.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockAmbre.png.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockFeuille.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     The following other errors were reported for domain modminecraft:
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:     Problem: broken aspect ratio and not an animation
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/blockBarriere.png
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
                                        [02:04:03] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
                                        [02:04:10] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
                                        [02:04:10] [Server thread/INFO]: Generating keypair
                                        [02:04:10] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
                                        [02:04:10] [Server thread/INFO] [FML]: Applying holder lookups
                                        [02:04:10] [Server thread/INFO] [FML]: Holder lookups applied
                                        [02:04:10] [Server thread/INFO] [FML]: Loading dimension 0 (Presentation) (net.minecraft.server.integrated.IntegratedServer@36639951)
                                        [02:04:10] [Server thread/INFO] [FML]: Loading dimension 2 (Presentation) (net.minecraft.server.integrated.IntegratedServer@36639951)
                                        [02:04:10] [Server thread/INFO] [FML]: Loading dimension 1 (Presentation) (net.minecraft.server.integrated.IntegratedServer@36639951)
                                        [02:04:10] [Server thread/INFO] [FML]: Loading dimension -1 (Presentation) (net.minecraft.server.integrated.IntegratedServer@36639951)
                                        [02:04:10] [Server thread/INFO]: Preparing start region for level 0
                                        [02:04:11] [Server thread/INFO]: Changing view distance to 12, from 10
                                        [02:04:11] [Netty Client IO #0/INFO] [FML]: Server protocol version 2
                                        [02:04:11] [Netty IO #1/INFO] [FML]: Client protocol version 2
                                        [02:04:11] [Netty IO #1/INFO] [FML]: Client attempting to join with 4 mods : mcp@9.05,FML@7.10.99.99,modminecraft@1.0,Forge@10.13.4.1448
                                        [02:04:11] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
                                        [02:04:11] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER
                                        [02:04:11] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
                                        [02:04:11] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
                                        [02:04:11] [Server thread/INFO]: Player515[local:E:78106190] logged in with entity id 181 at (9.0, 237.0, 9.0)
                                        [02:04:11] [Server thread/INFO]: Player515 joined the game
                                        [02:04:11] [Server thread/ERROR] [FML]: HandshakeCompletionHandler exception
                                        net.minecraft.util.ReportedException: Exception preparing structure feature
                                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:199) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]
                                        at net.minecraft.world.World.spawnEntityInWorld(World.java:1505) ~[World.class:?]
                                        at net.minecraft.server.management.ServerConfigurationManager.playerLoggedIn(ServerConfigurationManager.java:322) ~[ServerConfigurationManager.class:?]
                                        at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:170) ~[ServerConfigurationManager.class:?]
                                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:190) ~[NetworkDispatcher.class:?]
                                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:463) ~[NetworkDispatcher.class:?]
                                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:17) ~[HandshakeCompletionHandler.class:?]
                                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) ~[HandshakeCompletionHandler.class:?]
                                        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
                                        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) [MessageToMessageDecoder.class:?]
                                        at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [MessageToMessageCodec.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) [DefaultChannelHandlerContext.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) [DefaultChannelHandlerContext.class:?]
                                        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) [DefaultChannelPipeline.class:?]
                                        at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) [EmbeddedChannel.class:?]
                                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:86) [FMLProxyPacket.class:?]
                                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) [NetworkManager.class:?]
                                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]
                                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?]
                                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?]
                                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?]
                                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
                                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                                        Caused by: java.lang.NullPointerException
                                        at net.minecraft.world.biome.WorldChunkManager.findBiomePosition(WorldChunkManager.java:250) ~[WorldChunkManager.class:?]
                                        at net.minecraft.world.gen.structure.MapGenStronghold.canSpawnStructureAtCoords(MapGenStronghold.java:96) ~[MapGenStronghold.class:?]
                                        at net.minecraft.world.gen.structure.MapGenStructure.func_151538_a(MapGenStructure.java:43) ~[MapGenStructure.class:?]
                                        at net.minecraft.world.gen.MapGenBase.func_151539_a(MapGenBase.java:33) ~[MapGenBase.class:?]
                                        at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:162) ~[ChunkProviderFlat.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) ~[ChunkProviderServer.class:?]
                                        … 28 more
                                        [02:04:11] [Server thread/ERROR] [FML]: There was a critical exception handling a packet on channel FML
                                        net.minecraft.util.ReportedException: Exception preparing structure feature
                                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:199) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]
                                        at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]
                                        at net.minecraft.world.World.spawnEntityInWorld(World.java:1505) ~[World.class:?]
                                        at net.minecraft.server.management.ServerConfigurationManager.playerLoggedIn(ServerConfigurationManager.java:322) ~[ServerConfigurationManager.class:?]
                                        at net.minecraft.server.management.ServerConfigurationManager.initializeConnectionToPlayer(ServerConfigurationManager.java:170) ~[ServerConfigurationManager.class:?]
                                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:190) ~[NetworkDispatcher.class:?]
                                        at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:463) ~[NetworkDispatcher.class:?]
                                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:17) ~[HandshakeCompletionHandler.class:?]
                                        at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11) ~[HandshakeCompletionHandler.class:?]
                                        at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) ~[SimpleChannelInboundHandler.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
                                        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[MessageToMessageDecoder.class:?]
                                        at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) ~[MessageToMessageCodec.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337) ~[DefaultChannelHandlerContext.class:?]
                                        at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323) ~[DefaultChannelHandlerContext.class:?]
                                        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785) ~[DefaultChannelPipeline.class:?]
                                        at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169) ~[EmbeddedChannel.class:?]
                                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:86) [FMLProxyPacket.class:?]
                                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) [NetworkManager.class:?]
                                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) [NetworkSystem.class:?]
                                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) [MinecraftServer.class:?]
                                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) [MinecraftServer.class:?]
                                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) [IntegratedServer.class:?]
                                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
                                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                                        Caused by: java.lang.NullPointerException
                                        at net.minecraft.world.biome.WorldChunkManager.findBiomePosition(WorldChunkManager.java:250) ~[WorldChunkManager.class:?]
                                        at net.minecraft.world.gen.structure.MapGenStronghold.canSpawnStructureAtCoords(MapGenStronghold.java:96) ~[MapGenStronghold.class:?]
                                        at net.minecraft.world.gen.structure.MapGenStructure.func_151538_a(MapGenStructure.java:43) ~[MapGenStructure.class:?]
                                        at net.minecraft.world.gen.MapGenBase.func_151539_a(MapGenBase.java:33) ~[MapGenBase.class:?]
                                        at net.minecraft.world.gen.ChunkProviderFlat.provideChunk(ChunkProviderFlat.java:162) ~[ChunkProviderFlat.class:?]
                                        at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) ~[ChunkProviderServer.class:?]
                                        … 28 more
                                        [02:04:11] [Server thread/ERROR]: Encountered an unexpected exception
                                        net.minecraft.util.ReportedException: Ticking memory connection
                                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:198) ~[NetworkSystem.class:?]
                                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726) ~[MinecraftServer.class:?]
                                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) ~[MinecraftServer.class:?]
                                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[IntegratedServer.class:?]
                                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) [MinecraftServer.class:?]
                                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
                                        Caused by: java.lang.NullPointerException
                                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110) ~[FMLProxyPacket.class:?]
                                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241) ~[NetworkManager.class:?]
                                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) ~[NetworkSystem.class:?]
                                        … 5 more
                                        [02:04:11] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Legrandfifou\Pictures\forge\eclipse\.\crash-reports\crash-2015-07-11_02.04.11-server.txt
                                        [02:04:11] [Server thread/INFO]: Stopping server
                                        [02:04:11] [Server thread/INFO]: Saving players
                                        [02:04:11] [Server thread/INFO]: Saving worlds
                                        [02:04:11] [Server thread/INFO]: Saving chunks for level 'Presentation'/Overworld
                                        [02:04:12] [Server thread/INFO]: Saving chunks for level 'Presentation'/Nether
                                        [02:04:12] [Server thread/INFO]: Saving chunks for level 'Presentation'/The End
                                        [02:04:12] [Server thread/INFO]: Saving chunks for level 'Presentation'/Ancient World
                                        [02:04:12] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                                        // I blame Dinnerbone.
                                        
                                        Time: 11/07/15 2:04
                                        Description: Ticking memory connection
                                        
                                        java.lang.NullPointerException: Ticking memory connection
                                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110)
                                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
                                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                                        
                                        A detailed walkthrough of the error, its code path and all known details is as follows:
                                        ---------------------------------------------------------------------------------------
                                        
                                        -- Head --
                                        Stacktrace:
                                        at cpw.mods.fml.common.network.internal.FMLProxyPacket.processPacket(FMLProxyPacket.java:110)
                                        at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:241)
                                        
                                        -- Ticking connection --
                                        Details:
                                        Connection: net.minecraft.network.NetworkManager@48844a5c
                                        Stacktrace:
                                        at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182)
                                        at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:726)
                                        at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614)
                                        at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118)
                                        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485)
                                        at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
                                        
                                        -- System Details --
                                        Details:
                                        Minecraft Version: 1.7.10
                                        Operating System: Windows 8.1 (amd64) version 6.3
                                        Java Version: 1.7.0_75, Oracle Corporation
                                        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                        Memory: 742047584 bytes (707 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: 1, tcache: 27, allocated: 0, tallocated: 0
                                        FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1448 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.1448-1.7.10.jar)
                                        UCHIJAAAA Forge{10.13.4.1448} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar)
                                        UCHIJAAAA modminecraft{1.0} [Mod Minecraft] (bin)
                                        GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
                                        Profiler Position: N/A (disabled)
                                        Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                                        Player Count: 1 / 8; [EntityPlayerMP['Player515'/181, l='Presentation', x=9,00, y=237,00, z=9,00]]
                                        Type: Integrated Server (map_client.txt)
                                        Is Modded: Definitely; Client brand changed to 'fml,forge'
                                        [02:04:12] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2015-07-11_02.04.11-server.txt
                                        [02:04:12] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
                                        [02:04:12] [Server thread/INFO] [FML]: Unloading dimension 0
                                        [02:04:12] [Server thread/INFO] [FML]: Unloading dimension -1
                                        [02:04:12] [Server thread/INFO] [FML]: Unloading dimension 1
                                        [02:04:12] [Server thread/INFO] [FML]: Unloading dimension 2
                                        [02:04:12] [Server thread/INFO] [FML]: Applying holder lookups
                                        [02:04:12] [Server thread/INFO] [FML]: Holder lookups applied
                                        [02:04:12] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded.
                                        [02:04:12] [Client thread/INFO] [FML]: Server terminated.
                                        AL lib: (EE) alc_cleanup: 1 device not closed
                                        

                                        EDIT  : Jpeut même plus créer de nouveau monde

                                        Oui ce gif est drôle.

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

                                          Tu peux me renvoyer :
                                          -classe principale
                                          -gen layer
                                          -biome gen layer

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

                                            Oui voici , ( désolé j’ai été absent toute la journée d’hier )

                                            Classe principale

                                            package mod.common.world.structure;
                                            
                                            import cpw.mods.fml.common.registry.GameRegistry;
                                            import mod.common.world.type.AncientWorldProvider;
                                            import net.minecraft.block.Block;
                                            import net.minecraft.block.material.Material;
                                            import net.minecraft.item.Item;
                                            import net.minecraft.world.biome.BiomeCache;
                                            import net.minecraft.world.biome.BiomeGenBase;
                                            import net.minecraftforge.common.BiomeManager;
                                            import net.minecraftforge.common.DimensionManager;
                                            
                                            public class DimensionRegister {
                                            
                                            public static Block AncientPortail;
                                            public static Item AncientActivateur;
                                            public static int tutoDimAncient4 = 2;
                                            
                                            public static void register()
                                            {
                                            AncientPortail = new AncientPortail(Material.portal).setBlockName("portail");
                                            AncientActivateur = new AncientActivateur().setUnlocalizedName("activateur");
                                            
                                            GameRegistry.registerBlock(AncientPortail, "tuto_portail");
                                            GameRegistry.registerItem(AncientActivateur, "tuto_activateur");
                                            
                                            DimensionManager.registerProviderType(DimensionRegister.tutoDimAncient4, AncientWorldProvider.class, false);
                                            DimensionManager.registerDimension(DimensionRegister.tutoDimAncient4, DimensionRegister.tutoDimAncient4);
                                            
                                            }
                                            }
                                            
                                            

                                            GenLayer

                                            
                                            package mod.common.world.generator;
                                            
                                            import net.minecraft.world.gen.layer.GenLayer;
                                            import net.minecraft.world.gen.layer.GenLayerVoronoiZoom;
                                            import net.minecraft.world.gen.layer.GenLayerZoom;
                                            
                                            public abstract class AncientGenLayer extends GenLayer
                                            
                                            {
                                            public AncientGenLayer(long par1)
                                            {
                                            super(par1);
                                            }
                                            
                                            public static GenLayer[] makeTheWorld(long l)
                                            {
                                            GenLayer biomes = new AncientGenLayerBiome(1L);
                                            
                                            biomes = new GenLayerZoom(1000L, biomes);
                                            biomes = new GenLayerZoom(1001L, biomes);
                                            biomes = new GenLayerZoom(1002L, biomes);
                                            biomes = new GenLayerZoom(1003L, biomes);
                                            biomes = new GenLayerZoom(1004L, biomes);
                                            biomes = new GenLayerZoom(1005L, biomes);
                                            
                                            GenLayer genlayervoronoizoom = new GenLayerVoronoiZoom(10L, biomes);
                                            biomes.initWorldGenSeed(l);
                                            genlayervoronoizoom.initWorldGenSeed(l);
                                            
                                            return new GenLayer[] {biomes, genlayervoronoizoom};
                                            }
                                            }
                                            
                                            

                                            GenLayerBiome

                                            package mod.common.world.generator;
                                            
                                            import mod.common.world.biome.AncientBiome;
                                            import mod.common.world.biome.BiomeRegister;
                                            import net.minecraft.world.biome.BiomeGenBase;
                                            import net.minecraft.world.gen.layer.GenLayer;
                                            import net.minecraft.world.gen.layer.IntCache;
                                            
                                            public class AncientGenLayerBiome extends GenLayer
                                            {
                                            protected BiomeGenBase[] baseBiome = {BiomeRegister.AncientBiome};
                                            
                                            public AncientGenLayerBiome(long seed)
                                            {
                                            super(seed);
                                            }
                                            
                                            @Override
                                            public int[] getInts(int coordX, int coordZ, int width, int depth)
                                            {
                                            int[] dest = IntCache.getIntCache(width * depth);
                                            
                                            for(int dz = 0; dz < depth; dz++)
                                            {
                                            for(int dx = 0; dx < width; dx++)
                                            {
                                            this.initChunkSeed(dx + coordX, dz + coordZ);
                                            dest[(dx + dz * width)] = this.baseBiome[nextInt(this.baseBiome.length)].biomeID;
                                            }
                                            }
                                            return dest;
                                            }
                                            
                                            }
                                            
                                            

                                            Oui ce gif est drôle.

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB