MFF

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

    Un fluide

    Planifier Épinglé Verrouillé Déplacé Les blocs
    1.6.x
    53 Messages 14 Publieurs 21.6k Vues 1 Watching
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • robin4002R Hors-ligne
      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
      dernière édition par

      Car ton fluide est null.
      Il doit être initialisé avant le bloc, c’est très important.

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

        Ce que j’ai fait !

        ​ spectralFluid = new Fluid("spectralFluid").setDensity(4000).setViscosity(500).setTemperature(286).setLuminosity(10).setUnlocalizedName("spectralFluid");
        
        FluidRegistry.registerFluid(spectralFluid);
        spectralFluid = FluidRegistry.getFluid("spectralFluid");
        
        blockSpectralFluid = new BlockSpectralFluid(spectralFluid, Material.water).setBlockName("blockSpectralFluid");
        GameRegistry.registerBlock(blockSpectralFluid, "blockSpectralFluid");
        spectralFluid.setBlock(blockSpectralFluid);
        
        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

          Pas de majuscule dans un nom de fluide, c’est ça qui cause problème.
          Appelle ton fluide juste spectral et non spectralFluid

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

            Non sa ne fonctionne 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

              Toujours un npe ?

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

                bah regarde

                ​[18:01:33] [main/INFO] [GradleStart]: No arguments specified, assuming client.
                
                [18:01:33] [main/INFO] [GradleStart]: Extra: []
                [18:01:33] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/Portuar/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker]
                [18:01:33] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [18:01:33] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
                [18:01:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
                [18:01:33] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1231 for Minecraft 1.7.10 loading
                [18:01:33] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_25
                [18:01:33] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
                [18:01:33] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [18:01:33] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [18:01:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [18:01:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
                [18:01:33] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [18:01:33] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
                [18:01:34] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
                [18:01:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
                [18:01:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
                [18:01:34] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
                [18:01:34] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
                [18:01:34] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
                [18:01:35] [main/INFO]: Setting user: Player52
                [18:01:36] [Client thread/INFO]: LWJGL Version: 2.9.1
                [18:01:37] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
                [18:01:37] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1231 Initialized
                [18:01:37] [Client thread/INFO] [FML]: Replaced 182 ore recipies
                [18:01:37] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
                [18:01:37] [Client thread/INFO] [FML]: Searching D:\Desktop\SpectralCraft\eclipse\mods for mods
                [18:01:39] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
                [18:01:39] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Spectralcraft] at CLIENT
                [18:01:39] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, Spectralcraft] at SERVER
                [18:01:39] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Spectral Craft
                [18:01:39] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
                [18:01:39] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
                [18:01:39] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
                [18:01:39] [Client thread/INFO] [FML]: Applying holder lookups
                [18:01:39] [Client thread/INFO] [FML]: Holder lookups applied
                [18:01:39] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
                [18:01:39] [Client thread/ERROR] [FML]: 
                mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
                FML{7.10.85.1231} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1231.jar) Unloaded->Constructed->Pre-initialized
                Forge{10.13.2.1231} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1231.jar) Unloaded->Constructed->Pre-initialized
                Spectralcraft{1.0.0} [Spectral Craft] (bin) Unloaded->Constructed->Errored
                [18:01:39] [Client thread/ERROR] [FML]: The following problems were captured during this phase
                [18:01:39] [Client thread/ERROR] [FML]: Caught exception from Spectralcraft
                java.lang.NullPointerException
                at net.minecraftforge.fluids.BlockFluidBase.<init>(BlockFluidBase.java:60) ~[forgeSrc-1.7.10-10.13.2.1231.jar:?]
                at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:27) ~[forgeSrc-1.7.10-10.13.2.1231.jar:?]
                at com.google.Portuar.SpectralCraft.common.block.BlockSpectralFluid.<init>(BlockSpectralFluid.java:19) ~[bin/:?]
                at com.google.Portuar.SpectralCraft.SpectralCraft.preInit(SpectralCraft.java:94) ~[bin/:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
                at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[forgeSrc-1.7.10-10.13.2.1231.jar:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) ~[forgeSrc-1.7.10-10.13.2.1231.jar:?]
                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) ~[forgeSrc-1.7.10-10.13.2.1231.jar:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
                at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
                at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
                at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) [LoadController.class:?]
                at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) [Loader.class:?]
                at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) [FMLClientHandler.class:?]
                at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) [Minecraft.class:?]
                at net.minecraft.client.Minecraft.run(Minecraft.java:931) [Minecraft.class:?]
                at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
                at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
                at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
                at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
                at GradleStart.bounce(GradleStart.java:107) [start/:?]
                at GradleStart.startClient(GradleStart.java:100) [start/:?]
                at GradleStart.main(GradleStart.java:55) [start/:?]
                [18:01:39] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
                // Sorry :(
                
                Time: 31/10/14 18:01
                Description: Initializing game
                
                java.lang.NullPointerException: Initializing game
                at net.minecraftforge.fluids.BlockFluidBase.<init>(BlockFluidBase.java:60)
                at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:27)
                at com.google.Portuar.SpectralCraft.common.block.BlockSpectralFluid.<init>(BlockSpectralFluid.java:19)
                at com.google.Portuar.SpectralCraft.SpectralCraft.preInit(SpectralCraft.java:94)
                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:513)
                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:208)
                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
                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:118)
                at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)
                at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
                at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
                at net.minecraft.client.Minecraft.run(Minecraft.java:931)
                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 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 GradleStart.bounce(GradleStart.java:107)
                at GradleStart.startClient(GradleStart.java:100)
                at GradleStart.main(GradleStart.java:55)
                
                A detailed walkthrough of the error, its code path and all known details is as follows:
                ---------------------------------------------------------------------------------------
                
                -- Head --
                Stacktrace:
                at net.minecraftforge.fluids.BlockFluidBase.<init>(BlockFluidBase.java:60)
                at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:27)
                at com.google.Portuar.SpectralCraft.common.block.BlockSpectralFluid.<init>(BlockSpectralFluid.java:19)
                at com.google.Portuar.SpectralCraft.SpectralCraft.preInit(SpectralCraft.java:94)
                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:513)
                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:208)
                at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
                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:118)
                at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513)
                at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239)
                at net.minecraft.client.Minecraft.startGame(Minecraft.java:522)
                
                -- Initialization --
                Details:
                Stacktrace:
                at net.minecraft.client.Minecraft.run(Minecraft.java:931)
                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 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 GradleStart.bounce(GradleStart.java:107)
                at GradleStart.startClient(GradleStart.java:100)
                at GradleStart.main(GradleStart.java:55)
                
                -- System Details --
                Details:
                Minecraft Version: 1.7.10
                Operating System: Windows 7 (amd64) version 6.1
                Java Version: 1.8.0_25, Oracle Corporation
                Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
                Memory: 922497920 bytes (879 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)
                JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
                AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
                FML: MCP v9.05 FML v7.10.85.1231 Minecraft Forge 10.13.2.1231 4 mods loaded, 4 mods active
                mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
                FML{7.10.85.1231} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1231.jar) Unloaded->Constructed->Pre-initialized
                Forge{10.13.2.1231} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1231.jar) Unloaded->Constructed->Pre-initialized
                Spectralcraft{1.0.0} [Spectral Craft] (bin) Unloaded->Constructed->Errored
                Launched Version: 1.7.10
                LWJGL: 2.9.1
                OpenGL: GeForce GTX 560 Ti/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.11, 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: English (US)
                Profiler Position: N/A (disabled)
                Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
                Anisotropic Filtering: Off (1)
                [18:01:39] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@!@# Game crashed! Crash report saved to: #@!@# D:\Desktop\SpectralCraft\eclipse\.\crash-reports\crash-2014-10-31_18.01.39-client.txt
                Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
                
                ```</init></init></init></init></init></init></init></init></init>
                1 réponse Dernière réponse Répondre Citer 0
                • robin4002R Hors-ligne
                  robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                  dernière édition par

                  Tu as bien changé sur les deux endroits ?
                  Car ça crash toujours sur :
                          this.fluidName = fluid.getName();
                  de la classe BlockFluidBase, donc ton fluide est toujours null …

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

                    Ouai j’ai changé partout sur regarde :

                    ​spectral = new Fluid("spectralFluid").setDensity(4000).setViscosity(500).setTemperature(286).setLuminosity(10).setUnlocalizedName("spectralFluid");
                    
                    FluidRegistry.registerFluid(spectral);
                    spectral = FluidRegistry.getFluid("spectralFluid");
                    
                    blockSpectralFluid = new BlockSpectralFluid(spectral, Material.water).setBlockName("blockSpectralFluid");
                    GameRegistry.registerBlock(blockSpectralFluid, "blockSpectralFluid");
                    spectral.setBlock(blockSpectralFluid);
                    
                    package com.google.Portuar.SpectralCraft.common;
                    
                    import net.minecraft.block.Block;
                    import net.minecraft.item.ItemStack;
                    import net.minecraftforge.client.event.TextureStitchEvent;
                    import net.minecraftforge.event.entity.player.FillBucketEvent;
                    
                    import com.google.Portuar.SpectralCraft.SpectralCraft;
                    
                    import cpw.mods.fml.common.eventhandler.SubscribeEvent;
                    import cpw.mods.fml.relauncher.Side;
                    import cpw.mods.fml.relauncher.SideOnly;
                    
                    public class FluidEvent {
                    
                    @SubscribeEvent
                    public void onBucketFill(FillBucketEvent event)
                    {
                    Block id = event.world.getBlock(event.target.blockX, event.target.blockY, event.target.blockZ);
                    int metadata = event.world.getBlockMetadata(event.target.blockX, event.target.blockY, event.target.blockZ);
                    if(id == SpectralCraft.blockSpectralFluid && metadata == 0)
                    {
                    event.world.setBlockToAir(event.target.blockX, event.target.blockY, event.target.blockZ);
                    event.result = new ItemStack(SpectralCraft.bucketSpectralFluid);
                    }
                    }
                    
                    @SubscribeEvent
                    @SideOnly(Side.CLIENT)
                    public void onPostTextureStitch(TextureStitchEvent.Post event)
                    {
                    if(event.map.getTextureType() == 0)
                    {
                    
                    SpectralCraft.spectral.setIcons(SpectralCraft.blockSpectralFluid.getBlockTextureFromSide(1), SpectralCraft.blockSpectralFluid.getBlockTextureFromSide(2));
                    
                    }
                    }
                    }
                    
                    
                    1 réponse Dernière réponse Répondre Citer 0
                    • robin4002R Hors-ligne
                      robin4002 Moddeurs confirmés Rédacteurs Administrateurs
                      dernière édition par

                      ……
                      Tu n’as pas changé ce qui fallait changer.
                      new Fluid(“spectralFluid”)
                      ->
                      new Fluid(“spectral”)

                      spectral = FluidRegistry.getFluid(“spectralFluid”);
                      ->
                      spectral = FluidRegistry.getFluid(“spectral”);

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

                        Bon c’est fait mais sa crash encore :S

                        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

                          Encore le même crash ?

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

                            Non ici ils disent que l’erreur vient de

                            FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack("spectralFluid", FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucketSpectralFluid), FluidContainerRegistry.EMPTY_BUCKET);
                            
                            
                            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

                              remplace

                              "spectralFluid"
                              

                              par

                              "spectral"
                              
                              1 réponse Dernière réponse Répondre Citer 0
                              • P Hors-ligne
                                Portuar
                                dernière édition par

                                Oui merci beaucoup j’avais vraiment pas vue… Désolé pour le dérangement c’était idiot

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

                                  Tuto toujours valide en 1.8 ?

                                  Membre fantôme
                                  Je développe maintenant un jeu sur UnrealEngine4


                                  Contact :…

                                  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

                                    Pas du tout.

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

                                      Snif Snif…

                                      Possible d’avoir un tuto en 1.8 ?
                                      Sur un autre site, ou sur MFF
                                      C’est pas trop urgent, c’est pour les labos qui spawneront aléatoirement, et il y aura des tubes rempli de formol, ou autre choses.
                                      Je pense pas inclure les labos GalraTech dans sa première version, mais c’est bien de l’avoir direct quoi 🙂

                                      Membre fantôme
                                      Je développe maintenant un jeu sur UnrealEngine4


                                      Contact :…

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

                                        Il existe un tuto en 1.7 mais je ne suis pas sur qu’il marche non plus en 1.8 ( Mais pour ceux qui sont en 1.7 et qui le veulent )

                                        http://www.minecraftforge.net/wiki/Create_a_Fluid

                                        Oui ce gif est drôle.

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

                                          @‘Legrandfifou’:

                                          Il existe un tuto en 1.7 mais je ne suis pas sur qu’il marche non plus en 1.8 ( Mais pour ceux qui sont en 1.7 et qui le veulent )

                                          http://www.minecraftforge.net/wiki/Create_a_Fluid

                                          ton lien marche plus 😞

                                          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

                                            Oui le wiki de forge a été supprimé.
                                            Tu cherches à faire un fluide en quelle version ?

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

                                            MINECRAFT FORGE FRANCE © 2024

                                            Powered by NodeBB