Everything was fine, but then.....

Started by Neoelfeo on Wed, 09/27/2017 - 00:57

Topic category: Help with MCreator modding

Last seen on 02:32, 7. May 2019
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Everything was fine, but then.....
Wed, 09/27/2017 - 01:10 (edited)
I was making this decoration mod, and everything was working just fine, but then the game crashes. I don't know anything about coding (I barely know some english) but the crash report says something about random animal spawner, so I deleted all entities that i have created for my mod. But the game keeps crashing everytime.    
---- Minecraft Crash Report ---- // You should try our sister game, Minceraft!   Time: 26/09/17 1:54 Description: Exception ticking world   java.lang.IllegalArgumentException at net.minecraft.util.WeightedRandom.getRandomItem(WeightedRandom.java:34) at net.minecraft.util.WeightedRandom.getRandomItem(WeightedRandom.java:72) at net.minecraft.world.WorldServer.spawnRandomCreature(WorldServer.java:214) at net.minecraft.world.SpawnerAnimals.findChunksForSpawning(SpawnerAnimals.java:152) at net.minecraft.world.WorldServer.tick(WorldServer.java:169) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:692) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) 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 net.minecraft.util.WeightedRandom.getRandomItem(WeightedRandom.java:34) at net.minecraft.util.WeightedRandom.getRandomItem(WeightedRandom.java:72) at net.minecraft.world.WorldServer.spawnRandomCreature(WorldServer.java:214) at net.minecraft.world.SpawnerAnimals.findChunksForSpawning(SpawnerAnimals.java:152) at net.minecraft.world.WorldServer.tick(WorldServer.java:169)   -- Affected level -- Details: Level name: New World All players: 1 total; [EntityPlayerMP['Player264'/581, l='New World', x=-94,82, y=64,00, z=190,70]] Chunk stats: ServerChunkCache: 336 Drop: 0 Level seed: 3785760369754641132 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options:  Level spawn location: World: (-69,64,182), Chunk: (at 11,4,6 in -5,11; contains blocks -80,0,176 to -65,255,191), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511) Level time: 264400 game time, 1187 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 15912 (now: false), thunder time: 115 (now: true) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:692) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:614) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:485) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:752)   -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.8.0_101, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 79754848 bytes (76 MB) / 259522560 bytes (247 MB) up to 259522560 bytes (247 MB) JVM Flags: 0 total;  AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1558 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 UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)  UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)  UCHIJAAAA Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)  UCHIJAAAA testenvironmentmod{1.0} [testenvironmentmod] (modid-1.0.jar)  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: 1 / 8; [EntityPlayerMP['Player264'/581, l='New World', x=-94,82, y=64,00, z=190,70]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge'
Any help?
Edited by Neoelfeo on Wed, 09/27/2017 - 01:10
Last seen on 07:11, 18. Aug 2019
Joined Jun 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
What was the last thing that
Wed, 09/27/2017 - 20:23

What was the last thing that you added?

Last seen on 21:50, 16. May 2019
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
The best method is to create
Wed, 09/27/2017 - 22:08

The best method is to create a backup (with .mcr file -) of your mod and delete a recent element and test to see if there is no crashes.

If there is a crash, delete the next element and test

If not you have found out what element is causing the crashes.

You can reload the mcr file and you can edit/delete the element which is causes the crashing.

- If you want to know how to make a backup, just ask as the Mcreator community is willing to help. 

Last seen on 02:32, 7. May 2019
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Actually I added a lot of
Sat, 09/30/2017 - 05:26

Actually I added a lot of things, 2 new crops (corn and cantaloupe melon), new construction blocks (adobe, concrete and paving stones) and also a few decorative stuff, like books, an inkwell and a pretty skull of a horned cow, but after this problem I tired to remove them but it keeps crashing.

So I decided to delete everything and start from the scratch.

For now I will only add the decorative blocks, crops and entities will come later.

By the way, I had a functional version of the mod, with entities and everything, I think i will realease this version for now.

 

(I know my english sucks, sorry if it is not understandable)

Last seen on 21:50, 16. May 2019
Joined Jun 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You have put a lot of effort
Sat, 09/30/2017 - 07:57

You have put a lot of effort into your first mod, I hope it goes well for you.