@@ -142,9 +142,10 @@ public static LdcInsnNode buildNumberLdcInsnNode(final Number value, final Numbe
142
142
* @param name The SRG name of the method
143
143
* @return The mapped name of the method
144
144
*
145
- * @deprecated Forge no longer uses SRG names in production
145
+ * @apiNote As of Minecraft 1.20.4, Forge no longer uses SRG names in production. While the mapping system will
146
+ * still work for sake of backwards-compatibility, you should not be using this method if you are on 1.20.4 or
147
+ * later.
146
148
*/
147
- @ Deprecated (forRemoval = true , since = "5.1" )
148
149
public static String mapMethod (String name ) {
149
150
return map (name , INameMappingService .Domain .METHOD );
150
151
}
@@ -155,14 +156,14 @@ public static String mapMethod(String name) {
155
156
* @param name The SRG name of the field
156
157
* @return The mapped name of the field
157
158
*
158
- * @deprecated Forge no longer uses SRG names in production
159
+ * @apiNote As of Minecraft 1.20.4, Forge no longer uses SRG names in production. While the mapping system will
160
+ * still work for sake of backwards-compatibility, you should not be using this method if you are on 1.20.4 or
161
+ * later.
159
162
*/
160
- @ Deprecated (forRemoval = true , since = "5.1" )
161
163
public static String mapField (String name ) {
162
164
return map (name , INameMappingService .Domain .FIELD );
163
165
}
164
166
165
- @ Deprecated (forRemoval = true , since = "5.1" )
166
167
private static String map (String name , INameMappingService .Domain domain ) {
167
168
return Optional .ofNullable (Launcher .INSTANCE ).
168
169
map (Launcher ::environment ).
0 commit comments