Interface ITranslatable.WithDescription
- All Superinterfaces:
ITranslatable
- All Known Subinterfaces:
IAbility,ISkill,ITranslatable.OfRegistryEntry.WithDescription<T>
- Enclosing interface:
- ITranslatable
ITranslatable that also has a description.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.minecraftschurlimods.arsmagicalegacy.api.util.ITranslatable
ITranslatable.OfRegistryEntry<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>, ITranslatable.WithDescription -
Method Summary
Methods inherited from interface com.github.minecraftschurlimods.arsmagicalegacy.api.util.ITranslatable
getId, getTranslationKey, getType
-
Method Details
-
getDisplayName
default net.minecraft.network.chat.Component getDisplayName()- Specified by:
getDisplayNamein interfaceITranslatable- Returns:
- A component containing the display name of this object.
-
getDescription
default net.minecraft.network.chat.Component getDescription()- Returns:
- A component containing the description of this object
-
getNameTranslationKey
- Returns:
- The translation key for the name
-
getDescriptionTranslationKey
- Returns:
- The translation key for the description
-