MFF

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

    [1.12] Créer un four

    Planifier Épinglé Verrouillé Déplacé Les interfaces (GUI) et les container
    1.11.x
    58 Messages 13 Publieurs 15.9k Vues 7 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.
    • A Hors-ligne
      aypristyle
      dernière édition par

      Merci beaucoup BrokenSwing !! Tout fonctionne maintenant

      **Je suis un membre apprécié et joueur, j'ai déjà obtenu 1[ point de réputation./…

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

        Bonjour,

        J’ai un problème avec l’enregistrement du nom-custom :
        (code en piéces jointe)

        • je renomme le four, je le pose, le nom apparaît.
          le nom dans toutes les fonctions apparaît, je redémarre :

        la fonction hascustomname renvoie true en début de partie.
        WriteToNBT affiche bien “test”.
        cependant readfromnbt lui affiche null.
        Les getters et setter ont bien “test”, le container et le gui handler cotes serveur a bien “test”,
        cependant celui cotes client et le gui affiche null.

        ensuite une fois le container ouvert :
        hascustomname devient false et toute les fonction affiche null (même le container).

        une fois partit, et le menu pour quitter afficher, has affiche true et writeToNBT affiche
        “test”.

        merci d’avance
        Cordialement, Alexzaros.

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

          J’ai pas le temps de tester avec tes sources, mais essai de changer le 8 dans java if (compound.hasKey("CustomName", 8)) { par ```java
          NBT.TAG_STRING

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

            Ca n’a rien changer, j’avais essayer hier d’enlever carrément le bloc conditionnel sa n’avais rien changer… Mais c’est quand même bizarre que certaine fonction on bien le nom, que l’enregistrement fonctionne mais que la fonction read n’arrive pas a charger le nom, normalement dans ce cas les autres fonction ne devrait pas avoir le nom ?
            En tout cas merci pour votre réponse rapide ^^ en espérant que nous allons trouver ce qui ne va pas …

            EDIT: D’ailleurs javais essayer aussi avec un autre block, de modifier via un bouton un boolean sa le modifier bien mais le block n’avais pas le bon boolean (il était toujours a false) et je crois que la fonction readFromNBT ne l’avais pas non plus (je me rappelle plus trop sa date de quelque jour déjà ^^').

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

              Dans le cas de ton bouton c’est un problème de synchronisation

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

                Mais sa voudrais dire que quand le gui (cotes client) utilise world.getTileEntity(pos) sa renvoie pas la même chose lorsque le block le fait ?
                De plus comment synchroniser car je n’est pas réussie a utiliser les packet, et je ne sais pas vraiment quoi synchroniser avec qui …

                Et pour le custom furnace du coup sa peu être quoi ?

                Merci.
                Cordialement, Alexzaros.

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

                  J’ai compris un truc :
                  Je nomme le four le thread main et server ont tout deux “test”
                  je redémarre seulement le thread server a “test”
                  j’ai essayer de synchroniser par le biais du container sa ne change rien car il sont désynchroniser des le démarrage…

                  EDIT: D’ailleurs même lors de la sauvegarde du nbt (faites sur le thread server) il y a bien “test”, donc server et client ne sont pas du  tout synchro du début a la fin, si non la valeur serait perdu …


                  J’ai enfin trouver ! En faites j’ai trouver sur une page de ce site : https://www.minecraftforgefrance.fr/showthread.php?tid=4752 (comme quoi je chercher trop loin …)
                  j’ai rajouter ces fonction dans le tile entity : 
                      @Nullable
                      public SPacketUpdateTileEntity getUpdatePacket()
                      {
                          return new SPacketUpdateTileEntity(this.pos, 1, this.getUpdateTag());
                      }

                  public NBTTagCompound getUpdateTag()
                      {
                          return this.writeToNBT(new NBTTagCompound());
                      }

                  getUpdatePacket() n’a pas l’air de faire grand chose car quand je la met entre commentaire sa fonctionne quand même.

                  voila ^^ ce que je comprend pas par contre c’est que je soit le seul a avoir eu ce problème … ou le seul a avoir demander de l’aide…

                  En tout cas merci pour tout ^^.

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

                    Salut !
                    Le code contient une erreur dans les recipes :

                    private static boolean areKeysEqual(ItemStack[] key1, ItemStack[] key2) {
                    
                        if(key1.length != key2.length) return false;
                    
                     
                    
                        for(int i = 0; i < key1.length; i++) {
                    
                            ItemStack s1 = key1[i];
                    
                            ItemStack s2 = key2[i};
                    
                            if(s1.isEmpty() && !s2.isEmpty()) return false;
                    
                            if(!s1.isEmpty() && s2.isEmpty()) return false;
                    
                            if(s1.getItem() != s2.getItem()) return false;
                    
                            if(s1.getItemDamage() != s2.getItemDamage()) return false;
                    
                        }
                    
                        return true;
                    
                    }
                    

                    Devrait s’écrire comme ceci, sinon cela donne une erreur :

                    private static boolean areKeysEqual(ItemStack[] key1, ItemStack[] key2) {
                    
                        if(key1.length != key2.length) return false;
                    
                     
                    
                        for(int i = 0; i < key1.length; i++) {
                    
                            ItemStack s1 = key1[i];
                    
                            ItemStack s2 = key2[i];
                    
                            if(s1.isEmpty() && !s2.isEmpty()) return false;
                    
                            if(!s1.isEmpty() && s2.isEmpty()) return false;
                    
                            if(s1.getItem() != s2.getItem()) return false;
                    
                            if(s1.getItemDamage() != s2.getItemDamage()) return false;
                    
                        }
                    
                        return true;
                    
                    }
                    

                    Sinon très bon tuto 🙂 ! Bonne journée !

                    My name is Gollum1er :)

                    BrokenSwingB 1 réponse Dernière réponse Répondre Citer 0
                    • BrokenSwingB Hors-ligne
                      BrokenSwing Moddeurs confirmés Rédacteurs @Gollum1er
                      dernière édition par

                      @Gollum1er C’est réglé, merci

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

                        Ce message a été supprimé !
                        1 réponse Dernière réponse Répondre Citer 0
                        • A Hors-ligne
                          Aiko
                          dernière édition par

                          Bonjour, j’ai suivi le tuto à lettre pour voir si cela fonctionner, malheureusement une erreur survient, si j’ai bien compris ma textures n’est pas trouver. Voici l’erreur tout de même :

                          [13:15:30] [Server thread/ERROR] [FML]: A TileEntity type com.aiko.cenamicolmod.te.TileEntityAnvil has throw an exception trying to write state. It will not persist. Report this to the mod author
                          java.lang.RuntimeException: class com.aiko.cenamicolmod.te.TileEntityAnvil is missing a mapping! This is a bug!
                          	at net.minecraft.tileentity.TileEntity.writeInternal(TileEntity.java:89) ~[TileEntity.class:?]
                          	at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:80) ~[TileEntity.class:?]
                          	at net.minecraft.tileentity.TileEntityLockable.writeToNBT(TileEntityLockable.java:22) ~[TileEntityLockable.class:?]
                          	at com.aiko.cenamicolmod.te.TileEntityAnvil.writeToNBT(TileEntityAnvil.java:38) ~[TileEntityAnvil.class:?]
                          	at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:415) [AnvilChunkLoader.class:?]
                          	at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:186) [AnvilChunkLoader.class:?]
                          	at net.minecraft.world.gen.ChunkProviderServer.saveChunkData(ChunkProviderServer.java:214) [ChunkProviderServer.class:?]
                          	at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:242) [ChunkProviderServer.class:?]
                          	at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:1061) [WorldServer.class:?]
                          	at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:468) [MinecraftServer.class:?]
                          	at net.minecraft.server.integrated.IntegratedServer.saveAllWorlds(IntegratedServer.java:274) [IntegratedServer.class:?]
                          	at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:766) [MinecraftServer.class:?]
                          	at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:192) [IntegratedServer.class:?]
                          	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?]
                          	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
                          
                          

                          Je suis en 1.12.2 si cela peut aider.
                          Merci d’avance pour l’aide.

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

                            Salut,

                            Tu n’as pas enregistré ta TileEntity dans le registre.

                            A 1 réponse Dernière réponse Répondre Citer 0
                            • A Hors-ligne
                              Aiko @BrokenSwing
                              dernière édition par

                              @BrokenSwing C’est à dire ?

                              BrokenSwingB 1 réponse Dernière réponse Répondre Citer 0
                              • BrokenSwingB Hors-ligne
                                BrokenSwing Moddeurs confirmés Rédacteurs @Aiko
                                dernière édition par

                                @Aiko C’est à dire que tu n’as pas bien suivi le tuto 🙂 Il te manque très certainement la ligne suivante : GameRegistry.registerTileEntity(TileCustomFurnace.class, "modid:tile_custom_furnace");

                                A 1 réponse Dernière réponse Répondre Citer 0
                                • A Hors-ligne
                                  Aiko @BrokenSwing
                                  dernière édition par Aiko

                                  @BrokenSwing Oui en effet merci mais mtn rien ne se passe…
                                  Voici les classe que j’ai utilisé :

                                  Classe du block :
                                  https://pastebin.com/mVtbYtZY

                                  Classe du TileEntity:
                                  https://pastebin.com/DDzBTqLU

                                  Classe du Container :
                                  https://pastebin.com/ECKrR7kz

                                  Classe du GUI:
                                  https://pastebin.com/fF17qQFs

                                  Il y a également la classe GuiHandler et Recipes donc si besoin je peux les mettre également

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

                                    Bonjour alors j’ai suivi ce tuto (qui était extrêmement bien expliqué en passant) et j’ai un problème c’est que déjà das mes classes je n’ai aucune fonction instance qui est utilisée dans deux classe !error.png J’ai également une erreur au niveau de ma classe tileentity il me demande d’ajouter des methode est ce que je dois le faire (et les modifier peut etre). error2.png Il y en a également une dans ma classe principale mais elle est toujours du a la fonction instance^^. error3.png Merci

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

                                      Bonjour,
                                      Pour l’instance, voir le tutoriel sur la base du mod: https://www.minecraftforgefrance.fr/topic/2906/créer-la-base-de-son-mod
                                      Pour les méthodes non implémenté dans la classe TileMachineBuilder, cliques sur add unimplemented methods et regardes à la fin, il faudra ajouter le contenu appropriée dans les méthodes ajoutées.

                                      T 2 réponses Dernière réponse Répondre Citer 0
                                      • T Hors-ligne
                                        TionebBen3119 @robin4002
                                        dernière édition par

                                        @robin4002 Alors premierement merci et ensuite il me reste cette erreur. Il que je retire @override, et aussi la methode qu’il m’a generer je ne vois pas comment la completer ^^

                                        T 1 réponse Dernière réponse Répondre Citer 0
                                        • T Hors-ligne
                                          TionebBen3119 @TionebBen3119
                                          dernière édition par

                                          @TionebBen3119 error.png

                                          1 réponse Dernière réponse Répondre Citer 0
                                          • T Hors-ligne
                                            TionebBen3119 @robin4002
                                            dernière édition par robin4002

                                            @robin4002 j’ai une erreur lors du lancement de minecraft aussi comme quoi mon objet n’as pas de nom alors que ce n’est pas le cas

                                            [19:50:08] [main/INFO] [GradleStart]: Extra: []
                                            [19:50:08] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Benoit/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                                            [19:50:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                                            [19:50:08] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                                            [19:50:08] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                                            [19:50:08] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
                                            [19:50:08] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
                                            [19:50:08] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_241, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_241\jre
                                            [19:50:08] [main/ERROR] [FML]: Apache Maven library folder was not in the format expected. Using default libraries directory.
                                            [19:50:08] [main/ERROR] [FML]: Full: C:\Users\Benoit\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.5.3\7dc72b6d6d8a6dced3d294ed54c2cc3515ade9f4\maven-artifact-3.5.3.jar
                                            [19:50:08] [main/ERROR] [FML]: Trimmed: c:/users/benoit/.gradle/caches/modules-2/files-2.1/org.apache.maven/maven-artifact/3.5.3/
                                            [19:50:08] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                                            [19:50:08] [main/INFO] [FML]: Detected deobfuscated environment, loading log configs for colored console logs.
                                            2020-04-26 19:50:11,357 main WARN Disabling terminal, you're running in an unsupported environment.
                                            [19:50:11] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin
                                            [19:50:11] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin
                                            [19:50:11] [main/INFO] [FML]: Searching C:\Users\Benoit\Desktop\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                                            [19:50:11] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
                                            [19:50:11] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                                            [19:50:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                                            [19:50:16] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                                            [19:50:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                                            [19:50:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                                            [19:50:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                                            [19:50:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
                                            [19:50:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
                                            [19:50:16] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                                            [19:50:18] [main/INFO] [minecraft/Minecraft]: Setting user: Player419
                                            [19:50:27] [main/WARN] [minecraft/GameSettings]: Skipping bad option: lastServer:
                                            [19:50:27] [main/INFO] [minecraft/Minecraft]: LWJGL Version: 2.9.4
                                            [19:50:29] [main/INFO] [FML]: -- System Details --
                                            Details:
                                            	Minecraft Version: 1.12.2
                                            	Operating System: Windows 10 (amd64) version 10.0
                                            	Java Version: 1.8.0_241, Oracle Corporation
                                            	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                            	Memory: 909351992 bytes (867 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
                                            	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                                            	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                                            	FML: 
                                            	Loaded coremods (and transformers): 
                                            	GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 25.20.100.6444' Renderer: 'Intel(R) UHD Graphics 600'
                                            [19:50:29] [main/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
                                            [19:50:29] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
                                            [19:50:30] [main/INFO] [FML]: Replaced 1036 ore ingredients
                                            [19:50:31] [main/INFO] [FML]: Searching C:\Users\Benoit\Desktop\forge-1.12.2-14.23.5.2768-mdk\.\mods for mods
                                            [19:50:37] [main/INFO] [FML]: Forge Mod Loader has identified 5 mods to load
                                            [19:50:37] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 813235700 nanos
                                            [19:50:37] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, heaven] at CLIENT
                                            [19:50:37] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, heaven] at SERVER
                                            [19:50:39] [main/INFO] [minecraft/SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Heaven Mod
                                            [19:50:39] [main/INFO] [FML]: Processing ObjectHolder annotations
                                            [19:50:40] [main/INFO] [FML]: Found 1168 ObjectHolder annotations
                                            [19:50:40] [main/INFO] [FML]: Identifying ItemStackHolder annotations
                                            [19:50:40] [main/INFO] [FML]: Found 0 ItemStackHolder annotations
                                            [19:50:40] [main/INFO] [FML]: Configured a dormant chunk cache size of 0
                                            [19:50:40] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                                            [19:50:40] [main/ERROR] [FML]: Exception caught during firing event net.minecraftforge.event.RegistryEvent$Register@44e69674:
                                            java.lang.NullPointerException: Can't use a null-name for the registry, object null.
                                            	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864) ~[guava-21.0.jar:?]
                                            	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295) ~[ForgeRegistry.class:?]
                                            	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:289) ~[ForgeRegistry.class:?]
                                            	at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:122) ~[ForgeRegistry.class:?]
                                            	at net.minecraftforge.registries.ForgeRegistry.registerAll(ForgeRegistry.java:163) ~[ForgeRegistry.class:?]
                                            	at com.ben.heaven.init.MachineBlock.registerBlocks(MachineBlock.java:32) ~[MachineBlock.class:?]
                                            	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_MachineBlock_registerBlocks_Register.invoke(.dynamic) ~[?:?]
                                            	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
                                            	at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144) ~[EventBus$1.class:?]
                                            	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182) [EventBus.class:?]
                                            	at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:777) [GameData.class:?]
                                            	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628) [Loader.class:?]
                                            	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252) [FMLClientHandler.class:?]
                                            	at net.minecraft.client.Minecraft.init(Minecraft.java:513) [Minecraft.class:?]
                                            	at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?]
                                            	at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
                                            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
                                            	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
                                            	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
                                            	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_241]
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_241]
                                            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_241]
                                            	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_241]
                                            	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                                            	at GradleStart.main(GradleStart.java:25) [start/:?]
                                            [19:50:40] [main/ERROR] [FML]: Index: 11 Listeners:
                                            [19:50:40] [main/ERROR] [FML]: 0: NORMAL
                                            [19:50:40] [main/ERROR] [FML]: 1: net.minecraftforge.fml.common.eventhandler.EventBus$1@7768ffae
                                            [19:50:40] [main/ERROR] [FML]: 2: net.minecraftforge.fml.common.eventhandler.EventBus$1@23195ebe
                                            [19:50:40] [main/ERROR] [FML]: 3: net.minecraftforge.fml.common.eventhandler.EventBus$1@5c866852
                                            [19:50:40] [main/ERROR] [FML]: 4: net.minecraftforge.fml.common.eventhandler.EventBus$1@4481a37f
                                            [19:50:40] [main/ERROR] [FML]: 5: net.minecraftforge.fml.common.eventhandler.EventBus$1@7424b1ce
                                            [19:50:40] [main/ERROR] [FML]: 6: net.minecraftforge.fml.common.eventhandler.EventBus$1@1d21fd5a
                                            [19:50:40] [main/ERROR] [FML]: 7: net.minecraftforge.fml.common.eventhandler.EventBus$1@728ad254
                                            [19:50:40] [main/ERROR] [FML]: 8: net.minecraftforge.fml.common.eventhandler.EventBus$1@3b590d21
                                            [19:50:40] [main/ERROR] [FML]: 9: net.minecraftforge.fml.common.eventhandler.EventBus$1@6aa27145
                                            [19:50:40] [main/ERROR] [FML]: 10: net.minecraftforge.fml.common.eventhandler.EventBus$1@78fb8a66
                                            [19:50:40] [main/ERROR] [FML]: 11: net.minecraftforge.fml.common.eventhandler.EventBus$1@5c47ef5f
                                            [19:50:40] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
                                            [19:50:40] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: ---- Minecraft Crash Report ----
                                            // Why did you do that?
                                            
                                            Time: 4/26/20 7:50 PM
                                            Description: Initializing game
                                            
                                            java.lang.NullPointerException: Can't use a null-name for the registry, object null.
                                            	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864)
                                            	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)
                                            	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:289)
                                            	at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:122)
                                            	at net.minecraftforge.registries.ForgeRegistry.registerAll(ForgeRegistry.java:163)
                                            	at com.ben.heaven.init.MachineBlock.registerBlocks(MachineBlock.java:32)
                                            	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_MachineBlock_registerBlocks_Register.invoke(.dynamic)
                                            	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
                                            	at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
                                            	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
                                            	at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:777)
                                            	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
                                            	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
                                            	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
                                            	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
                                            	at net.minecraft.client.main.Main.main(Main.java:118)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                            	at java.lang.reflect.Method.invoke(Method.java:498)
                                            	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                                            	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                            	at java.lang.reflect.Method.invoke(Method.java:498)
                                            	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                                            	at GradleStart.main(GradleStart.java:25)
                                            
                                            
                                            A detailed walkthrough of the error, its code path and all known details is as follows:
                                            ---------------------------------------------------------------------------------------
                                            
                                            -- Head --
                                            Thread: Client thread
                                            Stacktrace:
                                            	at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:864)
                                            	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:295)
                                            	at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:289)
                                            	at net.minecraftforge.registries.ForgeRegistry.register(ForgeRegistry.java:122)
                                            	at net.minecraftforge.registries.ForgeRegistry.registerAll(ForgeRegistry.java:163)
                                            	at com.ben.heaven.init.MachineBlock.registerBlocks(MachineBlock.java:32)
                                            	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_20_MachineBlock_registerBlocks_Register.invoke(.dynamic)
                                            	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
                                            	at net.minecraftforge.fml.common.eventhandler.EventBus$1.invoke(EventBus.java:144)
                                            	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
                                            	at net.minecraftforge.registries.GameData.fireRegistryEvents(GameData.java:777)
                                            	at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:628)
                                            	at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:252)
                                            	at net.minecraft.client.Minecraft.init(Minecraft.java:513)
                                            
                                            -- Initialization --
                                            Details:
                                            Stacktrace:
                                            	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
                                            	at net.minecraft.client.main.Main.main(Main.java:118)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                            	at java.lang.reflect.Method.invoke(Method.java:498)
                                            	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
                                            	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                                            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                            	at java.lang.reflect.Method.invoke(Method.java:498)
                                            	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
                                            	at GradleStart.main(GradleStart.java:25)
                                            
                                            -- System Details --
                                            Details:
                                            	Minecraft Version: 1.12.2
                                            	Operating System: Windows 10 (amd64) version 10.0
                                            	Java Version: 1.8.0_241, Oracle Corporation
                                            	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                                            	Memory: 904502424 bytes (862 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
                                            	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                                            	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                                            	FML: MCP 9.42 Powered by Forge 14.23.5.2768 5 mods loaded, 5 mods active
                                            	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
                                            
                                            	| State | ID        | Version      | Source                           | Signature |
                                            	|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
                                            	| UCH   | minecraft | 1.12.2       | minecraft.jar                    | None      |
                                            	| UCH   | mcp       | 9.42         | minecraft.jar                    | None      |
                                            	| UCH   | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
                                            	| UCH   | forge     | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
                                            	| UCH   | heaven    | 1.0.0        | bin                              | None      |
                                            
                                            	Loaded coremods (and transformers): 
                                            	GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 25.20.100.6444' Renderer: 'Intel(R) UHD Graphics 600'
                                            	Launched Version: 1.12.2
                                            	LWJGL: 2.9.4
                                            	OpenGL: Intel(R) UHD Graphics 600 GL version 4.5.0 - Build 25.20.100.6444, Intel
                                            	GL Caps: Using GL 1.3 multitexturing.
                                            Using GL 1.3 texture combiners.
                                            Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
                                            Shaders are available because OpenGL 2.1 is supported.
                                            VBOs are available because OpenGL 1.5 is supported.
                                            
                                            	Using VBOs: Yes
                                            	Is Modded: Definitely; Client brand changed to 'fml,forge'
                                            	Type: Client (map_client.txt)
                                            	Resource Packs: 
                                            	Current Language: English (US)
                                            	Profiler Position: N/A (disabled)
                                            	CPU: 2x Intel(R) Celeron(R) N4000 CPU @ 1.10GHz
                                            [19:50:40] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Benoit\Desktop\forge-1.12.2-14.23.5.2768-mdk\.\crash-reports\crash-2020-04-26_19.50.40-client.txt
                                            Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                                            
                                            1 réponse Dernière réponse Répondre Citer 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • Premier message
                                              Dernier message
                                            Design by Woryk
                                            ContactMentions Légales

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB