Class WrappedGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.WrappedGoal
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeReplacedBy(WrappedGoal p_26003_)booleanbooleancanUse()booleangetFlags()getGoal()intinthashCode()booleanbooleanvoidvoidstart()voidstop()voidtick()
-
Field Details
-
goal
-
priority
private final int priority -
isRunning
private boolean isRunning
-
-
Constructor Details
-
WrappedGoal
-
-
Method Details
-
canBeReplacedBy
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classGoal
-
isInterruptable
public boolean isInterruptable()- Overrides:
isInterruptablein classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
setFlags
-
getFlags
-
isRunning
public boolean isRunning() -
getPriority
public int getPriority() -
getGoal
-
equals
-
hashCode
public int hashCode()
-