Code : Tout sélectionner
[21:17:00] [main/INFO] [GradleStart]: Extra: []
[21:17:00] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Hilou/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[21:17:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[21:17:00] [main/INFO] [FML]: Forge Mod Loader version 7.99.40.1614 for Minecraft 1.7.10 loading
[21:17:00] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jdk1.8.0_211\jre
[21:17:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[21:17:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[21:17:00] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[21:17:00] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[21:17:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[21:17:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:17:01] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[21:17:11] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[21:17:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[21:17:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[21:17:13] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[21:17:13] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[21:17:13] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[21:17:13] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[21:17:16] [main/INFO]: Setting user: Player78
[21:17:24] [Client thread/INFO]: LWJGL Version: 2.9.1
[21:17:29] [Client thread/INFO] [STDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 04/06/20 21:17
Description: Loading screen debug info
This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_211, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 948348816 bytes (904 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML:
GL info: ' Vendor: 'NVIDIA Corporation' Version: '3.3.0' Renderer: 'GeForce G210M/PCIe/SSE2'
[21:17:29] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[21:17:29] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1614 Initialized
[21:17:29] [Client thread/INFO] [FML]: Replaced 183 ore recipies
[21:17:31] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[21:17:32] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[21:17:32] [Client thread/INFO] [FML]: Searching C:\Users\Hilou\Desktop\Project Eclipse\Mod 1\eclipse\mods for mods
[21:17:55] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[21:17:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, HilouMod] at CLIENT
[21:17:56] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, HilouMod] at SERVER
[21:17:57] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Hilou Mod
[21:17:58] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[21:17:58] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[21:17:58] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[21:17:58] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[21:17:58] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[21:17:58] [Client thread/INFO] [FML]: Applying holder lookups
[21:17:58] [Client thread/INFO] [FML]: Holder lookups applied
[21:17:58] [Client thread/INFO] [FML]: Injecting itemstacks
[21:17:58] [Client thread/INFO] [FML]: Itemstack injection complete
[21:17:58] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:17:58] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[21:17:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[21:17:59] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[21:18:06] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[21:18:06] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:18:06] [Sound Library Loader/INFO]: Sound engine started
[21:18:36] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
[21:18:36] [Client thread/INFO]: Created: 16x16 textures/items-atlas
[21:18:36] [Client thread/INFO] [FML]: Injecting itemstacks
[21:18:36] [Client thread/INFO] [FML]: Itemstack injection complete
[21:18:37] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[21:18:37] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Hilou Mod
[21:18:39] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[21:18:40] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[21:18:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:18:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[21:18:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[21:18:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:18:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:18:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[21:18:41] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[21:18:41] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[21:18:41] [Thread-10/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[21:18:41] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[21:18:41] [Sound Library Loader/INFO]: Sound engine started
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: The following texture errors were found.
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: DOMAIN hiloumod
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: --------------------------------------------------
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: domain hiloumod is missing 1 texture
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: domain hiloumod has 1 location:
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: mod HilouMod resources at C:\Users\Hilou\Desktop\Project Eclipse\Mod 1\bin
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[21:19:00] [Client thread/ERROR] [TEXTURE ERRORS]: The missing resources for domain hiloumod are:
[21:19:01] [Client thread/ERROR] [TEXTURE ERRORS]: textures/blocks/Demonic_end_ore.png
[21:19:01] [Client thread/ERROR] [TEXTURE ERRORS]: -------------------------
[21:19:01] [Client thread/ERROR] [TEXTURE ERRORS]: No other errors exist for domain hiloumod
[21:19:01] [Client thread/ERROR] [TEXTURE ERRORS]: ==================================================
[21:19:01] [Client thread/ERROR] [TEXTURE ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[21:19:24] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[21:19:24] [Server thread/INFO]: Generating keypair
[21:19:26] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[21:19:26] [Server thread/INFO] [FML]: Applying holder lookups
[21:19:26] [Server thread/INFO] [FML]: Holder lookups applied
[21:19:27] [Server thread/INFO] [FML]: Loading dimension 0 (New World-) (net.minecraft.server.integrated.IntegratedServer@1b31628e)
[21:19:27] [Server thread/INFO] [FML]: Loading dimension 1 (New World-) (net.minecraft.server.integrated.IntegratedServer@1b31628e)
[21:19:27] [Server thread/INFO] [FML]: Loading dimension -1 (New World-) (net.minecraft.server.integrated.IntegratedServer@1b31628e)
[21:19:27] [Server thread/INFO]: Preparing start region for level 0
[21:19:28] [Server thread/INFO]: Preparing spawn area: 1%
[21:19:30] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388) ~[?:1.8.0_211]
at fr.hilouseraouf.mod.world.World.addOre(World.java:40) ~[World.class:?]
at fr.hilouseraouf.mod.world.World.GenerateOverWorld(World.java:66) ~[World.class:?]
at fr.hilouseraouf.mod.world.World.generate(World.java:25) ~[World.class:?]
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112) ~[GameRegistry.class:?]
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314) ~[ChunkProviderServer.class:?]
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1157) ~[Chunk.class:?]
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:208) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149) ~[ChunkProviderServer.class:?]
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119) ~[ChunkProviderServer.class:?]
at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:305) ~[MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79) ~[IntegratedServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96) ~[IntegratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752) [MinecraftServer$2.class:?]
[21:19:30] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Hilou\Desktop\Project Eclipse\Mod 1\eclipse\.\crash-reports\crash-2020-06-04_21.19.30-server.txt
[21:19:30] [Server thread/INFO] [FML]: Applying holder lookups
[21:19:30] [Server thread/INFO] [FML]: Holder lookups applied
[21:19:30] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
[21:19:31] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----
// Don't do that.
Time: 04/06/20 21:19
Description: Exception in server tick loop
java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
at fr.hilouseraouf.mod.world.World.addOre(World.java:40)
at fr.hilouseraouf.mod.world.World.GenerateOverWorld(World.java:66)
at fr.hilouseraouf.mod.world.World.generate(World.java:25)
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:112)
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1157)
at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:208)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:149)
at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:119)
at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:305)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:79)
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:96)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:445)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_211, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 976141152 bytes (930 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCHIJAA Forge{10.13.4.1614} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar)
UCHIJAA HilouMod{1.0} [Hilou Mod] (bin)
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
[21:19:31] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2020-06-04_21.19.30-server.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Code : Tout sélectionner
package fr.hilouseraouf.mod.world;
import java.util.Random;
import cpw.mods.fml.common.IWorldGenerator;
import net.minecraft.block.Block;
import net.minecraft.init.Blocks;
import net.minecraft.world.chunk.IChunkProvider;
import net.minecraft.world.gen.feature.WorldGenMinable;
public class World implements IWorldGenerator
{
private Object provider;
@Override
public void generate(Random random, int chunkX, int chunkZ, net.minecraft.world.World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider)
{
switch(world.provider.dimensionId)
{
case -1:
GenerateNether(world, chunkX * 16, chunkZ * 16, random);
break;
case 0:
GenerateOverWorld(world, chunkX * 16, chunkZ * 16, random);
break;
case 1:
GenerateEnd(world, chunkX * 16, chunkZ * 16, random);
break;
}
}
private void addOre(Block block, Block blockSpawn, Random random, net.minecraft.world.World world, int posX, int posZ, int minY, int maxY, int minV, int maxV, int spawnChance)
{
for(int i = 0; i < spawnChance; i++)
{
int chunkSize = 16;
int Xpos = posX + random.nextInt(chunkSize);
int Ypos = minY + random.nextInt(maxY - minY);
int Zpos = posZ + random.nextInt(chunkSize);
new WorldGenMinable(block, maxV, blockSpawn).generate(world, random, Xpos, Ypos, Zpos);
}
}
private void addStructure(String string, Random r[code]
{
for(int i = 0; i < spawnChance ; i++)
{
int chunkSize = 16;
int Xpos = posX + random.nextInt(chunkSize);
int Ypos = minY + random.nextInt(maxY - minY);
int Zpos = posZ + random.nextInt(chunkSize);
}
}
private void GenerateNether(net.minecraft.world.World world, int i, int j, Random random)
{
addOre(fr.hilouseraouf.mod.init.BlockMod.demonicNetherrack, Blocks.netherrack, random, world, i, j, 15, 5, 3, 10, 12);
}
private void GenerateOverWorld(net.minecraft.world.World world, int i, int j, Random random)
{
addOre(fr.hilouseraouf.mod.init.BlockMod.demonicOre, Blocks.stone, random, world, i, j, 15, 5, 3, 10, 12);
}
private void GenerateEnd(net.minecraft.world.World world, int i, int j, Random random)
{
addOre(fr.hilouseraouf.mod.init.BlockMod.demonicEnd, Blocks.end_stone, random, world, i, j, 15, 5, 3, 10, 12);
}
}[/code]
et voici mon WorldRegiste
Code : Tout sélectionner
package fr.hilouseraouf.mod.world;
import cpw.mods.fml.common.IWorldGenerator;
import cpw.mods.fml.common.registry.GameRegistry;
public class WorldRegister
{
public static void mainRegistry()
{
registerWorldGen(new World(), -1);
registerWorldGen(new World(), 0);
registerWorldGen(new World(), 1);
}
public static void registerWorldGen(IWorldGenerator iGenerator, int probaility)
{
GameRegistry.registerWorldGenerator(iGenerator, probaility);
}
}
PS: j'ai deja consulté le gitHub