Interface LangRegistryAccess

All Known Implementing Classes:
PonderLocalization

public interface LangRegistryAccess
  • Method Summary

    Modifier and Type
    Method
    Description
    getShared(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)
     
    void
    Generate all Lang-entries with their enUS defaults that were declared in code and have them consumed by the passed BiConsumer
  • 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)
    • 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)