18 switch (position_source_type)
21 return std::make_shared<BlockPositionSource>();
23 return std::make_shared<EntityPositionSource>();
25 throw std::runtime_error(
"Unable to create position source with type: " + std::to_string(
static_cast<int>(position_source_type)));