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