Package net.minecraft.entity.ai.goal
Class ReturnToVillageGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.RandomWalkingGoal
net.minecraft.entity.ai.goal.ReturnToVillageGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
ConstructorsConstructorDescriptionReturnToVillageGoal
(CreatureEntity p_i231548_1_, double p_i231548_2_, boolean p_i231548_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, setInterval, start, stop, trigger
-
Constructor Details
-
ReturnToVillageGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classRandomWalkingGoal
-
getPosition
- Overrides:
getPosition
in classRandomWalkingGoal
-