Interface IStateMachineOneTimeEvent<S extends IState>
- All Superinterfaces:
IStateMachineEvent<S>,IStateMachineTransition<S>
- All Known Implementing Classes:
AIOneTimeEventTarget,TickingOneTimeEvent
Type for one time usage events
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck whether the one time Event is doneMethods inherited from interface com.minecolonies.api.entity.ai.statemachine.transitions.IStateMachineEvent
getEventTypeMethods inherited from interface com.minecolonies.api.entity.ai.statemachine.transitions.IStateMachineTransition
checkCondition, getName, getNextState, getState, withName
-
Method Details
-
shouldRemove
boolean shouldRemove()Check whether the one time Event is done- Returns:
- true when ready to be removed
-