tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.ModLoader.IO.ModEntry Class Referenceabstract

Inherits Terraria.ModLoader.IO.TagSerializable.

Inherited by Terraria.ModLoader.IO.TileEntry, and Terraria.ModLoader.IO.WallEntry.

Public Member Functions

virtual TagCompound SerializeData ()
TagCompound SerializeData ()

Public Attributes

ushort loadedType
string modName
string name
ushort type
string unloadedType
ushort vanillaReplacementType

Protected Member Functions

 ModEntry (ModBlockType block)
 ModEntry (TagCompound tag)
abstract string GetUnloadedType (ushort type)


abstract string DefaultUnloadedType [get]
bool IsUnloaded [get]

Member Function Documentation

◆ SerializeData()

virtual TagCompound Terraria.ModLoader.IO.ModEntry.SerializeData ( )