MFF

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

    Craft escalier en verre de couleur ?

    Planifier Épinglé Verrouillé Déplacé Résolu 1.7.x
    1.7.10
    13 Messages 3 Publieurs 2.0k 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.
    • D Hors-ligne
      deVlintern
      dernière édition par

      Merci de ta réponse sauf que sa ne fonctione pas

      voila mon code

      GameRegistry.addRecipe(new ItemStack(Blocks.stained_glass, 1, 14),new Object[]{"# ", "## ", “###”, ‘#’, Blocks.stained_glass});

      est sa me donne un escalier blanc. parseque si j’enleve Blocks.stained_glass qui de trouve a la fin du code le jeux ne se lance pas comment je doit faire .

      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

        Ce que fait ce code, c’est crafter un bloc de stained glass de metadata 14 à partir d’un bloc de stained_glass de metadata 0.
        Il n’y a pas d’escalier la dedans …

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

          mais moi je se je veux faire c’est le craft d’un escalier en utilisant un block de verre pour faire le craft . comment je doit faire ?

          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

            GameRegistry.addRecipe(new ItemStack(tonEscalier),new Object[]{"#  ", "## ", “###”, ‘#’, new ItemStack(Blocks.stained_glass, 1, 14)});

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

              je le jeux crash maintenant lors du lancement

              –-- Minecraft Crash Report ----
              // Ooh. Shiny.
              
              Time: 24/09/16 15:27
              Description: Initializing game
              
              java.lang.StringIndexOutOfBoundsException: String index out of range: 8
              at java.lang.String.charAt(Unknown Source)
              at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:232)
              at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
              at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
              at com.serv.mod.init.CraftModEs.register(CraftModEs.java:13)
              at com.serv.mod.ModServ.preInit(ModServ.java:33)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.google.common.eventbus.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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
              at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.google.common.eventbus.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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
              at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
              at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
              at net.minecraft.client.Minecraft.run(Minecraft.java:942)
              at net.minecraft.client.main.Main.main(Main.java:164)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
              at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
              at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
              at GradleStart.main(Unknown Source)
              
              A detailed walkthrough of the error, its code path and all known details is as follows:
              ---------------------------------------------------------------------------------------
              
              -- Head --
              Stacktrace:
              at java.lang.String.charAt(Unknown Source)
              at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:232)
              at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
              at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
              at com.serv.mod.init.CraftModEs.register(CraftModEs.java:13)
              at com.serv.mod.ModServ.preInit(ModServ.java:33)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.google.common.eventbus.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 cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212)
              at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.google.common.eventbus.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 cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119)
              at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:556)
              at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:243)
              at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
              
              -- Initialization --
              Details:
              Stacktrace:
              at net.minecraft.client.Minecraft.run(Minecraft.java:942)
              at net.minecraft.client.main.Main.main(Main.java:164)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
              at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
              at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
              at GradleStart.main(Unknown Source)
              
              -- System Details --
              Details:
              Minecraft Version: 1.7.10
              Operating System: Windows 7 (amd64) version 6.1
              Java Version: 1.8.0_102, Oracle Corporation
              Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
              Memory: 830292528 bytes (791 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
              JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
              AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
              IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
              FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 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
              UCH mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
              UCH FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
              UCH Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
              UCE mod{1.0.0} [Mod serv] (bin)
              GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 372.90' Renderer: 'GeForce GTX 750/PCIe/SSE2'
              Launched Version: 1.7.10
              LWJGL: 2.9.1
              OpenGL: GeForce GTX 750/PCIe/SSE2 GL version 4.5.0 NVIDIA 372.90, NVIDIA Corporation
              GL Caps: Using GL 1.3 multitexturing.
              Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
              Anisotropic filtering is supported and maximum anisotropy is 16.
              Shaders are available because OpenGL 2.1 is supported.
              
              Is Modded: Definitely; Client brand changed to 'fml,forge'
              Type: Client (map_client.txt)
              Resource Packs: []
              Current Language: Français (France)
              Profiler Position: N/A (disabled)
              Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
              Anisotropic Filtering: Off (1)
              
              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 manquait un espace. (j’ai édité mon précédent message).

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

                  Merci pour tout tes réponse .Sa fonctionne

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

                    @‘deVlintern’:

                    Merci pour tout tes réponse .Sa fonctionne

                    Passe en résolu

                    Minantcraft ;)

                    >! Binary Dimension
                    [url=https://minecraft.cu…

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

                      Je ne peut pas passer en résolut .

                      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

                        Si, il suffit d’éditer le premier message.

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

                          Merci .

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

                          MINECRAFT FORGE FRANCE © 2024

                          Powered by NodeBB