1.14.3 build fails with error: The method getLookHelper() is undefined for the type LivingEntity
Closed this issue ยท 2 comments
The method getLookHelper() is undefined for the type LivingEntity
/bassebombecraft-1.8/src/main/java/bassebombecraft/entity/ai/task/CompanionAttack.java
Solution:
It seems that LookHelper has been replaced with net.minecraft.entity.ai.controller.LookController:
LookController lookController = entity.getLookController();
lookController.setLookPositionWithEntity(attackTarget, 10.0F, (float) entity.getVerticalFaceSpeed());
Closed with commit a5539a6.