public CopiedEntity(LocalEntity entity) {
   this.entity = entity;
   this.relativePosition = entity.getPosition().getPosition().subtract(getOrigin());
 }