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 int
interval
private CreatureEntity
mob
private BlockPos
wantedPos
-
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 boolean
canContinueToUse()
boolean
canUse()
private void
moveRandomly()
void
tick()
-
-
-
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_)
-
-