I am trying to make a thread using the “implements runnable” method. However Java is complaining of the lack of a constructor. What is a a good way to handle this?
This is the error in question.
src\minecraft\net\minecraft\src\EntityClientPlayerMP.java:49: cannot find symbol
symbol : constructor EntityClientPlayerMP()
location: class net.minecraft.src.EntityClientPlayerMP
Runnable runnable = new EntityClientPlayerMP();
^
A quick search online reveals that the
EntityClientPlayerMPhas a constructor:Since that is the only constructor, creating a new object of that class will require you call it with that.