Package net.minecraft.entity.ai.goal
Class BegGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.BegGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final EntityPredicate
private final World
private final float
private int
private PlayerEntity
private final WolfEntity
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
private boolean
playerHoldingInteresting
(PlayerEntity p_75382_1_) void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, 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
-