Breakdown of Trzeba odpukać w drewno, oby nic złego się nie wydarzyło.
nie
no / not
zły
bad
nic
nothing
trzeba
one must, it is necessary (+ infinitive)
Questions & Answers about Trzeba odpukać w drewno, oby nic złego się nie wydarzyło.
Why is the past tense verb wydarzyło used here when the English translation says "will happen" in the future?
This is the core rule for oby! When you use oby to express a strong wish or hope, the verb that follows must take the past tense (the L-participle), even if you are wishing for something in the future. Because nic (nothing) acts as a neuter singular subject here, we use the neuter past tense form wydarzyło.
Is odpukać w drewno a direct equivalent of the English "knock on wood"?
Yes, it is the exact same superstition used to ward off bad luck. Notice that the verb odpukać takes the preposition w followed by the accusative case (drewno). In Poland, you will also very frequently hear the slightly longer version odpukać w niemalowane drewno, which specifies knocking on unpainted wood.
Why is the adjective złego in the genitive case after nic?
In Polish, when you use an indefinite pronoun like nic (nothing) or coś (something) followed by an adjective, that adjective must take the genitive case. So nic złego literally translates to "nothing of bad". This is exactly the same rule that gives us coś dobrego for "something good".
Why does the sentence use trzeba instead of translating "you have to" literally?
Trzeba is an impersonal verb that means "it is necessary to" or "one must" and is always followed by an infinitive. While English relies heavily on the generic "you" to state general rules (like "you have to knock on wood"), Polish strongly prefers impersonal constructions for these kinds of general statements.