Class BegGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.BegGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final TargetingConditions
private final Level
private final float
private int
private Player
private final Wolf
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
wolf
-
player
-
level
-
lookDistance
private final float lookDistance -
lookTime
private int lookTime -
begTargeting
-
-
Constructor Details
-
BegGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
playerHoldingInteresting
-