tModLoader v2024.04
A mod to make and play Terraria mods
ModEntry Class Referenceabstract

Inherits TagSerializable.

Inherited by TileEntry, and 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)
 

Properties

abstract string DefaultUnloadedType [get]
 
bool IsUnloaded [get]
 

Member Function Documentation

◆ SerializeData()

virtual TagCompound ModEntry.SerializeData ( )
virtual

Implements TagSerializable.