net.minecraft.entity.ai.goal

public abstract class Goal

net.minecraft.world.entity.ai.goal.Goal
net.minecraft.class_1352
net.minecraft.entity.ai.goal.Goal

Field summary

Modifier and TypeField
private final EnumSet<Goal$Control>
flags
field_6451
controls

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public abstract boolean
canUse()
method_6264()
canStart()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public boolean
isInterruptable()
method_6267()
canStop()
public void
start()
method_6269()
start()
public void
stop()
method_6270()
stop()
public boolean
requiresUpdateEveryTick()
method_38846()
shouldRunEveryTick()
public void
tick()
method_6268()
tick()
public void
setFlags(EnumSet<Goal$Flag> requiredControlFlags)
method_6265(EnumSet<class_1352$class_4134> arg0)
setControls(EnumSet<Goal$Control> controls)
public EnumSet<Goal$Control>
getFlags()
method_6271()
getControls()
protected int
adjustedTickDelay(int ticks)
method_38847(int arg0)
getTickCount(int ticks)
protected static int
reducedTickDelay(int ticks)
method_38848(int arg0)
toGoalTicks(int serverTicks)
protected static ServerWorld
getServerLevel(Entity entity)
method_64451(class_1297 arg0)
getServerWorld(Entity entity)
protected static ServerWorld
getServerLevel(Level level)
method_64452(class_1937 arg0)
castToServerWorld(World world)