Interface ITranslatable.WithDescription
- All Superinterfaces:
ITranslatable
- 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.WithDescription -
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.network.chat.Componentdefault net.minecraft.network.chat.ComponentgetDescription(net.minecraft.core.RegistryAccess access) default Stringdefault StringgetDescriptionTranslationKey(net.minecraft.core.RegistryAccess access) default net.minecraft.network.chat.Componentdefault net.minecraft.network.chat.ComponentgetDisplayName(net.minecraft.core.RegistryAccess access) default Stringdefault StringgetNameTranslationKey(net.minecraft.core.RegistryAccess access) Methods inherited from interface com.github.minecraftschurlimods.arsmagicalegacy.api.util.ITranslatable
getId, getId, getTranslationKey, getTranslationKey, getType
-
Method Details
-
getDisplayName
default net.minecraft.network.chat.Component getDisplayName(net.minecraft.core.RegistryAccess access) - Specified by:
getDisplayNamein interfaceITranslatable- Returns:
- A component containing the display name of this object.
-
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(net.minecraft.core.RegistryAccess access) - Returns:
- A component containing the description 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
-
getNameTranslationKey
- Returns:
- The translation key for the name
-
getDescriptionTranslationKey
- Returns:
- The translation key for the description
-
getDescriptionTranslationKey
- Returns:
- The translation key for the description
-