Remove misleading LookBehaviorUtil method

This commit is contained in:
Howard Stark 2018-08-05 19:23:51 -04:00
parent 7a21ef423a
commit 68874751da
No known key found for this signature in database
GPG Key ID: 9FA4E350B33067F3

View File

@ -23,11 +23,6 @@ public class LookBehavior extends Behavior {
*/
private Optional<Tuple<Float, Float>> target = Optional.empty();
public void updateTarget(BlockPos blockPos) {
Utils.calcRotationFromVec3d(player().getPositionEyes(1.0F),
Utils.calcCenterFromCoords(blockPos, world()));
}
public void updateTarget(Tuple<Float, Float> target) {
this.target = Optional.of(target);
}