EntityHasScoreLootConditionBuilder

Link to entityhasscorelootconditionbuilder

Importare la Classe

Link to importare-la-classe

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.builder.EntityHasScoreLootConditionBuilder;

Interfacce Implementate

Link to interfacce-implementate

EntityHasScoreLootConditionBuilder implements the following interfaces. That means all methods defined in these interfaces are also available in EntityHasScoreLootConditionBuilder

Result TypeImplicito
Result Type
LootCondition
Implicito

Name: withScore

Return Type: EntityHasScoreLootConditionBuilder

ZenScript
Copy
EntityHasScoreLootConditionBuilder.withScore(name as string, range as IntRange) as EntityHasScoreLootConditionBuilder
ParametroTipo
Parametro
nome
Tipo
string
Parametro
range
Tipo
IntRange