tModLoader v2024.11
A mod to make and play Terraria mods
IPreferenceProviderElement Interface Reference

Inherits IBestiaryInfoElement.

Inherited by BestiaryPortraitBackgroundBasedOnWorldEvilProviderPreferenceInfoElement, and BestiaryPortraitBackgroundProviderPreferenceInfoElement.

Public Member Functions

IBestiaryBackgroundImagePathAndColorProvider GetPreferredProvider ()
 
bool Matches (IBestiaryBackgroundImagePathAndColorProvider provider)
 
- Public Member Functions inherited from IBestiaryInfoElement
UIElement ProvideUIElement (BestiaryUICollectionInfo info)
 Use to create the UIElement for this bestiary entry. Called when the bestiary entry is clicked in-game. Use BestiaryUICollectionInfo.UnlockState to dynamically populate the UI according to how fully unlocked this particular bestiary entry is. Return null if no UIElement should be provided, which is usually the case for NPC never encountered. More...