MFF

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

    Baton et item de reparation et GUI

    Planifier Épinglé Verrouillé Déplacé Sans suite
    1.7.10
    41 Messages 7 Publieurs 7.8k 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.
    • YeyvoY Hors-ligne
      Yeyvo
      dernière édition par

      [13:45:22] [main/INFO] [GradleStart]: username: Yeyvo
      [13:45:22] [main/INFO] [GradleStart]: Extra: []
      [13:45:22] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/SUNABELKEK/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --username, Yeyvo, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
      [13:45:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [13:45:22] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
      [13:45:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
      [13:45:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
      [13:45:22] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
      [13:45:22] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_91, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre1.8.0_91
      [13:45:23] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
      [13:45:23] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
      [13:45:23] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
      [13:45:23] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
      [13:45:23] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [13:45:23] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [13:45:23] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
      [13:45:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [13:45:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
      [13:45:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [13:45:23] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
      [13:45:26] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
      [13:45:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
      [13:45:26] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
      [13:45:27] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
      [13:45:27] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
      [13:45:27] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
      [13:45:27] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
      [13:45:29] [main/INFO]: Setting user: Yeyvo
      [13:45:31] [Client thread/INFO]: LWJGL Version: 2.9.1
      [13:45:36] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: –-- Minecraft Crash Report ----
      // But it works on my machine.
      
      Time: 01/05/16 13:45
      Description: Loading screen debug info
      
      This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- System Details --
      Details:
      Minecraft Version: 1.7.10
      Operating System: Windows 7 (x86) version 6.1
      Java Version: 1.8.0_91, Oracle Corporation
      Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
      Memory: 967230008 bytes (922 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
      JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
      AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
      IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
      FML: 
      GL info: ' Vendor: 'Intel' Version: '3.1.0 - Build 9.17.10.3347' Renderer: 'Intel(R) HD Graphics 3000'
      [13:45:36] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
      [13:45:36] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
      [13:45:36] [Client thread/INFO] [FML]: Replaced 183 ore recipies
      [13:45:36] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
      [13:45:36] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
      [13:45:36] [Client thread/INFO] [FML]: Searching C:\Users\SUNABELKEK\Desktop\forge\eclipse\mods for mods
      [13:45:54] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
      [13:45:55] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, paladium] at CLIENT
      [13:45:55] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, paladium] at SERVER
      [13:45:56] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Paladium
      [13:45:56] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
      [13:45:56] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
      [13:45:56] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
      [13:45:56] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
      [13:45:56] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
      [13:45:56] [Client thread/INFO] [FML]: Applying holder lookups
      [13:45:56] [Client thread/INFO] [FML]: Holder lookups applied
      [13:45:56] [Client thread/INFO] [FML]: Injecting itemstacks
      [13:45:56] [Client thread/INFO] [FML]: Itemstack injection complete
      [13:45:56] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:45:56] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
      [13:45:57] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
      [13:45:57] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
      [13:45:57] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
      [13:45:57] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:45:57] [Sound Library Loader/INFO]: Sound engine started
      [13:46:02] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
      [13:46:02] [Client thread/INFO]: Created: 16x16 textures/items-atlas
      [13:46:02] [Client thread/INFO] [STDOUT]: [ma.Yeyvo.Paladium.Proxy.ClientProxy:registerRender:9]: methode cot� client
      [13:46:02] [Client thread/INFO] [FML]: Injecting itemstacks
      [13:46:02] [Client thread/INFO] [FML]: Itemstack injection complete
      [13:46:02] [Client thread/INFO] [FML]:   Unknown recipe class! ma.Yeyvo.Paladium.common.recipe.recipemachine Modder please refer to net.minecraftforge.oredict.RecipeSorter
      [13:46:02] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
      [13:46:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Paladium
      [13:46:03] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
      [13:46:04] [Client thread/INFO]: Created: 512x256 textures/items-atlas
      [13:46:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:46:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
      [13:46:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
      [13:46:04] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:46:04] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:46:04] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
      [13:46:04] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
      [13:46:04] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
      [13:46:04] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
      [13:46:05] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:46:05] [Sound Library Loader/INFO]: Sound engine started
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:   DOMAIN minecraft
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: –------------------------------------------------
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:   domain minecraft is missing 1 texture
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:     domain minecraft has 3 locations:
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:       mod FML resources at C:\Users\SUNABELKEK\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1558-1.7.10\forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:       mod Forge resources at C:\Users\SUNABELKEK\.gradle\caches\minecraft\net\minecraftforge\forge\1.7.10-10.13.4.1558-1.7.10\forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:     The missing resources for domain minecraft are:
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:       textures/blocks/MISSING_ICON_BLOCK_178_MachinePala.png
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: –-----------------------
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:     No other errors exist for domain minecraft
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
      [13:46:19] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
      [13:46:19] [Server thread/INFO]: Generating keypair
      [13:46:19] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
      [13:46:19] [Server thread/INFO] [FML]: Applying holder lookups
      [13:46:19] [Server thread/INFO] [FML]: Holder lookups applied
      [13:46:19] [Server thread/INFO] [FML]: Loading dimension 0 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@5ccaf4)
      [13:46:19] [Server thread/INFO] [FML]: Loading dimension 1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@5ccaf4)
      [13:46:19] [Server thread/INFO] [FML]: Loading dimension -1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@5ccaf4)
      [13:46:19] [Server thread/INFO]: Preparing start region for level 0
      [13:46:20] [Server thread/INFO]: Preparing spawn area: 18%
      [13:46:22] [Server thread/INFO]: Changing view distance to 2, from 10
      [13:46:25] [Server thread/INFO]: Stopping server
      [13:46:25] [Server thread/INFO]: Saving players
      [13:46:25] [Server thread/INFO]: Saving worlds
      [13:46:25] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
      [13:46:26] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
      [13:46:26] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
      [13:46:26] [Server thread/INFO] [FML]: Unloading dimension 0
      [13:46:26] [Server thread/INFO] [FML]: Unloading dimension -1
      [13:46:26] [Server thread/INFO] [FML]: Unloading dimension 1
      [13:46:26] [Server thread/INFO] [FML]: Applying holder lookups
      [13:46:26] [Server thread/INFO] [FML]: Holder lookups applied
      [13:46:26] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
      [13:46:26] [Server thread/INFO]: Generating keypair
      [13:46:27] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
      [13:46:27] [Server thread/INFO] [FML]: Applying holder lookups
      [13:46:27] [Server thread/INFO] [FML]: Holder lookups applied
      [13:46:27] [Server thread/INFO] [FML]: Loading dimension 0 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@34f899)
      [13:46:27] [Server thread/INFO] [FML]: Loading dimension 1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@34f899)
      [13:46:27] [Server thread/INFO] [FML]: Loading dimension -1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@34f899)
      [13:46:27] [Server thread/INFO]: Preparing start region for level 0
      [13:46:28] [Server thread/INFO]: Preparing spawn area: 94%
      [13:46:28] [Server thread/INFO]: Changing view distance to 2, from 10
      [13:46:28] [Netty Client IO #1/INFO] [FML]: Server protocol version 2
      [13:46:28] [Netty IO #3/INFO] [FML]: Client protocol version 2
      [13:46:28] [Netty IO #3/INFO] [FML]: Client attempting to join with 4 mods : paladium@1.0.0,FML@7.10.99.99,Forge@10.13.4.1558,mcp@9.05
      [13:46:28] [Netty IO #3/INFO] [FML]: Attempting connection with missing mods [] at CLIENT
      [13:46:28] [Netty Client IO #1/INFO] [FML]: Attempting connection with missing mods [] at SERVER
      [13:46:28] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established
      [13:46:28] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
      [13:46:28] [Server thread/INFO]: Yeyvo[local:E:5f3e9f75] logged in with entity id 512 at (-198.95641604416977, 71.0, -231.00564216912252)
      [13:46:28] [Server thread/INFO]: Yeyvo a rejoint la partie
      [13:47:23] [Server thread/INFO]: Saving and pausing game…
      [13:47:23] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
      [13:47:23] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
      [13:47:23] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
      [13:47:24] [Server thread/INFO]: Stopping server
      [13:47:24] [Server thread/INFO]: Saving players
      [13:47:24] [Server thread/INFO]: Saving worlds
      [13:47:24] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Overworld
      [13:47:24] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/Nether
      [13:47:24] [Server thread/INFO]: Saving chunks for level 'Nouveau monde'/The End
      [13:47:24] [Server thread/INFO] [FML]: Unloading dimension 0
      [13:47:24] [Server thread/INFO] [FML]: Unloading dimension -1
      [13:47:24] [Server thread/INFO] [FML]: Unloading dimension 1
      [13:47:24] [Server thread/INFO] [FML]: Applying holder lookups
      [13:47:25] [Server thread/INFO] [FML]: Holder lookups applied
      [13:47:25] [Client thread/INFO]: Stopping!
      [13:47:25] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      [13:47:25] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
      [13:47:25] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
      [13:47:25] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
      Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
      
      

      [13:46:08] [Client thread/ERROR] [TEXTURE ERRORS]:       The missing resources for domain minecraft  are:            textures/blocks/MISSING_ICON_BLOCK_178_MachinePala.png

      voila les logs

      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

        public void registerIcons(IIconRegister iiconRegister)
        ->
        public void registerBlockIcons(IIconRegister iiconRegister)

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

          **Le serveur crash aussi **(il souvre pendans 10 seconde et crash)

          [16:08:10] [main/INFO] [GradleStart]: Extra: []
          [16:08:10] [main/INFO] [GradleStart]: Running with arguments: [–tweakClass, cpw.mods.fml.common.launcher.FMLServerTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
          [16:08:11] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
          [16:08:11] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker
          [16:08:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
          [16:08:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker
          [16:08:11] [main/INFO] [FML]: Forge Mod Loader version 7.99.36.1558 for Minecraft 1.7.10 loading
          [16:08:11] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.8.0_91, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre1.8.0_91
          [16:08:11] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
          [16:08:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
          [16:08:12] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
          [16:08:12] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
          [16:08:12] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          [16:08:12] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
          [16:08:12] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
          [16:08:12] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          [16:08:12] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
          [16:08:12] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
          [16:08:12] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
          [16:08:14] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
          [16:08:14] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
          [16:08:14] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
          [16:08:15] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
          [16:08:15] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
          [16:08:15] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
          [16:08:15] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
          [16:08:25] [main/WARN] [FML]: =============================================================
          [16:08:25] [main/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
          [16:08:25] [main/WARN] [FML]: Offendor: net/minecraft/server/gui/MinecraftServerGui$1.windowClosing(Ljava/awt/event/WindowEvent;)V
          [16:08:25] [main/WARN] [FML]: Use FMLCommonHandler.exitJava instead
          [16:08:25] [main/WARN] [FML]: =============================================================
          [16:08:25] [Server thread/INFO]: Starting minecraft server version 1.7.10
          [16:08:25] [Server thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
          [16:08:25] [Server thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
          [16:08:25] [Server thread/INFO] [FML]: Replaced 183 ore recipies
          [16:08:26] [Server thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
          [16:08:26] [Server thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
          [16:08:26] [Server thread/INFO] [FML]: Searching C:\Users\SUNABELKEK\Desktop\forge\eclipse\mods for mods
          [16:08:38] [Server thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
          [16:08:38] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, paladium] at CLIENT
          [16:08:38] [Server thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, paladium] at SERVER
          [16:08:38] [Server thread/ERROR] [FML]: An error occured trying to load a proxy into {serverSide=ma.Yeyvo.Paladium.proxy.CommonProxy, clientSide=ma.Yeyvo.Paladium.Proxy.ClientProxy}.ma.Yeyvo.Paladium.common.ModPaladium
          java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.CommonProxy
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
          at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) [ProxyInjector.class:?]
          at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512) [FMLModContainer.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
          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:212) [LoadController.class:?]
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) [LoadController.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
          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:119) [LoadController.class:?]
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) [Loader.class:?]
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) [FMLServerHandler.class:?]
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) [FMLCommonHandler.class:?]
          at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
          at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
          Caused by: java.lang.NoClassDefFoundError: ma/Yeyvo/Paladium/proxy/CommonProxy (wrong name: ma/Yeyvo/Paladium/Proxy/CommonProxy)
          at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91]
          at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91]
          at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91]
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
          … 34 more
          [16:08:38] [Server thread/ERROR] [FML]: Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue
          [16:08:38] [Server thread/ERROR] [FML]: 
          States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
          UC mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
          UC FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
          UC Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
          UE paladium{1.0.0} [Paladium] (bin) 
          [16:08:38] [Server thread/ERROR] [FML]: The following problems were captured during this phase
          [16:08:38] [Server thread/ERROR] [FML]: Caught exception from paladium
          cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.CommonProxy
          
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76) ~[ProxyInjector.class:?]
          at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512) ~[FMLModContainer.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
          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:212) ~[LoadController.class:?]
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
          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:119) [LoadController.class:?]
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) [Loader.class:?]
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) [FMLServerHandler.class:?]
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) [FMLCommonHandler.class:?]
          at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) [DedicatedServer.class:?]
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
          at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
          Caused by: java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.CommonProxy
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
          at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ~[ProxyInjector.class:?]
          … 28 more
          Caused by: java.lang.NoClassDefFoundError: ma/Yeyvo/Paladium/proxy/CommonProxy (wrong name: ma/Yeyvo/Paladium/Proxy/CommonProxy)
          at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91]
          at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91]
          at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91]
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
          at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ~[ProxyInjector.class:?]
          … 28 more
          [16:08:38] [Server thread/ERROR]: Encountered an unexpected exception
          cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.CommonProxy
          
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76) ~[ProxyInjector.class:?]
          at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:512) ~[FMLModContainer.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
          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:212) ~[LoadController.class:?]
          at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[LoadController.class:?]
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_91]
          at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_91]
          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:119) ~[LoadController.class:?]
          at cpw.mods.fml.common.Loader.loadMods(Loader.java:513) ~[Loader.class:?]
          at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87) ~[FMLServerHandler.class:?]
          at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:314) ~[FMLCommonHandler.class:?]
          at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:120) ~[DedicatedServer.class:?]
          at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
          at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
          Caused by: java.lang.ClassNotFoundException: ma.Yeyvo.Paladium.proxy.CommonProxy
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191) ~[launchwrapper-1.12.jar:?]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
          at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ~[ProxyInjector.class:?]
          … 28 more
          Caused by: java.lang.NoClassDefFoundError: ma/Yeyvo/Paladium/proxy/CommonProxy (wrong name: ma/Yeyvo/Paladium/Proxy/CommonProxy)
          at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_91]
          at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91]
          at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_91]
          at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:182) ~[launchwrapper-1.12.jar:?]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58) ~[ModClassLoader.class:?]
          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_91]
          at java.lang.Class.forName(Unknown Source) ~[?:1.8.0_91]
          at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59) ~[ProxyInjector.class:?]
          … 28 more
          [16:08:38] [Server thread/ERROR]: This crash report has been saved to: C:\Users\SUNABELKEK\Desktop\forge\eclipse\.\crash-reports\crash-2016-05-01_16.08.38-server.txt
          [16:08:38] [Server thread/WARN] [FML]: Can't revert to frozen GameData state without freezing first.
          [16:08:38] [Server thread/INFO] [FML]: Applying holder lookups
          [16:08:38] [Server thread/INFO] [FML]: Holder lookups applied
          [16:08:38] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state SERVER_STOPPED. Errors may have been discarded.
          [16:08:38] [Server thread/INFO] [FML]: The state engine was in incorrect state ERRORED and forced into state AVAILABLE. Errors may have been discarded.
          Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
          
          

          Mon common Proxy

          package ma.Yeyvo.Paladium.Proxy;
          
          public class CommonProxy 
          {    
          public CommonProxy()
              {
              }    
          
          public void registerRender()
          {
          System.out.println("methode coté serveur");
          }
          }
          
          

          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

            Le chemin que tu as indiqué dans ta classe principale pour le common proxy est invalide.

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

              ah oui  au lieu d’un ‘P’ j’ai mis un ‘p’

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

                Yo les gens ,
                Je me permet de revenir sur se sujet car je me suis rendu compte que ma machine ne prenait pas en compte les métadata donc une fois de plusse je me tourne vers vous (ce seras la dernier aprés vous ne me donerais plus de code promi  😉 )

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

                  J’ai remarqué il y a peu qu’il y avait des erreurs dans le tutoriel, envoi ta classe avec les recettes et la TileEntity si tu veux que je le corrige 😉

                  Site web contenant mes scripts : http://SCAREXgaming.github.io

                  Pas de demandes de support par MP ni par skype SVP.
                  Je n'accepte sur skype que l…

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

                    MachineRecipes

                    public class MachineRecipes
                    {
                    
                        public MachineRecipes()
                        {
                            smeltingList = new HashMap();
                            addRecipe(ModPaladium.PaladiumOre, ModPaladium.Paladiumbloc, ModPaladium.Paladiumbloc, ModPaladium.Paladiumbloc, ModPaladium.Paladiumbloc, new ItemStack(ModPaladium.smallring, 1));
                            addRecipe(ModPaladium.smallring, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, new ItemStack(ModPaladium.mediumring, 1));
                            addRecipe(ModPaladium.mediumring, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, new ItemStack(ModPaladium.bigring, 1));
                            addRecipe(ModPaladium.smallring, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.smallring, 1));
                            addRecipe(ModPaladium.mediumring, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.mediumring, 1));
                            addRecipe(ModPaladium.bigring, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.bigring, 1));
                            addRecipe(ModPaladium.orbeheal, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.healstick, 1));
                            addRecipe(ModPaladium.orbeheal, ModPaladium.orbeheal, ModPaladium.orbeheal, ModPaladium.orbeheal, ModPaladium.orbeheal, new ItemStack(ModPaladium.superhealstick, 1));
                            addRecipe(ModPaladium.orbespeed, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.speedstick, 1));
                            addRecipe(ModPaladium.orbestrength, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.strengthstick, 1));
                            addRecipe(ModPaladium.orbejump, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.jumpstick, 1));
                            addRecipe(ModPaladium.CompressPaladium, ModPaladium.strengthstick, ModPaladium.speedstick, ModPaladium.healstick, ModPaladium.findium, new ItemStack(ModPaladium.StickOfGod, 1));
                        }
                    
                        public void addRecipe(ItemStack stack1, ItemStack stack2, ItemStack stack3, ItemStack stack4, ItemStack stack5, ItemStack stack)
                        {
                            ItemStack stackList[] = {
                                stack1, stack2, stack3, stack4, stack5
                            };
                            smeltingList.put(stackList, stack);
                        }
                    
                        public void addRecipe(Item item1, Block item2, Item item3, Block item4, Item item5, ItemStack stack)
                        {
                            addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                        }
                    
                        public void addRecipe(Item item1, Item item2, Item item3, Item item4, Item item5, ItemStack stack)
                        {
                            addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                        }
                    
                        public void addRecipe(Block item1, Block item2, Item item3, Block item4, Block item5, ItemStack stack)
                        {
                            addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                        }
                    
                        public void addRecipe(Item item1, Block item2, Block item3, Block item4, Block item5, ItemStack stack)
                        {
                            addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                        }
                    
                        public ItemStack getSmeltingResult(ItemStack stack[])
                        {
                            Iterator iterator = smeltingList.entrySet().iterator();
                            java.util.Map.Entry entry;
                            do
                            {
                                if(!iterator.hasNext())
                                    return null;
                                entry = (java.util.Map.Entry)iterator.next();
                            } while(!isSameKey(stack, (ItemStack[])(ItemStack[])entry.getKey()));
                            return (ItemStack)entry.getValue();
                        }
                    
                        private boolean isSameKey(ItemStack stackList[], ItemStack stackList2[])
                        {
                            boolean isSame = false;
                            for(int i = 0; i <= 4; i++)
                                if(stackList*.getItem() == stackList2*.getItem())
                                    isSame = true;
                                else
                                    return false;
                    
                            return isSame;
                        }
                    
                        public Map getSmeltingList()
                        {
                            return smeltingList;
                        }
                    
                        public static MachineRecipes smelting()
                        {
                            return smeltingBase;
                        }
                    
                        private static final MachineRecipes smeltingBase = new MachineRecipes();
                        private Map smeltingList;
                    
                    

                    **TileEntityMachinePala **

                    public class TileEntityMachinePala extends TileEntity
                    implements IInventory
                    {
                    
                        public TileEntityMachinePala()
                        {
                            contents = new ItemStack[6];
                            workingTime = 0;
                            workingTimeNeeded = 200;
                        }
                        @Override
                        public void writeToNBT(NBTTagCompound compound)
                        {
                        super.writeToNBT(compound);
                            NBTTagList nbttaglist = new NBTTagList();
                            for(int i = 0; i < contents.length; i++)
                                if(contents* != null)
                                {
                                    NBTTagCompound nbttagcompound1 = new NBTTagCompound();
                                    nbttagcompound1.setByte("Slot", (byte)i);
                                    contents*.writeToNBT(nbttagcompound1);
                                    nbttaglist.appendTag(nbttagcompound1);
                                }
                    
                            compound.setTag("Items", nbttaglist);
                            compound.setShort("workingTime", (short)workingTime);
                            compound.setShort("workingTimeNeeded", (short)workingTimeNeeded);
                        }
                    
                        public int getCookProgress()
                        {
                            return (workingTime * 16) / workingTimeNeeded;
                        }
                        @Override
                        public void readFromNBT(NBTTagCompound compound)
                        {
                            super.readFromNBT(compound);
                            NBTTagList nbttaglist = compound.getTagList("Items", 10);
                            contents = new ItemStack[getSizeInventory()];
                            for(int i = 0; i < nbttaglist.tagCount(); i++)
                            {
                                NBTTagCompound nbttagcompound1 = nbttaglist.getCompoundTagAt(i);
                                int j = nbttagcompound1.getByte("Slot");
                                if(j >= 0 && j < contents.length)
                                    contents[j] = ItemStack.loadItemStackFromNBT(nbttagcompound1);
                            }
                    
                            workingTime = compound.getShort("workingTime");
                            workingTimeNeeded = compound.getShort("workingTimeNeeded");
                        }
                        @Override
                        public int getSizeInventory()
                        {
                            return contents.length;
                        }
                        @Override
                        public ItemStack getStackInSlot(int slotIndex)
                        {
                            return contents[slotIndex];
                        }
                        @Override
                        public ItemStack decrStackSize(int slotIndex, int amount)
                        {
                            if(contents[slotIndex] != null)
                            {
                                ItemStack itemstack;
                                if(contents[slotIndex].stackSize <= amount)
                                {
                                    itemstack = contents[slotIndex];
                                    contents[slotIndex] = null;
                                    markDirty();
                                    return itemstack;
                                }
                                itemstack = contents[slotIndex].splitStack(amount);
                                if(contents[slotIndex].stackSize == 0)
                                    contents[slotIndex] = null;
                                markDirty();
                                return itemstack;
                            } else
                            {
                                return null;
                            }
                        }
                        @Override
                        public ItemStack getStackInSlotOnClosing(int slotIndex)
                        {
                            if(contents[slotIndex] != null)
                            {
                                ItemStack itemstack = contents[slotIndex];
                                contents[slotIndex] = null;
                                return itemstack;
                            } else
                            {
                                return null;
                            }
                        }
                        @Override
                        public void setInventorySlotContents(int slotIndex, ItemStack stack)
                        {
                            contents[slotIndex] = stack;
                            if(stack != null && stack.stackSize > getInventoryStackLimit())
                                stack.stackSize = getInventoryStackLimit();
                            markDirty();
                        }
                        @Override
                        public String getInventoryName()
                        {
                            return "tile.Machinetuto";
                        }
                        @Override
                        public boolean hasCustomInventoryName()
                        {
                            return false;
                        }
                        @Override
                        public int getInventoryStackLimit()
                        {
                            return 64;
                        }
                        @Override
                        public boolean isUseableByPlayer(EntityPlayer player)
                        {
                            return worldObj.getTileEntity(xCoord, yCoord, zCoord) == this ? player.getDistanceSq((double)xCoord + 0.5D, (double)yCoord + 0.5D, (double)zCoord + 0.5D) <= 64D : false;
                        }
                        @Override
                        public void openInventory()
                        {
                        }
                        @Override
                        public void closeInventory()
                        {
                        }
                        @Override
                        public boolean isItemValidForSlot(int slot, ItemStack stack)
                        {
                            return slot != 5;
                        }
                    
                        public boolean isBurning()
                        {
                            return workingTime > 0;
                        }
                    
                        private boolean canSmelt()
                        {
                            if(contents[0] == null || contents[1] == null || contents[2] == null || contents[3] == null || contents[4] == null)
                                return false;
                            ItemStack itemstack = MachineRecipes.smelting().getSmeltingResult(new ItemStack[] {
                                contents[0], contents[1], contents[2], contents[3], contents[4]
                            });
                            if(itemstack == null)
                                return false;
                            if(contents[5] == null)
                                return true;
                            if(!contents[5].isItemEqual(itemstack))
                            {
                                return false;
                            } else
                            {
                                int result = contents[5].stackSize + itemstack.stackSize;
                                return result <= getInventoryStackLimit() && result <= contents[5].getMaxStackSize();
                            }
                        }
                    
                        public void updateEntity()
                        {
                            if(isBurning() && canSmelt())
                                workingTime++;
                            if(canSmelt() && !isBurning())
                                workingTime = 1;
                            if(canSmelt() && workingTime == workingTimeNeeded)
                            {
                                smeltItem();
                                workingTime = 0;
                            }
                            if(!canSmelt())
                                workingTime = 0;
                        }
                    
                        public void smeltItem()
                        {
                            if(canSmelt())
                            {
                                ItemStack itemstack = MachineRecipes.smelting().getSmeltingResult(new ItemStack[] {
                                    contents[0], contents[1], contents[2], contents[3], contents[4]
                                });
                                if(contents[5] == null)
                                    contents[5] = itemstack.copy();
                                else
                                if(contents[5].getItem() == itemstack.getItem())
                                    contents[5].stackSize += itemstack.stackSize;
                                contents[0].stackSize–;
                                contents[1].stackSize–;
                                contents[2].stackSize–;
                                contents[3].stackSize–;
                                contents[4].stackSize–;
                                if(contents[0].stackSize <= 0)
                                    contents[0] = null;
                                if(contents[1].stackSize <= 0)
                                    contents[1] = null;
                                if(contents[2].stackSize <= 0)
                                    contents[2] = null;
                                if(contents[3].stackSize <= 0)
                                    contents[3] = null;
                                if(contents[4].stackSize <= 0)
                                    contents[4] = null;
                            }
                        }
                    
                        private ItemStack contents[];
                        private int workingTime;
                        private int workingTimeNeeded;
                    
                    }
                    
                    

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

                      Voilà les classes corrigées :

                      public class MachineRecipes
                      {
                      
                      public MachineRecipes()
                      {
                      smeltingList = new HashMap<itemstack[], itemstack="">();
                      addRecipe(ModPaladium.PaladiumOre, ModPaladium.Paladiumbloc, ModPaladium.Paladiumbloc, ModPaladium.Paladiumbloc, ModPaladium.Paladiumbloc, new ItemStack(ModPaladium.smallring, 1));
                      addRecipe(ModPaladium.smallring, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, new ItemStack(ModPaladium.mediumring, 1));
                      addRecipe(ModPaladium.mediumring, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, ModPaladium.CompressPaladium, new ItemStack(ModPaladium.bigring, 1));
                      addRecipe(ModPaladium.smallring, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.smallring, 1));
                      addRecipe(ModPaladium.mediumring, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.mediumring, 1));
                      addRecipe(ModPaladium.bigring, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.bigring, 1));
                      addRecipe(ModPaladium.orbeheal, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.healstick, 1));
                      addRecipe(ModPaladium.orbeheal, ModPaladium.orbeheal, ModPaladium.orbeheal, ModPaladium.orbeheal, ModPaladium.orbeheal, new ItemStack(ModPaladium.superhealstick, 1));
                      addRecipe(ModPaladium.orbespeed, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.speedstick, 1));
                      addRecipe(ModPaladium.orbestrength, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.strengthstick, 1));
                      addRecipe(ModPaladium.orbejump, ModPaladium.stickpala, ModPaladium.PaladiumOre, ModPaladium.stickpala, ModPaladium.PaladiumOre, new ItemStack(ModPaladium.jumpstick, 1));
                      addRecipe(ModPaladium.CompressPaladium, ModPaladium.strengthstick, ModPaladium.speedstick, ModPaladium.healstick, ModPaladium.findium, new ItemStack(ModPaladium.StickOfGod, 1));
                      }
                      
                      public void addRecipe(ItemStack stack1, ItemStack stack2, ItemStack stack3, ItemStack stack4, ItemStack stack5, ItemStack stack)
                      {
                      ItemStack stackList[] = {
                      stack1, stack2, stack3, stack4, stack5
                      };
                      smeltingList.put(stackList, stack);
                      }
                      
                      public void addRecipe(Item item1, Block item2, Item item3, Block item4, Item item5, ItemStack stack)
                      {
                      addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                      }
                      
                      public void addRecipe(Item item1, Item item2, Item item3, Item item4, Item item5, ItemStack stack)
                      {
                      addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                      }
                      
                      public void addRecipe(Block item1, Block item2, Item item3, Block item4, Block item5, ItemStack stack)
                      {
                      addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                      }
                      
                      public void addRecipe(Item item1, Block item2, Block item3, Block item4, Block item5, ItemStack stack)
                      {
                      addRecipe(new ItemStack(item1), new ItemStack(item2), new ItemStack(item3), new ItemStack(item4), new ItemStack(item5), stack);
                      }
                      
                      public ItemStack getSmeltingResult(ItemStack stack[])
                      {
                      Iterator iterator = smeltingList.entrySet().iterator();
                      java.util.Map.Entry entry;
                      do
                      {
                      if(!iterator.hasNext())
                      return null;
                      entry = (java.util.Map.Entry)iterator.next();
                      } while(!isSameKey(stack, (ItemStack[])entry.getKey()));
                      return (ItemStack)entry.getValue();
                      }
                      
                      private boolean isSameKey(ItemStack stackList[], ItemStack stackList2[])
                      {
                      for(int i = 0; i <= 4; i++) {
                      if (!stackList*.isItemEqual(stackList2*))
                      return false;
                      }
                      return true;
                      }
                      
                      public Map <itemstack[], itemstack="">getSmeltingList()
                      {
                      return smeltingList;
                      }
                      
                      public static MachineRecipes smelting()
                      {
                      return smeltingBase;
                      }
                      
                      private static final MachineRecipes smeltingBase = new MachineRecipes();
                      private Map <itemstack[], itemstack="">smeltingList;
                      }
                      
                      public class TileEntityMachinePala extends TileEntity
                      implements IInventory
                      {
                      public TileEntityMachinePala()
                      {
                      contents = new ItemStack[6];
                      workingTime = 0;
                      workingTimeNeeded = 200;
                      }
                      @Override
                      public void writeToNBT(NBTTagCompound compound)
                      {
                      super.writeToNBT(compound);
                      NBTTagList nbttaglist = new NBTTagList();
                      for(int i = 0; i < contents.length; i++)
                      if(contents* != null)
                      {
                      NBTTagCompound nbttagcompound1 = new NBTTagCompound();
                      nbttagcompound1.setByte("Slot", (byte)i);
                      contents*.writeToNBT(nbttagcompound1);
                      nbttaglist.appendTag(nbttagcompound1);
                      }
                      
                      compound.setTag("Items", nbttaglist);
                      compound.setShort("workingTime", (short)workingTime);
                      compound.setShort("workingTimeNeeded", (short)workingTimeNeeded);
                      }
                      
                      public int getCookProgress()
                      {
                      return (workingTime * 16) / workingTimeNeeded;
                      }
                      @Override
                      public void readFromNBT(NBTTagCompound compound)
                      {
                      super.readFromNBT(compound);
                      NBTTagList nbttaglist = compound.getTagList("Items", 10);
                      contents = new ItemStack[getSizeInventory()];
                      for(int i = 0; i < nbttaglist.tagCount(); i++)
                      {
                      NBTTagCompound nbttagcompound1 = nbttaglist.getCompoundTagAt(i);
                      int j = nbttagcompound1.getByte("Slot");
                      if(j >= 0 && j < contents.length)
                      contents[j] = ItemStack.loadItemStackFromNBT(nbttagcompound1);
                      }
                      
                      workingTime = compound.getShort("workingTime");
                      workingTimeNeeded = compound.getShort("workingTimeNeeded");
                      }
                      @Override
                      public int getSizeInventory()
                      {
                      return contents.length;
                      }
                      @Override
                      public ItemStack getStackInSlot(int slotIndex)
                      {
                      return contents[slotIndex];
                      }
                      @Override
                      public ItemStack decrStackSize(int slotIndex, int amount)
                      {
                      if(contents[slotIndex] != null)
                      {
                      ItemStack itemstack;
                      if(contents[slotIndex].stackSize <= amount)
                      {
                      itemstack = contents[slotIndex];
                      contents[slotIndex] = null;
                      markDirty();
                      return itemstack;
                      }
                      itemstack = contents[slotIndex].splitStack(amount);
                      if(contents[slotIndex].stackSize == 0)
                      contents[slotIndex] = null;
                      markDirty();
                      return itemstack;
                      } else
                      {
                      return null;
                      }
                      }
                      @Override
                      public ItemStack getStackInSlotOnClosing(int slotIndex)
                      {
                      if(contents[slotIndex] != null)
                      {
                      ItemStack itemstack = contents[slotIndex];
                      contents[slotIndex] = null;
                      return itemstack;
                      } else
                      {
                      return null;
                      }
                      }
                      @Override
                      public void setInventorySlotContents(int slotIndex, ItemStack stack)
                      {
                      contents[slotIndex] = stack;
                      if(stack != null && stack.stackSize > getInventoryStackLimit())
                      stack.stackSize = getInventoryStackLimit();
                      markDirty();
                      }
                      @Override
                      public String getInventoryName()
                      {
                      return "tile.Machinetuto";
                      }
                      @Override
                      public boolean hasCustomInventoryName()
                      {
                      return false;
                      }
                      @Override
                      public int getInventoryStackLimit()
                      {
                      return 64;
                      }
                      @Override
                      public boolean isUseableByPlayer(EntityPlayer player)
                      {
                      return worldObj.getTileEntity(xCoord, yCoord, zCoord) == this ? player.getDistanceSq((double)xCoord + 0.5D, (double)yCoord + 0.5D, (double)zCoord + 0.5D) <= 64D : false;
                      }
                      @Override
                      public void openInventory()
                      {
                      }
                      @Override
                      public void closeInventory()
                      {
                      }
                      @Override
                      public boolean isItemValidForSlot(int slot, ItemStack stack)
                      {
                      return slot != 5;
                      }
                      
                      public boolean isBurning()
                      {
                      return workingTime > 0;
                      }
                      
                      private boolean canSmelt()
                      {
                      if(contents[0] == null || contents[1] == null || contents[2] == null || contents[3] == null || contents[4] == null)
                      return false;
                      ItemStack itemstack = MachineRecipes.smelting().getSmeltingResult(new ItemStack[] {
                      contents[0], contents[1], contents[2], contents[3], contents[4]
                      });
                      if(itemstack == null)
                      return false;
                      if(contents[5] == null)
                      return true;
                      if(!contents[5].isItemEqual(itemstack))
                      {
                      return false;
                      } else
                      {
                      int result = contents[5].stackSize + itemstack.stackSize;
                      return result <= getInventoryStackLimit() && result <= contents[5].getMaxStackSize();
                      }
                      }
                      
                      public void updateEntity()
                      {
                      if(isBurning() && canSmelt())
                      workingTime++;
                      if(canSmelt() && !isBurning())
                      workingTime = 1;
                      if(canSmelt() && workingTime == workingTimeNeeded)
                      {
                      smeltItem();
                      workingTime = 0;
                      }
                      if(!canSmelt())
                      workingTime = 0;
                      }
                      
                      public void smeltItem()
                      {
                      if(canSmelt())
                      {
                      ItemStack itemstack = MachineRecipes.smelting().getSmeltingResult(new ItemStack[] {
                      contents[0], contents[1], contents[2], contents[3], contents[4]
                      });
                      if(contents[5] == null)
                      contents[5] = itemstack.copy();
                      else
                      if(contents[5].isItemEqual(itemstack))
                      contents[5].stackSize += itemstack.stackSize;
                      contents[0].stackSize–;
                      contents[1].stackSize–;
                      contents[2].stackSize–;
                      contents[3].stackSize–;
                      contents[4].stackSize–;
                      if(contents[0].stackSize <= 0)
                      contents[0] = null;
                      if(contents[1].stackSize <= 0)
                      contents[1] = null;
                      if(contents[2].stackSize <= 0)
                      contents[2] = null;
                      if(contents[3].stackSize <= 0)
                      contents[3] = null;
                      if(contents[4].stackSize <= 0)
                      contents[4] = null;
                      }
                      }
                      
                      private ItemStack contents[];
                      private int workingTime;
                      private int workingTimeNeeded;
                      
                      }
                      

                      Maintenant, ce que tu as à faire c’est changer les items en ItemStack dans le constructeur et indiquer le metadata de ton item.</itemstack[],></itemstack[],></itemstack[],>

                      Site web contenant mes scripts : http://SCAREXgaming.github.io

                      Pas de demandes de support par MP ni par skype SVP.
                      Je n'accepte sur skype que l…

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

                        encore un petit soucis ici"public boolean hitEntity(ItemStack stack, EntityLivingBase attackedLiving, EntityLivingBase attackerLiving) " ca me dit “Illegal modifier for parameter hitEntity; only final is permitted”

                        public boolean hitEntity(ItemStack stack, EntityLivingBase attackedLiving, EntityLivingBase attackerLiving)   //<–-----juste avant ;D
                                    {
                                if(!stack.hasTagCompound())
                                {
                                stack.setTagCompound(new NBTTagCompound());
                                }
                        
                                IEntitySelector filter;
                        
                                filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityPlayer) // mon sélecteur prend tout les joueurs
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                        
                                filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityMob)// mon sélecteur prend tous les monstres
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                        
                                filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityAnimal) // mon sélecteur prend tous les animaux
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                                }
                                List entityTargetList = attackedLiving.worldObj.selectEntitiesWithinAABB(EntityLivingBase.class, attackedLiving.boundingBox.expand(8.0D, 2.0D, 8.0D), filter);
                                for(Object entity : entityTargetList)
                                {
                                net.minecraft.entity.EntityLivingBase living = (EntityLivingBase)entity; 
                                living.attackEntityFrom(DamageSource.generic, 10.0F); 
                                }
                        

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

                          Indique la ligne dans le commentaires du code, car je vois pas où c’est (peut-être la fatigue qui arrive ^^).

                          Si je vous ai aidé, n'oubliez pas d’être heureux, j'aiderai encore +

                          AymericRed, moddeur expérimenté qui aide sur ce forum et qui peut accepter de faire un mod Forge rémunéré de temps en temps.

                          Mes tutos : Table de craft, plugin NEI, plugin JEI, modifier l'overlay
                          Je suis un membre apprécié et joueur, j'ai déjà obtenu 6 points de réputation.

                          1 réponse Dernière réponse Répondre Citer 0
                          • jglrxavpokJ Hors-ligne
                            jglrxavpok Modérateurs
                            dernière édition par

                            Vérifies que tes accolades sont bien fermées comme il faut, il semblerait que le compileur trouve que ton code est dans une autre méthode, et donc n’accepte pas l’utilisation de ‘public’

                            Modérateur sur MFF. 
                            Mon Github: http://github.com/jglrxavpok
                            Mon compte Steam si vous voulez jouer à CS:GO ou TF2 avec moi: https://steamcommunity.com/id/jglrxavpok/

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

                              Je viens de vérifier l’accolade est bien fermé

                              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

                                Non, une partie du code est en-dehors de la fonction. Formater le code permet de le voir tout de suite.
                                Franchement formatez votre code, sinon c’est illisible.

                                public boolean hitEntity(ItemStack stack, EntityLivingBase attackedLiving, EntityLivingBase attackerLiving) // <–-----juste avant ;D
                                {
                                if(!stack.hasTagCompound())
                                {
                                stack.setTagCompound(new NBTTagCompound());
                                }
                                
                                IEntitySelector filter;
                                
                                filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityPlayer) // mon sélecteur prend tout les joueurs
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                                
                                filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityMob)// mon sélecteur prend tous les monstres
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                                
                                filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityAnimal) // mon sélecteur prend tous les animaux
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                                List entityTargetList = attackedLiving.worldObj.selectEntitiesWithinAABB(EntityLivingBase.class, attackedLiving.boundingBox.expand(8.0D, 2.0D, 8.0D), filter);
                                for(Object entity : entityTargetList)
                                {
                                net.minecraft.entity.EntityLivingBase living = (EntityLivingBase)entity;
                                living.attackEntityFrom(DamageSource.generic, 10.0F);
                                }
                                return true;
                                }
                                

                                Par contre tu cherches à faire quoi exactement ? Car là tu mets un tab nbt qui ne sert à rien et tu as filtre que tu réinitialises 2 fois …
                                Ceci deviendrait au même :

                                public boolean hitEntity(ItemStack stack, EntityLivingBase attackedLiving, EntityLivingBase attackerLiving)
                                {
                                IEntitySelector filter = new IEntitySelector()
                                {
                                @Override
                                public boolean isEntityApplicable(Entity entity)
                                {
                                if(entity instanceof EntityAnimal) // mon sélecteur prend tous les animaux
                                {
                                return true;
                                }
                                return false;
                                }
                                };
                                List entityTargetList = attackedLiving.worldObj.selectEntitiesWithinAABB(EntityLivingBase.class, attackedLiving.boundingBox.expand(8.0D, 2.0D, 8.0D), filter);
                                for(Object entity : entityTargetList)
                                {
                                net.minecraft.entity.EntityLivingBase living = (EntityLivingBase)entity;
                                living.attackEntityFrom(DamageSource.generic, 10.0F);
                                }
                                return true;
                                }
                                

                                mais en moins lourd à exécuter.

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

                                  enfaîte j’ai pris la même fonction que toi bonus “effet sur epée”

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

                                    petit up 
                                    (j’ai toujours la même erreur)

                                    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