Potential deprecation of EntityCreature#move

This commit is contained in:
jglrxavpok 2020-07-31 18:57:37 +02:00
parent 49b4f0c79d
commit 628e87e531

View File

@ -80,6 +80,7 @@ public abstract class EntityCreature extends LivingEntity {
* @param updateView should the entity move its head toward the position?
*/
public void move(float x, float y, float z, boolean updateView) {
// TODO: remove ? Entity#tick already performs this behaviour, and syncs it properly
final Position position = getPosition();
Position newPosition = new Position();
// Calculate collisions boxes