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 IronGolemEntity
golem
private static EntityPredicate
OFFER_TARGER_CONTEXT
private int
tick
private VillagerEntity
villager
-
Constructor Summary
Constructors Constructor Description ShowVillagerFlowerGoal(IronGolemEntity p_i1643_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
start()
void
stop()
void
tick()
-
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:
canContinueToUse
in classGoal
-
-