Changes

No change in size ,  03:06, 13 August 2021
whoops, switched the two wildcards
Line 139: Line 139:     
To use wildcard access transformers:
 
To use wildcard access transformers:
* for all methods within a class: <code>''<modifier>'' ''<class name>'' '''*'''</code>
+
* for all methods within a class: <code>''<modifier>'' ''<class name>'' '''*()'''</code>
* for all fields within a class: <code>''<modifier>'' ''<class name>'' '''*()'''</code>
+
* for all fields within a class: <code>''<modifier>'' ''<class name>'' '''*'''</code>
    
'''Modders should avoid using this in live code.''' Access transformers should always have the fewest and narrowest targets possible, and wildcard ATs violate this convention. Use of wildcard ATs may cause problems with both the ForgeGradle setup process. Wildcard ATs may be removed in a future update of the access transformer specification.
 
'''Modders should avoid using this in live code.''' Access transformers should always have the fewest and narrowest targets possible, and wildcard ATs violate this convention. Use of wildcard ATs may cause problems with both the ForgeGradle setup process. Wildcard ATs may be removed in a future update of the access transformer specification.
297

edits