Renderer/src/main/java/electrosphere/entity/ClientEntityUtils.java
2023-06-06 00:12:18 -04:00

26 lines
560 B
Java

package electrosphere.entity;
import org.joml.Vector3d;
import electrosphere.entity.types.collision.CollisionObjUtils;
/**
* Client only entity utility functions
*/
public class ClientEntityUtils {
/**
* Called when the creature is first spawned to serialize to all people in its initial chunk
* @param entity
* @param position
*/
public static void initiallyPositionEntity(Entity entity, Vector3d position){
//reposition entity
CollisionObjUtils.clientPositionCharacter(entity, position);
}
}