Jump to content

[1.10.2] Unexpected error java.util.ConcurrentModificationException.


Recommended Posts

Posted

Fellow modder, I am stuck on this for a while. if I replace the defaultstate to anything else, it will work. But it will crash when being changed to FIRE.

 

(I am trying to make a molotov that creates a patch of fire. If you have any tips on how to improve my code, please do so).

 

Error log:

 

  Reveal hidden contents

 

 

Entity Class:

 

  Reveal hidden contents

 

 

Molotov Class:

 

  Reveal hidden contents

 

 

If you have any good tutorials, I would be happy to follow and learn from them.

Posted

UCHIJAAAA	JEI{3.7.8.234} [Just Enough Items] (jei_1.10.2-3.7.8.234.jar) 

 

Is Just Enough Items a core mod? Forge often doesn't play nice with other core mods.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted
  On 10/3/2016 at 8:05 PM, jeffryfisher said:

UCHIJAAAA	JEI{3.7.8.234} [Just Enough Items] (jei_1.10.2-3.7.8.234.jar) 

 

Is Just Enough Items a core mod? Forge often doesn't play nice with other core mods.

 

JEI is explicitly not a coremod.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

I fixed my code I saw that the constructor I made was not used. And the worldIn was sometimes null. Thanks.

  On 10/3/2016 at 8:58 PM, diesieben07 said:

onImpact

will fire on the server (not sure if it fires on the client as well, but it definitely fires on the server). You are using

Minecraft.getMinecraft

inside there. This will not work.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.