No, Nejc Pečnik did not play in the 2014 World Cup. While he was called up as a reserve player for the Slovenian national team in 2010, he was never capped at the senior international level and hence did not make it to the final squad for the World Cup in Brazil.
The Nejc Pečnik Prodigy Quiz: Test Your Knowledge on the Slovenian Soccer Star!