Class DisorientedWanderingGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
tech.anonymoushacker1279.immersiveweapons.entity.ai.goal.DisorientedWanderingGoal
public class DisorientedWanderingGoal
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
ConstructorsConstructorDescriptionDisorientedWanderingGoal(net.minecraft.world.entity.Mob mob, int disorientedTicks) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, canContinueToUse, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, toString
-
Constructor Details
-
DisorientedWanderingGoal
public DisorientedWanderingGoal(net.minecraft.world.entity.Mob mob, int disorientedTicks)
-
-
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.Goal
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.world.entity.ai.goal.Goal
-