Interface MobConvertEvent
- All Superinterfaces:
Cancellable, Event, MobEvent
Fired when a mob is about to turn into another: a zombie drowning or freezing, a mooshroom
sheared into a cow.
Cancelling it keeps the mob as it is: a zombie starts counting its time in the water or the snow again, a mooshroom keeps its mushrooms and the shears are not worn.
- Since:
- 0.1.0
-
Method Summary
Methods inherited from interface Cancellable
isCancelled, setCancelled
-
Method Details
-
converted
Mob converted()Returns the mob it turns into, not yet in the world.: it already took what it keeps of the other, such as its age, and a listener may change it further before it appears- Returns:
- the mob it turns into, not yet in the world
- Since:
- 0.1.0
-