I get that, but that still doesn't explain why it's crashing when it doesn't start a thread (when the player doesn't have coal). Why is that happening?
That didn't seem to be the problem before; I could access the world from the separate thread before I added in the sounds. Is there some taboo about doing this? If so, what is the preferred method?
I have made a functional mod which keeps crashing due to a "ConcurrentModificationException" whenever I repeatedly use the Sonar items. The source is at GitHub here: https://github.com/thetdw2000/sonarmod
I suspect that it's caused by the SonarThread class, but I have no idea how to fix it or what's causing it.
crash-2018-05-22_21.10.40-client.txt
I have a working mod for 1.12, but I want the player to have to wait for a certain period of time between uses. How would I accomplish this?
Link to GitHub: https://github.com/thetdw2000/sonarmod
When I try to open MDKExample in Eclipse, it gives me the message
The project description file (.project) for 'MDKExample' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
Did I do something wrong?
Edit: Forgot the eclipse from the .bat file. I just ran gradlew setupDecompWorkspace.