tModLoader v2025.01
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
ILoot Interface Reference

Inherited by GlobalLoot, ItemLoot, and NPCLoot.

Public Member Functions

IItemDropRule Add (IItemDropRule entry)
 
List< IItemDropRuleGet (bool includeGlobalDrops=true)
 
IItemDropRule Remove (IItemDropRule entry)
 
void RemoveWhere (Predicate< IItemDropRule > predicate, bool includeGlobalDrops=true)
 

Member Function Documentation

◆ Get()

List< IItemDropRule > ILoot.Get ( bool  includeGlobalDrops = true)

Implemented in ItemLoot, and NPCLoot.

◆ Remove()

IItemDropRule ILoot.Remove ( IItemDropRule  entry)

Implemented in ItemLoot, and NPCLoot.