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 @Nullable LivingEntityprivate final IronGolemprivate static final Itemprivate static final TargetingConditionsstatic final intprivate int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class 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
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classGoal
-
start
-
stop
-
tick
-
getGolemBoundingBox
-