Package net.minecraft.entity.ai.goal
Class ShowVillagerFlowerGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.ShowVillagerFlowerGoal
-
public class ShowVillagerFlowerGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private IronGolemEntitygolemprivate static EntityPredicateOFFER_TARGER_CONTEXTprivate inttickprivate VillagerEntityvillager
-
Constructor Summary
Constructors Constructor Description ShowVillagerFlowerGoal(IronGolemEntity p_i1643_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()voidstart()voidstop()voidtick()-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
OFFER_TARGER_CONTEXT
private static final EntityPredicate OFFER_TARGER_CONTEXT
-
golem
private final IronGolemEntity golem
-
villager
private VillagerEntity villager
-
tick
private int tick
-
-
Constructor Detail
-
ShowVillagerFlowerGoal
public ShowVillagerFlowerGoal(IronGolemEntity p_i1643_1_)
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classGoal
-
-