Interface SchedulerSource
- All Known Subinterfaces:
Chunk, Damageable, Entity, LivingEntity, Mob, Player
public interface SchedulerSource
Represents a
SchedulerSource, capable of having tasks scheduled to it.- Since:
- 0.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanexecuteDelayed(Runnable task, long delayTicks) boolean
-
Method Details
-
execute
- Returns:
falseif the source is removed and the task was not scheduled- Since:
- 0.1.0
-
executeDelayed
- Returns:
falseif the source is removed and the task was not scheduled- Since:
- 0.1.0
-
isOwnedByCurrentThread
boolean isOwnedByCurrentThread()- Returns:
falseif the source is not owned by the current thread- Since:
- 0.1.0
-