tModLoader v2024.10
A mod to make and play Terraria mods
ILocalizedModType Interface Reference

Inherits IModType.

Inherited by BuilderToggle, DamageClass, InfoDisplay, ModBiome, ModBlockType, ModBuff, ModConfig, ModEmoteBubble, ModItem, ModNPC, ModPrefix, ModProjectile, and ModResourceDisplaySet.

Properties

abstract string LocalizationCategory [get]
 The category used by this modded content for use in localization keys. Localization keys follow the pattern of "Mods.{ModName}.{Category}.{ContentName}.{DataName}". The Localization wiki pageexplains how custom ModType classes can utilize this. More...
 
- Properties inherited from IModType
string FullName [get]
 => $"{Mod.Name}/{Name}" More...
 
Mod Mod [get]
 The mod this belongs to. More...
 
string Name [get]
 The internal name of this instance. More...
 

Property Documentation

◆ LocalizationCategory

abstract string ILocalizedModType.LocalizationCategory
get

The category used by this modded content for use in localization keys. Localization keys follow the pattern of "Mods.{ModName}.{Category}.{ContentName}.{DataName}". The Localization wiki pageexplains how custom ModType classes can utilize this.

Implemented in BuilderToggle, ModConfig, DamageClass, InfoDisplay, ModBiome, ModBlockType, ModBuff, ModEmoteBubble, ModItem, ModNPC, ModPrefix, ModProjectile, ModResourceDisplaySet, ModTile, and ModWall.