|
tModLoader v2025.09
A mod to make and play Terraria mods
|
Provides access to ItemDropDatabase's methods specific to this item type. More...
Inherits ILoot.
Public Member Functions | |
| ItemLoot (int itemType, ItemDropDatabase itemDropDatabase) | |
| IItemDropRule | Add (IItemDropRule entry) |
| List< IItemDropRule > | Get (bool includeGlobalDrops=true) |
| IItemDropRule | Remove (IItemDropRule entry) |
| Removes a specific IItemDropRule from this item type. Note that entry must be an existing IItemDropRule instance retrieved from Get(bool), not a newly created instance. More... | |
| void | RemoveWhere (Predicate< IItemDropRule > predicate, bool includeGlobalDrops=true) |
| IItemDropRule | Add (IItemDropRule entry) |
| List< IItemDropRule > | Get (bool includeGlobalDrops=true) |
| IItemDropRule | Remove (IItemDropRule entry) |
| void | RemoveWhere (Predicate< IItemDropRule > predicate, bool includeGlobalDrops=true) |
Provides access to ItemDropDatabase's methods specific to this item type.
| IItemDropRule ItemLoot.Add | ( | IItemDropRule | entry | ) |
Implements ILoot.
| List< IItemDropRule > ItemLoot.Get | ( | bool | includeGlobalDrops = true | ) |
| includeGlobalDrops | Unused |
Implements ILoot.
| IItemDropRule ItemLoot.Remove | ( | IItemDropRule | entry | ) |
Removes a specific IItemDropRule from this item type. Note that entry must be an existing IItemDropRule instance retrieved from Get(bool), not a newly created instance.
Implements ILoot.
| void ItemLoot.RemoveWhere | ( | Predicate< IItemDropRule > | predicate, |
| bool | includeGlobalDrops = true |
||
| ) |
Implements ILoot.