Package net.minecraft.entity.ai.goal
Class MoveThroughVillageAtNightGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveThroughVillageAtNightGoal
-
- Direct Known Subclasses:
FoxEntity.StrollGoal
public class MoveThroughVillageAtNightGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private intintervalprivate CreatureEntitymobprivate BlockPoswantedPos
-
Constructor Summary
Constructors Constructor Description MoveThroughVillageAtNightGoal(CreatureEntity p_i50321_1_, int p_i50321_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()private voidmoveRandomly()voidtick()
-
-
-
Field Detail
-
mob
private final CreatureEntity mob
-
interval
private final int interval
-
wantedPos
@Nullable private BlockPos wantedPos
-
-
Constructor Detail
-
MoveThroughVillageAtNightGoal
public MoveThroughVillageAtNightGoal(CreatureEntity p_i50321_1_, int p_i50321_2_)
-
-