Terraria.ModLoader.ModGore

This class allows you to customize the behavior of a custom gore. Create a new instance of this and pass it as a parameter to Mod.AddGore to customize the gore you are adding. If you are autoloading gore, then give it the same name as the gore texture.

Methods

GetGoreSlot(System.String)()
Gets the type of the custom gore corresponding to the given texture. Returns 0 if the texture does not represent a gore.
OnSpawn(Terraria.Gore)()
Allows you to modify a gore's fields when it is created.
Update(Terraria.Gore)()
Allows you to customize how you want this type of gore to behave. Return true to allow for vanilla gore updating to also take place; returns true by default.
GetAlpha(Terraria.Gore,Microsoft.Xna.Framework.Color)()
Allows you to override the color this gore will draw in. Return null to draw it in the normal light color; returns null by default.
DrawBehind(Terraria.Gore)()
Allows you to determine whether or not this gore will draw behind tiles, etc. Returns false by default.