-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added annotations for 1.16.5 mcp mappings (#2197)
* added annotations for 1.16.5 mcp mappings * license fixes --------- Co-authored-by: phoenix <[email protected]>
- Loading branch information
1 parent
8b003af
commit 595d2bf
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
externalAnnotations/net/minecraft/client/resources/annotations.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- | ||
Minecraft Development for IntelliJ | ||
https://mcdev.io/ | ||
Copyright (C) 2023 minecraft-dev | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published | ||
by the Free Software Foundation, version 3.0 only. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
--> | ||
|
||
<root> | ||
<item name="net.minecraft.client.resources.I18n java.lang.String format(java.lang.String, java.lang.Object...) 0"> | ||
<annotation name="com.demonwav.mcdev.annotations.Translatable"> | ||
<val name="foldMethod" val="true"/> | ||
<val name="allowArbitraryArgs" val="true"/> | ||
</annotation> | ||
</item> | ||
<item name="net.minecraft.client.resources.I18n boolean hasKey(java.lang.String) 0"> | ||
<annotation name="com.demonwav.mcdev.annotations.Translatable"/> | ||
</item> | ||
</root> |
33 changes: 33 additions & 0 deletions
33
externalAnnotations/net/minecraft/util/text/annotations.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!-- | ||
Minecraft Development for IntelliJ | ||
https://mcdev.io/ | ||
Copyright (C) 2023 minecraft-dev | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Lesser General Public License as published | ||
by the Free Software Foundation, version 3.0 only. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU Lesser General Public License | ||
along with this program. If not, see <https://www.gnu.org/licenses/>. | ||
--> | ||
|
||
<!-- Yarn mappings --> | ||
|
||
<root> | ||
<item name="net.minecraft.util.text.TranslationTextComponent TranslationTextComponent(java.lang.String) 0"> | ||
<annotation name="com.demonwav.mcdev.annotations.Translatable"/> | ||
</item> | ||
<item name="net.minecraft.util.text.TranslationTextComponent TranslationTextComponent(java.lang.String, java.lang.Object...) 0"> | ||
<annotation name="com.demonwav.mcdev.annotations.Translatable"> | ||
<val name="foldMethod" val="true"/> | ||
<val name="allowArbitraryArgs" val="true"/> | ||
</annotation> | ||
</item> | ||
</root> |