Résolu Faire un compteur de tick (Bar de soif)
-
Bonjour à tous, pour un de mes projets il faudrait qu’au bout d’un certains nombre de tick une valeur diminue de 1. Par exemple, je voudrais que tous les 100 ticks sur le monde, la variable x prenne la valeur x-1. Il faut donc pouvoir gérer les ticks et détecter quand il y en a 100. Le souci c’est que je n’est aucune idée pour faire cela, voilà pourquoi je me tourne vers vous.
Merci par avance.
(Réponse en dernière page)
-
Salut,
Il y a plusieurs moyens de faire cela, ça dépend du contexte.
Si ta valeur à diminuer de un est une variable de tile entity, tu peux dans la fonction update du tile entity faire un compteur de tick (simplement en créant une variable qui sera incrémenté à chaque tick) et faire ton action quand cette variable est supérieur à 100 (et la remettre à 0 en même temps). -
Dans le cas de la barre de nourriture ça fonctionne cette méthode ?
-
La variable que tu veux incrémenter se trouve où ?
-
En fait je suis entrain de faire un système de soif, j’ai déjà dessiner la barre de soif avec RenderGameOverlayEvent. La variable qui va permettre de faire diminuer la barre de soif est la largeur de la barre, c’est ma propre variable.
Pour le moment j’ai fais ça :public class SurvivantThirstBar { public static int ThirstMax = 86; public static int ThirstMin = 0; public static int ThirstValue = 86; @SubscribeEvent public void onRenderGameOverlay(RenderGameOverlayEvent event) { if (!event.isCancelable() && event.type == ElementType.EXPERIENCE) { Minecraft mc = Minecraft.getMinecraft(); if (!mc.thePlayer.capabilities.isCreativeMode) { int posX = event.resolution.getScaledWidth() / 2 + 7; int posY = event.resolution.getScaledHeight() - 50; mc.renderEngine.bindTexture(new ResourceLocation("survivant:textures/gui/thirstBar.png")); mc.ingameGUI.drawTexturedModalRect(posX, posY, 0, 0, 88, 9); mc.ingameGUI.drawTexturedModalRect(posX + 1, posY + 1, 0, 9, ThirstValue, 7); } } } }
ThirstValue est la variable qui va diminuer la largeur de la barre de soif de 1 tous les 100 ticks par exemples.
-
Ce que tu fais là fonctionne en solo mais sur un serveur ça va faire n’importe quoi.
Il faut que tu gardes le niveau de soif dans une capabilities.
Pour faire descendre la barre, il faudrait passer par un event de tick du joueur (TickEvent.PlayerTick). -
Il faut donc que je stock la variable quelque part quand on se déconnecte. Pour TickEvent.PlayerEvent j’avais un peu regardé mais je n’est aucune idée de comment ça fonctionne.
-
Il y a un tutoriel sur les event.
Pour le stockage, les capabilities sont justement là pour ça. -
J’ai fait ceci :
@SubscribeEvent public void playerTick(TickEvent.PlayerTickEvent event) { for (int i = 0; i < 101; i++) { if (i == 100) { ThirstValue–; i=0; } } }
J’avais réussi à aire descendre la barre super vite avec cela :
@SubscribeEvent public void playerTick(TickEvent.PlayerTickEvent event) { ThirstValue--; }
Le problème c’est qu’avec le premier code, le monde ne se charge même pas. Une idéé ?
Merci par avance. -
Ton premier code est une boucle infini.
-
C’est normale, le premier crée une boucle infinie ce qui fait que tu ne sort jamais de la fonction. Mais de toute façon, que ce soit le premier ou le second code ce n’est pas bon. Il te faut un variable de soif par joueur, d’où l’utilisation des capabilities.
-
Je viens de comprendre l’utilisation des capabilities, j’ai suivi un tuto pour en faire, ça donne ça :
Classe principale :
package com.survivant.mod; import java.awt.Color; import com.survivant.mod.blocks.BlockMod; import com.survivant.mod.blocks.BlockPotableWater; import com.survivant.mod.blocks.PotableWater; import com.survivant.mod.entity.EntityFish; import com.survivant.mod.entity.EntityRay; import com.survivant.mod.entity.EntitySalmon; import com.survivant.mod.handlers.EntityHandler; import com.survivant.mod.items.ItemMod; import com.survivant.mod.proxy.CommonProxy; import net.minecraft.block.Block; import net.minecraft.block.state.IBlockState; import net.minecraft.client.renderer.ItemMeshDefinition; import net.minecraft.client.renderer.block.statemap.StateMapperBase; import net.minecraft.client.resources.model.ModelBakery; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.model.ModelLoader; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.CapabilityInject; import net.minecraftforge.event.entity.living.LivingEvent; import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; import net.minecraftforge.fluids.BlockFluidClassic; import net.minecraftforge.fluids.Fluid; import net.minecraftforge.fluids.FluidContainerRegistry; import net.minecraftforge.fluids.FluidRegistry; import net.minecraftforge.fluids.FluidStack; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.Instance; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.network.NetworkRegistry; import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.VERSION) public class ModSurvivant { @CapabilityInject(ThirstCapabilities.class) public static final Capability <thirstcapabilities>T_CAP = null; public static SimpleNetworkWrapper network; @SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS) public static CommonProxy proxy; @Instance(Reference.MOD_ID) public static ModSurvivant instance; public static CreativeTabs tabSurvivant = new CreativeTabs("tabSurvivant") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return Item.getItemFromBlock(BlockMod.blockTotem); } }; public static PotableWater potable_water = new PotableWater(); public static BlockPotableWater blockPotableWater; @EventHandler public void preInit (FMLPreInitializationEvent event) { RemoveRecipes.init(); ItemMod.init(); ItemMod.register(); BlockMod.init(); BlockMod.register(); /*Eau potable*/ FluidRegistry.registerFluid(potable_water); blockPotableWater = new BlockPotableWater(potable_water); GameRegistry.registerBlock(blockPotableWater, "blockPotableWater"); Item item = Item.getItemFromBlock(blockPotableWater); ModelBakery.registerItemVariants(item); final ModelResourceLocation loc = new ModelResourceLocation("survivant:potable"); ModelLoader.setCustomMeshDefinition(item, new ItemMeshDefinition() { @Override public ModelResourceLocation getModelLocation(ItemStack stack) { return loc; } }); ModelLoader.setCustomStateMapper(blockPotableWater, new StateMapperBase() { @Override protected ModelResourceLocation getModelResourceLocation(IBlockState state) { return loc; } }); network = NetworkRegistry.INSTANCE.newSimpleChannel("MyChannel"); network.registerMessage(PacketThirstCapabilities.ClientHandler.class, PacketThirstCapabilities.class, 3, Side.CLIENT); network.registerMessage(PacketThirstCapabilities.ServerHandler.class, PacketThirstCapabilities.class, 3, Side.SERVER); } @EventHandler public void init (FMLInitializationEvent event) { proxy.registerRenders(); ThirstCapabilities.register(); MinecraftForge.EVENT_BUS.register(new SurvivantBlockEvent()); MinecraftForge.EVENT_BUS.register(new SurvivantThirstBar()); EntityHandler.RegisterFish(EntityFish.class, "Fish"); EntityHandler.RegisterSalmon(EntitySalmon.class, "Salmon"); EntityHandler.RegisterRay(EntityRay.class, "Ray"); } @EventHandler public void postInit (FMLPostInitializationEvent event) { } }
Classe SurvivantThirstBar (event):
package com.survivant.mod; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.ResourceLocation; import net.minecraftforge.client.event.GuiScreenEvent; import net.minecraftforge.client.event.RenderGameOverlayEvent; import net.minecraftforge.client.event.RenderGameOverlayEvent.ElementType; import net.minecraftforge.event.AttachCapabilitiesEvent; import net.minecraftforge.event.entity.player.PlayerEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.PlayerEvent.PlayerRespawnEvent; import net.minecraftforge.fml.common.gameevent.TickEvent; public class SurvivantThirstBar { public static int ThirstValue = 86; @SubscribeEvent public void playerTick(TickEvent.PlayerTickEvent event) { int i = 0; while (i < 101) { i++; } if (i == 101) { i = 0; ThirstValue–; } } @SubscribeEvent public void onPlayerCloned(PlayerEvent.Clone event) { if (event.wasDeath) { if (event.original.hasCapability(ModSurvivant.T_CAP, null)) { ThirstCapabilities cap = event.original.getCapability(ModSurvivant.T_CAP, null); ThirstCapabilities newCap = event.entityPlayer.getCapability(ModSurvivant.T_CAP, null); newCap.setThirstVal(cap.getThirstVal()); } } } @SubscribeEvent public void onPlayerRespawn(PlayerRespawnEvent event) { if(!event.player.worldObj.isRemote) { event.player.getCapability(ModSurvivant.T_CAP, null).sync(); } } @SubscribeEvent public void onAttachCapability(AttachCapabilitiesEvent.Entity event) { if (event.getEntity() instanceof EntityPlayer) { event.addCapability(new ResourceLocation(Reference.MOD_ID + ":T_CAP"), new ThirstCapabilities((EntityPlayer) event.getEntity())); } } @SubscribeEvent public void onRenderGameOverlay(RenderGameOverlayEvent event) { if (!event.isCancelable() && event.type == ElementType.EXPERIENCE) { Minecraft mc = Minecraft.getMinecraft(); if (!mc.thePlayer.capabilities.isCreativeMode) { int posX = event.resolution.getScaledWidth() / 2 + 7; int posY = event.resolution.getScaledHeight() - 50; mc.renderEngine.bindTexture(new ResourceLocation("survivant:textures/gui/thirstBar.png")); mc.ingameGUI.drawTexturedModalRect(posX, posY, 0, 0, 88, 9); mc.ingameGUI.drawTexturedModalRect(posX + 1, posY + 1, 0, 9, ThirstValue, 7); } } } }
Classe PacketThirstCapabilities :
package com.survivant.mod; import io.netty.buffer.ByteBuf; import net.minecraft.client.Minecraft; import net.minecraft.server.MinecraftServer; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class PacketThirstCapabilities implements IMessage { public static int thirstValue = SurvivantThirstBar.ThirstValue; public PacketThirstCapabilities(int thirstValue) { this.thirstValue = thirstValue; } public PacketThirstCapabilities() {} @Override public void fromBytes(ByteBuf buf) { this.thirstValue = buf.readInt(); } @Override public void toBytes(ByteBuf buf) { buf.writeInt(this.thirstValue); } public static class ServerHandler implements IMessageHandler <packetthirstcapabilities, imessage="">{ @Override public IMessage onMessage(PacketThirstCapabilities message, MessageContext ctx) { MinecraftServer.getServer().addScheduledTask(new ScheduledPacketTask(ctx.getServerHandler().playerEntity, message)); return null; } } @SideOnly(Side.CLIENT) public static class ClientHandler implements IMessageHandler <packetthirstcapabilities, imessage="">{ @Override public IMessage onMessage(PacketThirstCapabilities message, MessageContext ctx) { Minecraft.getMinecraft().addScheduledTask(new ScheduledPacketTask(null, message)); return null; } } }
Classe ScheduledPacketTask :
package com.survivant.mod; import net.minecraft.client.Minecraft; import net.minecraft.entity.player.EntityPlayer; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class ScheduledPacketTask implements Runnable { private EntityPlayer player; private PacketThirstCapabilities message; public ScheduledPacketTask(EntityPlayer player, PacketThirstCapabilities message) { this.player = player; this.message = message; } @Override public void run() { EntityPlayer player = this.player == null ? getPlayer() : this.player; player.getCapability(ModSurvivant.T_CAP, null).setThirstVal(message.thirstValue); } @SideOnly(Side.CLIENT) private EntityPlayer getPlayer() { return Minecraft.getMinecraft().thePlayer; } }
Classe ThirstCapabilities :
package com.survivant.mod; import java.util.concurrent.Callable; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.nbt.NBTBase; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.EnumFacing; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.CapabilityManager; import net.minecraftforge.common.capabilities.ICapabilityProvider; import net.minecraftforge.common.util.INBTSerializable; public class ThirstCapabilities implements ICapabilityProvider,INBTSerializable <nbttagcompound>{ public int thirstValue; private EntityPlayer player; @Override public boolean hasCapability(Capability capability, EnumFacing facing) { return ModSurvivant.T_CAP != null && capability == ModSurvivant.T_CAP; } @Override public <t>T getCapability(Capability <t>capability, EnumFacing facing) { return ModSurvivant.T_CAP != null && capability == ModSurvivant.T_CAP ? (T)this : null; } @Override public NBTTagCompound serializeNBT() { NBTTagCompound compound = new NBTTagCompound(); compound.setInteger("ThirstVal", this.getThirstVal()); return null; } @Override public void deserializeNBT(NBTTagCompound compound) { this.setThirstVal(compound.getInteger("ThirstVal")); } public void setThirstVal(int thirstValue) { this.thirstValue = thirstValue; } public int getThirstVal() { return this.thirstValue; } public static class Storage implements Capability.IStorage <thirstcapabilities>{ @Override public NBTBase writeNBT(Capability <thirstcapabilities>capability, ThirstCapabilities instance, EnumFacing side) { return null; } @Override public void readNBT(Capability <thirstcapabilities>capability, ThirstCapabilities instance, EnumFacing side, NBTBase nbt) { } } public static class Factory implements Callable <thirstcapabilities>{ @Override public ThirstCapabilities call() throws Exception { return null; } } public static void register() { CapabilityManager.INSTANCE.register(ThirstCapabilities.class, new ThirstCapabilities.Storage(), new ThirstCapabilities.Factory()); } public ThirstCapabilities(EntityPlayer player) { this.thirstValue = 0; this.player = player; } public void sync() { PacketThirstCapabilities packet = new PacketThirstCapabilities(this.getThirstVal()); if(!this.player.worldObj.isRemote) { EntityPlayerMP playerMP = (EntityPlayerMP)player; ModSurvivant.network.sendTo(packet, playerMP); } else { ModSurvivant.network.sendToServer(packet); } } }
Maintenant, j’ai commencé à m’occuper du système qui va faire diminuer la barre de soif au fur et à mesure (dans la classe event SurvivantThirstBar), sauf que je suis bloqué pour faire diminuer la valeur de la barre de soif de 1, j’ai fait une boucle while avec un int i jusqu’à 101 mais cette fois encore ça descend trop vite, j’ai essayé d’augmenter la valeur que dois atteindre i mais la le jeu ne se lance même plus. Comment faire ?
Merci d’avance.</thirstcapabilities></thirstcapabilities></thirstcapabilities></thirstcapabilities></t></t></nbttagcompound></packetthirstcapabilities,></packetthirstcapabilities,></thirstcapabilities>
-
Il ne faut pas que tu fasses du boucle, tu as juste besoin, à chaque tick d’incrémenter la soif jusqu’à ce qu’elle atteigne la valeur max.
-
En fait, le jeu ne veux même plus démarrer même quand il n’y a rien dans la méthode playerTick
Voilà ce qu’il y a écrit :
2017-04-10 19:00:08,870 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-04-10 19:00:08,875 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [19:00:08] [main/INFO] [GradleStart]: Extra: [] [19:00:08] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --assetsDir, C:/Users/user/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [19:00:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [19:00:09] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1747 for Minecraft 1.8.9 loading [19:00:09] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_121 [19:00:09] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [19:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [19:00:09] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [19:00:09] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [19:00:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [19:00:09] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [19:00:09] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [19:00:10] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [19:00:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [19:00:10] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [19:00:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [19:00:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [19:00:11] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [19:00:11] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2017-04-10 19:00:12,680 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-04-10 19:00:12,711 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2017-04-10 19:00:12,714 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [19:00:13] [Client thread/INFO]: Setting user: Player543 [19:00:13] [Client thread/ERROR] [LaunchWrapper]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) ~[guava-17.0.jar:?] at com.google.common.collect.Lists$ReverseList.<init>(Lists.java:767) ~[guava-17.0.jar:?] at com.google.common.collect.Lists.reverse(Lists.java:759) ~[guava-17.0.jar:?] at net.minecraft.server.management.PlayerProfileCache.load(PlayerProfileCache.java:237) ~[PlayerProfileCache.class:?] at net.minecraft.server.management.PlayerProfileCache.<init>(PlayerProfileCache.java:75) ~[PlayerProfileCache.class:?] at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:172) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.<init>(IntegratedServer.java:48) ~[IntegratedServer.class:?] at net.minecraft.client.Minecraft.<init>(Minecraft.java:342) ~[Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) ~[Main.class:?] … 12 more Exception in thread "Client thread" [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.reflect.InvocationTargetException [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.reflect.Method.invoke(Unknown Source) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at GradleStart.main(GradleStart.java:26) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:30) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.SecurityManager.checkExit(Unknown Source) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Runtime.exit(Unknown Source) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.System.exit(Unknown Source) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [19:00:13] [Client thread/INFO] [STDERR]: [java.lang.ThreadGroup:uncaughtException:-1]: … 6 more Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release ```</init></init></init></init></init>
-
Par contre, tu utilises toujours la variable de ta classe, tes capabilities ne servent à rien pour le moment. Tu dois utiliser le thirstValue de ta class capabilities. Ensuite, tu ne dois pas utiliser une boucle, l’event est déjà appelée à chaque tick, donc déclare ta variable à l’extérieur, et incrémente jusqu’à 100, et tu remets à 0.
-
Ok, j’ai bien envie de la faire mais le jeu ne se lance pas, c’est le même rapport d’erreur qu’au dessus.
-
Envoi le rapport complet (fml-server-latest.log)
-
Pour le moment je fais les test sur le client, (mais je viens de tester avec le serveur, il y a aussi un problème) :
Pour le client :
[20:09:38] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. [20:09:38] [main/INFO] [FML/]: Forge Mod Loader version 11.15.1.1747 for Minecraft 1.8.9 loading [20:09:38] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_121 [20:09:38] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\user\Desktop\forge-1.8.9-11.15.1.1747-mdk\bin;C:\Users\user\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1747\stable\20\forgeSrc-1.8.9-11.15.1.1747.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\oshi-project\oshi-core\1.1\9ddf7b048a8d701be231c0f4f95fd986198fd2d8\oshi-core-1.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\3.4.0\803ff252fedbd395baffd43b37341dc4a150a554\jna-3.4.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\platform\3.4.0\e3f70017be8100d3d6923f50b3d2ee17714e9c13\platform-3.4.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.ibm.icu\icu4j-core-mojang\51.2\63d216a9311cca6be337c1e458e587f99d382b84\icu4j-core-mojang-51.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.sf.jopt-simple\jopt-simple\4.6\306816fb57cf94f108a43c95731b08934dcae15c\jopt-simple-4.6.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\codecjorbis\20101023\c73b5636faf089d9f00e8732a829577de25237ee\codecjorbis-20101023.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\codecwav\20101023\12f031cfe88fef5c1dd36c563c0a3a69bd7261da\codecwav-20101023.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\libraryjavasound\20101123\5c5e304366f75f9eaa2e8cca546a1fb6109348b3\libraryjavasound-20101123.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\librarylwjglopenal\20100824\73e80d0794c39665aec3f62eee88ca91676674ef\librarylwjglopenal-20100824.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\soundsystem\20120107\419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6\soundsystem-20120107.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\io.netty\netty-all\4.0.23.Final\294104aaf1781d6a56a07d561e792c5d0c95f45\netty-all-4.0.23.Final.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\guava-17.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.3.2\90a3822c38ec8c996e84c16a3477ef632cbc87a3\commons-lang3-3.3.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.4\b1b6ea3b7e4aa4f492509a4952029cd8e48019ad\commons-io-2.4.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.9\9ce04e34240f674bc72680f8b843b1457383161a\commons-codec-1.9.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput\2.0.5\39c7796b469a600f72380316f6b1f11db6c2c7c4\jinput-2.0.5.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jutils\jutils\1.0.0\e12fe1fda814bd348c1579329c86943d2cd3c6a6\jutils-1.0.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.2.4\a60a5e993c98c864010053cb901b7eab25306568\gson-2.2.4.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.mojang\authlib\1.5.21\aefba0d5b53fbcb70860bc8046ab95d5854c07a5\authlib-1.5.21.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.mojang\realms\1.7.59\9c6c59b742d8e038a15f64c1aa273a893a658424\realms-1.7.59.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-compress\1.8.1\a698750c16740fd5b3871425f4cb3bbaa87f529d\commons-compress-1.8.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.3.3\18f4247ff4572a074444572cee34647c43e7c9c7\httpclient-4.3.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.1.3\f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f\commons-logging-1.1.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.3.2\31fbbff1ddbf98f3aa7377c94d33b0447c646b6e\httpcore-4.3.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.0-beta9\1dd66e68cccd907880229f9e2de1314bd13ff785\log4j-api-2.0-beta9.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-core\2.0-beta9\678861ba1b2e1fccb594bb0ca03114bb05da9695\log4j-core-2.0-beta9.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl\2.9.4-nightly-20150209\697517568c68e78ae0b4544145af031c81082dfe\lwjgl-2.9.4-nightly-20150209.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl_util\2.9.4-nightly-20150209\d51a7c040a721d13efdfbd34f8b257b2df882ad0\lwjgl_util-2.9.4-nightly-20150209.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch\6.5\320a2dfd18513a5f41b4e75729df684488cbd925\twitch-6.5.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.minecraft\launchwrapper\1.12\111e7bea9c968cdb3d06ef4632bf7ff0824d0f36\launchwrapper-1.12.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\jline\jline\2.13\2d9530d0a25daffaffda7c35037b046b627bb171\jline-2.13.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-debug-all\5.0.3\f9e364ae2a66ce2a543012a4668856e84e5dab74\asm-debug-all-5.0.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.typesafe.akka\akka-actor_2.11\2.3.3\ed62e9fc709ca0f2ff1a3220daa8b70a2870078e\akka-actor_2.11-2.3.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.typesafe\config\1.2.1\f771f71fdae3df231bcd54d5ca2d57f0bf93f467\config-1.2.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors-migration_2.11\1.1.0\dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f\scala-actors-migration_2.11-1.1.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-compiler\2.11.1\56ea2e6c025e0821f28d73ca271218b8dd04926a\scala-compiler-2.11.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-library_2.11\1.0.2\e517c53a7e9acd6b1668c5a35eccbaa3bab9aac\scala-continuations-library_2.11-1.0.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-plugin_2.11.1\1.0.2\f361a3283452c57fa30c1ee69448995de23c60f7\scala-continuations-plugin_2.11.1-1.0.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-library\2.11.1\e11da23da3eabab9f4777b9220e60d44c1aab6a\scala-library-2.11.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-parser-combinators_2.11\1.0.1\f05d7345bf5a58924f2837c6c1f4d73a938e1ff0\scala-parser-combinators_2.11-1.0.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-reflect\2.11.1\6580347e61cc7f8e802941e7fde40fa83b8badeb\scala-reflect-2.11.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-swing_2.11\1.0.1\b1cdd92bd47b1e1837139c1c53020e86bb9112ae\scala-swing_2.11-1.0.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-xml_2.11\1.0.2\820fbca7e524b530fdadc594c39d49a21ea0337e\scala-xml_2.11-1.0.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\lzma\lzma\0.0.1\521616dc7487b42bef0e803bd2fa3faf668101d7\lzma-0.0.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\java3d\vecmath\1.5.2\79846ba34cbd89e2422d74d53752f993dcc2ccaf\vecmath-1.5.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.sf.trove4j\trove4j\3.0.3\42ccaf4761f0dfdfa805c9e340d99a755907e2dd\trove4j-3.0.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\7ff832a6eb9ab6a767f1ade2b548092d0fa64795\jinput-platform-2.0.5-natives-linux.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\385ee093e01f587f30ee1c8a2ee7d408fd732e16\jinput-platform-2.0.5-natives-windows.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\53f9c919f34d2ca9de8c51fc4e1e8282029a9232\jinput-platform-2.0.5-natives-osx.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\206c4ccaecdbcfd2a1631150c69a97bbc9c20c11\twitch-platform-6.5-natives-windows-32.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\9fdd0fd5aed0817063dcf95b69349a171f447ebd\twitch-platform-6.5-natives-windows-64.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\5f9d1ee26257b3a33f0ca06fed335ef462af659f\twitch-platform-6.5-natives-osx.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\18215140f010c05b9f86ef6f0f8871954d2ccebf\twitch-external-platform-4.5-natives-windows-32.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\c3cde57891b935d41b6680a9c5e1502eeab76d86\twitch-external-platform-4.5-natives-windows-64.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.fusesource.jansi\jansi\1.11\655c643309c2f45a56a747fda70e3fadf57e9f11\jansi-1.11.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors\2.11.0\8ccfb6541de179bb1c4d45cf414acee069b7f78b\scala-actors-2.11.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0\lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\931074f46c795d2f7b30ed6395df5715cfd7675b\lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\bcab850f8f487c3f4c4dbabde778bb82bd1a40ed\lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.google.code.findbugs\jsr305\2.0.1\516c03b21d50a644d538de0f0369c620989cd8f0\jsr305-2.0.1.jar;C:\Users\user\.gradle\caches\minecraft\deobfedDeps\compileDummy.jar;C:\Users\user\.gradle\caches\minecraft\deobfedDeps\providedDummy.jar;C:\Users\user\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1747\start [20:09:38] [main/DEBUG] [FML/]: Java library path at launch is C:\Program Files\Java\jre1.8.0_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Program Files (x86)\Skype\Phone\;C:\Users\user\Documents\FFmpeg\ffmpeg-20160227-git-5156578-win64-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;C:\Users\user\Documents\FFmpeg\ffmpeg-20160227-git-5156578-win64-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone";C:\Program Files\eclipse;;.;C:/Users/user/.gradle/caches/minecraft/net/minecraft/natives/1.8.9 [20:09:38] [main/INFO] [FML/]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:09:38] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin [20:09:38] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers [20:09:38] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin [20:09:38] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin [20:09:38] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin [20:09:38] [main/DEBUG] [FML/]: All fundamental core mods are successfully located [20:09:38] [main/DEBUG] [FML/]: Attempting to load commandline specified mods, relative to C:\Users\user\Desktop\forge-1.8.9-11.15.1.1747-mdk\run\. [20:09:38] [main/DEBUG] [FML/]: Discovering coremods [20:09:38] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [20:09:38] [main/INFO] [GradleStart/]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [20:09:38] [main/INFO] [GradleStart/]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:09:38] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:09:38] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:09:38] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:09:38] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:09:38] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:09:38] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:09:38] [main/DEBUG] [FML/]: Injecting coremod FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} class transformers [20:09:38] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.BlamingTransformer [20:09:38] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer [20:09:38] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer [20:09:38] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer [20:09:38] [main/DEBUG] [FML/]: Injection complete [20:09:38] [main/DEBUG] [FML/]: Running coremod plugin for FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} [20:09:38] [main/DEBUG] [FML/]: Running coremod plugin FMLCorePlugin [20:09:38] [main/ERROR] [FML/]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:09:39] [main/DEBUG] [FML/]: Loading deobfuscation resource C:\Users\user\.gradle\caches\minecraft\de\oceanlabs\mcp\mcp_stable\20\srgs\srg-mcp.srg with 27884 records [20:09:41] [main/ERROR] [FML/]: FML appears to be missing any signature data. This is not a good thing [20:09:41] [main/DEBUG] [FML/]: Coremod plugin class FMLCorePlugin run successfully [20:09:41] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:09:41] [main/DEBUG] [FML/]: Injecting coremod FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} class transformers [20:09:41] [main/DEBUG] [FML/]: Injection complete [20:09:41] [main/DEBUG] [FML/]: Running coremod plugin for FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} [20:09:41] [main/DEBUG] [FML/]: Running coremod plugin FMLForgePlugin [20:09:41] [main/DEBUG] [FML/]: Coremod plugin class FMLForgePlugin run successfully [20:09:41] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:09:41] [main/DEBUG] [FML/]: Loaded 165 rules from AccessTransformer config file forge_at.cfg [20:09:41] [main/DEBUG] [FML/]: Validating minecraft [20:09:44] [main/DEBUG] [FML/]: Minecraft validated, launching… [20:09:44] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:09:44] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [20:09:44] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [20:09:44] [main/INFO] [LaunchWrapper/]: Launching wrapped minecraft {net.minecraft.client.main.Main} [20:09:47] [Client thread/ERROR] [LaunchWrapper/]: Unable to launch java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_121] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_121] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) ~[guava-17.0.jar:?] at com.google.common.collect.Lists$ReverseList.<init>(Lists.java:767) ~[guava-17.0.jar:?] at com.google.common.collect.Lists.reverse(Lists.java:759) ~[guava-17.0.jar:?] at net.minecraft.server.management.PlayerProfileCache.load(PlayerProfileCache.java:237) ~[PlayerProfileCache.class:?] at net.minecraft.server.management.PlayerProfileCache.<init>(PlayerProfileCache.java:75) ~[PlayerProfileCache.class:?] at net.minecraft.server.MinecraftServer.<init>(MinecraftServer.java:172) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.<init>(IntegratedServer.java:48) ~[IntegratedServer.class:?] at net.minecraft.client.Minecraft.<init>(Minecraft.java:342) ~[Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:116) ~[Main.class:?] … 12 more [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: java.lang.reflect.InvocationTargetException [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.reflect.Method.invoke(Unknown Source) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at GradleStart.main(GradleStart.java:26) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: Caused by: net.minecraftforge.fml.relauncher.FMLSecurityManager$ExitTrappedException [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraftforge.fml.relauncher.FMLSecurityManager.checkPermission(FMLSecurityManager.java:30) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.SecurityManager.checkExit(Unknown Source) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.Runtime.exit(Unknown Source) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at java.lang.System.exit(Unknown Source) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:138) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [20:09:47] [Client thread/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:-1]: … 6 more
Pour le serveur :
[20:07:48] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR. [20:07:48] [main/INFO] [FML/]: Forge Mod Loader version 11.15.1.1747 for Minecraft 1.8.9 loading [20:07:48] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_121, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre1.8.0_121 [20:07:48] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\user\Desktop\forge-1.8.9-11.15.1.1747-mdk\bin;C:\Users\user\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1747\stable\20\forgeSrc-1.8.9-11.15.1.1747.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\oshi-project\oshi-core\1.1\9ddf7b048a8d701be231c0f4f95fd986198fd2d8\oshi-core-1.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\3.4.0\803ff252fedbd395baffd43b37341dc4a150a554\jna-3.4.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\platform\3.4.0\e3f70017be8100d3d6923f50b3d2ee17714e9c13\platform-3.4.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.ibm.icu\icu4j-core-mojang\51.2\63d216a9311cca6be337c1e458e587f99d382b84\icu4j-core-mojang-51.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.sf.jopt-simple\jopt-simple\4.6\306816fb57cf94f108a43c95731b08934dcae15c\jopt-simple-4.6.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\codecjorbis\20101023\c73b5636faf089d9f00e8732a829577de25237ee\codecjorbis-20101023.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\codecwav\20101023\12f031cfe88fef5c1dd36c563c0a3a69bd7261da\codecwav-20101023.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\libraryjavasound\20101123\5c5e304366f75f9eaa2e8cca546a1fb6109348b3\libraryjavasound-20101123.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\librarylwjglopenal\20100824\73e80d0794c39665aec3f62eee88ca91676674ef\librarylwjglopenal-20100824.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.paulscode\soundsystem\20120107\419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6\soundsystem-20120107.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\io.netty\netty-all\4.0.23.Final\294104aaf1781d6a56a07d561e792c5d0c95f45\netty-all-4.0.23.Final.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\17.0\9c6ef172e8de35fd8d4d8783e4821e57cdef7445\guava-17.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.3.2\90a3822c38ec8c996e84c16a3477ef632cbc87a3\commons-lang3-3.3.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.4\b1b6ea3b7e4aa4f492509a4952029cd8e48019ad\commons-io-2.4.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.9\9ce04e34240f674bc72680f8b843b1457383161a\commons-codec-1.9.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput\2.0.5\39c7796b469a600f72380316f6b1f11db6c2c7c4\jinput-2.0.5.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jutils\jutils\1.0.0\e12fe1fda814bd348c1579329c86943d2cd3c6a6\jutils-1.0.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.2.4\a60a5e993c98c864010053cb901b7eab25306568\gson-2.2.4.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.mojang\authlib\1.5.21\aefba0d5b53fbcb70860bc8046ab95d5854c07a5\authlib-1.5.21.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.mojang\realms\1.7.59\9c6c59b742d8e038a15f64c1aa273a893a658424\realms-1.7.59.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-compress\1.8.1\a698750c16740fd5b3871425f4cb3bbaa87f529d\commons-compress-1.8.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.3.3\18f4247ff4572a074444572cee34647c43e7c9c7\httpclient-4.3.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.1.3\f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f\commons-logging-1.1.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.3.2\31fbbff1ddbf98f3aa7377c94d33b0447c646b6e\httpcore-4.3.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.0-beta9\1dd66e68cccd907880229f9e2de1314bd13ff785\log4j-api-2.0-beta9.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-core\2.0-beta9\678861ba1b2e1fccb594bb0ca03114bb05da9695\log4j-core-2.0-beta9.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl\2.9.4-nightly-20150209\697517568c68e78ae0b4544145af031c81082dfe\lwjgl-2.9.4-nightly-20150209.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl_util\2.9.4-nightly-20150209\d51a7c040a721d13efdfbd34f8b257b2df882ad0\lwjgl_util-2.9.4-nightly-20150209.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch\6.5\320a2dfd18513a5f41b4e75729df684488cbd925\twitch-6.5.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.minecraft\launchwrapper\1.12\111e7bea9c968cdb3d06ef4632bf7ff0824d0f36\launchwrapper-1.12.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\jline\jline\2.13\2d9530d0a25daffaffda7c35037b046b627bb171\jline-2.13.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-debug-all\5.0.3\f9e364ae2a66ce2a543012a4668856e84e5dab74\asm-debug-all-5.0.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.typesafe.akka\akka-actor_2.11\2.3.3\ed62e9fc709ca0f2ff1a3220daa8b70a2870078e\akka-actor_2.11-2.3.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.typesafe\config\1.2.1\f771f71fdae3df231bcd54d5ca2d57f0bf93f467\config-1.2.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors-migration_2.11\1.1.0\dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f\scala-actors-migration_2.11-1.1.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-compiler\2.11.1\56ea2e6c025e0821f28d73ca271218b8dd04926a\scala-compiler-2.11.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-library_2.11\1.0.2\e517c53a7e9acd6b1668c5a35eccbaa3bab9aac\scala-continuations-library_2.11-1.0.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.plugins\scala-continuations-plugin_2.11.1\1.0.2\f361a3283452c57fa30c1ee69448995de23c60f7\scala-continuations-plugin_2.11.1-1.0.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-library\2.11.1\e11da23da3eabab9f4777b9220e60d44c1aab6a\scala-library-2.11.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-parser-combinators_2.11\1.0.1\f05d7345bf5a58924f2837c6c1f4d73a938e1ff0\scala-parser-combinators_2.11-1.0.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-reflect\2.11.1\6580347e61cc7f8e802941e7fde40fa83b8badeb\scala-reflect-2.11.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-swing_2.11\1.0.1\b1cdd92bd47b1e1837139c1c53020e86bb9112ae\scala-swing_2.11-1.0.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang.modules\scala-xml_2.11\1.0.2\820fbca7e524b530fdadc594c39d49a21ea0337e\scala-xml_2.11-1.0.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\lzma\lzma\0.0.1\521616dc7487b42bef0e803bd2fa3faf668101d7\lzma-0.0.1.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\java3d\vecmath\1.5.2\79846ba34cbd89e2422d74d53752f993dcc2ccaf\vecmath-1.5.2.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.sf.trove4j\trove4j\3.0.3\42ccaf4761f0dfdfa805c9e340d99a755907e2dd\trove4j-3.0.3.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\7ff832a6eb9ab6a767f1ade2b548092d0fa64795\jinput-platform-2.0.5-natives-linux.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\385ee093e01f587f30ee1c8a2ee7d408fd732e16\jinput-platform-2.0.5-natives-windows.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput-platform\2.0.5\53f9c919f34d2ca9de8c51fc4e1e8282029a9232\jinput-platform-2.0.5-natives-osx.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\206c4ccaecdbcfd2a1631150c69a97bbc9c20c11\twitch-platform-6.5-natives-windows-32.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\9fdd0fd5aed0817063dcf95b69349a171f447ebd\twitch-platform-6.5-natives-windows-64.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-platform\6.5\5f9d1ee26257b3a33f0ca06fed335ef462af659f\twitch-platform-6.5-natives-osx.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\18215140f010c05b9f86ef6f0f8871954d2ccebf\twitch-external-platform-4.5-natives-windows-32.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\tv.twitch\twitch-external-platform\4.5\c3cde57891b935d41b6680a9c5e1502eeab76d86\twitch-external-platform-4.5-natives-windows-64.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.fusesource.jansi\jansi\1.11\655c643309c2f45a56a747fda70e3fadf57e9f11\jansi-1.11.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.scala-lang\scala-actors\2.11.0\8ccfb6541de179bb1c4d45cf414acee069b7f78b\scala-actors-2.11.0.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\b84d5102b9dbfabfeb5e43c7e2828d98a7fc80e0\lwjgl-platform-2.9.4-nightly-20150209-natives-windows.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\931074f46c795d2f7b30ed6395df5715cfd7675b\lwjgl-platform-2.9.4-nightly-20150209-natives-linux.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\org.lwjgl.lwjgl\lwjgl-platform\2.9.4-nightly-20150209\bcab850f8f487c3f4c4dbabde778bb82bd1a40ed\lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar;C:\Users\user\.gradle\caches\modules-2\files-2.1\com.google.code.findbugs\jsr305\2.0.1\516c03b21d50a644d538de0f0369c620989cd8f0\jsr305-2.0.1.jar;C:\Users\user\.gradle\caches\minecraft\deobfedDeps\compileDummy.jar;C:\Users\user\.gradle\caches\minecraft\deobfedDeps\providedDummy.jar;C:\Users\user\.gradle\caches\minecraft\net\minecraftforge\forge\1.8.9-11.15.1.1747\start [20:07:48] [main/DEBUG] [FML/]: Java library path at launch is C:\Program Files\Java\jre1.8.0_121\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_121/bin/server;C:/Program Files/Java/jre1.8.0_121/bin;C:/Program Files/Java/jre1.8.0_121/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.8.0_121\bin;C:\Program Files (x86)\Skype\Phone\;C:\Users\user\Documents\FFmpeg\ffmpeg-20160227-git-5156578-win64-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone\;C:\Users\user\Documents\FFmpeg\ffmpeg-20160227-git-5156578-win64-static\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Java\jdk1.8.0_51\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Skype\Phone";C:\Program Files\eclipse;;. [20:07:48] [main/INFO] [FML/]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [20:07:48] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin [20:07:48] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.fml.common.asm.transformers.AccessTransformer to enqueued access transformers [20:07:48] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin [20:07:48] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin [20:07:48] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin [20:07:48] [main/DEBUG] [FML/]: All fundamental core mods are successfully located [20:07:48] [main/DEBUG] [FML/]: Attempting to load commandline specified mods, relative to C:\Users\user\Desktop\forge-1.8.9-11.15.1.1747-mdk\run\. [20:07:48] [main/DEBUG] [FML/]: Discovering coremods [20:07:48] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [20:07:48] [main/INFO] [GradleStart/]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [20:07:48] [main/INFO] [GradleStart/]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [20:07:48] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:07:48] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:07:48] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:07:48] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:07:48] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [20:07:48] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:07:48] [main/DEBUG] [FML/]: Injecting coremod FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} class transformers [20:07:48] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.BlamingTransformer [20:07:48] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer [20:07:48] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriptionTransformer [20:07:48] [main/TRACE] [FML/]: Registering transformer net.minecraftforge.fml.common.asm.transformers.EventSubscriberTransformer [20:07:48] [main/DEBUG] [FML/]: Injection complete [20:07:48] [main/DEBUG] [FML/]: Running coremod plugin for FMLCorePlugin {net.minecraftforge.fml.relauncher.FMLCorePlugin} [20:07:48] [main/DEBUG] [FML/]: Running coremod plugin FMLCorePlugin [20:07:48] [main/ERROR] [FML/]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [20:07:49] [main/DEBUG] [FML/]: Loading deobfuscation resource C:\Users\user\.gradle\caches\minecraft\de\oceanlabs\mcp\mcp_stable\20\srgs\srg-mcp.srg with 27884 records [20:07:52] [main/ERROR] [FML/]: FML appears to be missing any signature data. This is not a good thing [20:07:52] [main/DEBUG] [FML/]: Coremod plugin class FMLCorePlugin run successfully [20:07:52] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [20:07:52] [main/DEBUG] [FML/]: Injecting coremod FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} class transformers [20:07:52] [main/DEBUG] [FML/]: Injection complete [20:07:52] [main/DEBUG] [FML/]: Running coremod plugin for FMLForgePlugin {net.minecraftforge.classloading.FMLForgePlugin} [20:07:52] [main/DEBUG] [FML/]: Running coremod plugin FMLForgePlugin [20:07:52] [main/DEBUG] [FML/]: Coremod plugin class FMLForgePlugin run successfully [20:07:52] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [20:07:52] [main/DEBUG] [FML/]: Loaded 165 rules from AccessTransformer config file forge_at.cfg [20:07:52] [main/DEBUG] [FML/]: Validating minecraft [20:07:54] [main/DEBUG] [FML/]: Minecraft validated, launching… [20:07:54] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [20:07:54] [main/INFO] [LaunchWrapper/]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [20:07:54] [main/INFO] [LaunchWrapper/]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [20:07:55] [main/INFO] [LaunchWrapper/]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
Voilà, merci par avance.</init></init></init></init></init>
-
Est-ce que ça fonctionne si tu retires le TickEvent?
-
Quelle est ta version de forge ? Car chez moi le code qui provoque ça est impossible à atteindre