Class DamageAndDestroyBeacon<T extends AbstractBrainMuncher>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
nokunami.floral_warfare.common.entity.ai.goal.zombies.DamageAndDestroyBeacon<T>
public class DamageAndDestroyBeacon<T extends AbstractBrainMuncher>
extends net.minecraft.world.entity.ai.goal.Goal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.Goal.Flag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanUse()doublegetMeleeAttackRangeSqr(net.minecraft.world.entity.LivingEntity pEntity) doubledoublegetPerceivedDistanceForMelee(net.minecraft.core.BlockPos pos) booleanvoidstop()voidtick()Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, canContinueToUse, getFlags, isInterruptable, reducedTickDelay, setFlags, start, toString
-
Constructor Details
-
DamageAndDestroyBeacon
-
-
Method Details
-
canUse
public boolean canUse()- Specified by:
canUsein classnet.minecraft.world.entity.ai.goal.Goal
-
stop
public void stop()- Overrides:
stopin classnet.minecraft.world.entity.ai.goal.Goal
-
requiresUpdateEveryTick
public boolean requiresUpdateEveryTick()- Overrides:
requiresUpdateEveryTickin classnet.minecraft.world.entity.ai.goal.Goal
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.goal.Goal
-
getPerceivedDistanceForMelee
public double getPerceivedDistanceForMelee(net.minecraft.core.BlockPos pos) -
getMeleeAttackReferencePosition
public double getMeleeAttackReferencePosition() -
getMeleeAttackRangeSqr
public double getMeleeAttackRangeSqr(net.minecraft.world.entity.LivingEntity pEntity)
-