类 WrappedGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.WrappedGoal
-
嵌套类概要
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected int
adjustedTickDelay
(int pAdjustment) boolean
canBeReplacedBy
(WrappedGoal pOther) boolean
boolean
canUse()
boolean
getFlags()
getGoal()
int
int
hashCode()
boolean
boolean
boolean
void
void
start()
void
stop()
void
tick()
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
reducedTickDelay, toString
-
字段详细资料
-
goal
-
priority
private final int priority -
isRunning
private boolean isRunning
-
-
构造器详细资料
-
WrappedGoal
-
-
方法详细资料
-
canBeReplacedBy
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中Goal
-
isInterruptable
public boolean isInterruptable()- 覆盖:
isInterruptable
在类中Goal
-
start
public void start() -
stop
public void stop() -
requiresUpdateEveryTick
public boolean requiresUpdateEveryTick()- 覆盖:
requiresUpdateEveryTick
在类中Goal
-
adjustedTickDelay
protected int adjustedTickDelay(int pAdjustment) - 覆盖:
adjustedTickDelay
在类中Goal
-
tick
public void tick() -
setFlags
-
getFlags
-
isRunning
public boolean isRunning() -
getPriority
public int getPriority() -
getGoal
-
equals
-
hashCode
public int hashCode()
-