1.20.1 Fabric: How can I import the @Translatable mapping?
#2604
Unanswered
fatboychummy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make a helper function so I don't need to spam
Component.translatableliterally everywhere, but then I don't get hints for what's in my translation files. I followedComponent.translatableback, and IntelliJ does see a@Translatable(foldMethod = true)attached to it, but I cannot import this symbol, nor find where it resides.I am using official mojang mappings, is there a way to pull this in so my helper method can have hints?
Beta Was this translation helpful? Give feedback.
All reactions