Générer des minerais
-
Plus aucune erreur cependant mon minerai ne se genere toujours pas je comprend pas.
-
package shaarfight.worldgen; import java.util.Random; import shaarfight.common.ShaarMod; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; public class IlluveWorldGeneration implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId) { case -1: this.generateNether(world, chunkX * 16, chunkZ * 16, random); break; } } private void generateNether(World world, int x, int z, Random rand) { //change le i < 100 pour augmenter ou diminuer la rareté car a 1 il vas pas beaucoup se générer. for(int i = 0; i < 100; i++) { (new WorldGenMinable(ShaarMod.oreIlluve, 0, 5, Blocks.netherrack)).generate(world, rand, x + rand.nextInt(16), rand.nextInt(120), z + rand.nextInt(16)); } } }
-
Merci sa marche mais quelle est la rareté du quartz ?
-
je ne me rappelle plus dans quel classe elle est mise désoler, tu devrais regarder dans le code de la dimension
-
Ce qui me dérange, c’est ta notation avec les apostrophes.
Les apostrophes sont réservé pour les chars donc pour moi, ça porte a confusion de mettre tes “variables du tutoriel” entre apostrophe. -
Bon tutoriel (un peu rapide quand même) mais Agabou, tu as oublié de mentionner une classe de minecraft bien sympatique, BlockOre. Voilà pour ma part comment je fait la déclaration de mon minerai (si ça peut aider quelqu’un pour la dureté du minerai par exemple) :
cookieOre = new BlockCookieOre(Material.rock).setBlockName("cookieOre").setResistance(5.0F).setHardness(3.0F).setStepSound(Block.soundTypePiston).setBlockTextureName(MODID + ":cookie_ore")
Et la classe BlockCookieOre :
//Les imports import java.util.Random; import com.squixdev.cookieparty.common.CookieParty; import net.minecraft.block.Block; import net.minecraft.block.BlockOre; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.world.World; public class BlockCookieOre extends BlockOre { public BlockCookieOre(Material p_i45394_1_) { super(); // TODO Auto-generated constructor stub } //ici on retourne l'item droppé public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { return Items.cookie; } //ici on retourne la quantité droppée public int quantityDropped(Random p_149745_1_) { return 4 + p_149745_1_.nextInt(5); //j'utilise ici un random pour faire varier la quantité (ici égale au Lapis) } //ici on gère ce qui ce passe après que le bloc ait été détruit (s'exécute avant OnBlockDestroyed) - (totalement optionnel) @Override public void onBlockHarvested(World p_149681_1_, int p_149681_2_, int p_149681_3_, int p_149681_4_, int p_149681_5_, EntityPlayer p) { p.addStat(CookieParty.achievementCookieMiner, 1); super.onBlockHarvested(p_149681_1_, p_149681_2_, p_149681_3_, p_149681_4_, p_149681_5_, p); } //ici on gère l'outil minimal requis (valeurs de minecraft : net.minecraft.item, rechercher "ToolMaterial") @Override public void setHarvestLevel(String toolClass, int level) { // TODO Auto-generated method stub super.setHarvestLevel(toolClass, 1); } @Override public Block setHardness(float p_149711_1_) { // TODO Auto-generated method stub return super.setHardness(p_149711_1_); } }
-
@Squix
Oui, utile mais pas plus que sa car 90 % des fonction sont rapide autrement que sa, sinon pense a renomme tes argument das les fonction, sinon quand tu coderas des chose 1^48 plus complexe tu ne t’y retrouvera plus. -
Voilà, j’ai modifié mon tutoriel et il supporte maintenant la génération avec métadata, ainsi que dans le Nether et dans l’End !
-
Je vais m’occuper de la version en vidéo, ajouter les balises aller et ancre pour qu’on puisse cliquer sur le sommaire, puis je vais le valider.
-
Bonjour , j’ai des erreurs pour la générations de mon minerais ,
package ykeservers.ovh.mod.client; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; public class WorldGeneration implements IWorldGenerator { public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId) { case -1: generateNether(world, random, chunkX * 16, chunkZ * 16); break; case 0: generateSurface(world, random, chunkX * 16, chunkZ * 16); break; case 1: generateEnd(world, random, chunkX * 16, chunkZ * 16); break; } } private void generateEnd(World world, Random random, int x, int z) { } private void generateSurface(World world, Random random, int x, int z) { } private void generateNether(World world, Random random, int x, int z) { } this.addOreSpawn(CinabreOre, 0, Blocks.stone, world, random, x, z, 16, 16, 7, 18, 13, 45); public void addOreSpawn(Block block, int metadata, Block target, World world, Random random, int blockXPos, int blockZPos, int maxX, int maxZ, int maxVeinSize, int chancesToSpawn, int minY, int maxY) { assert maxY > minY : "La position Y maximum doit être supérieure à la position Y minimum."; assert maxX > 0 && maxX <= 16 : "X doit se trouver entre 0 et 16."; assert minY > 0 : "La position Y minimum doit être supérieure à 0."; assert maxY < 256 && maxY > 0 : "La position Y maximum doit se trouver entre 0 et 256."; assert maxZ > 0 && maxZ <= 16 : "Z doit se trouver entre 0 et 16."; for(int i = 0; i < chancesToSpawn; i++) { int posY = random.nextInt(128); if((posY <= maxY) && (posY >= minY)) { (new WorldGenMinable(block, metadata, maxVeinSize, target)).generate(world, random, blockXPos + random.nextInt(16), posY, blockZPos + random.nextInt(16)); } } } }
Merci !
-
Ton
this.addOreSpawn(CinabreOre, 0, Blocks.stone, world, random, x, z, 16, 16, 7, 18, 13, 45);N’est pas au bon endroit …
-
Il faut le mettre où est merci de ta réponse ?
-
C’est écrit dans le tutoriel, et n’importe qui sachant programmer sait où le mettre.
-
Ok j’ai su où le placer et merci a vous mais quand je lance le jeu , le jeu se lance mais quand je vais en solo est que je génère une map mon jeu crash voici les logs :
:::
[18:42:00] [main/INFO] [GradleStart]: Extra: []
[18:42:00] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Patrice Andrieux/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[18:42:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[18:42:00] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1272 for Minecraft 1.7.10 loading
[18:42:00] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_51, running on Windows 8:amd64:6.2, installed at C:\Users\Patrice Andrieux\Desktop\Important\eclipse-jee-luna-SR1-win32-x86_64\eclipse\jre
[18:42:00] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:42:00] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[18:42:00] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[18:42:00] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[18:42:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:42:00] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:42:01] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:42:02] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[18:42:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:42:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:42:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[18:42:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[18:42:03] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:42:05] [main/INFO]: Setting user: Player568
[18:42:07] [Client thread/INFO]: LWJGL Version: 2.9.1
[18:42:07] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[18:42:07] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1272 Initialized
[18:42:07] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[18:42:07] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[18:42:08] [Client thread/INFO] [FML]: Searching C:\Users\Patrice Andrieux\Desktop\forge-1.7.10-10.13.2.1272-src\eclipse\mods for mods
[18:42:11] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[18:42:12] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ykemods] at CLIENT
[18:42:12] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ykemods] at SERVER
[18:42:12] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:YkeServers Mods
[18:42:12] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[18:42:12] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[18:42:12] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[18:42:12] [Client thread/INFO] [FML]: Applying holder lookups
[18:42:12] [Client thread/INFO] [FML]: Holder lookups applied
[18:42:12] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:42:12] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[18:42:13] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:42:13] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:42:13] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:42:13] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:42:13] [Sound Library Loader/INFO]: Sound engine started
[18:42:15] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:42:15] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:42:15] [Client thread/INFO] [STDOUT]: [ykeservers.ovh.mod.client.proxy.YkeServersClientProxy:registerRender:9]: Methode cote client OK
[18:42:15] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[18:42:15] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:YkeServers Mods
[18:42:16] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:42:16] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:42:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:42:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[18:42:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[18:42:16] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:42:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:42:16] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[18:42:16] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:42:16] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:42:16] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:42:17] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:42:17] [Sound Library Loader/INFO]: Sound engine started
[18:43:10] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[18:43:10] [Server thread/INFO]: Generating keypair
[18:43:11] [Server thread/INFO]: Converting map!
[18:43:11] [Server thread/INFO]: Scanning folders…
[18:43:11] [Server thread/INFO]: Total conversion count is 0
[18:43:11] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[18:43:11] [Server thread/INFO] [FML]: Applying holder lookups
[18:43:11] [Server thread/INFO] [FML]: Holder lookups applied
[18:43:12] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Exception getting block type in world
at net.minecraft.world.World.<init>(World.java:311) ~[World.class:?]
at net.minecraft.world.WorldServer.<init>(WorldServer.java:102) ~[WorldServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:63) ~[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:?]
Caused by: java.lang.NullPointerException: at index 0
at com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:240) ~[guava-17.0.jar:?]
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:231) ~[guava-17.0.jar:?]
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:226) ~[guava-17.0.jar:?]
at com.google.common.collect.ImmutableList.construct(ImmutableList.java:303) ~[guava-17.0.jar:?]
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.registry.GameRegistry.computeSortedGeneratorList(GameRegistry.java:120) ~[GameRegistry.class:?]
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:95) ~[GameRegistry.class:?]
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314) ~[ChunkProviderServer.class:?]
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1152) ~[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.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]
at net.minecraft.world.World.getBlock(World.java:387) ~[World.class:?]
at net.minecraft.world.World.isAirBlock(World.java:410) ~[World.class:?]
at net.minecraft.world.World.getTopBlock(World.java:371) ~[World.class:?]
at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93) ~[WorldProvider.class:?]
at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794) ~[WorldServer.class:?]
at net.minecraft.world.WorldServer.initialize(WorldServer.java:757) ~[WorldServer.class:?]
at net.minecraft.world.World.<init>(World.java:296) ~[World.class:?]
… 5 more
[18:43:12] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Patrice Andrieux\Desktop\forge-1.7.10-10.13.2.1272-src\eclipse.\crash-reports\crash-2014-12-21_18.43.12-server.txt
[18:43:12] [Server thread/INFO] [FML]: Applying holder lookups
[18:43:12] [Server thread/INFO] [FML]: Holder lookups applied
[18:43:12] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
[18:43:12] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
// Oops.Time: 21/12/14 18:43
Description: Exception getting block type in worldjava.lang.NullPointerException: at index 0
at com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:240)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:231)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:226)
at com.google.common.collect.ImmutableList.construct(ImmutableList.java:303)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
at cpw.mods.fml.common.registry.GameRegistry.computeSortedGeneratorList(GameRegistry.java:120)
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:95)
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1152)
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.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221)
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482)
at net.minecraft.world.World.getBlock(World.java:387)
at net.minecraft.world.World.isAirBlock(World.java:410)
at net.minecraft.world.World.getTopBlock(World.java:371)
at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93)
at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794)
at net.minecraft.world.WorldServer.initialize(WorldServer.java:757)
at net.minecraft.world.World.<init>(World.java:296)
at net.minecraft.world.WorldServer.<init>(WorldServer.java:102)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:63)
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:
– Head –
Stacktrace:
at com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:240)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:231)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:226)
at com.google.common.collect.ImmutableList.construct(ImmutableList.java:303)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
at cpw.mods.fml.common.registry.GameRegistry.computeSortedGeneratorList(GameRegistry.java:120)
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:95)
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1152)
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.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221)
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482)– Requested block coordinates –
Details:
Found chunk: true
Location: World: (251,64,-146), Chunk: (at 11,4,14 in 15,-10; contains blocks 240,0,-160 to 255,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
at net.minecraft.world.World.getBlock(World.java:387)
at net.minecraft.world.World.isAirBlock(World.java:410)
at net.minecraft.world.World.getTopBlock(World.java:371)
at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93)
at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794)
at net.minecraft.world.WorldServer.initialize(WorldServer.java:757)– Affected level –
Details:
Level name: New Worldhungergahes
All players: 0 total; []
Chunk stats: ServerChunkCache: 13 Drop: 0
Level seed: 7983472561413009637
Level generator: ID 02 - largeBiomes, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.world.World.<init>(World.java:296)
at net.minecraft.world.WorldServer.<init>(WorldServer.java:102)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:63)
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)– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 867253152 bytes (827 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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: 103
FML: MCP v9.05 FML v7.10.85.1272 Minecraft Forge 10.13.2.1272 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
FML{7.10.85.1272} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1272.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
Forge{10.13.2.1272} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1272.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
ykemods{1.0.2} [YkeServers Mods] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to ‘fml,forge’
[18:43:12] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-12-21_18.43.12-server.txt
AL lib: (EE) alc_cleanup: 1 device not closed
:::</init></init></init></init></init></init></init> -
Il y a un NPE, envoie ton code complet.
-
Désolé de la réponse tardive je doit juste t’envoyer ma classe principale ?
-
Oui.
-
Voila : ```java
package ykeservers.ovh.mod.client;import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.util.EnumHelper;
import ykeservers.ovh.mod.client.proxy.YkeServersProxy;
import cpw.mods.fml.common.IWorldGenerator;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.SidedProxy;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;@Mod(modid = “ykemods”, name = “YkeServers Mod”, version = “1.0.2”)
public class Ykemod {
public static final String MODID = “ykemod”;
private static final Block CinabreOre = null;
private static final IWorldGenerator worldgeneration = null;
@Instance(“ykemods”)
public static Ykemod instance;@SidedProxy(clientSide = “ykeservers.ovh.mod.client.proxy.YkeServersClientProxy”, serverSide = “ykeservers.ovh.mod.client.proxy.YkeServersProxy”)
public static YkeServersProxy proxy;public static ArmorMaterial armorCinabre = EnumHelper.addArmorMaterial(“armorCinabre”, 100, new int []{4, 8, 6 ,3 }, 12);
public static ArmorMaterial armortitanite = EnumHelper.addArmorMaterial(“armortitanite”, 100, new int []{4, 8, 7 ,3 }, 12);
public static ArmorMaterial armortitabre = EnumHelper.addArmorMaterial(“armortitabre”, 100, new int []{6, 8, 7 ,3 }, 5);public static ToolMaterial cinabretool = EnumHelper.addToolMaterial(“cinabretool”, 3, 1724, 10.0F, 4.5F, 10);
public static ToolMaterial titanitetool = EnumHelper.addToolMaterial(“titanitetool”, 3, 1900, 13.0F, 5.0F, 10);
public static ToolMaterial titabretool = EnumHelper.addToolMaterial(“titabretool”, 3, 2900, 15.0F, 7.5F, 5);public static Item Cinabre, helmetcinabre, chestplatecinabre, leggingcinabre, bootscinabre, cinabresword, cinabrepickaxe, cinabreaxe, titanite, helmettitanite, chestplatetitanite, leggingtitanite, bootstitanite, titanitesword, titanitepickaxe, titaniteaxe, titabre, helmettitabre, chestplatetitabre, leggingtitabre, bootstitabre, titabresword, titabrepickaxe, titabreaxe;
public static Block cinabreBlock, titaniteBlock, titabreBlock, cinabreminblock, titaniteminblock, titabreminblock;
@EventHandler
public void preInit(FMLPreInitializationEvent event)
{
Cinabre = new Cinabre().setUnlocalizedName(“Cinabre”).setTextureName(“ykemods:cinabreitem”).setCreativeTab(CreativeTabs.tabMaterials);
helmetcinabre = new cinabrearmor(armorCinabre, 0).setUnlocalizedName(“cinabrehelmet”).setTextureName(“ykemods:cinabrehelmet”);
chestplatecinabre = new cinabrearmor(armorCinabre, 1).setUnlocalizedName(“cinabrechestplate”).setTextureName(“ykemods:cinabrechestplate”);
leggingcinabre = new cinabrearmor(armorCinabre, 2).setUnlocalizedName(“cinabrelegging”).setTextureName(“ykemods:cinabrelegging”);
bootscinabre = new cinabrearmor(armorCinabre, 3).setUnlocalizedName(“cinabreboots”).setTextureName(“ykemods:cinabreboots”);
cinabresword = new cinabresword(cinabretool).setUnlocalizedName(“cinabresword”).setTextureName(“ykemods:cinabresword”);
cinabrepickaxe = new cinabrepickaxe(cinabretool).setUnlocalizedName(“cinabrepickaxe”).setTextureName(“ykemods:cinabrepickaxe”);
cinabreaxe = new cinabreaxe(cinabretool).setUnlocalizedName(“cinabreaxe”).setTextureName(“ykemods:cinabreaxe”);titanite = new titanite().setUnlocalizedName(“titanite”).setTextureName(“ykemods:titaniteitem”).setCreativeTab(CreativeTabs.tabMaterials);
helmettitanite = new titanitearmor(armortitanite, 0).setUnlocalizedName(“titanitehelmet”).setTextureName(“ykemods:titanitehelmet”);
chestplatetitanite = new titanitearmor(armortitanite, 1).setUnlocalizedName(“titanitechestplate”).setTextureName(“ykemods:titanitechestplate”);
leggingtitanite = new titanitearmor(armortitanite, 2).setUnlocalizedName(“titanitelegging”).setTextureName(“ykemods:titanitelegging”);
bootstitanite = new titanitearmor(armortitanite, 3).setUnlocalizedName(“titaniteboots”).setTextureName(“ykemods:titaniteboots”);
titanitesword = new titanitesword(titanitetool).setUnlocalizedName(“titanitesword”).setTextureName(“ykemods:titanitesword”);
titanitepickaxe = new titanitepickaxe(titanitetool).setUnlocalizedName(“titanitepickaxe”).setTextureName(“ykemods:titanitepickaxe”);
titaniteaxe = new titaniteaxe(titanitetool).setUnlocalizedName(“titaniteeaxe”).setTextureName(“ykemods:titaniteaxe”);titabre = new titabre().setUnlocalizedName(“titabre”).setTextureName(“ykemods:titabreitem”).setCreativeTab(CreativeTabs.tabMaterials);
helmettitabre = new titabrearmor(armortitabre, 0).setUnlocalizedName(“titabrehelmet”).setTextureName(“ykemods:titabrehelmet”);
chestplatetitabre = new titabrearmor(armortitabre, 1).setUnlocalizedName(“titabrechestplate”).setTextureName(“ykemods:titabrechestplate”);
leggingtitabre = new titabrearmor(armortitabre, 2).setUnlocalizedName(“titabrelegging”).setTextureName(“ykemods:titabrelegging”);
bootstitabre = new titabrearmor(armortitabre, 3).setUnlocalizedName(“titabreboots”).setTextureName(“ykemods:titabreboots”);
titabresword = new titabresword(titabretool).setUnlocalizedName(“titabresword”).setTextureName(“ykemods:titabresword”);
titabrepickaxe = new titabrepickaxe(titabretool).setUnlocalizedName(“titabrepickaxe”).setTextureName(“ykemods:titabrepickaxe”);
titabreaxe = new titabreaxe(titabretool).setUnlocalizedName(“titabreeaxe”).setTextureName(“ykemods:titabreaxe”);GameRegistry.registerWorldGenerator(worldgeneration, 0);
GameRegistry.registerItem(Cinabre, “Cinabre”);
GameRegistry.registerItem(helmetcinabre, “cinabre_helmet”);
GameRegistry.registerItem(chestplatecinabre, “cinabre_chestplate”);
GameRegistry.registerItem(leggingcinabre, “cinabre_legging”);
GameRegistry.registerItem(bootscinabre, “cinabre_boots”);
GameRegistry.registerItem(cinabresword, “cinabresword”);
GameRegistry.registerItem(cinabreaxe, “cinabreaxe”);
GameRegistry.registerItem(cinabrepickaxe, “cinabrepickaxe”);GameRegistry.registerItem(titanite, “titanite”);
GameRegistry.registerItem(helmettitanite, “titanite_helmet”);
GameRegistry.registerItem(chestplatetitanite, “titanite_chestplate”);
GameRegistry.registerItem(leggingtitanite, “titanite_legging”);
GameRegistry.registerItem(bootstitanite, “titanite_boots”);
GameRegistry.registerItem(titanitesword, “titanitesword”);
GameRegistry.registerItem(titaniteaxe, “titaniteaxe”);
GameRegistry.registerItem(titanitepickaxe, “titanitepickaxe”);GameRegistry.registerItem(titabre, “titabre”);
GameRegistry.registerItem(helmettitabre, “titabre_helmet”);
GameRegistry.registerItem(chestplatetitabre, “titabre_chestplate”);
GameRegistry.registerItem(leggingtitabre, “titabre_legging”);
GameRegistry.registerItem(bootstitabre, “titabre_boots”);
GameRegistry.registerItem(titabresword, “titabresword”);
GameRegistry.registerItem(titabreaxe, “titabreaxe”);
GameRegistry.registerItem(titabrepickaxe, “titabrepickaxe”);cinabreBlock = new CinabreOre().setBlockName(“CinabreOre”).setBlockTextureName(“ykemods:cinabreore”).setCreativeTab(CreativeTabs.tabBlock);
cinabreminblock = new cinabreminblock().setBlockName(“Cinabreblock”).setBlockTextureName(“ykemods:cinabreminblock”).setCreativeTab(CreativeTabs.tabBlock);titaniteBlock = new TitaniteOre().setBlockName(“TitaniteOre”).setBlockTextureName(“ykemods:titaniteore”).setCreativeTab(CreativeTabs.tabBlock);
titaniteminblock = new titaniteminblock().setBlockName(“Titaniteblock”).setBlockTextureName(“ykemods:titaniteminblock”).setCreativeTab(CreativeTabs.tabBlock);titabreBlock = new TitabreOre().setBlockName(“TitabreOre”).setBlockTextureName(“ykemods:titabreore”).setCreativeTab(CreativeTabs.tabBlock);
titabreminblock = new titabreminblock().setBlockName(“Titabreblock”).setBlockTextureName(“ykemods:titabreminblock”).setCreativeTab(CreativeTabs.tabBlock);GameRegistry.registerBlock(cinabreBlock, “cinabreoreBlock”);
GameRegistry.registerBlock(titaniteBlock, “titaniteoreBlock”);
GameRegistry.registerBlock(titabreBlock, “titabreoreBlock”);
GameRegistry.registerBlock(cinabreminblock, “cinabreminblock”);
GameRegistry.registerBlock(titaniteminblock, “titaniteminblock”);
GameRegistry.registerBlock(titabreminblock, “titabreminblock”);GameRegistry.addRecipe(new ItemStack(cinabresword, 1), new Object[] {“X”, “X”, “Y”, ‘X’, Cinabre, ‘Y’, Items.stick});
GameRegistry.addRecipe(new ItemStack(cinabrepickaxe, 1), new Object[]{“WXY”, " S ", " S “, ‘W’, new ItemStack(Cinabre, 0), ‘X’, new ItemStack(Cinabre, 0), ‘Y’, new ItemStack(Cinabre, 0), ‘S’, new ItemStack(Items.stick) });
GameRegistry.addRecipe(new ItemStack (cinabreaxe), new Object [] { “11”, “12”, " 2”, Character.valueOf(‘1’), Cinabre, Character.valueOf(‘2’), new ItemStack(Items.stick) });GameRegistry.addRecipe(new ItemStack(titanitesword, 1), new Object[] {“X”, “X”, “Y”, ‘X’, titanite, ‘Y’, Items.stick});
GameRegistry.addRecipe(new ItemStack(titanitepickaxe, 1), new Object[]{“WXY”, " S ", " S “, ‘W’, new ItemStack(titanite, 0), ‘X’, new ItemStack(titanite, 0), ‘Y’, new ItemStack(titanite, 0), ‘S’, new ItemStack(Items.stick) });
GameRegistry.addRecipe(new ItemStack (titaniteaxe), new Object [] { “11”, “12”, " 2”, Character.valueOf(‘1’), titanite, Character.valueOf(‘2’), new ItemStack(Items.stick) });GameRegistry.addSmelting(cinabreBlock, new ItemStack(Cinabre, 1), 3.5F);
GameRegistry.addSmelting(titaniteBlock, new ItemStack(titanite, 1), 3.5F);
GameRegistry.addSmelting(titabreBlock, new ItemStack(titabre, 1), 3.5F);GameRegistry.addRecipe(new ItemStack(titabre, 1), new Object[] {“XXX”, “YYY”,“XXX”, ‘X’,titanite, ‘Y’, new ItemStack(Cinabre, 0)});
GameRegistry.addRecipe(new ItemStack(cinabreminblock, 1), new Object[] {“XXX”, “XXX”,“XXX”, ‘X’,Cinabre});
GameRegistry.addRecipe(new ItemStack(Cinabre, 9), new Object[] {“X”, ‘X’,cinabreminblock});GameRegistry.addRecipe(new ItemStack(titaniteminblock, 1), new Object[] {“XXX”, “XXX”,“XXX”, ‘X’,titanite});
GameRegistry.addRecipe(new ItemStack(titanite, 9), new Object[] {“X”, ‘X’,titaniteminblock});GameRegistry.addRecipe(new ItemStack(titabreminblock, 1), new Object[] {“XXX”, “XXX”,“XXX”, ‘X’,titabre});
GameRegistry.addRecipe(new ItemStack(titabre, 9), new Object[] {“X”, ‘X’,titabreminblock});GameRegistry.addRecipe(new ItemStack(helmetcinabre, 1), new Object[] {“XXX”, “X X”, ‘X’,Cinabre});
GameRegistry.addRecipe(new ItemStack(chestplatecinabre, 1), new Object[] {“X X”, “XXX”, “XXX”, ‘X’,Cinabre});
GameRegistry.addRecipe(new ItemStack(leggingcinabre, 1), new Object[] {“XXX”, “X X”, “X X”, ‘X’,Cinabre});
GameRegistry.addRecipe(new ItemStack(bootscinabre, 1), new Object[] {“X X”, “X X”, ‘X’,Cinabre});GameRegistry.addRecipe(new ItemStack(helmettitanite, 1), new Object[] {“XXX”, “X X”, ‘X’,titanite});
GameRegistry.addRecipe(new ItemStack(chestplatetitanite, 1), new Object[] {“X X”, “XXX”, “XXX”, ‘X’,titanite});
GameRegistry.addRecipe(new ItemStack(leggingtitanite, 1), new Object[] {“XXX”, “X X”, “X X”, ‘X’,titanite});
GameRegistry.addRecipe(new ItemStack(bootstitanite, 1), new Object[] {“X X”, “X X”, ‘X’,titanite});GameRegistry.addRecipe(new ItemStack(helmettitabre, 1), new Object[] {“XXX”, “X X”, ‘X’,titabre});
GameRegistry.addRecipe(new ItemStack(chestplatetitabre, 1), new Object[] {“X X”, “XXX”, “XXX”, ‘X’,titabre});
GameRegistry.addRecipe(new ItemStack(leggingtitabre, 1), new Object[] {“XXX”, “X X”, “X X”, ‘X’,titabre});
GameRegistry.addRecipe(new ItemStack(bootstitabre, 1), new Object[] {“X X”, “X X”, ‘X’,titabre});}
@EventHandler
public void init(FMLInitializationEvent event)
{
proxy.registerRender();}
@EventHandler
public void postInit(FMLPostInitializationEvent event)
{}
}
-
GameRegistry.registerWorldGenerator(worldgeneration, 0);
devrait être dans la fonction init, et non preInit.
-
Quand je génére un nouveau monde mon jeu crash voici les logs :
:::
[18:48:59] [main/INFO] [GradleStart]: Extra: []
[18:48:59] [main/INFO] [GradleStart]: Running with arguments: [–userProperties, {}, --accessToken, {REDACTED}, --assetIndex, 1.7.10, --assetsDir, C:/Users/Patrice Andrieux/.gradle/caches/minecraft/assets, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
[18:48:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[18:48:59] [main/INFO] [FML]: Forge Mod Loader version 7.10.85.1272 for Minecraft 1.7.10 loading
[18:48:59] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.7.0_51, running on Windows 8:amd64:6.2, installed at C:\Users\Patrice Andrieux\Desktop\Important\eclipse-jee-luna-SR1-win32-x86_64\eclipse\jre
[18:48:59] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[18:48:59] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
[18:48:59] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[18:48:59] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[18:48:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[18:48:59] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:48:59] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[18:49:01] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[18:49:01] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[18:49:01] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[18:49:02] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[18:49:02] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[18:49:02] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[18:49:04] [main/INFO]: Setting user: Player859
[18:49:07] [Client thread/INFO]: LWJGL Version: 2.9.1
[18:49:12] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
[18:49:12] [Client thread/INFO] [FML]: MinecraftForge v10.13.2.1272 Initialized
[18:49:12] [Client thread/INFO] [FML]: Replaced 182 ore recipies
[18:49:12] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
[18:49:12] [Client thread/INFO] [FML]: Searching C:\Users\Patrice Andrieux\Desktop\forge-1.7.10-10.13.2.1272-src\eclipse\mods for mods
[18:49:25] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[18:49:26] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ykemods] at CLIENT
[18:49:26] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, ykemods] at SERVER
[18:49:27] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:YkeServers Mods
[18:49:27] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[18:49:27] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
[18:49:27] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[18:49:27] [Client thread/INFO] [FML]: Applying holder lookups
[18:49:27] [Client thread/INFO] [FML]: Holder lookups applied
[18:49:28] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:28] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[18:49:28] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:49:28] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:49:28] [Thread-6/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:49:28] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:28] [Sound Library Loader/INFO]: Sound engine started
[18:49:33] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:49:33] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:49:33] [Client thread/INFO] [STDOUT]: [ykeservers.ovh.mod.client.proxy.YkeServersClientProxy:registerRender:9]: Methode cote client OK
[18:49:33] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[18:49:33] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:YkeServers Mods
[18:49:33] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:49:34] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:49:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[18:49:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[18:49:34] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:34] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:34] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[18:49:34] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:49:34] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:49:34] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:49:35] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:35] [Sound Library Loader/INFO]: Sound engine started
[18:49:39] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:YkeServers Mods
[18:49:39] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[18:49:39] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[18:49:39] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:39] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down…
[18:49:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]: Author: Paul Lamb, www.paulscode.com
[18:49:40] [Client thread/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem…
[18:49:40] [Thread-11/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[18:49:40] [Thread-11/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:49:40] [Thread-11/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[18:49:40] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:
[18:49:40] [Sound Library Loader/INFO]: Sound engine started
[18:49:56] [Server thread/INFO]: Starting integrated minecraft server version 1.7.10
[18:49:56] [Server thread/INFO]: Generating keypair
[18:49:57] [Server thread/INFO]: Converting map!
[18:49:57] [Server thread/INFO]: Scanning folders…
[18:49:57] [Server thread/INFO]: Total conversion count is 0
[18:49:57] [Server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[18:49:57] [Server thread/INFO] [FML]: Applying holder lookups
[18:49:57] [Server thread/INFO] [FML]: Holder lookups applied
[18:49:58] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.util.ReportedException: Exception getting block type in world
at net.minecraft.world.World.<init>(World.java:311) ~[World.class:?]
at net.minecraft.world.WorldServer.<init>(WorldServer.java:102) ~[WorldServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:63) ~[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:?]
Caused by: java.lang.NullPointerException: at index 0
at com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:240) ~[guava-17.0.jar:?]
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:231) ~[guava-17.0.jar:?]
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:226) ~[guava-17.0.jar:?]
at com.google.common.collect.ImmutableList.construct(ImmutableList.java:303) ~[guava-17.0.jar:?]
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258) ~[guava-17.0.jar:?]
at cpw.mods.fml.common.registry.GameRegistry.computeSortedGeneratorList(GameRegistry.java:120) ~[GameRegistry.class:?]
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:95) ~[GameRegistry.class:?]
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314) ~[ChunkProviderServer.class:?]
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1152) ~[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.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221) ~[ChunkProviderServer.class:?]
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482) ~[World.class:?]
at net.minecraft.world.World.getBlock(World.java:387) ~[World.class:?]
at net.minecraft.world.World.isAirBlock(World.java:410) ~[World.class:?]
at net.minecraft.world.World.getTopBlock(World.java:371) ~[World.class:?]
at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93) ~[WorldProvider.class:?]
at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794) ~[WorldServer.class:?]
at net.minecraft.world.WorldServer.initialize(WorldServer.java:757) ~[WorldServer.class:?]
at net.minecraft.world.World.<init>(World.java:296) ~[World.class:?]
… 5 more
[18:49:58] [Server thread/ERROR]: This crash report has been saved to: C:\Users\Patrice Andrieux\Desktop\forge-1.7.10-10.13.2.1272-src\eclipse.\crash-reports\crash-2014-12-22_18.49.58-server.txt
[18:49:58] [Server thread/INFO] [FML]: Applying holder lookups
[18:49:58] [Server thread/INFO] [FML]: Holder lookups applied
[18:49:58] [Server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STARTING and forced into state SERVER_STOPPED. Errors may have been discarded.
[18:49:58] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: –-- Minecraft Crash Report ----
// Surprise! Haha. Well, this is awkward.Time: 22/12/14 18:49
Description: Exception getting block type in worldjava.lang.NullPointerException: at index 0
at com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:240)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:231)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:226)
at com.google.common.collect.ImmutableList.construct(ImmutableList.java:303)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
at cpw.mods.fml.common.registry.GameRegistry.computeSortedGeneratorList(GameRegistry.java:120)
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:95)
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1152)
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.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221)
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482)
at net.minecraft.world.World.getBlock(World.java:387)
at net.minecraft.world.World.isAirBlock(World.java:410)
at net.minecraft.world.World.getTopBlock(World.java:371)
at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93)
at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794)
at net.minecraft.world.WorldServer.initialize(WorldServer.java:757)
at net.minecraft.world.World.<init>(World.java:296)
at net.minecraft.world.WorldServer.<init>(WorldServer.java:102)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:63)
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:
– Head –
Stacktrace:
at com.google.common.collect.ObjectArrays.checkElementNotNull(ObjectArrays.java:240)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:231)
at com.google.common.collect.ObjectArrays.checkElementsNotNull(ObjectArrays.java:226)
at com.google.common.collect.ImmutableList.construct(ImmutableList.java:303)
at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)
at cpw.mods.fml.common.registry.GameRegistry.computeSortedGeneratorList(GameRegistry.java:120)
at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:95)
at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:314)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1152)
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.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:221)
at net.minecraft.world.World.getChunkFromChunkCoords(World.java:482)– Requested block coordinates –
Details:
Found chunk: true
Location: World: (85,64,-170), Chunk: (at 5,4,6 in 5,-11; contains blocks 80,0,-176 to 95,255,-161), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
at net.minecraft.world.World.getBlock(World.java:387)
at net.minecraft.world.World.isAirBlock(World.java:410)
at net.minecraft.world.World.getTopBlock(World.java:371)
at net.minecraft.world.WorldProvider.canCoordinateBeSpawn(WorldProvider.java:93)
at net.minecraft.world.WorldServer.createSpawnPosition(WorldServer.java:794)
at net.minecraft.world.WorldServer.initialize(WorldServer.java:757)– Affected level –
Details:
Level name: New WorldzR
All players: 0 total; []
Chunk stats: ServerChunkCache: 28 Drop: 0
Level seed: 2846097420943438506
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 0 game time, 0 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.world.World.<init>(World.java:296)
at net.minecraft.world.WorldServer.<init>(WorldServer.java:102)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:63)
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)– System Details –
Details:
Minecraft Version: 1.7.10
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 858168088 bytes (818 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 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.85.1272 Minecraft Forge 10.13.2.1272 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
FML{7.10.85.1272} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.2.1272.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
Forge{10.13.2.1272} [Minecraft Forge] (forgeSrc-1.7.10-10.13.2.1272.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
ykemods{1.0.2} [YkeServers Mods] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available
Profiler Position: N/A (disabled)
Player Count: 0 / 8; []
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to ‘fml,forge’
[18:49:58] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:393]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-12-22_18.49.58-server.txt
AL lib: (EE) alc_cleanup: 1 device not closed:::Merci</init></init></init></init></init></init></init>