It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

ZenScript
Copy
import crafttweaker.api.loot.condition.LootConditions;

Name: allOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.allOf(builders as LootConditionBuilder[]) as LootConditions
参数类型描述
参数
builders
类型
LootConditionBuilder[]
描述
No Description Provided

Name: allOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.allOf(conditions as LootCondition[]) as LootConditions
参数类型描述
参数
conditions
类型
LootCondition[]
描述
No Description Provided

Name: anyOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.anyOf(builders as LootConditionBuilder[]) as LootConditions
参数类型描述
参数
builders
类型
LootConditionBuilder[]
描述
No Description Provided

Name: anyOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.anyOf(conditions as LootCondition[]) as LootConditions
参数类型描述
参数
conditions
类型
LootCondition[]
描述
No Description Provided

Name: none

Return Type: LootConditions

ZenScript
Copy
// LootConditions.none() as LootConditions

LootConditions.none();

Name: noneOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.noneOf(builders as LootConditionBuilder[]) as LootConditions
参数类型描述
参数
builders
类型
LootConditionBuilder[]
描述
No Description Provided

Name: noneOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.noneOf(conditions as LootCondition[]) as LootConditions
参数类型描述
参数
conditions
类型
LootCondition[]
描述
No Description Provided

Name: notAllOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.notAllOf(builders as LootConditionBuilder[]) as LootConditions
参数类型描述
参数
builders
类型
LootConditionBuilder[]
描述
No Description Provided

Name: notAllOf

Return Type: LootConditions

ZenScript
Copy
LootConditions.notAllOf(conditions as LootCondition[]) as LootConditions
参数类型描述
参数
conditions
类型
LootCondition[]
描述
No Description Provided

Name: only

Return Type: LootConditions

ZenScript
Copy
LootConditions.only(builder as LootConditionBuilder) as LootConditions
参数类型描述
参数
生成器
类型
LootConditionBuilder
描述
No Description Provided

Name: only

Return Type: LootConditions

ZenScript
Copy
LootConditions.only(condition as LootCondition) as LootConditions
参数类型描述
参数
condition
类型
LootCondition
描述
No Description Provided

Name: randomlyIn

Return Type: LootConditions

ZenScript
Copy
LootConditions.randomlyIn(percentageChance as double) as LootConditions
参数类型描述
参数
percentageChance
类型
双精度
描述
No Description Provided