net.minecraft.world.entity.ai.goal

public class GoalSelector

can
net.minecraft.world.entity.ai.goal.GoalSelector
net.minecraft.class_1355
net.minecraft.entity.ai.goal.GoalSelector
net.minecraft.src.C_690_
net.minecraft.world.entity.ai.goal.PathfinderGoalSelector

Field summary

Modifier and TypeField
private static final WrappedGoal
a
NO_GOAL
field_18410
REPLACEABLE_GOAL
f_25343_
private final Map<Goal$Flag, WrappedGoal>
b
lockedFlags
field_18411
goalsByControl
f_25344_
private final Set<WrappedGoal>
c
availableGoals
field_6461
goals
f_25345_
private final Supplier<ProfilerFiller>
d
profiler
field_6463
profiler
f_25346_
private final EnumSet<Goal$Flag>
e
disabledFlags
field_6462
disabledControls
f_25347_

Constructor summary

ModifierConstructor
public (Supplier<ProfilerFiller> profiler)

Method summary

Modifier and TypeMethod
public void
a(int arg0, cam arg1)
addGoal(int arg0, Goal arg1)
method_6277(int arg0, class_1352 arg1)
add(int priority, Goal goal)
m_25352_(int p_25354_, C_688_ arg1)
public void
a(Predicate<cam> arg0)
removeAllGoals(Predicate<Goal> arg0)
method_35113(Predicate<class_1352> arg0)
clear(Predicate<Goal> predicate)
m_262460_(Predicate<C_688_> arg0)
public void
a(cam arg0)
removeGoal(Goal arg0)
method_6280(class_1352 arg0)
remove(Goal goal)
m_25363_(C_688_ arg0)
private static boolean
a(cca arg0, EnumSet<cam$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)
m_186075_(C_734_ p_186076_, EnumSet<C_688_$C_689_> p_186077_)
private static boolean
a(cca arg0, Map<cam$a, cca> 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)
m_186078_(C_734_ p_186079_, Map<C_688_$C_689_, C_734_> p_186080_)
public void
a()
tick()
method_6275()
tick()
m_25373_()
public void
a(boolean arg0)
tickRunningGoals(boolean arg0)
method_38849(boolean arg0)
tickGoals(boolean tickAll)
m_186081_(boolean arg0)
public Set<WrappedGoal>
b()
getAvailableGoals()
method_35115()
getGoals()
m_148105_()
public void
a(cam$a arg0)
disableControlFlag(Goal$Flag arg0)
method_6274(class_1352$class_4134 arg0)
disableControl(Goal$Control control)
m_25355_(C_688_$C_689_ arg0)
public void
b(cam$a arg0)
enableControlFlag(Goal$Flag arg0)
method_6273(class_1352$class_4134 arg0)
enableControl(Goal$Control control)
m_25374_(C_688_$C_689_ arg0)
public void
a(cam$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)
m_25360_(C_688_$C_689_ p_25362_, boolean arg1)