public class MyProjEntity extends LargeFireball {
public MyProjEntity(EntityType<? extends MyProjEntity> pEntityType, Level pLevel) {
super(pEntityType, pLevel);
}
public MyProjEntity(Level pLevel, LivingEntity pShooter, double pOffsetX, double pOffsetY, double pOffsetZ, int pExplosionPower) {
super(pLevel, pShooter, pOffsetX, pOffsetY, pOffsetZ, pExplosionPower);
}
}
above is my custom entity class
public static final RegistryObject<EntityType<MyProjEntity>> myProjectileEntity = entityTypes.register("my_projectile_entity",
() -> EntityType.Builder.of(MyProjEntity::new);
and this is how I registered it (haven't finished because of the error below)
it confuses between the two constructors I have in the class and idk how to fix it