net.minecraft.world.entity.ai.goal

public class GoalSelector

azq
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.apache.logging.log4j.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, azp 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(azp arg0)
removeGoal(Goal arg0)
method_6280(class_1352 arg0)
remove(Goal goal)
m_25363_(C_688_ arg0)
public void
b()
tick()
method_6275()
tick()
m_25373_()
doTick()
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(azp$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(azp$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(azp$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)