public class TemptGoal
extends net.minecraft.entity.ai.goal.Goal
Constructor and Description |
---|
TemptGoal(net.minecraft.entity.CreatureEntity par1EntityCreature,
boolean par5) |
Modifier and Type | Method and Description |
---|---|
boolean |
canContinueToUse()
Returns whether an in-progress EntityAIBase should continue executing
|
boolean |
canUse()
Returns whether the EntityAIBase should begin execution.
|
boolean |
isRunning() |
void |
start()
Execute a one shot task or start executing a continuous task
|
void |
stop()
Resets the task
|
void |
tick()
Updates the task
|
public TemptGoal(net.minecraft.entity.CreatureEntity par1EntityCreature, boolean par5)
public boolean canUse()
canUse
in class net.minecraft.entity.ai.goal.Goal
public boolean canContinueToUse()
canContinueToUse
in class net.minecraft.entity.ai.goal.Goal
public void start()
start
in class net.minecraft.entity.ai.goal.Goal
public void stop()
stop
in class net.minecraft.entity.ai.goal.Goal
public void tick()
tick
in class net.minecraft.entity.ai.goal.Goal
public boolean isRunning()
isRunning