Résolu [Multijoueur] Problème de message
-
Bonjour !
Je cherche à faire en sorte qu’un message soit poster dans le tchat en multi-joueur et visible de tous lorsque je casse un bloc spécial
j’ai donc ceci:
public void onBlockDestroyedByPlayer(World par1World, int par2, int par3, int par4, int par5) { if(!par1World.isRemote) { mc.getMinecraft().thePlayer.sendChatMessage(" \u00E0 cass\u00E9 un flamant rose !"); } super.onBlockDestroyedByPlayer(par1World, par2, par3, par4, par5); }
En solo ça fonctionne mais,
Le problème c’est qu’en multi-joueur j’ai un souci quand je casse le bloc le message ne s’affiche pas et,Dans la console il y’a un truc de ticks:
:::
C:\Users\Jean-Baptiste\Desktop\Serveur ViruZ 1.6.4>java -Xmx1024M -jar craftbukk it.jar -o true Considering library net.minecraftforge:minecraftforge:9.11.1.965 Considering library net.minecraft:launchwrapper:1.8 Considering library org.ow2.asm:asm-all:4.1 Considering library org.scala-lang:scala-library:2.10.2 Considering library org.scala-lang:scala-compiler:2.10.2 Considering library lzma:lzma:0.0.1 Considering library net.sf.jopt-simple:jopt-simple:4.5 Considering library com.paulscode:codecjorbis:20101023 Considering library com.paulscode:codecwav:20101023 Considering library com.paulscode:libraryjavasound:20101123 Considering library com.paulscode:librarylwjglopenal:20100824 Considering library com.paulscode:soundsystem:20120107 Considering library org.lwjgl.lwjgl:lwjgl:2.9.0 Considering library org.lwjgl.lwjgl:lwjgl_util:2.9.0 Considering library argo:argo:2.25_fixed Considering library org.bouncycastle:bcprov-jdk15on:1.47 Considering library com.google.guava:guava:14.0 Considering library org.apache.commons:commons-lang3:3.1 Considering library commons-io:commons-io:2.4 Considering library net.java.jinput:jinput:2.0.5 Considering library net.java.jutils:jutils:1.0.0 Considering library com.google.code.gson:gson:2.2.2 Considering library org.lwjgl.lwjgl:lwjgl:2.9.0 Considering library org.lwjgl.lwjgl:lwjgl_util:2.9.0 Considering library org.lwjgl.lwjgl:lwjgl-platform:2.9.0 Considering library org.lwjgl.lwjgl:lwjgl:2.9.1-nightly-20130708-debug3 Considering library org.lwjgl.lwjgl:lwjgl_util:2.9.1-nightly-20130708-debug3 Considering library org.lwjgl.lwjgl:lwjgl-platform:2.9.1-nightly-20130708-debug3 Considering library net.java.jinput:jinput-platform:2.0.5 juin 19, 2014 6:59:58 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Loading tweak class name cpw.mods.fml.common.launcher.FMLServerTweaker juin 19, 2014 6:59:58 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Using primary tweak class name cpw.mods.fml.common.launcher.FMLServerTwea ker juin 19, 2014 6:59:58 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Calling tweak class cpw.mods.fml.common.launcher.FMLServerTweaker 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Ser ver VM, version 1.7.0_60, running on Windows 8.1:amd64:6.3, installed at C:\Prog ram Files\Java\jre7 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.f ml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.f ml.common.launcher.FMLDeobfTweaker 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.co mmon.launcher.FMLInjectionAndSortingTweaker 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.co mmon.launcher.FMLInjectionAndSortingTweaker 2014-06-19 18:59:58 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.re launcher.CoreModManager$FMLPluginWrapper 2014-06-19 19:00:00 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.re launcher.CoreModManager$FMLPluginWrapper Loaded 110 rules from AccessTransformer config file forge_at.cfg 2014-06-19 19:00:00 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.co mmon.launcher.FMLDeobfTweaker 2014-06-19 19:00:04 [INFOS] [ForgeModLoader] Launching wrapped minecraft {net.mi necraft.server.MinecraftServer} 19:00:09 [INFOS] Starting minecraft server version 1.6.4 19:00:09 [INFOS] Attempting early MinecraftForge initialization 19:00:09 [INFOS] MinecraftForge v 19:00:09 [INFOS] 9.11.1.965 19:00:09 [INFOS] Initialized 19:00:09 [INFOS] MinecraftForge v9.11.1.965 Initialized 19:00:09 [INFOS] Replaced 111 ore recipies 19:00:09 [INFOS] Completed early MinecraftForge initialization 19:00:09 [INFOS] Reading custom logging properties from C:\Users\Jean-Baptiste\D esktop\Serveur ViruZ 1.6.4\config\logging.properties 19:00:09 [D+SACTIV+] Logging level for ForgeModLoader logging is set to ALL 19:00:09 [INFOS] Searching C:\Users\Jean-Baptiste\Desktop\Serveur ViruZ 1.6.4\mo ds for mods 19:00:15 [INFOS] Forge Mod Loader has identified 4 mods to load 19:00:15 [INFOS] Activating mod mcp 19:00:15 [INFOS] Activating mod FML 19:00:15 [INFOS] Activating mod Forge 19:00:15 [INFOS] Activating mod Flamingo 19:00:15 [INFOS] Registering Forge Packet Handler 19:00:15 [INFOS] Succeeded registering Forge Packet Handler 19:00:15 [INFOS] Configured a dormant chunk cache size of 0 19:00:15 [INFOS] Loading properties 19:00:16 [INFOS] Default game type: SURVIVAL 19:00:17 [INFOS] This server is running MCPC+ version git-MCPC-Plus-jenkins-MCPC -Plus-164-251 (MC: 1.6.4) (Implementing API version 1.6.4-R2.1-SNAPSHOT) 19:00:17 [INFOS] Generating keypair 19:00:18 [INFOS] Starting Minecraft server on *:25565 19:00:18 [AVERTISSEMENT] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! 19:00:18 [AVERTISSEMENT] The server will make no attempt to authenticate usernam es. Beware. 19:00:18 [AVERTISSEMENT] While this makes the game possible to play without inte rnet access, it also opens up the ability for hackers to connect with any userna me they choose. 19:00:18 [AVERTISSEMENT] To change this, set "online-mode" to "true" in the serv er.properties file. 19:00:19 [INFOS] Forge Mod Loader has successfully loaded 4 mods 19:00:20 [INFOS] Preparing level "world" 19:00:21 [INFOS] Registered command debug with permission node vanilla.command.d ebug 19:00:21 [INFOS] Registered command spreadplayers with permission node vanilla.c ommand.spreadplayers 19:00:21 [INFOS] Registered command playsound with permission node vanilla.comma nd.playsound 19:00:21 [INFOS] Registered command scoreboard with permission node vanilla.comm and.scoreboard 19:00:22 [INFOS] Loading dimension 0 (world) (net.minecraft.server.dedicated.Ded icatedServer@4b42bd10) 19:00:22 [INFOS] Loading dimension 1 (DIM1) (net.minecraft.server.dedicated.Dedi catedServer@4b42bd10) 19:00:22 [INFOS] Preparing start region for level 0 (Dimension: 0, Seed: -539198 5700663509988) 19:00:23 [INFOS] Preparing spawn area: 24% 19:00:24 [INFOS] Server permissions file permissions.yml is empty, ignoring it 19:00:24 [INFOS] Done (5,293s)! For help, type "help" or "?" 19:00:24 [INFOS] Registered command forge with permission node net.minecraftforg e.server.command.ForgeCommand 19:01:21 [INFOS] TheAmateis[/127.0.0.1:60835] logged in with entity id 150 at ([ world] -56.16832343596021, 69.0, 240.5094138874649) 19:01:28 [GRAVE] java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft 19:01:28 [GRAVE] at com.reddit.user.koppeh.flamingo.BlockFlamingo.func_71 898_d(BlockFlamingo.java:67) 19:01:28 [GRAVE] at net.minecraft.item.ItemInWorldManager.func_73079_d(It emInWorldManager.java:350) 19:01:28 [GRAVE] at net.minecraft.item.ItemInWorldManager.func_73084_b(It emInWorldManager.java:387) 19:01:28 [GRAVE] at net.minecraft.item.ItemInWorldManager.func_73074_a(It emInWorldManager.java:200) 19:01:28 [GRAVE] at net.minecraft.network.NetServerHandler.func_72510_a(N etServerHandler.java:771) 19:01:28 [GRAVE] at net.minecraft.network.packet.Packet14BlockDig.func_73 279_a(Packet14BlockDig.java:67) 19:01:28 [GRAVE] at net.minecraft.network.TcpConnection.func_74428_b(TcpC onnection.java:470) 19:01:28 [GRAVE] at net.minecraft.network.NetServerHandler.func_72570_d(N etServerHandler.java:233) 19:01:28 [GRAVE] at net.minecraft.network.NetworkListenThread.func_71747_ b(NetworkListenThread.java:54) 19:01:28 [GRAVE] at net.minecraft.server.dedicated.DedicatedServerListenT hread.func_71747_b(DedicatedServerListenThread.java:34) 19:01:28 [GRAVE] at net.minecraft.server.MinecraftServer.func_71190_q(Min ecraftServer.java:910) 19:01:28 [GRAVE] at net.minecraft.server.dedicated.DedicatedServer.func_7 1190_q(DedicatedServer.java:330) 19:01:28 [GRAVE] at net.minecraft.server.MinecraftServer.func_71217_p(Min ecraftServer.java:777) 19:01:28 [GRAVE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:659) 19:01:28 [GRAVE] at net.minecraft.server.ThreadMinecraftServer.run(Thread MinecraftServer.java:16) 19:01:28 [GRAVE] Caused by: java.lang.ClassNotFoundException: net.minecraft.clie nt.Minecraft 19:01:28 [GRAVE] at net.minecraft.launchwrapper.LaunchClassLoader.findCla ss(LaunchClassLoader.java:186) 19:01:28 [GRAVE] at java.lang.ClassLoader.loadClass(Unknown Source) 19:01:28 [GRAVE] at java.lang.ClassLoader.loadClass(Unknown Source) 19:01:28 [GRAVE] … 15 more 19:01:28 [GRAVE] Caused by: java.lang.RuntimeException: Attempted to load class atv for invalid side SERVER 19:01:28 [GRAVE] at cpw.mods.fml.common.asm.transformers.SideTransformer. transform(SideTransformer.java:51) 19:01:28 [GRAVE] at net.minecraft.launchwrapper.LaunchClassLoader.runTran sformers(LaunchClassLoader.java:274) 19:01:28 [GRAVE] at net.minecraft.launchwrapper.LaunchClassLoader.findCla ss(LaunchClassLoader.java:172) 19:01:28 [GRAVE] … 17 more 19:01:28 [GRAVE] Encountered an unexpected exception NoClassDefFoundError java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft at com.reddit.user.koppeh.flamingo.BlockFlamingo.func_71898_d(BlockFlami ngo.java:67) at net.minecraft.item.ItemInWorldManager.func_73079_d(ItemInWorldManager .java:350) at net.minecraft.item.ItemInWorldManager.func_73084_b(ItemInWorldManager .java:387) at net.minecraft.item.ItemInWorldManager.func_73074_a(ItemInWorldManager .java:200) at net.minecraft.network.NetServerHandler.func_72510_a(NetServerHandler. java:771) at net.minecraft.network.packet.Packet14BlockDig.func_73279_a(Packet14Bl ockDig.java:67) at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:4 70) at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler. java:233) at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenT hread.java:54) at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747 _b(DedicatedServerListenThread.java:34) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.jav a:910) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(Dedicated Server.java:330) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.jav a:777) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer. java:16) Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLo ader.java:186) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) … 15 more Caused by: java.lang.RuntimeException: Attempted to load class atv for invalid s ide SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTr ansformer.java:51) at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchC lassLoader.java:274) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLo ader.java:172) ... 17 more 19:01:28 [GRAVE] This crash report has been saved to: C:\Users\Jean-Baptiste\Des ktop\Serveur ViruZ 1.6.4\.\crash-reports\crash-2014-06-19_19.01.28-server.txt 19:01:57 [AVERTISSEMENT] The server is going slow. Last server tick was 29463ms ago 19:01:57 [AVERTISSEMENT] Last Tick: 1403197288501 Current Time: 1403197317964 Wa rning: 20000 Timeout: 60000 19:01:57 [AVERTISSEMENT] [TPS]: 20.0 Server Tick #1240 19:01:57 [AVERTISSEMENT] Dimension:0 19:01:57 [AVERTISSEMENT] Loaded Chunks: 441 Active Chunks: 115 Entities: 75 Ti le Entities: 14 19:01:57 [AVERTISSEMENT] Entities Last Tick: 47 19:01:57 [AVERTISSEMENT] Tiles Last Tick: 3 19:01:57 [AVERTISSEMENT] Dimension:1 19:01:57 [AVERTISSEMENT] Loaded Chunks: 0 Active Chunks: 0 Entities: 0 Tile En tities: 0 19:01:57 [AVERTISSEMENT] Entities Last Tick: 0 19:01:57 [AVERTISSEMENT] Tiles Last Tick: 0 >
:::
Et dans le crash text:
:::
–-- Minecraft Crash Report ---- // Who set us up the TNT? Time: 19/06/14 19:01 Description: Exception in server tick loop java.lang.NoClassDefFoundError: net/minecraft/client/Minecraft at com.reddit.user.koppeh.flamingo.BlockFlamingo.func_71898_d(BlockFlamingo.java:67) at net.minecraft.item.ItemInWorldManager.func_73079_d(ItemInWorldManager.java:350) at net.minecraft.item.ItemInWorldManager.func_73084_b(ItemInWorldManager.java:387) at net.minecraft.item.ItemInWorldManager.func_73074_a(ItemInWorldManager.java:200) at net.minecraft.network.NetServerHandler.func_72510_a(NetServerHandler.java:771) at net.minecraft.network.packet.Packet14BlockDig.func_73279_a(Packet14BlockDig.java:67) at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:470) at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:233) at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:54) at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(DedicatedServerListenThread.java:34) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:910) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:330) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:777) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:659) at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) Caused by: java.lang.ClassNotFoundException: net.minecraft.client.Minecraft at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more Caused by: java.lang.RuntimeException: Attempted to load class atv for invalid side SERVER at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:51) at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:274) at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:172) ... 17 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.6.4 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.7.0_60, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 211351736 bytes (201 MB) / 493879296 bytes (471 MB) up to 954728448 bytes (910 MB) JVM Flags: 1 total; -Xmx1024M AABB Pool Size: 721 (40376 bytes; 0 MB) allocated, 504 (28224 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63 CraftBukkit Information: Running: MCPC+ version git-MCPC-Plus-jenkins-MCPC-Plus-164-251 (MC: 1.6.4) (Implementing API version 1.6.4-R2.1-SNAPSHOT) false Plugins: {} Warnings: DEFAULT Threads: { RUNNABLE Listen thread: [java.net.DualStackPlainSocketImpl.accept0(Native Method), java.net.DualStackPlainSocketImpl.socketAccept(Unknown Source), java.net.AbstractPlainSocketImpl.accept(Unknown Source), java.net.PlainSocketImpl.accept(Unknown Source), java.net.ServerSocket.implAccept(Unknown Source), java.net.ServerSocket.accept(Unknown Source), net.minecraft.server.ServerListenThread.run(ServerListenThread.java:82)], TIMED_WAITING File IO Thread: [java.lang.Thread.sleep(Native Method), net.minecraft.world.storage.ThreadedFileIOBase.func_75736_b(ThreadedFileIOBase.java:61), net.minecraft.world.storage.ThreadedFileIOBase.run(ThreadedFileIOBase.java:27), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Connection #1 write thread: [java.lang.Thread.sleep(Native Method), net.minecraft.network.TcpWriterThread.run(TcpWriterThread.java:49)], RUNNABLE Connection #1 read thread: [java.net.SocketInputStream.socketRead0(Native Method), java.net.SocketInputStream.read(Unknown Source), java.net.SocketInputStream.read(Unknown Source), java.io.FilterInputStream.read(Unknown Source), org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source), org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source), java.io.DataInputStream.readUnsignedByte(Unknown Source), net.minecraft.network.packet.Packet.func_73272_a(Packet.java:159), net.minecraft.network.TcpConnection.func_74447_i(TcpConnection.java:327), net.minecraft.network.TcpConnection.func_74450_c(TcpConnection.java:556), net.minecraft.network.TcpReaderThread.run(TcpReaderThread.java:23)], RUNNABLE Attach Listener: [], RUNNABLE Server thread: [java.lang.Thread.dumpThreads(Native Method), java.lang.Thread.getAllStackTraces(Unknown Source), org.bukkit.craftbukkit.v1_6_R3.CraftCrashReport.call(CraftCrashReport.java:27), net.minecraft.crash.CrashReportCategory.func_71500_a(CrashReportCategory.java:106), net.minecraft.crash.CrashReport.func_71504_g(CrashReport.java:58), net.minecraft.crash.CrashReport.<init>(CrashReport.java:40), net.minecraft.server.MinecraftServer.run(MinecraftServer.java:689), net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)], TIMED_WAITING Spigot Metrics Thread: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], TIMED_WAITING Thread-5: [java.lang.Thread.sleep(Native Method), net.minecraft.server.dedicated.DedicatedServerSleepThread.run(DedicatedServerSleepThread.java:23)], RUNNABLE Signal Dispatcher: [], TIMED_WAITING Snooper Timer: [java.lang.Object.wait(Native Method), java.util.TimerThread.mainLoop(Unknown Source), java.util.TimerThread.run(Unknown Source)], WAITING Chunk I/O Executor Thread-1: [sun.misc.Unsafe.park(Native Method), java.util.concurrent.locks.LockSupport.park(Unknown Source), java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source), java.util.concurrent.LinkedBlockingQueue.take(Unknown Source), java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source), java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source), java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source), java.lang.Thread.run(Unknown Source)], TIMED_WAITING Spigot Watchdog Thread: [java.lang.Thread.sleep(Native Method), org.spigotmc.WatchdogThread.run(WatchdogThread.java:174)], WAITING Reference Handler: [java.lang.Object.wait(Native Method), java.lang.Object.wait(Object.java:503), java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)], RUNNABLE Command Reader: [org.fusesource.jansi.internal.Kernel32._getch(Native Method), org.fusesource.jansi.internal.WindowsSupport.readByte(WindowsSupport.java:46), org.bukkit.craftbukkit.libs.jline.WindowsTerminal.readByte(WindowsTerminal.java:184), org.bukkit.craftbukkit.libs.jline.WindowsTerminal.access$000(WindowsTerminal.java:53), org.bukkit.craftbukkit.libs.jline.WindowsTerminal$1.read(WindowsTerminal.java:151), java.io.FilterInputStream.read(Unknown Source), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader$1.read(ConsoleReader.java:167), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:267), org.bukkit.craftbukkit.libs.jline.internal.InputStreamReader.read(InputStreamReader.java:204), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readCharacter(ConsoleReader.java:995), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.readLine(ConsoleReader.java:1167), net.minecraft.server.dedicated.DedicatedServerCommandThread.run(DedicatedServerCommandThread.java:38)], WAITING Finalizer: [java.lang.Object.wait(Native Method), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.ReferenceQueue.remove(Unknown Source), java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)], RUNNABLE Thread-1: [java.io.FileOutputStream.writeBytes(Native Method), java.io.FileOutputStream.write(Unknown Source), java.io.BufferedOutputStream.flushBuffer(Unknown Source), java.io.BufferedOutputStream.flush(Unknown Source), java.io.PrintStream.flush(Unknown Source), java.io.FilterOutputStream.flush(Unknown Source), sun.nio.cs.StreamEncoder.implFlush(Unknown Source), sun.nio.cs.StreamEncoder.flush(Unknown Source), java.io.OutputStreamWriter.flush(Unknown Source), org.bukkit.craftbukkit.libs.jline.console.ConsoleReader.flush(ConsoleReader.java:707), org.bukkit.craftbukkit.v1_6_R3.util.TerminalConsoleHandler.flush(TerminalConsoleHandler.java:30), java.util.logging.ConsoleHandler.publish(Unknown Source), cpw.mods.fml.relauncher.FMLRelaunchLog$ConsoleLogThread.run(FMLRelaunchLog.java:84), java.lang.Thread.run(Unknown Source)], RUNNABLE DestroyJavaVM: [],} Recent tasks from 1210-1240{} FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{6.4.49.965} [Forge Mod Loader] (craftbukkit.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{9.11.1.965} [Minecraft Forge] (craftbukkit.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Flamingo{@VERSION@} ([1.6.4_by_ZeAmateis]Flamingo_1.2.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 44 (2464 bytes; 0 MB) allocated, 34 (1904 bytes; 0 MB) used Player Count: 1 / 20; [EntityPlayerMP['TheAmateis'/150, l='world', x=-56,17, y=69,00, z=240,51](TheAmateis at -56.16832343596021,69.0,240.5094138874649)] Is Modded: Definitely; Server brand changed to 'mcpc,craftbukkit,fml,forge' Type: Dedicated Server (map_server.txt)
:::
J’espère que quelqu’un à déjà eu le problème et à trouver un solution !
Cordialement
-ZeAmateis-
L’erreur est bête je suis sûr –‘’</init>
-
Salut,
public boolean removeBlockByPlayer(World world, EntityPlayer player, int x, int y, int z) { player.sendChatMessage(" \u00E0 cass\u00E9 un flamant rose !"); return super.removeBlockByPlayer(world, player, x, y, z); }
Minecraft.getMinecraft() n’existe pas en serveur.
-
Ah !
Merci bien de l’aide !
Je teste !
J’ai une erreur sur le addChatMessage
car moi je veux que les autre joueurs le voie aussi le message !
Second problème avec ton code robin le bloc se pose et disparaît dessuite
-
Essaie avec ça à la place du “player.addChatMessage(…)”
for(String playerName : MinecraftServer.getServer().getAllUsernames()) { EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(playerName); player.addChatMessage(new ChatComponentText("message")); }
Et si tu veux le traduire avec le nom du joueur:
player.addChatMessage(new ChatComponentText(StatCollector.translateToLocal("message", player.getCommandSenderName)));
donc dans le fichier .lang il y aurait:
message=%d à cassé ce bloc!
avec %d qui correspond à la variable donnée, c’est à dire le pseudo du joueur
-
J’ai test et mon jeu crash quand un autre joueur casse le bloc
:::
juin 19, 2014 8:20:27 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker juin 19, 2014 8:20:28 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker juin 19, 2014 8:20:28 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_60, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre7 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:20:28 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-06-19 20:20:28 [INFOS] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2014-06-19 20:20:28 [GRAVE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2014-06-19 20:20:29 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-06-19 20:20:29 [INFOS] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg 2014-06-19 20:20:29 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-06-19 20:20:29 [INFOS] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2014-06-19 20:20:30 [INFOS] [Minecraft-Client] Setting user: ShLennon984 2014-06-19 20:20:31 [INFOS] [Minecraft-Client] LWJGL Version: 2.9.0 2014-06-19 20:20:32 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default 2014-06-19 20:20:33 [INFOS] [MinecraftForge] Attempting early MinecraftForge initialization 2014-06-19 20:20:33 [INFOS] [STDOUT] MinecraftForge v9.11.1.965 Initialized 2014-06-19 20:20:33 [INFOS] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized 2014-06-19 20:20:33 [INFOS] [STDOUT] Replaced 111 ore recipies 2014-06-19 20:20:33 [INFOS] [MinecraftForge] Completed early MinecraftForge initialization 2014-06-19 20:20:33 [INFOS] [ForgeModLoader] Reading custom logging properties from C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\config\logging.properties 2014-06-19 20:20:33 [DÉSACTIVÉ] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2014-06-19 20:20:33 [INFOS] [ForgeModLoader] Searching C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\mods for mods 2014-06-19 20:20:33 [INFOS] [Flamingo] Mod Flamingo is missing the required element 'name'. Substituting Flamingo 2014-06-19 20:20:36 [INFOS] [ForgeModLoader] Forge Mod Loader has identified 5 mods to load 2014-06-19 20:20:36 [INFOS] [mcp] Activating mod mcp 2014-06-19 20:20:36 [INFOS] [FML] Activating mod FML 2014-06-19 20:20:36 [INFOS] [Forge] Activating mod Forge 2014-06-19 20:20:36 [INFOS] [Flamingo] Activating mod Flamingo 2014-06-19 20:20:36 [INFOS] [ViruZ] Activating mod ViruZ 2014-06-19 20:20:36 [AVERTISSEMENT] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:36 [AVERTISSEMENT] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:36 [AVERTISSEMENT] [Flamingo] Mod Flamingo is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:36 [AVERTISSEMENT] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:36 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Flamingo, FMLFileResourcePack:ViruZ 2014-06-19 20:20:36 [INFOS] [ForgeModLoader] Registering Forge Packet Handler 2014-06-19 20:20:36 [INFOS] [ForgeModLoader] Succeeded registering Forge Packet Handler 2014-06-19 20:20:36 [INFOS] [ForgeModLoader] Configured a dormant chunk cache size of 0 2014-06-19 20:20:37 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_normalWardrobe.png 2014-06-19 20:20:37 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/planks.png 2014-06-19 20:20:37 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_508_campfireIdle.png 2014-06-19 20:20:37 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_512_hopperChest.png 2014-06-19 20:20:37 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_509_campfireBurning.png 2014-06-19 20:20:38 [INFOS] [ForgeModLoader] Forge Mod Loader has successfully loaded 5 mods 2014-06-19 20:20:38 [AVERTISSEMENT] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:38 [AVERTISSEMENT] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:38 [AVERTISSEMENT] [Flamingo] Mod Flamingo is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:38 [AVERTISSEMENT] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well 2014-06-19 20:20:38 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Flamingo, FMLFileResourcePack:ViruZ 2014-06-19 20:20:38 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_normalWardrobe.png 2014-06-19 20:20:38 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/planks.png 2014-06-19 20:20:38 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_508_campfireIdle.png 2014-06-19 20:20:38 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_512_hopperChest.png 2014-06-19 20:20:38 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_509_campfireBurning.png 2014-06-19 20:20:38 [INFOS] [STDOUT] 2014-06-19 20:20:38 [INFOS] [STDOUT] Starting up SoundSystem… 2014-06-19 20:20:39 [INFOS] [STDOUT] Initializing LWJGL OpenAL 2014-06-19 20:20:39 [INFOS] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2014-06-19 20:20:39 [INFOS] [STDOUT] OpenAL initialized. 2014-06-19 20:20:39 [INFOS] [STDOUT] 2014-06-19 20:20:41 [INFOS] [Minecraft-Server] Starting integrated minecraft server version 1.6.4 2014-06-19 20:20:41 [INFOS] [Minecraft-Server] Generating keypair 2014-06-19 20:20:42 [INFOS] [ForgeModLoader] Loading dimension 0 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@184d54a) 2014-06-19 20:20:42 [INFOS] [ForgeModLoader] Loading dimension 1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@184d54a) 2014-06-19 20:20:42 [INFOS] [ForgeModLoader] Loading dimension -1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@184d54a) 2014-06-19 20:20:42 [INFOS] [Minecraft-Server] Preparing start region for level 0 2014-06-19 20:20:43 [INFOS] [Minecraft-Server] Preparing spawn area: 70% 2014-06-19 20:20:44 [INFOS] [STDOUT] loading single player 2014-06-19 20:20:44 [INFOS] [Minecraft-Server] ShLennon984[/127.0.0.1:0] logged in with entity id 20 at (-95.77802520015989, 6.0, 401.4547347771511) 2014-06-19 20:20:44 [INFOS] [Minecraft-Server] ShLennon984 a rejoint le jeu 2014-06-19 20:20:44 [INFOS] [STDOUT] Setting up custom skins 2014-06-19 20:20:45 [INFOS] [Minecraft-Server] Saving and pausing game… 2014-06-19 20:20:45 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Overworld 2014-06-19 20:20:45 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Nether 2014-06-19 20:20:45 [AVERTISSEMENT] [Minecraft-Client] Failed to load texture: flamingo:textures/models/flamingo.png java.io.FileNotFoundException: flamingo:textures/models/flamingo.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:31) at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:84) at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:41) at net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer.bindTexture(TileEntitySpecialRenderer.java:27) at com.reddit.user.koppeh.flamingo.TileEntityFlamingoRenderer.renderTileEntityAt(TileEntityFlamingoRenderer.java:30) at com.reddit.user.koppeh.flamingo.TileEntityFlamingoRenderer.renderTileEntityAt(TileEntityFlamingoRenderer.java:53) at com.reddit.user.koppeh.flamingo.RenderingHandler.renderInventoryBlock(RenderingHandler.java:43) at cpw.mods.fml.client.registry.RenderingRegistry.renderInventoryBlock(RenderingRegistry.java:159) at net.minecraft.src.FMLRenderAccessLibrary.renderInventoryBlock(FMLRenderAccessLibrary.java:63) at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8312) at net.minecraft.client.renderer.entity.RenderItem.renderItemIntoGUI(RenderItem.java:375) at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:467) at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:976) at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:206) at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:141) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1014) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:946) at net.minecraft.client.Minecraft.run(Minecraft.java:838) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:20:45 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/The End 2014-06-19 20:20:53 [INFOS] [Minecraft-Client] [CHAT] ShLennon984 à cassé un flamant rose 2014-06-19 20:20:53 [INFOS] [Minecraft-Client] [CHAT] ShLennon984 à cassé un flamant rose 2014-06-19 20:20:56 [INFOS] [Minecraft-Server] Saving and pausing game… 2014-06-19 20:20:56 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Overworld 2014-06-19 20:20:56 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Nether 2014-06-19 20:20:56 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/The End 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] Stopping server 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] Saving players 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] ShLennon984 a quitté le jeu 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] Saving worlds 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Overworld 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Nether 2014-06-19 20:20:57 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/The End 2014-06-19 20:20:57 [INFOS] [ForgeModLoader] Unloading dimension 0 2014-06-19 20:20:57 [INFOS] [ForgeModLoader] Unloading dimension -1 2014-06-19 20:20:57 [INFOS] [ForgeModLoader] Unloading dimension 1 2014-06-19 20:20:59 [INFOS] [Minecraft-Server] Starting integrated minecraft server version 1.6.4 2014-06-19 20:20:59 [INFOS] [Minecraft-Server] Generating keypair 2014-06-19 20:21:00 [INFOS] [ForgeModLoader] Loading dimension 0 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@b432c1) 2014-06-19 20:21:00 [INFOS] [ForgeModLoader] Loading dimension 1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@b432c1) 2014-06-19 20:21:00 [INFOS] [ForgeModLoader] Loading dimension -1 (Nouveau monde) (net.minecraft.server.integrated.IntegratedServer@b432c1) 2014-06-19 20:21:00 [INFOS] [Minecraft-Server] Preparing start region for level 0 2014-06-19 20:21:01 [INFOS] [Minecraft-Server] Preparing spawn area: 69% 2014-06-19 20:21:02 [INFOS] [STDOUT] loading single player 2014-06-19 20:21:02 [INFOS] [Minecraft-Server] ShLennon984[/127.0.0.1:0] logged in with entity id 1605 at (-94.73101659941972, 4.0, 408.0032302397249) 2014-06-19 20:21:02 [INFOS] [Minecraft-Server] ShLennon984 a rejoint le jeu 2014-06-19 20:21:02 [INFOS] [STDOUT] Setting up custom skins 2014-06-19 20:21:04 [INFOS] [Minecraft-Server] Saving and pausing game… 2014-06-19 20:21:04 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Overworld 2014-06-19 20:21:04 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/Nether 2014-06-19 20:21:04 [INFOS] [Minecraft-Server] Saving chunks for level 'Nouveau monde'/The End 2014-06-19 20:21:06 [INFOS] [Minecraft-Server] Started on 62247 2014-06-19 20:21:06 [INFOS] [Minecraft-Client] [CHAT] Jeu local hébergé sur le port 62247 2014-06-19 20:21:34 [INFOS] [ForgeModLoader] User ShLennon890 connecting with mods [Flamingo, ViruZ, Forge] 2014-06-19 20:21:35 [INFOS] [Minecraft-Server] ShLennon890[/25.193.153.193:62277] logged in with entity id 7935 at (-78.54041624609759, 5.0155550727022, 256.27826853503075) 2014-06-19 20:21:35 [INFOS] [Minecraft-Server] ShLennon890 a rejoint le jeu 2014-06-19 20:21:35 [INFOS] [Minecraft-Client] [CHAT] ShLennon890 a rejoint le jeu 2014-06-19 20:21:48 [INFOS] [Minecraft-Client] [CHAT] ShLennon984 à cassé un flamant rose 2014-06-19 20:21:50 [INFOS] [STDERR] java.net.SocketException: Connection reset 2014-06-19 20:21:50 [INFOS] [STDERR] at java.net.SocketInputStream.read(Unknown Source) 2014-06-19 20:21:50 [INFOS] [STDERR] at java.net.SocketInputStream.read(Unknown Source) 2014-06-19 20:21:50 [INFOS] [STDERR] at java.io.FilterInputStream.read(Unknown Source) 2014-06-19 20:21:50 [INFOS] [STDERR] at org.bouncycastle.crypto.io.CipherInputStream.nextChunk(Unknown Source) 2014-06-19 20:21:50 [INFOS] [STDERR] at org.bouncycastle.crypto.io.CipherInputStream.read(Unknown Source) 2014-06-19 20:21:50 [INFOS] [STDERR] at java.io.DataInputStream.readUnsignedByte(Unknown Source) 2014-06-19 20:21:50 [INFOS] [STDERR] at net.minecraft.network.packet.Packet.readPacket(Packet.java:145) 2014-06-19 20:21:50 [INFOS] [STDERR] at net.minecraft.network.TcpConnection.readPacket(TcpConnection.java:325) 2014-06-19 20:21:50 [INFOS] [STDERR] at net.minecraft.network.TcpConnection.readNetworkPacket(TcpConnection.java:549) 2014-06-19 20:21:50 [INFOS] [STDERR] at net.minecraft.network.TcpReaderThread.run(TcpReaderThread.java:23) 2014-06-19 20:21:50 [INFOS] [Minecraft-Server] ShLennon890 lost connection: disconnect.genericReason 2014-06-19 20:21:50 [INFOS] [Minecraft-Server] ShLennon890 a quitté le jeu 2014-06-19 20:21:50 [INFOS] [Minecraft-Client] [CHAT] ShLennon890 a quitté le jeu
:::
-
Avec le log du joueur qui à pas crash je peux pas te dire ce qu’il ne va pas, sur eclipse tu peux changé de console avec ce bouton:
De plus c’est du code 1.7 (pas vu le tag)
Mais la boucle for devrais fonctionner -
Oups pardon !
:::
juin 19, 2014 8:21:10 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker juin 19, 2014 8:21:10 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker juin 19, 2014 8:21:10 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_60, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre7 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:21:10 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-06-19 20:21:10 [INFOS] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2014-06-19 20:21:10 [GRAVE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2014-06-19 20:21:11 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-06-19 20:21:11 [INFOS] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg 2014-06-19 20:21:11 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-06-19 20:21:12 [INFOS] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2014-06-19 20:21:13 [INFOS] [Minecraft-Client] Setting user: ShLennon890 2014-06-19 20:21:15 [INFOS] [Minecraft-Client] LWJGL Version: 2.9.0 2014-06-19 20:21:16 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default 2014-06-19 20:21:19 [INFOS] [MinecraftForge] Attempting early MinecraftForge initialization 2014-06-19 20:21:19 [INFOS] [STDOUT] MinecraftForge v9.11.1.965 Initialized 2014-06-19 20:21:19 [INFOS] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized 2014-06-19 20:21:19 [INFOS] [STDOUT] Replaced 111 ore recipies 2014-06-19 20:21:19 [INFOS] [MinecraftForge] Completed early MinecraftForge initialization 2014-06-19 20:21:19 [INFOS] [ForgeModLoader] Reading custom logging properties from C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\config\logging.properties 2014-06-19 20:21:19 [DÉSACTIVÉ] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2014-06-19 20:21:19 [INFOS] [ForgeModLoader] Searching C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\mods for mods 2014-06-19 20:21:19 [INFOS] [Flamingo] Mod Flamingo is missing the required element 'name'. Substituting Flamingo 2014-06-19 20:21:25 [INFOS] [ForgeModLoader] Forge Mod Loader has identified 5 mods to load 2014-06-19 20:21:25 [INFOS] [mcp] Activating mod mcp 2014-06-19 20:21:25 [INFOS] [FML] Activating mod FML 2014-06-19 20:21:25 [INFOS] [Forge] Activating mod Forge 2014-06-19 20:21:25 [INFOS] [Flamingo] Activating mod Flamingo 2014-06-19 20:21:25 [INFOS] [ViruZ] Activating mod ViruZ 2014-06-19 20:21:25 [AVERTISSEMENT] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:25 [AVERTISSEMENT] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:25 [AVERTISSEMENT] [Flamingo] Mod Flamingo is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:25 [AVERTISSEMENT] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:25 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Flamingo, FMLFileResourcePack:ViruZ 2014-06-19 20:21:25 [INFOS] [ForgeModLoader] Registering Forge Packet Handler 2014-06-19 20:21:25 [INFOS] [ForgeModLoader] Succeeded registering Forge Packet Handler 2014-06-19 20:21:25 [INFOS] [ForgeModLoader] Configured a dormant chunk cache size of 0 2014-06-19 20:21:26 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_normalWardrobe.png 2014-06-19 20:21:26 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/planks.png 2014-06-19 20:21:27 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_508_campfireIdle.png 2014-06-19 20:21:27 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_512_hopperChest.png 2014-06-19 20:21:27 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_509_campfireBurning.png 2014-06-19 20:21:28 [INFOS] [ForgeModLoader] Forge Mod Loader has successfully loaded 5 mods 2014-06-19 20:21:28 [AVERTISSEMENT] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:28 [AVERTISSEMENT] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:28 [AVERTISSEMENT] [Flamingo] Mod Flamingo is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:28 [AVERTISSEMENT] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well 2014-06-19 20:21:28 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Flamingo, FMLFileResourcePack:ViruZ 2014-06-19 20:21:28 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_normalWardrobe.png 2014-06-19 20:21:28 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/planks.png 2014-06-19 20:21:28 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_508_campfireIdle.png 2014-06-19 20:21:29 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_512_hopperChest.png 2014-06-19 20:21:29 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_509_campfireBurning.png 2014-06-19 20:21:29 [INFOS] [STDOUT] 2014-06-19 20:21:29 [INFOS] [STDOUT] Starting up SoundSystem… 2014-06-19 20:21:29 [INFOS] [STDOUT] Initializing LWJGL OpenAL 2014-06-19 20:21:29 [INFOS] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2014-06-19 20:21:29 [INFOS] [STDOUT] OpenAL initialized. 2014-06-19 20:21:29 [INFOS] [STDOUT] 2014-06-19 20:21:33 [INFOS] [Minecraft-Client] Connecting to 25.193.153.193, 62247 2014-06-19 20:21:35 [INFOS] [STDOUT] Setting up custom skins 2014-06-19 20:21:36 [AVERTISSEMENT] [Minecraft-Client] Failed to load texture: flamingo:textures/models/flamingo.png java.io.FileNotFoundException: flamingo:textures/models/flamingo.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:31) at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:84) at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:41) at net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer.bindTexture(TileEntitySpecialRenderer.java:27) at com.reddit.user.koppeh.flamingo.TileEntityFlamingoRenderer.renderTileEntityAt(TileEntityFlamingoRenderer.java:30) at com.reddit.user.koppeh.flamingo.TileEntityFlamingoRenderer.renderTileEntityAt(TileEntityFlamingoRenderer.java:53) at com.reddit.user.koppeh.flamingo.RenderingHandler.renderInventoryBlock(RenderingHandler.java:43) at cpw.mods.fml.client.registry.RenderingRegistry.renderInventoryBlock(RenderingRegistry.java:159) at net.minecraft.src.FMLRenderAccessLibrary.renderInventoryBlock(FMLRenderAccessLibrary.java:63) at net.minecraft.client.renderer.RenderBlocks.renderBlockAsItem(RenderBlocks.java:8312) at net.minecraft.client.renderer.ItemRenderer.renderItem(ItemRenderer.java:94) at net.minecraft.client.renderer.ItemRenderer.renderItemInFirstPerson(ItemRenderer.java:490) at net.minecraft.client.renderer.EntityRenderer.renderHand(EntityRenderer.java:712) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1296) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1002) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:946) at net.minecraft.client.Minecraft.run(Minecraft.java:838) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:21:49 [INFOS] [STDERR] java.lang.NullPointerException 2014-06-19 20:21:49 [INFOS] [STDERR] at com.reddit.user.koppeh.flamingo.BlockFlamingo.removeBlockByPlayer(BlockFlamingo.java:64) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock(PlayerControllerMP.java:159) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative(PlayerControllerMP.java:82) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock(PlayerControllerMP.java:198) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1383) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1863) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:838) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93) 2014-06-19 20:21:49 [INFOS] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-19 20:21:49 [INFOS] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-06-19 20:21:49 [INFOS] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:21:49 [INFOS] [STDOUT] –-- Minecraft Crash Report ---- 2014-06-19 20:21:49 [INFOS] [STDOUT] // I bet Cylons wouldn't have this problem. 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] Time: 19/06/14 20:21 2014-06-19 20:21:49 [INFOS] [STDOUT] Description: Unexpected error 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] java.lang.NullPointerException 2014-06-19 20:21:49 [INFOS] [STDOUT] at com.reddit.user.koppeh.flamingo.BlockFlamingo.removeBlockByPlayer(BlockFlamingo.java:64) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock(PlayerControllerMP.java:159) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative(PlayerControllerMP.java:82) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock(PlayerControllerMP.java:198) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1383) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1863) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2014-06-19 20:21:49 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-19 20:21:49 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2014-06-19 20:21:49 [INFOS] [STDOUT] –------------------------------------------------------------------------------------- 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] – Head -- 2014-06-19 20:21:49 [INFOS] [STDOUT] Stacktrace: 2014-06-19 20:21:49 [INFOS] [STDOUT] at com.reddit.user.koppeh.flamingo.BlockFlamingo.removeBlockByPlayer(BlockFlamingo.java:64) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock(PlayerControllerMP.java:159) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative(PlayerControllerMP.java:82) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock(PlayerControllerMP.java:198) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1383) 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] – Affected level -- 2014-06-19 20:21:49 [INFOS] [STDOUT] Details: 2014-06-19 20:21:49 [INFOS] [STDOUT] Level name: MpServer 2014-06-19 20:21:49 [INFOS] [STDOUT] All players: 1 total; [EntityClientPlayerMP['ShLennon890'/7935, l='MpServer', x=-45,48, y=5,62, z=235,22]] 2014-06-19 20:21:49 [INFOS] [STDOUT] Chunk stats: MultiplayerChunkCache: 441 2014-06-19 20:21:49 [INFOS] [STDOUT] Level seed: 0 2014-06-19 20:21:49 [INFOS] [STDOUT] Level generator: ID 01 - flat, ver 0\. Features enabled: false 2014-06-19 20:21:49 [INFOS] [STDOUT] Level generator options: 2014-06-19 20:21:49 [INFOS] [STDOUT] Level spawn location: World: (-84,4,394), Chunk: (at 12,0,10 in -6,24; contains blocks -96,0,384 to -81,255,399), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) 2014-06-19 20:21:49 [INFOS] [STDOUT] Level time: 5751 game time, 5751 day time 2014-06-19 20:21:49 [INFOS] [STDOUT] Level dimension: 0 2014-06-19 20:21:49 [INFOS] [STDOUT] Level storage version: 0x00000 - Unknown? 2014-06-19 20:21:49 [INFOS] [STDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) 2014-06-19 20:21:49 [INFOS] [STDOUT] Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false 2014-06-19 20:21:49 [INFOS] [STDOUT] Forced entities: 7 total; [EntityClientPlayerMP['ShLennon890'/7935, l='MpServer', x=-45,48, y=5,62, z=235,22], EntityPig['Cochon'/1600, l='MpServer', x=-126,50, y=4,00, z=301,50], EntityHorse['Âne'/1601, l='MpServer', x=-65,50, y=4,00, z=214,25], EntityHorse['Âne'/1602, l='MpServer', x=-61,72, y=4,00, z=220,84], EntityHorse['Âne'/1603, l='MpServer', x=-62,75, y=4,00, z=224,72], EntityHorse['Âne'/1604, l='MpServer', x=-50,84, y=4,00, z=230,97], EntityPig['Cochon'/1599, l='MpServer', x=-117,91, y=4,00, z=289,97]] 2014-06-19 20:21:49 [INFOS] [STDOUT] Retry entities: 0 total; [] 2014-06-19 20:21:49 [INFOS] [STDOUT] Server brand: fml,forge 2014-06-19 20:21:49 [INFOS] [STDOUT] Server type: Non-integrated multiplayer server 2014-06-19 20:21:49 [INFOS] [STDOUT] Stacktrace: 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2312) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:863) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2014-06-19 20:21:49 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-19 20:21:49 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-06-19 20:21:49 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:21:49 [INFOS] [STDOUT] 2014-06-19 20:21:49 [INFOS] [STDOUT] – System Details -- 2014-06-19 20:21:49 [INFOS] [STDOUT] Details: 2014-06-19 20:21:49 [INFOS] [STDOUT] Minecraft Version: 1.6.4 2014-06-19 20:21:49 [INFOS] [STDOUT] Operating System: Windows 8.1 (x86) version 6.3 2014-06-19 20:21:49 [INFOS] [STDOUT] Java Version: 1.7.0_60, Oracle Corporation 2014-06-19 20:21:49 [INFOS] [STDOUT] Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation 2014-06-19 20:21:49 [INFOS] [STDOUT] Memory: 835626232 bytes (796 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB) 2014-06-19 20:21:49 [INFOS] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2014-06-19 20:21:49 [INFOS] [STDOUT] AABB Pool Size: 6854 (383824 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used 2014-06-19 20:21:49 [INFOS] [STDOUT] Suspicious classes: FML and Forge are installed 2014-06-19 20:21:49 [INFOS] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2014-06-19 20:21:49 [INFOS] [STDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 5 mods loaded, 5 mods active 2014-06-19 20:21:49 [INFOS] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:21:49 [INFOS] [STDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:21:49 [INFOS] [STDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:21:49 [INFOS] [STDOUT] Flamingo{@VERSION@} [Flamingo] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:21:49 [INFOS] [STDOUT] ViruZ{3.0} [ViruZ] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:21:49 [INFOS] [STDOUT] Launched Version: 1.6 2014-06-19 20:21:49 [INFOS] [STDOUT] LWJGL: 2.9.0 2014-06-19 20:21:49 [INFOS] [STDOUT] OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.3347, Intel 2014-06-19 20:21:49 [INFOS] [STDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge' 2014-06-19 20:21:49 [INFOS] [STDOUT] Type: Client (map_client.txt) 2014-06-19 20:21:49 [INFOS] [STDOUT] Resource Pack: Default 2014-06-19 20:21:49 [INFOS] [STDOUT] Current Language: Français (France) 2014-06-19 20:21:49 [INFOS] [STDOUT] Profiler Position: N/A (disabled) 2014-06-19 20:21:49 [INFOS] [STDOUT] Vec3 Pool Size: 132 (7392 bytes; 0 MB) allocated, 17 (952 bytes; 0 MB) used 2014-06-19 20:21:49 [INFOS] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\.\crash-reports\crash-2014-06-19_20.21.49-client.txt AL lib: (EE) alc_cleanup: 1 device not closed
:::
-
Je peux avoir la classe du bloc aussi? et plus particulièrement la ligne 64 (BlockFlamingo.?java:64)
-
:::
package com.reddit.user.koppeh.flamingo; import net.minecraft.block.BlockContainer; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.server.MinecraftServer; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.ChatMessageComponent; import net.minecraft.world.World; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class BlockFlamingo extends BlockContainer { protected Minecraft mc; protected ChatMessageComponent par2ChatMessageComponent; public BlockFlamingo(int id) { super(id, Material.cloth); setHardness(1.5f); setStepSound(soundClothFootstep); setBlockBounds(3 / 16.0F, 0, 3 / 16.0F, 13 / 16.0F, 1, 13 / 16.0F); setUnlocalizedName("flamingo"); GameRegistry.registerBlock(this, "flamingo"); LanguageRegistry.addName(this, "Pink Flamingo"); setCreativeTab(CreativeTabs.tabDecorations); } @Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { blockIcon = iconRegister.registerIcon("wool_colored_pink"); } @Override public boolean isOpaqueCube() { return false; } @Override public boolean renderAsNormalBlock() { return false; } @SideOnly(Side.CLIENT) @Override public int getRenderType() { return ClientProxy.flamingoRenderId; } @Override public TileEntity createNewTileEntity(World world) { return new TileEntityFlamingo(); } @Override public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack stack) { int metadata = Math.round((player.rotationYawHead + 180) * 16 / 360); world.setBlockMetadataWithNotify(x, y, z, metadata, 3); } public boolean removeBlockByPlayer(World world, EntityPlayer par2player, int x, int y, int z) { for(String playerName : MinecraftServer.getServer().getAllUsernames()) { EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(playerName); player.addChatMessage(new String(player.getCommandSenderName() + " à cassé un flamant rose")); } return super.removeBlockByPlayer(world, par2player, x, y, z); } @Override public void onBlockClicked(World world, int x, int y, int z, EntityPlayer player) { if (world.isRemote) return; TileEntity entity = world.getBlockTileEntity(x, y, z); if (!(entity instanceof TileEntityFlamingo)) return; world.addBlockEvent(x, y, z, blockID, 0, 0); } }
:::
-
J’ai un peu modifier la classe, normalement ça devrait encore crash, si tu pouvais m’envoyer le crash après.
:::public class BlockFlamingo extends BlockContainer { public BlockFlamingo(int id) { super(id, Material.cloth); setHardness(1.5f); setStepSound(soundClothFootstep); setBlockBounds(3 / 16.0F, 0, 3 / 16.0F, 13 / 16.0F, 1, 13 / 16.0F); setUnlocalizedName("flamingo"); GameRegistry.registerBlock(this, "flamingo"); LanguageRegistry.addName(this, "Pink Flamingo"); //Voir pour fichier lang setCreativeTab(CreativeTabs.tabDecorations); } @Override @SideOnly(Side.CLIENT) public void registerIcons(IconRegister iconRegister) { blockIcon = iconRegister.registerIcon("wool_colored_pink"); } @Override public boolean isOpaqueCube() { return false; } @Override public boolean renderAsNormalBlock() { return false; } @SideOnly(Side.CLIENT) @Override public int getRenderType() { return ClientProxy.flamingoRenderId; } @Override public TileEntity createNewTileEntity(World world) { return new TileEntityFlamingo(); } @Override public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack stack) { int metadata = Math.round((player.rotationYawHead + 180) * 16 / 360); world.setBlockMetadataWithNotify(x, y, z, metadata, 3); } public boolean removeBlockByPlayer(World world, EntityPlayer player, int x, int y, int z) { for(String playerName : MinecraftServer.getServer().getAllUsernames()) { EntityPlayer player = MinecraftServer.getServer().getConfigurationManager().getPlayerForUsername(playerName); player.addChatMessage(player.getCommandSenderName() + " à cassé un flamant rose"); } return super.removeBlockByPlayer(world, player, x, y, z); } @Override public void onBlockClicked(World world, int x, int y, int z, EntityPlayer player) { if(!world.isRemote) { TileEntity entity = world.getBlockTileEntity(x, y, z); if (entity instanceof TileEntityFlamingo) { world.addBlockEvent(x, y, z, blockID, 0, 0); } } }
:::
-
:::
juin 19, 2014 8:52:24 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker juin 19, 2014 8:52:24 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker juin 19, 2014 8:52:24 PM net.minecraft.launchwrapper.LogWrapper log INFOS: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_60, running on Windows 8.1:x86:6.3, installed at C:\Program Files (x86)\Java\jre7 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-06-19 20:52:24 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-06-19 20:52:24 [INFOS] [STDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2014-06-19 20:52:24 [GRAVE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2014-06-19 20:52:25 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-06-19 20:52:25 [INFOS] [STDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg 2014-06-19 20:52:25 [INFOS] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-06-19 20:52:25 [INFOS] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2014-06-19 20:52:26 [INFOS] [Minecraft-Client] Setting user: ShLennon531 2014-06-19 20:52:27 [INFOS] [Minecraft-Client] LWJGL Version: 2.9.0 2014-06-19 20:52:28 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default 2014-06-19 20:52:29 [INFOS] [MinecraftForge] Attempting early MinecraftForge initialization 2014-06-19 20:52:29 [INFOS] [STDOUT] MinecraftForge v9.11.1.965 Initialized 2014-06-19 20:52:29 [INFOS] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized 2014-06-19 20:52:29 [INFOS] [STDOUT] Replaced 111 ore recipies 2014-06-19 20:52:29 [INFOS] [MinecraftForge] Completed early MinecraftForge initialization 2014-06-19 20:52:29 [INFOS] [ForgeModLoader] Reading custom logging properties from C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\config\logging.properties 2014-06-19 20:52:29 [DÉSACTIVÉ] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2014-06-19 20:52:29 [INFOS] [ForgeModLoader] Searching C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\mods for mods 2014-06-19 20:52:30 [INFOS] [Flamingo] Mod Flamingo is missing the required element 'name'. Substituting Flamingo 2014-06-19 20:52:33 [INFOS] [ForgeModLoader] Forge Mod Loader has identified 5 mods to load 2014-06-19 20:52:33 [INFOS] [mcp] Activating mod mcp 2014-06-19 20:52:33 [INFOS] [FML] Activating mod FML 2014-06-19 20:52:33 [INFOS] [Forge] Activating mod Forge 2014-06-19 20:52:33 [INFOS] [Flamingo] Activating mod Flamingo 2014-06-19 20:52:33 [INFOS] [ViruZ] Activating mod ViruZ 2014-06-19 20:52:33 [AVERTISSEMENT] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:33 [AVERTISSEMENT] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:33 [AVERTISSEMENT] [Flamingo] Mod Flamingo is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:33 [AVERTISSEMENT] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:33 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Flamingo, FMLFileResourcePack:ViruZ 2014-06-19 20:52:33 [INFOS] [ForgeModLoader] Registering Forge Packet Handler 2014-06-19 20:52:33 [INFOS] [ForgeModLoader] Succeeded registering Forge Packet Handler 2014-06-19 20:52:33 [INFOS] [ForgeModLoader] Configured a dormant chunk cache size of 0 2014-06-19 20:52:34 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_normalWardrobe.png 2014-06-19 20:52:34 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/planks.png 2014-06-19 20:52:34 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_508_campfireIdle.png 2014-06-19 20:52:34 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_512_hopperChest.png 2014-06-19 20:52:34 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_509_campfireBurning.png 2014-06-19 20:52:35 [INFOS] [ForgeModLoader] Forge Mod Loader has successfully loaded 5 mods 2014-06-19 20:52:35 [AVERTISSEMENT] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:35 [AVERTISSEMENT] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:35 [AVERTISSEMENT] [Flamingo] Mod Flamingo is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:35 [AVERTISSEMENT] [ViruZ] Mod ViruZ is missing a pack.mcmeta file, things may not work well 2014-06-19 20:52:35 [INFOS] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Flamingo, FMLFileResourcePack:ViruZ 2014-06-19 20:52:35 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_511_normalWardrobe.png 2014-06-19 20:52:35 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/planks.png 2014-06-19 20:52:35 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_508_campfireIdle.png 2014-06-19 20:52:35 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_512_hopperChest.png 2014-06-19 20:52:35 [GRAVE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_509_campfireBurning.png 2014-06-19 20:52:36 [INFOS] [STDOUT] 2014-06-19 20:52:36 [INFOS] [STDOUT] Starting up SoundSystem… 2014-06-19 20:52:36 [INFOS] [STDOUT] Initializing LWJGL OpenAL 2014-06-19 20:52:36 [INFOS] [STDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2014-06-19 20:52:36 [INFOS] [STDOUT] OpenAL initialized. 2014-06-19 20:52:36 [INFOS] [STDOUT] 2014-06-19 20:52:56 [INFOS] [Minecraft-Client] Connecting to 25.193.153.193, 63379 2014-06-19 20:52:58 [INFOS] [STDOUT] Setting up custom skins 2014-06-19 20:52:58 [INFOS] [STDOUT] Setting up custom skins 2014-06-19 20:52:59 [AVERTISSEMENT] [Minecraft-Client] Failed to load texture: flamingo:textures/models/flamingo.png java.io.FileNotFoundException: flamingo:textures/models/flamingo.png at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:67) at net.minecraft.client.renderer.texture.SimpleTexture.loadTexture(SimpleTexture.java:31) at net.minecraft.client.renderer.texture.TextureManager.loadTexture(TextureManager.java:84) at net.minecraft.client.renderer.texture.TextureManager.bindTexture(TextureManager.java:41) at net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer.bindTexture(TileEntitySpecialRenderer.java:27) at com.reddit.user.koppeh.flamingo.TileEntityFlamingoRenderer.renderTileEntityAt(TileEntityFlamingoRenderer.java:30) at com.reddit.user.koppeh.flamingo.TileEntityFlamingoRenderer.renderTileEntityAt(TileEntityFlamingoRenderer.java:53) at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntityAt(TileEntityRenderer.java:172) at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntity(TileEntityRenderer.java:157) at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:536) at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1160) at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1002) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:946) at net.minecraft.client.Minecraft.run(Minecraft.java:838) at net.minecraft.client.main.Main.main(Main.java:93) 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:131) at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:53:04 [INFOS] [STDERR] java.lang.NullPointerException 2014-06-19 20:53:04 [INFOS] [STDERR] at com.reddit.user.koppeh.flamingo.BlockFlamingo.removeBlockByPlayer(BlockFlamingo.java:74) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock(PlayerControllerMP.java:159) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative(PlayerControllerMP.java:82) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock(PlayerControllerMP.java:198) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1383) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1863) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:838) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.client.main.Main.main(Main.java:93) 2014-06-19 20:53:04 [INFOS] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-19 20:53:04 [INFOS] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-06-19 20:53:04 [INFOS] [STDERR] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:53:04 [INFOS] [STDOUT] –-- Minecraft Crash Report ---- 2014-06-19 20:53:04 [INFOS] [STDOUT] // Ooh. Shiny. 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] Time: 19/06/14 20:53 2014-06-19 20:53:04 [INFOS] [STDOUT] Description: Unexpected error 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] java.lang.NullPointerException 2014-06-19 20:53:04 [INFOS] [STDOUT] at com.reddit.user.koppeh.flamingo.BlockFlamingo.removeBlockByPlayer(BlockFlamingo.java:74) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock(PlayerControllerMP.java:159) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative(PlayerControllerMP.java:82) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock(PlayerControllerMP.java:198) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1383) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1863) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:910) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:838) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2014-06-19 20:53:04 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-19 20:53:04 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2014-06-19 20:53:04 [INFOS] [STDOUT] –------------------------------------------------------------------------------------- 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] – Head -- 2014-06-19 20:53:04 [INFOS] [STDOUT] Stacktrace: 2014-06-19 20:53:04 [INFOS] [STDOUT] at com.reddit.user.koppeh.flamingo.BlockFlamingo.removeBlockByPlayer(BlockFlamingo.java:74) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerDestroyBlock(PlayerControllerMP.java:159) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlockCreative(PlayerControllerMP.java:82) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.PlayerControllerMP.clickBlock(PlayerControllerMP.java:198) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1383) 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] – Affected level -- 2014-06-19 20:53:04 [INFOS] [STDOUT] Details: 2014-06-19 20:53:04 [INFOS] [STDOUT] Level name: MpServer 2014-06-19 20:53:04 [INFOS] [STDOUT] All players: 2 total; [EntityClientPlayerMP['ShLennon531'/4091, l='MpServer', x=-94,04, y=5,62, z=408,57], EntityOtherPlayerMP['ShLennon796'/20, l='MpServer', x=-97,50, y=4,00, z=410,16]] 2014-06-19 20:53:04 [INFOS] [STDOUT] Chunk stats: MultiplayerChunkCache: 441 2014-06-19 20:53:04 [INFOS] [STDOUT] Level seed: 0 2014-06-19 20:53:04 [INFOS] [STDOUT] Level generator: ID 01 - flat, ver 0\. Features enabled: false 2014-06-19 20:53:04 [INFOS] [STDOUT] Level generator options: 2014-06-19 20:53:04 [INFOS] [STDOUT] Level spawn location: World: (-84,4,394), Chunk: (at 12,0,10 in -6,24; contains blocks -96,0,384 to -81,255,399), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) 2014-06-19 20:53:04 [INFOS] [STDOUT] Level time: 6243 game time, 6243 day time 2014-06-19 20:53:04 [INFOS] [STDOUT] Level dimension: 0 2014-06-19 20:53:04 [INFOS] [STDOUT] Level storage version: 0x00000 - Unknown? 2014-06-19 20:53:04 [INFOS] [STDOUT] Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) 2014-06-19 20:53:04 [INFOS] [STDOUT] Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false 2014-06-19 20:53:04 [INFOS] [STDOUT] Forced entities: 5 total; [EntityClientPlayerMP['ShLennon531'/4091, l='MpServer', x=-94,04, y=5,62, z=408,57], EntityOtherPlayerMP['ShLennon796'/20, l='MpServer', x=-97,50, y=4,00, z=410,16], EntityOtherPlayerMP['ShLennon796'/20, l='MpServer', x=-97,50, y=4,00, z=410,16], EntityPig['Cochon'/8, l='MpServer', x=-163,88, y=4,00, z=348,81], EntityPig['Cochon'/9, l='MpServer', x=-158,47, y=4,00, z=366,78]] 2014-06-19 20:53:04 [INFOS] [STDOUT] Retry entities: 0 total; [] 2014-06-19 20:53:04 [INFOS] [STDOUT] Server brand: fml,forge 2014-06-19 20:53:04 [INFOS] [STDOUT] Server type: Non-integrated multiplayer server 2014-06-19 20:53:04 [INFOS] [STDOUT] Stacktrace: 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2312) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:863) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2014-06-19 20:53:04 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-06-19 20:53:04 [INFOS] [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-06-19 20:53:04 [INFOS] [STDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-06-19 20:53:04 [INFOS] [STDOUT] 2014-06-19 20:53:04 [INFOS] [STDOUT] – System Details -- 2014-06-19 20:53:04 [INFOS] [STDOUT] Details: 2014-06-19 20:53:04 [INFOS] [STDOUT] Minecraft Version: 1.6.4 2014-06-19 20:53:04 [INFOS] [STDOUT] Operating System: Windows 8.1 (x86) version 6.3 2014-06-19 20:53:04 [INFOS] [STDOUT] Java Version: 1.7.0_60, Oracle Corporation 2014-06-19 20:53:04 [INFOS] [STDOUT] Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation 2014-06-19 20:53:04 [INFOS] [STDOUT] Memory: 796402984 bytes (759 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB) 2014-06-19 20:53:04 [INFOS] [STDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2014-06-19 20:53:04 [INFOS] [STDOUT] AABB Pool Size: 9206 (515536 bytes; 0 MB) allocated, 3 (168 bytes; 0 MB) used 2014-06-19 20:53:04 [INFOS] [STDOUT] Suspicious classes: FML and Forge are installed 2014-06-19 20:53:04 [INFOS] [STDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2014-06-19 20:53:04 [INFOS] [STDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 5 mods loaded, 5 mods active 2014-06-19 20:53:04 [INFOS] [STDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:53:04 [INFOS] [STDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:53:04 [INFOS] [STDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:53:04 [INFOS] [STDOUT] Flamingo{@VERSION@} [Flamingo] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:53:04 [INFOS] [STDOUT] ViruZ{3.0} [ViruZ] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available 2014-06-19 20:53:04 [INFOS] [STDOUT] Launched Version: 1.6 2014-06-19 20:53:04 [INFOS] [STDOUT] LWJGL: 2.9.0 2014-06-19 20:53:04 [INFOS] [STDOUT] OpenGL: Intel(R) HD Graphics 3000 GL version 3.1.0 - Build 9.17.10.3347, Intel 2014-06-19 20:53:04 [INFOS] [STDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge' 2014-06-19 20:53:04 [INFOS] [STDOUT] Type: Client (map_client.txt) 2014-06-19 20:53:04 [INFOS] [STDOUT] Resource Pack: Default 2014-06-19 20:53:04 [INFOS] [STDOUT] Current Language: Français (France) 2014-06-19 20:53:04 [INFOS] [STDOUT] Profiler Position: N/A (disabled) 2014-06-19 20:53:04 [INFOS] [STDOUT] Vec3 Pool Size: 79 (4424 bytes; 0 MB) allocated, 25 (1400 bytes; 0 MB) used 2014-06-19 20:53:04 [INFOS] [STDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Jean-Baptiste\Desktop\Modding\JAVA\Stand-by\ViruZ_Core_Forge_1.6.4_9.11.1.965\forge\mcp\jars\.\crash-reports\crash-2014-06-19_20.53.04-client.txt AL lib: (EE) alc_cleanup: 1 device not closed
:::
Voilà
-
Et maintenant (oui je t’en demande des choses) la ligne 74 de la classe (BlockFlamingo.?java:74)
-
for(String playerName : MinecraftServer.getServer().getAllUsernames())
-
Soit le serveur soit la liste est null.
Essaye de mettre un if(!world.isRemote) -
Voilà problème réglé !