Class OfferFlowerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.OfferFlowerGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IronGolem
private static final TargetingConditions
static final int
private int
private Villager
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
OFFER_TARGER_CONTEXT
-
OFFER_TICKS
public static final int OFFER_TICKS- See Also:
-
golem
-
villager
-
tick
private int tick
-
-
Constructor Details
-
OfferFlowerGoal
-
-
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()
-