Class OfferFlowerGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.OfferFlowerGoal
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LivingEntityprivate final IronGolemprivate static final Itemprivate static final TargetingConditionsstatic final intprivate int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
OFFER_TARGET_CONTEXT
-
OFFER_ITEM
-
OFFER_TICKS
public static final int OFFER_TICKS- See Also:
-
golem
-
entity
-
tick
private int tick
-
-
Constructor Details
-
OfferFlowerGoal
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick() -
getGolemBoundingBox
-