类 DoorInteractGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.DoorInteractGoal
- 直接已知子类:
BreakDoorGoal
,OpenDoorGoal
-
嵌套类概要
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, stop, toString
-
字段详细资料
-
mob
-
doorPos
-
hasDoor
protected boolean hasDoor -
passed
private boolean passed -
doorOpenDirX
private float doorOpenDirX -
doorOpenDirZ
private float doorOpenDirZ
-
-
构造器详细资料
-
DoorInteractGoal
-
-
方法详细资料
-
isOpen
protected boolean isOpen() -
setOpen
protected void setOpen(boolean p_25196_) -
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- 覆盖:
canContinueToUse
在类中Goal
-
start
public void start() -
requiresUpdateEveryTick
public boolean requiresUpdateEveryTick()- 覆盖:
requiresUpdateEveryTick
在类中Goal
-
tick
public void tick()
-