![]() |
tModLoader v2022.09
A mod to make and play Terraria mods
|
Used just by Herb Bag. Horribly hardcoded. Do not use if you can. More...
Inherits Terraria.GameContent.ItemDropRules.IItemDropRule.
Public Member Functions | |
HerbBagDropsItemDropRule (params int[] options) | |
bool | CanDrop (DropAttemptInfo info) |
void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
bool | CanDrop (DropAttemptInfo info) |
void | ReportDroprates (List< DropRateInfo > drops, DropRateInfoChainFeed ratesInfo) |
ItemDropAttemptResult | TryDroppingItem (DropAttemptInfo info) |
Public Attributes | |
int[] | dropIds |
Properties | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
![]() | |
List< IItemDropRuleChainAttempt > | ChainedRules [get] |
Used just by Herb Bag. Horribly hardcoded. Do not use if you can.
bool Terraria.GameContent.ItemDropRules.HerbBagDropsItemDropRule.CanDrop | ( | DropAttemptInfo | info | ) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
void Terraria.GameContent.ItemDropRules.HerbBagDropsItemDropRule.ReportDroprates | ( | List< DropRateInfo > | drops, |
DropRateInfoChainFeed | ratesInfo | ||
) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
ItemDropAttemptResult Terraria.GameContent.ItemDropRules.HerbBagDropsItemDropRule.TryDroppingItem | ( | DropAttemptInfo | info | ) |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.
|
get |
Implements Terraria.GameContent.ItemDropRules.IItemDropRule.