Class PlayWithVillagerBabiesTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<PathAwareEntity>
net.minecraft.entity.ai.brain.task.PlayWithVillagerBabiesTask
public class PlayWithVillagerBabiesTask extends Task<PathAwareEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
Constructors Constructor Description PlayWithVillagerBabiesTask()
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
PlayWithVillagerBabiesTask
public PlayWithVillagerBabiesTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<PathAwareEntity>
-
run
- Overrides:
run
in classTask<PathAwareEntity>
-
setGroundTarget
-
setPlayTarget
-
getVisibleMob
-
getLeastPopularBabyInteractionTarget
-
getBabyInteractionTargetCounts
-
getVisibleVillagerBabies
-
getInteractionTarget
-
findVisibleVillagerBaby
-
hasInteractionTarget
-
isInteractionTargetOf
-
hasVisibleVillagerBabies
-