MFF

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

    Créer un bloc basique

    Planifier Épinglé Verrouillé Déplacé Les blocs
    1.8
    76 Messages 16 Publieurs 25.9k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • DeletedD Hors-ligne
      Deleted
      dernière édition par

      Salut,
      pourrais-tu mettre ton code dans des balises stp ? Ça fait mal aux yeux …

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

        Bonjour j’ai une grosse erreur que je n’arrive pas à réglé seul.

        voici mon class principal et à la ligne GameRegistry.registerBlock c’est rouge et ça ne marche pas….

        
        package be.khelparavel.modrpg;
        
        import net.minecraft.block.Block;
        import net.minecraft.block.material.Material;
        import net.minecraft.creativetab.CreativeTabs;
        import net.minecraftforge.fml.common.Mod;
        import net.minecraftforge.fml.common.SidedProxy;
        import net.minecraftforge.fml.common.event.FMLInitializationEvent;
        import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
        import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
        import net.minecraftforge.fml.common.registry.GameRegistry;
        
        @Mod(modid = modrpg.MODID, name = "Mod_RPG", version = "0..01", acceptedMinecraftVersions = "[1.10.2]")
        
        public class modrpg
        
        {
           public static final String MODID = "modrpg";
           public static final String VERSION = "1.10.2";
        
           @Mod.Instance (modrpg.MODID)
           public static modrpg Instance;
        
           @SidedProxy(clientSide = "be.khelparavel.modrpg.client", serverSide = "be.khelparavel.modrpg.server")
           public static classcommon proxy;
        
           @Mod.EventHandler
           public void preInit(FMLPreInitializationEvent event)
           {
        
           }
           @Mod.EventHandler
           public void init(FMLInitializationEvent event)
           {
        
           }
           @Mod.EventHandler
           public void onServerStart(FMLServerStartingEvent event)
           {
        
           }
        
           public static Block RAFFINEDSTONE = (new Block(Material.ROCK)).setHardness(3F).setResistance(2F)
                                              .setCreativeTab(CreativeTabs.DECORATIONS)
                                              .setUnlocalizedName("Raffined-Stone")
                                              .setRegistryName("raffined-stone");
        +   GameRegistry.registerBlock(RAFFINEDSTONE, "rafined_stone");
        }
        

        PS: le petit “+” devant ma ligne de code c’est pour montré ou cela ne vas pas.

        Merci d’avance pour votre éventuel aide.

        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

          La ligne en question doit être à l’intérieur de la fonction preInit.

          Aussi, utilises la balise java pour mettre du code java.

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

            Ok j’ai plus d’erreur apparante, mais mon minecraft crash ( je précise que je suis débutant en coding)

            voici les log du crash

            –-- Minecraft Crash Report ----
            // Ooh. Shiny.

            Time: 6/06/17 2:17
            Description: There was a severe problem during mod loading that has caused the game to fail

            net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from ModRpg (modrpg)
            Caused by: java.lang.IllegalArgumentException: Attempted to register a Block with conflicting names. Old: modrpg:raffined-stone New: raffined_stone
                at net.minecraftforge.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:445)
                at be.khelparavel.modrpg.modrpg.init(modrpg.java:35)
                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.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:618)
                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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243)
                at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221)
                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 com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
                at com.google.common.eventbus.EventBus.post(EventBus.java:275)
                at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145)
                at net.minecraftforge.fml.common.Loader.initializeMods(Loader.java:805)
                at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:334)
                at net.minecraft.client.Minecraft.init(Minecraft.java:561)
                at net.minecraft.client.Minecraft.run(Minecraft.java:386)
                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:26)

            A detailed walkthrough of the error, its code path and all known details is as follows:

            – System Details –
            Details:
                Minecraft Version: 1.10.2
                Operating System: Windows 10 (amd64) version 10.0
                Java Version: 1.8.0_131, Oracle Corporation
                Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
                Memory: 544896744 bytes (519 MB) / 829947904 bytes (791 MB) up to 1901592576 bytes (1813 MB)
                JVM Flags: 0 total;
                IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                FML: MCP 9.32 Powered by Forge 12.18.3.2221 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
                UCHI    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
                UCHI    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.10.2-12.18.3.2221.jar)
                UCHI    Forge{12.18.3.2221} [Minecraft Forge] (forgeSrc-1.10.2-12.18.3.2221.jar)
                UCHE    modrpg{0…01} [ModRpg] (1.10.2-mdk_main)
                Loaded coremods (and transformers):
                GL info: ’ Vendor: ‘NVIDIA Corporation’ Version: ‘4.5.0 NVIDIA 382.33’ Renderer: ‘GeForce GTX 1060 6GB/PCIe/SSE2’

            Merci d’avance pour votre aide et le temps perdu avec moi 🙂

            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

              Essaies plutôt comme cela :
              GameRegistry.registerBlock(RAFFINEDSTONE, RAFFINEDSTONE.getRegisterName());

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

                Bonjour, je n’ai pas compris quand vous dites allez dans votre “asset/modid”. du coup j’ai mis là ou je penser mais dans la console eclipse me dit “texture not found” donc où dois-je mettre les fichiers ? 😕

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

                  Dans src/main/resources il faut que tu créé un dossier nommé assets puis dedans un dossier nommé comme ton modid.

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

                    D’accord merci je test sa de suite 🙂


                    Bon après multiples tentative sa ne veut toujours pas a moi que j’ai encore une fois rien compris ? 😞 
                    D’ailleurs pour en arriver a ce résultat là j’ai été obliger d’aller déplacer les fichier directement a la source, normal ?

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

                      Comme les fichiers sont sur ton screen, ça devrais être bon, a part la texture qui devrais être dans une dossier blocks (assets.modid.textures.block). Si ça ne fonctionne toujours pas, montre nous les erreurs dans la console.

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

                        Toujours  “not found” 😕

                        2017-09-05 16:20:34,890 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
                        2017-09-05 16:20:34,895 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
                        [16:20:35] [main/INFO] [GradleStart]: Extra: []
                        [16:20:35] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Mickaël/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
                        [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
                        [16:20:35] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1722 for Minecraft 1.8.9 loading
                        [16:20:35] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_144, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_144
                        [16:20:35] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                        [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
                        [16:20:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
                        [16:20:35] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
                        [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
                        [16:20:35] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                        [16:20:35] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                        [16:20:38] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                        [16:20:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
                        [16:20:38] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
                        [16:20:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
                        [16:20:39] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
                        [16:20:39] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
                        [16:20:39] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                        2017-09-05 16:20:40,612 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
                        2017-09-05 16:20:40,687 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
                        2017-09-05 16:20:40,691 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
                        [16:20:41] [Client thread/INFO]: Setting user: Player443
                        [16:20:48] [Client thread/INFO]: LWJGL Version: 2.9.4
                        [16:20:49] [Client thread/WARN] [FML]: =============================================================
                        [16:20:49] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
                        [16:20:49] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
                        [16:20:49] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
                        [16:20:49] [Client thread/WARN] [FML]: =============================================================
                        [16:20:50] [Client thread/INFO] [STDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: –-- Minecraft Crash Report ----
                        // Ouch. That hurt :(
                        
                        Time: 05/09/17 16:20
                        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.8.9
                        Operating System: Windows 10 (amd64) version 10.0
                        Java Version: 1.8.0_144, Oracle Corporation
                        Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                        Memory: 717287416 bytes (684 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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: 'ATI Technologies Inc.' Version: '4.5.13476 Compatibility Profile Context 22.19.171.1024' Renderer: 'Radeon (TM) RX 480 Graphics'
                        [16:20:51] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1722 Initialized
                        [16:20:51] [Client thread/INFO] [FML]: Replaced 204 ore recipies
                        [16:20:52] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
                        [16:20:52] [Client thread/INFO] [FML]: Searching E:\forge1.8.9\run\mods for mods
                        [16:20:55] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                        [16:20:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, slimeplus] at CLIENT
                        [16:20:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, slimeplus] at SERVER
                        [16:20:57] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Slime Plus
                        [16:20:57] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                        [16:20:57] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
                        [16:20:57] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
                        [16:20:57] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
                        [16:20:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                        [16:20:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
                        [16:20:58] [Client thread/INFO] [STDOUT]: [fr.mick991_1.slimeplus.TutorialCommon:preInit:10]: pre init côté commun
                        [16:20:58] [Client thread/INFO] [STDOUT]: [fr.mick991_1.slimeplus.TutorialClient:preInit:17]: pre init côté client
                        [16:20:58] [Client thread/INFO] [FML]: Applying holder lookups
                        [16:20:58] [Client thread/INFO] [FML]: Holder lookups applied
                        [16:20:58] [Client thread/INFO] [FML]: Injecting itemstacks
                        [16:20:58] [Client thread/INFO] [FML]: Itemstack injection complete
                        [16:20:58] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null
                        [16:20:58] [Sound Library Loader/INFO]: Starting up SoundSystem…
                        [16:20:59] [Thread-9/INFO]: Initializing LWJGL OpenAL
                        [16:20:59] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                        [16:20:59] [Thread-9/ERROR]: Error in class 'LibraryLWJGLOpenAL'
                        [16:20:59] [Thread-9/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
                        [16:20:59] [Thread-9/WARN]: ERROR MESSAGE:
                        [16:20:59] [Thread-9/INFO]: Could not locate OpenAL library.
                        [16:20:59] [Thread-9/WARN]: STACK TRACE:
                        [16:20:59] [Thread-9/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
                        [16:20:59] [Thread-9/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
                        [16:20:59] [Thread-9/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
                        [16:20:59] [Thread-9/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
                        [16:20:59] [Thread-9/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
                        [16:20:59] [Thread-9/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
                        [16:20:59] [Thread-9/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
                        [16:20:59] [Sound Library Loader/WARN]: ERROR MESSAGE:
                        [16:20:59] [Sound Library Loader/INFO]: Could not locate OpenAL library.
                        [16:20:59] [Sound Library Loader/INFO]: Starting up SoundSystem…
                        [16:20:59] [Thread-11/INFO]: Switching to No Sound
                        [16:20:59] [Thread-11/INFO]: (Silent Mode)
                        [16:20:59] [Sound Library Loader/INFO]: Sound engine started
                        [16:21:13] [Client thread/INFO] [FML]: Max texture size: 16384
                        [16:21:13] [Client thread/INFO]: Created: 16x16 textures-atlas
                        [16:21:16] [Client thread/INFO] [FML]: Injecting itemstacks
                        [16:21:17] [Client thread/INFO] [FML]: Itemstack injection complete
                        [16:21:17] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
                        [16:21:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Slime Plus
                        [16:21:17] [Client thread/INFO]: SoundSystem shutting down…
                        [16:21:17] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
                        [16:21:17] [Sound Library Loader/INFO]: Starting up SoundSystem…
                        [16:21:17] [Thread-13/INFO]: Initializing LWJGL OpenAL
                        [16:21:17] [Thread-13/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
                        [16:21:17] [Thread-13/ERROR]: Error in class 'LibraryLWJGLOpenAL'
                        [16:21:17] [Thread-13/ERROR]: Unable to initialize OpenAL.  Probable cause: OpenAL not supported.
                        [16:21:17] [Thread-13/WARN]: ERROR MESSAGE:
                        [16:21:17] [Thread-13/INFO]: Could not locate OpenAL library.
                        [16:21:17] [Thread-13/WARN]: STACK TRACE:
                        [16:21:17] [Thread-13/INFO]: org.lwjgl.openal.AL.create(AL.java:156)
                        [16:21:17] [Thread-13/INFO]: org.lwjgl.openal.AL.create(AL.java:102)
                        [16:21:17] [Thread-13/INFO]: org.lwjgl.openal.AL.create(AL.java:206)
                        [16:21:17] [Thread-13/INFO]: paulscode.sound.libraries.LibraryLWJGLOpenAL.init(LibraryLWJGLOpenAL.java:164)
                        [16:21:17] [Thread-13/INFO]: paulscode.sound.SoundSystem.CommandNewLibrary(SoundSystem.java:1576)
                        [16:21:17] [Thread-13/INFO]: paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2572)
                        [16:21:17] [Thread-13/INFO]: paulscode.sound.CommandThread.run(CommandThread.java:121)
                        [16:21:18] [Sound Library Loader/WARN]: ERROR MESSAGE:
                        [16:21:18] [Sound Library Loader/INFO]: Could not locate OpenAL library.
                        [16:21:18] [Sound Library Loader/INFO]: Starting up SoundSystem…
                        [16:21:18] [Thread-15/INFO]: Switching to No Sound
                        [16:21:18] [Thread-15/INFO]: (Silent Mode)
                        [16:21:18] [Sound Library Loader/INFO]: Sound engine started
                        [16:21:29] [Client thread/INFO] [FML]: Max texture size: 16384
                        [16:21:31] [Client thread/INFO]: Created: 512x512 textures-atlas
                        [16:21:32] [Client thread/ERROR] [FML]: Exception loading model for variant slimeplus:block_congelateur#inventory
                        java.lang.Exception: Could not load model definition for variant slimeplus:block_congelateur#inventory
                        at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
                        at net.minecraftforge.client.model.ModelLoader.loadItems(ModelLoader.java:256) ~[ModelLoader.class:?]
                        at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:120) ~[ModelLoader.class:?]
                        at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
                        at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
                        at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
                        at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:778) [Minecraft.class:?]
                        at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
                        at net.minecraft.client.Minecraft.startGame(Minecraft.java:538) [Minecraft.class:?]
                        at net.minecraft.client.Minecraft.run(Minecraft.java:364) [Minecraft.class:?]
                        at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
                        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_144]
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
                        at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                        at GradleStart.main(GradleStart.java:26) [start/:?]
                        Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model slimeplus:blockstates/block_congelateur.json
                        at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
                        at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                        … 22 more
                        Caused by: java.io.FileNotFoundException: slimeplus:blockstates/block_congelateur.json
                        at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:82) ~[SimpleReloadableResourceManager.class:?]
                        at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
                        at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                        … 22 more
                        [16:21:32] [Client thread/ERROR] [FML]: Exception loading model for variant slimeplus:block_congelateur#normal
                        java.lang.Exception: Could not load model definition for variant slimeplus:block_congelateur#normal
                        at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:219) ~[ModelLoader.class:?]
                        at net.minecraft.client.resources.model.ModelBakery.loadVariants(ModelBakery.java:109) ~[ModelBakery.class:?]
                        at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:174) ~[ModelLoader.class:?]
                        at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:119) ~[ModelLoader.class:?]
                        at net.minecraft.client.resources.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?]
                        at net.minecraft.client.resources.SimpleReloadableResourceManager.notifyReloadListeners(SimpleReloadableResourceManager.java:130) [SimpleReloadableResourceManager.class:?]
                        at net.minecraft.client.resources.SimpleReloadableResourceManager.reloadResources(SimpleReloadableResourceManager.java:111) [SimpleReloadableResourceManager.class:?]
                        at net.minecraft.client.Minecraft.refreshResources(Minecraft.java:778) [Minecraft.class:?]
                        at net.minecraftforge.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:326) [FMLClientHandler.class:?]
                        at net.minecraft.client.Minecraft.startGame(Minecraft.java:538) [Minecraft.class:?]
                        at net.minecraft.client.Minecraft.run(Minecraft.java:364) [Minecraft.class:?]
                        at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_144]
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
                        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_144]
                        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_144]
                        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_144]
                        at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
                        at GradleStart.main(GradleStart.java:26) [start/:?]
                        Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model slimeplus:blockstates/block_congelateur.json
                        at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:165) ~[ModelBakery.class:?]
                        at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                        … 23 more
                        Caused by: java.io.FileNotFoundException: slimeplus:blockstates/block_congelateur.json
                        at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:82) ~[SimpleReloadableResourceManager.class:?]
                        at net.minecraft.client.resources.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:143) ~[ModelBakery.class:?]
                        at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:215) ~[ModelLoader.class:?]
                        … 23 more
                        [16:21:32] [Client thread/ERROR] [FML]: Model definition for location slimeplus:block_congelateur#inventory not found
                        [16:21:32] [Client thread/ERROR] [FML]: Model definition for location slimeplus:block_congelateur#normal not found
                        [16:21:45] [Client thread/INFO]: Stopping!
                        [16:21:45] [Client thread/INFO]: SoundSystem shutting down…
                        [16:21:45] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
                        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
                        • LeBossMax2L Hors-ligne
                          LeBossMax2
                          dernière édition par

                          Étrange 😕 as tu changé la position des fichiers ou ils sont toujours comme sur le screen ? Si ils n’ont pas bougé, je ne vois pas où est le problème.

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

                            J’ai juste renommer les fichiers pour mieux m’y repéré mais sa ne veut toujours pas 😕

                            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

                              Il y a un gros point d’exclamation sur ton projet, ce n’est pas normal.
                              Eclipse indique quoi ?

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

                                Tu entends quoi par “il indique quoi” ?

                                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

                                  En bas sur Eclipse il y a une fenêtres avec plusieurs onglet dont un nommé “problems”, il devrait y avoir un message d’erreur.

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

                                    Il n’y a rien


                                    il n’y a rien

                                    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

                                      Fais un clic droit sur slime plus puis sur cliques sur refresh.

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

                                        Ha bha sayer

                                        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

                                          Il a des données qui n’ont pas été sauvegardé. Vas dans ton dossier de forge puis src puis main puis resources depuis l’explorateur de fichier de windows, et regardes si les fichiers sont bien présents.

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

                                            Tout les fichiers sont bien dedans…  j’ai restart eclipse.
                                            par contre a chaque redémarrage il me rajoute le warning avec le message “Warning: The environment variable HOME is not set. The following directory will be used to store the Git
                                            user global configuration and to define the default location to store repositories: ‘C:\Users\Mickaël’. If this is
                                            not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
                                            EGit might behave differently since they see different configuration options.
                                            This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.”

                                            Si je comprends bien c’est parcque mon JAVA_HOME n’est pas set ?

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB