Package net.minecraft.entity.ai.goal
Class GoToOwnerAndPurrGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.GoToOwnerAndPurrGoal
public class GoToOwnerAndPurrGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official awlintermediary net/minecraft/class_3697named net/minecraft/entity/ai/goal/GoToOwnerAndPurrGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime -
Constructor Summary
Constructors Constructor Description GoToOwnerAndPurrGoal(CatEntity cat, double speed, int range) -
Method Summary
Modifier and Type Method Description booleancanStart()protected intgetInterval(PathAwareEntity mob)protected booleanisTargetPos(WorldView world, BlockPos pos)voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredSquaredDistanceToTarget, getTargetPos, hasReached, shouldContinue, shouldResetPath, startMovingToTargetMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
cat
- Mappings:
Namespace Name Mixin selector official gLawl;g:Lbbm;intermediary field_16282Lnet/minecraft/class_3697;field_16282:Lnet/minecraft/class_1451;named catLnet/minecraft/entity/ai/goal/GoToOwnerAndPurrGoal;cat:Lnet/minecraft/entity/passive/CatEntity;
-
-
Constructor Details
-
GoToOwnerAndPurrGoal
- Mappings:
Namespace Name Mixin selector official <init>Lawl;<init>(Lbbm;DI)Vintermediary <init>Lnet/minecraft/class_3697;<init>(Lnet/minecraft/class_1451;DI)Vnamed <init>Lnet/minecraft/entity/ai/goal/GoToOwnerAndPurrGoal;<init>(Lnet/minecraft/entity/passive/CatEntity;DI)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLawx;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
start
public void start()- Overrides:
startin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official cLawx;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
getInterval
- Overrides:
getIntervalin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLaxl;a(Larq;)Iintermediary method_6293Lnet/minecraft/class_1367;method_6293(Lnet/minecraft/class_1314;)Inamed getIntervalLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getInterval(Lnet/minecraft/entity/mob/PathAwareEntity;)I
-
stop
public void stop() -
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official eLawx;e()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLaxl;a(Lbty;Lfx;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Znamed isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
-