LootConditions
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
static allOf(conditions as LootItemCondition[]) as LootConditions
Parameters:
conditions: LootCondition[]
Type: LootCondition[]
Return Type:
LootConditions
static allOf(builders as Builder[]) as LootConditions
Parameters:
builders: LootConditionBuilder[]
Type: LootConditionBuilder[]
Return Type:
LootConditions
static anyOf(conditions as LootItemCondition[]) as LootConditions
Parameters:
conditions: LootCondition[]
Type: LootCondition[]
Return Type:
LootConditions
static anyOf(builders as Builder[]) as LootConditions
Parameters:
builders: LootConditionBuilder[]
Type: LootConditionBuilder[]
Return Type:
LootConditions
static none() as LootConditions
Return Type:
LootConditions
static noneOf(conditions as LootItemCondition[]) as LootConditions
Parameters:
conditions: LootCondition[]
Type: LootCondition[]
Return Type:
LootConditions
static noneOf(builders as Builder[]) as LootConditions
Parameters:
builders: LootConditionBuilder[]
Type: LootConditionBuilder[]
Return Type:
LootConditions
static notAllOf(conditions as LootItemCondition[]) as LootConditions
Parameters:
conditions: LootCondition[]
Type: LootCondition[]
Return Type:
LootConditions
static notAllOf(builders as Builder[]) as LootConditions
Parameters:
builders: LootConditionBuilder[]
Type: LootConditionBuilder[]
Return Type:
LootConditions
static only(condition as LootItemCondition) as LootConditions
Parameters:
condition: LootCondition
Type: LootCondition
Return Type:
LootConditions
static only(builder as Builder) as LootConditions
Parameters:
builder: LootConditionBuilder
Type: LootConditionBuilder
Return Type:
LootConditions
static randomlyIn(percentageChance as double) as LootConditions
Parameters:
percentageChance: double
Type: double
Return Type:
LootConditions