Interface LangRegistryAccess
- All Known Implementing Classes:
PonderLocalization
public interface LangRegistryAccess
-
Method Summary
Modifier and TypeMethodDescriptiongetShared(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) voidprovideLang(String modId, BiConsumer<String, String> consumer) Generate all Lang-entries with their enUS defaults that were declared in code and have them consumed by the passed BiConsumer
-
Method Details
-
provideLang
Generate all Lang-entries with their enUS defaults that were declared in code and have them consumed by the passed BiConsumer- Parameters:
modId- the ModId (or namespace) that you want to collect the lang entries for
-
getTagName
-
getTagDescription
-
getSpecific
-