Package net.minecraft.entity.ai.goal
Class GoalSelector
java.lang.Object
net.minecraft.entity.ai.goal.GoalSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<PrioritizedGoal>
private final Map<Goal.Flag,
PrioritizedGoal> private static final org.apache.logging.log4j.Logger
private int
private static final PrioritizedGoal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
disableControlFlag
(Goal.Flag p_220880_1_) void
enableControlFlag
(Goal.Flag p_220886_1_) void
removeGoal
(Goal p_85156_1_) void
setControlFlag
(Goal.Flag p_220878_1_, boolean p_220878_2_) void
tick()
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
NO_GOAL
-
lockedFlags
-
availableGoals
-
profiler
-
disabledFlags
-
newGoalRate
private int newGoalRate
-
-
Constructor Details
-
GoalSelector
-
-
Method Details
-
addGoal
-
removeGoal
-
tick
public void tick() -
getRunningGoals
-
disableControlFlag
-
enableControlFlag
-
setControlFlag
-