Class PlantOwnerHurtGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.target.TargetGoal
nokunami.floral_warfare.common.entity.ai.goal.plants.defend.PlantOwnerHurtGoal
public class PlantOwnerHurtGoal
extends net.minecraft.world.entity.ai.goal.target.TargetGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag -
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
mob, mustSee, targetMob, unseenMemoryTicks -
Constructor Summary
ConstructorsConstructorDescriptionPlantOwnerHurtGoal(AbstractPlant abstractPlant) PlantOwnerHurtGoal(AbstractPlant abstractPlant, boolean shouldSitWhenTriggered) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.target.TargetGoal
canAttack, canContinueToUse, getFollowDistance, setUnseenMemoryTicksMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
PlantOwnerHurtGoal
-
PlantOwnerHurtGoal
-
-
Method Details
-
canUse
public boolean canUse()- Specified by:
canUsein classnet.minecraft.world.entity.ai.goal.Goal
-
start
public void start()- Overrides:
startin classnet.minecraft.world.entity.ai.goal.target.TargetGoal
-
stop
public void stop()- Overrides:
stopin classnet.minecraft.world.entity.ai.goal.target.TargetGoal
-