Drying Out Timer¶
文档版本:1.21.50.25
Adds a timer for drying out that will count down and fire dried_out_event
or will stop as soon as the entity will get under rain or water and fire stopped_drying_out_event
.
架构¶
drying_out_timer:
{
event_object "dried_out_event"
event_object "recover_after_dried_out_event"
event_object "stopped_drying_out_event"
number "total_time" : opt
number "water_bottle_refill_time" : opt
}
dried_out_event
:event_object- Event to fire when the drying out time runs out.
recover_after_dried_out_event
:event_object- Event to fire when entity was already dried out but received increase in water supply.
stopped_drying_out_event
:event_object- Event to fire when entity stopped drying out, for example got into water or under rain.
total_time
:number- Amount of time in seconds to dry out fully.
water_bottle_refill_time
:number- Optional amount of additional time in seconds given by using splash water bottle on entity.