net.minecraft.world.entity.ai.goal

public class GoalSelector

cch
net.minecraft.world.entity.ai.goal.GoalSelector
net.minecraft.class_1355
net.minecraft.entity.ai.goal.GoalSelector
net.minecraft.world.entity.ai.goal.PathfinderGoalSelector

Field summary

Modifier and TypeField
private static final WrappedGoal
a
NO_GOAL
field_18410
REPLACEABLE_GOAL
private final Map<Goal$Flag, WrappedGoal>
b
lockedFlags
field_18411
goalsByControl
private final Set<WrappedGoal>
c
availableGoals
field_6461
goals
private final EnumSet<Goal$Flag>
d
disabledFlags
field_6462
disabledControls

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, ccg arg1)
addGoal(int arg0, Goal arg1)
method_6277(int arg0, class_1352 arg1)
add(int priority, Goal goal)
public void
a(Predicate<ccg> arg0)
removeAllGoals(Predicate<Goal> arg0)
method_35113(Predicate<class_1352> arg0)
clear(Predicate<Goal> predicate)
public void
a(ccg arg0)
removeGoal(Goal arg0)
method_6280(class_1352 arg0)
remove(Goal goal)
private static boolean
a(cdu arg0, EnumSet<ccg$a> arg1)
goalContainsAnyFlags(WrappedGoal arg0, EnumSet<Goal$Flag> arg1)
method_38063(class_4135 arg0, EnumSet<class_1352$class_4134> arg1)
usesAny(PrioritizedGoal goal, EnumSet<Goal$Control> controls)
private static boolean
a(cdu arg0, Map<ccg$a, cdu> arg1)
goalCanBeReplacedForAllFlags(WrappedGoal arg0, Map<Goal$Flag, WrappedGoal> arg1)
method_38064(class_4135 arg0, Map<class_1352$class_4134, class_4135> arg1)
canReplaceAll(PrioritizedGoal goal, Map<Goal$Control, PrioritizedGoal> goalsByControl)
public void
a()
tick()
method_6275()
tick()
public void
a(boolean arg0)
tickRunningGoals(boolean arg0)
method_38849(boolean arg0)
tickGoals(boolean tickAll)
public Set<WrappedGoal>
b()
getAvailableGoals()
method_35115()
getGoals()
public void
a(ccg$a arg0)
disableControlFlag(Goal$Flag arg0)
method_6274(class_1352$class_4134 arg0)
disableControl(Goal$Control control)
public void
b(ccg$a arg0)
enableControlFlag(Goal$Flag arg0)
method_6273(class_1352$class_4134 arg0)
enableControl(Goal$Control control)
public void
a(ccg$a arg0, boolean arg1)
setControlFlag(Goal$Flag arg0, boolean arg1)
method_6276(class_1352$class_4134 arg0, boolean arg1)
setControlEnabled(Goal$Control control, boolean enabled)