Package adris.altoclef.tasksystem
Interface ITaskCanForce
- All Known Subinterfaces:
ITaskRequiresGrounded
- All Known Implementing Classes:
AbstractDoToEntityTask
,AbstractKillEntityTask
,CarveThenCollectTask
,CataloguedResourceTask
,ClearRegionTask
,CollectAmethystBlockTask
,CollectBedTask
,CollectBlazeRodsTask
,CollectBoatTask
,CollectBucketLiquidTask
,CollectBucketLiquidTask.CollectLavaBucketTask
,CollectBucketLiquidTask.CollectWaterBucketTask
,CollectCoarseDirtTask
,CollectCobbledDeepslateTask
,CollectCobblestoneTask
,CollectCocoaBeansTask
,CollectCropTask
,CollectDripstoneBlockTask
,CollectEggsTask
,CollectFenceGateTask
,CollectFenceTask
,CollectFlintTask
,CollectFlowerTask
,CollectGoldIngotTask
,CollectGoldNuggetsTask
,CollectHayBlockTask
,CollectHoneycombTask
,CollectMagmaCreamTask
,CollectMilkTask
,CollectNetherBricksTask
,CollectObsidianTask
,CollectPlanksTask
,CollectQuartzTask
,CollectRedSandstoneTask
,CollectSandstoneTask
,CollectSignTask
,CollectSticksTask
,CollectWheatSeedsTask
,CollectWheatTask
,CollectWoodenButtonTask
,CollectWoodenDoorTask
,CollectWoodenPressurePlateTask
,CollectWoodenSlabTask
,CollectWoodenStairsTask
,CollectWoodenTrapDoorTask
,CollectWoolTask
,CraftInInventoryTask
,CraftInTableTask
,CraftWithMatchingMaterialsTask
,CraftWithMatchingPlanksTask
,CraftWithMatchingWoolTask
,CustomBaritoneGoalTask
,DestroyBlockTask
,DodgeProjectilesTask
,EscapeFromLavaTask
,GetToBlockTask
,GetToChunkTask
,GetToEntityTask
,GetToXZTask
,GetToYTask
,GetWithinRangeOfBlockTask
,GoInDirectionXZTask
,KillAndLootTask
,KillEntityTask
,KillPlayerTask
,MineAndCollectTask
,PickupDroppedItemTask
,PlaceBlockTask
,PlaceStructureBlockTask
,ResourceTask
,RunAwayFromCreepersTask
,RunAwayFromEntitiesTask
,RunAwayFromHostilesTask
,RunAwayFromPositionTask
,ShearAndCollectBlockTask
,ShearSheepTask
,SmeltInFurnaceTask
,TimeoutWanderTask
,TradeWithPiglinsTask
,UpgradeInSmithingTableTask
public interface ITaskCanForce
Lets a task declare that it's parent can NOT interrupt itself, and that this task MUST keep executing.
-
Method Summary
-
Method Details
-
shouldForce
- Parameters:
interruptingCandidate
- This task will try to interrupt our current task.- Returns:
- Whether the task should forcefully keep going, even when the parent decides it shouldn't
-