LootConditions
Link to lootconditions
Diese Klasse importieren
Link to diese-klasse-importieren
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 Copyimport crafttweaker.api.loot.condition.LootConditions;
Static Methods
Link to static-methods
Name: allOf
Return Type: LootConditions
ZenScript CopyLootConditions.allOf(builders as LootConditionBuilder[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter builders | Type LootConditionBuilder[] | Beschreibung No Description Provided |
Name: allOf
Return Type: LootConditions
ZenScript CopyLootConditions.allOf(conditions as LootCondition[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter conditions | Type LootCondition[] | Beschreibung No Description Provided |
Name: anyOf
Return Type: LootConditions
ZenScript CopyLootConditions.anyOf(builders as LootConditionBuilder[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter builders | Type LootConditionBuilder[] | Beschreibung No Description Provided |
Name: anyOf
Return Type: LootConditions
ZenScript CopyLootConditions.anyOf(conditions as LootCondition[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter conditions | Type LootCondition[] | Beschreibung No Description Provided |
Name: none
Return Type: LootConditions
ZenScript Copy// LootConditions.none() as LootConditions
LootConditions.none();
Name: noneOf
Return Type: LootConditions
ZenScript CopyLootConditions.noneOf(builders as LootConditionBuilder[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter builders | Type LootConditionBuilder[] | Beschreibung No Description Provided |
Name: noneOf
Return Type: LootConditions
ZenScript CopyLootConditions.noneOf(conditions as LootCondition[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter conditions | Type LootCondition[] | Beschreibung No Description Provided |
Name: notAllOf
Return Type: LootConditions
ZenScript CopyLootConditions.notAllOf(builders as LootConditionBuilder[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter builders | Type LootConditionBuilder[] | Beschreibung No Description Provided |
Name: notAllOf
Return Type: LootConditions
ZenScript CopyLootConditions.notAllOf(conditions as LootCondition[]) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter conditions | Type LootCondition[] | Beschreibung No Description Provided |
Name: only
Return Type: LootConditions
ZenScript CopyLootConditions.only(builder as LootConditionBuilder) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter bauer | Type LootConditionBuilder | Beschreibung No Description Provided |
Name: only
Return Type: LootConditions
ZenScript CopyLootConditions.only(condition as LootCondition) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter condition | Type LootCondition | Beschreibung No Description Provided |
Name: randomlyIn
Return Type: LootConditions
ZenScript CopyLootConditions.randomlyIn(percentageChance as double) as LootConditions
Parameter | Type | Beschreibung |
---|---|---|
Parameter percentageChance | Type double | Beschreibung No Description Provided |