Interface SoilMoistureEvent
- All Superinterfaces:
Cancellable, Event, FarmingEvent
Fired when tilled soil is about to get wetter or drier: water or rain soaking it, or the lack of
both drying it out one step.
FarmingEvent.block() is the soil as it is, moistened() what it
is about to become; both usually are Farmland.
Cancelling the event keeps the moisture the soil has.
- Since:
- 0.1.0
-
Method Summary
Methods inherited from interface Cancellable
isCancelled, setCancelledMethods inherited from interface FarmingEvent
block, position, world
-
Method Details
-
moistened
BlockData moistened()Returns the state the soil is about to take, with its new moisture.- Returns:
- the state the soil is about to take, with its new moisture
- Since:
- 0.1.0
-