EntityHasScoreLootConditionBuilder
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.
import crafttweaker.api.loot.condition.builder.EntityHasScoreLootConditionBuilder;
Implements
EntityHasScoreLootConditionBuilder
implements the following interfaces:
Members
and(other as Builder) as Builder
myBuilder.and(myBuilder);
Parameters:
other: LootConditionBuilder
Type: LootConditionBuilder
Return Type:
AllOfConditionBuilder
build() as LootItemCondition
invert() as Builder
or(other as Builder) as Builder
myBuilder.or(myBuilder);
Parameters:
other: LootConditionBuilder
Type: LootConditionBuilder
Return Type:
AnyOfConditionBuilder
withScore(name as string, range as IntRange) as Builder
myBuilder.withScore(myString, myIntRange);
Return Type:
EntityHasScoreLootConditionBuilder