Presence checks (only outputs if the condition is met):
/*?+ MC >= 1.19.2 ? val client = myClient ?*/
Ternary condition:
val client = /*? MC >= 1.16.5 ? */ currentVersionValue /* : otherVersionValue ?*/
These are small additions which would mostly only be useful for Mixin definitions, annotation parameters or smaller variables which may differ between versions.
Presence checks (only outputs if the condition is met):
/*?+ MC >= 1.19.2 ? val client = myClient ?*/Ternary condition:
These are small additions which would mostly only be useful for Mixin definitions, annotation parameters or smaller variables which may differ between versions.