Class PonderLocalization
java.lang.Object
net.createmod.ponder.foundation.registration.PonderLocalization
- All Implemented Interfaces:
LangRegistryAccess
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAll()voidvoidgetShared(net.minecraft.resources.ResourceLocation key) getSpecific(net.minecraft.resources.ResourceLocation sceneId, String k) getTagDescription(net.minecraft.resources.ResourceLocation key) getTagName(net.minecraft.resources.ResourceLocation key) protected static StringlangKeyForShared(net.minecraft.resources.ResourceLocation k) protected static StringlangKeyForSpecific(net.minecraft.resources.ResourceLocation sceneId, String k) protected static StringlangKeyForTag(net.minecraft.resources.ResourceLocation k) protected static StringlangKeyForTagDescription(net.minecraft.resources.ResourceLocation k) com.google.gson.JsonObjectprovideLangEntries(String modID) Generate a JsonObject holding all Lang-entries and their enUS default that was declared in codevoidvoidregisterShared(net.minecraft.resources.ResourceLocation key, String enUS) voidregisterSpecific(net.minecraft.resources.ResourceLocation sceneId, String key, String enUS) voidregisterTag(net.minecraft.resources.ResourceLocation key, String title, String description)
-
Field Details
-
tag
-
specific
-
LANG_PREFIX
- See Also:
-
UI_PREFIX
- See Also:
-
Constructor Details
-
PonderLocalization
public PonderLocalization()
-
-
Method Details
-
clearAll
public void clearAll() -
registerTag
-
registerSpecific
-
getTagName
- Specified by:
getTagNamein interfaceLangRegistryAccess
-
getTagDescription
- Specified by:
getTagDescriptionin interfaceLangRegistryAccess
-
getSpecific
- Specified by:
getSpecificin interfaceLangRegistryAccess
-
record
-
generateSceneLang
public void generateSceneLang() -
provideLangEntries
Generate a JsonObject holding all Lang-entries and their enUS default that was declared in code- Specified by:
provideLangEntriesin interfaceLangRegistryAccess
-
langKeyForTag
-
langKeyForTagDescription
-
langKeyForSpecific
-