Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions externalAnnotations/net/minecraft/client/resources/annotations.xml
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 externalAnnotations/net/minecraft/util/text/annotations.xml
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>