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
Tipo Risultato | Implicito |
---|---|
Tipo Risultato LootCondition | Implicito sì |
Metodi
Link to metodi
Name: raining
Return Type: WeatherCheckLootConditionBuilder
ZenScript CopyWeatherCheckLootConditionBuilder.raining(raining as bool?) as WeatherCheckLootConditionBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro raining | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |
Name: thundering
Return Type: WeatherCheckLootConditionBuilder
ZenScript CopyWeatherCheckLootConditionBuilder.thundering(thundering as bool?) as WeatherCheckLootConditionBuilder
Parametro | Tipo | Descrizione | Optional | DefaultValue |
---|---|---|---|---|
Parametro thundering | Tipo bool? | Descrizione No Description Provided | Optional sì | DefaultValue sì |