All Known Subinterfaces:
IAbility, IAffinity, IOcculusTab, ISkill, ISkillPoint, ITranslatable.OfRegistryEntry<T>, ITranslatable.OfRegistryEntry.WithDescription<T>, ITranslatable.WithDescription
All Known Implementing Classes:
EtheriumType

public interface ITranslatable
Utility interface for providing easy localization.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    ITranslatable.OfRegistryEntry<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>
    ITranslatable that handles the id using a registry entry.
    static interface 
    ITranslatable that also has a description.
  • Method Summary

    Modifier and Type
    Method
    Description
    default net.minecraft.network.chat.Component
     
    net.minecraft.resources.ResourceLocation
     
    default String
     
     
  • Method Details

    • getId

      net.minecraft.resources.ResourceLocation getId()
      Returns:
      The id of this object.
    • getType

      String getType()
      Returns:
      The type of this object, for example "block" or "item".
    • getTranslationKey

      default String getTranslationKey()
      Returns:
      The translation key for this object.
    • getDisplayName

      default net.minecraft.network.chat.Component getDisplayName()
      Returns:
      A component containing the display name of this object.