WeatherCheckLootConditionBuilder
Link to weatherchecklootconditionbuilder
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 Copyimport crafttweaker.api.loot.condition.builder.WeatherCheckLootConditionBuilder;
Interfacce Implementate
Link to interfacce-implementate
WeatherCheckLootConditionBuilder implements the following interfaces. That means all methods defined in these interfaces are also available in WeatherCheckLootConditionBuilder
Caster
Link to caster
Result Type | Implicito |
---|---|
Result Type LootCondition | Implicito sì |
Metodi
Link to metodi
Name: raining
Return Type: WeatherCheckLootConditionBuilder
ZenScript CopyWeatherCheckLootConditionBuilder.raining(raining as bool?) as WeatherCheckLootConditionBuilder
Parametro | Tipo | Optional | Default Value |
---|---|---|---|
Parametro raining | Tipo bool? | Optional sì | Default Value sì |
Name: thundering
Return Type: WeatherCheckLootConditionBuilder
ZenScript CopyWeatherCheckLootConditionBuilder.thundering(thundering as bool?) as WeatherCheckLootConditionBuilder
Parametro | Tipo | Optional | Default Value |
---|---|---|---|
Parametro thundering | Tipo bool? | Optional sì | Default Value sì |