tModLoader v2024.11
A mod to make and play Terraria mods
MechBossSpawnersDropRule Class Reference

Inherits IItemDropRule.

Public Member Functions

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

Conditions.MechanicalBossesDummyCondition dummyCondition = new Conditions.MechanicalBossesDummyCondition()
 

Properties

List< IItemDropRuleChainAttemptChainedRules [get]
 
- Properties inherited from IItemDropRule
List< IItemDropRuleChainAttemptChainedRules [get]
 

Member Function Documentation

◆ CanDrop()

bool MechBossSpawnersDropRule.CanDrop ( DropAttemptInfo  info)

Implements IItemDropRule.

◆ ReportDroprates()

void MechBossSpawnersDropRule.ReportDroprates ( List< DropRateInfo drops,
DropRateInfoChainFeed  ratesInfo 
)

Implements IItemDropRule.

◆ TryDroppingItem()

ItemDropAttemptResult MechBossSpawnersDropRule.TryDroppingItem ( DropAttemptInfo  info)

Implements IItemDropRule.

Property Documentation

◆ ChainedRules

List<IItemDropRuleChainAttempt> MechBossSpawnersDropRule.ChainedRules
get

Implements IItemDropRule.