Interface LangRegistryAccess

All Known Implementing Classes:
PonderLocalization

public interface LangRegistryAccess
  • Method Details

    • provideLang

      void provideLang(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
      Parameters:
      modId - the ModId (or namespace) that you want to collect the lang entries for
    • getShared

      String getShared(net.minecraft.resources.ResourceLocation key)
    • getShared

      String getShared(net.minecraft.resources.ResourceLocation key, Object... params)
    • getTagName

      String getTagName(net.minecraft.resources.ResourceLocation key)
    • getTagDescription

      String getTagDescription(net.minecraft.resources.ResourceLocation key)
    • getSpecific

      String getSpecific(net.minecraft.resources.ResourceLocation sceneId, String k)
    • getSpecific

      String getSpecific(net.minecraft.resources.ResourceLocation sceneId, String k, Object... params)