net.minecraft.world.entity.ai.goal

public class GoalSelector

biq
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 org.slf4j.Logger
a
LOGGER
field_6466
LOGGER
f_25342_
private static final WrappedGoal
b
NO_GOAL
field_18410
REPLACEABLE_GOAL
f_25343_
private final Map<Goal$Flag, WrappedGoal>
c
lockedFlags
field_18411
goalsByControl
f_25344_
private final Set<WrappedGoal>
d
availableGoals
field_6461
goals
f_25345_
private final Supplier<ProfilerFiller>
e
profiler
field_6463
profiler
f_25346_
private final EnumSet<Goal$Flag>
f
disabledFlags
field_6462
disabledControls
f_25347_
private int
g
tickCount
field_30212
field_30212
f_148095_
private int
h
newGoalRate
field_6464
timeInterval
f_25348_

Constructor summary

ModifierConstructor
public (Supplier<ProfilerFiller> profiler)

Method summary

Modifier and TypeMethod
public void
a(int arg0, bip 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()
removeAllGoals()
method_35113()
clear()
m_148096_()
public void
a(bip arg0)
removeGoal(Goal arg0)
method_6280(class_1352 arg0)
remove(Goal goal)
m_25363_(C_688_ arg0)
private static boolean
a(bkc arg0, EnumSet<bip$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_689_> p_186077_)
private static boolean
a(bkc arg0, Map<bip$a, bkc> 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_689_, C_734_> p_186080_)
public void
b()
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>
c()
getAvailableGoals()
method_35115()
getGoals()
m_148105_()
public Stream<WrappedGoal>
d()
getRunningGoals()
method_19048()
getRunningGoals()
m_25386_()
public void
a(int arg0)
setNewGoalRate(int arg0)
method_35114(int arg0)
setTimeInterval(int timeInterval)
m_148097_(int arg0)
public void
a(bip$a arg0)
disableControlFlag(Goal$Flag arg0)
method_6274(class_1352$class_4134 arg0)
disableControl(Goal$Control control)
m_25355_(C_689_ arg0)
public void
b(bip$a arg0)
enableControlFlag(Goal$Flag arg0)
method_6273(class_1352$class_4134 arg0)
enableControl(Goal$Control control)
m_25374_(C_689_ arg0)
public void
a(bip$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_689_ p_25362_, boolean arg1)