I have a Java class that I am trying to rewrite into Scala. It has 3 constructors that need to be available even though I am only using 1.
public class EntityNet extends EntityThrowable {
@SuppressWarnings("unused")
public EntityNet(World world) {
super(world);
renderDistanceWeight = 10.0D;
}
@SuppressWarnings("unused")
public EntityNet(World world, double x, double y, double z) {
super(world, x, y, z);
renderDistanceWeight = 10.0D;
}
public EntityNet(World world, EntityLivingBase shooter) {
super(world, shooter);
renderDistanceWeight = 10.0D;
}
Any suggestions or directions would be appreciated.