Uses of Enum Class
net.minecraft.entity.ai.goal.Goal.Control
-
Uses of Goal.Control in net.minecraft.entity.ai.goal
Modifier and TypeFieldDescriptionprivate final EnumSet
<Goal.Control> Goal.controls
private final EnumSet
<Goal.Control> GoalSelector.disabledControls
private final Map
<Goal.Control, PrioritizedGoal> GoalSelector.goalsByControl
Modifier and TypeMethodDescriptionstatic Goal.Control
Returns the enum constant of this class with the specified name.static Goal.Control[]
Goal.Control.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
GoalSelector.disableControl
(Goal.Control control) void
GoalSelector.enableControl
(Goal.Control control) void
GoalSelector.setControlEnabled
(Goal.Control control, boolean enabled) Modifier and TypeMethodDescriptionprivate static boolean
GoalSelector.canReplaceAll
(PrioritizedGoal goal, Map<Goal.Control, PrioritizedGoal> goalsByControl) void
Goal.setControls
(EnumSet<Goal.Control> controls) void
PrioritizedGoal.setControls
(EnumSet<Goal.Control> controls) private static boolean
GoalSelector.usesAny
(PrioritizedGoal goal, EnumSet<Goal.Control> controls)