tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.ModLoader.GoreLoader Class Reference

Static Public Member Functions

static void AddGoreFromTexture< TGore > (Mod mod, string texture)
 Registers a new gore with the provided texture. More...
 

Properties

static int GoreCount = GoreID.Count [get]
 

Member Function Documentation

◆ AddGoreFromTexture< TGore >()

static void Terraria.ModLoader.GoreLoader.AddGoreFromTexture< TGore > ( Mod  mod,
string  texture 
)
static

Registers a new gore with the provided texture.

Type Constraints
TGore :ModGore 
TGore :new()