Package net.minecraft.entity.ai.goal
Class CatSitOnBlockGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.CatSitOnBlockGoal
public class CatSitOnBlockGoal extends MoveToTargetPosGoal
- Mappings:
Namespace Name official rsintermediary net/minecraft/class_1805named net/minecraft/entity/ai/goal/CatSitOnBlockGoal
-
Field Summary
Fields Modifier and Type Field Description private OcelotEntityfield_7723Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, field_7700 -
Constructor Summary
Constructors Constructor Description CatSitOnBlockGoal(OcelotEntity ocelotEntity, double double2) -
Method Summary
Modifier and Type Method Description booleancanStart()protected booleanmethod_7382(World world, BlockPos pos)booleanshouldContinue()voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
hasReachedMethods inherited from class net.minecraft.entity.ai.goal.Goal
method_7363, method_7368, method_7369
-
Field Details
-
field_7723
- Mappings:
Namespace Name Mixin selector official cLrs;c:Lts;intermediary field_7723Lnet/minecraft/class_1805;field_7723:Lnet/minecraft/class_1854;named field_7723Lnet/minecraft/entity/ai/goal/CatSitOnBlockGoal;field_7723:Lnet/minecraft/entity/passive/OcelotEntity;
-
-
Constructor Details
-
CatSitOnBlockGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLrd;a()Zintermediary method_7362Lnet/minecraft/class_1789;method_7362()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official bLrd;b()Zintermediary method_7364Lnet/minecraft/class_1789;method_7364()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start()- Overrides:
startin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official cLrd;c()Vintermediary method_7365Lnet/minecraft/class_1789;method_7365()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()- Overrides:
stopin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official dLrd;d()Vintermediary method_7366Lnet/minecraft/class_1789;method_7366()Vnamed stopLnet/minecraft/entity/ai/goal/Goal;stop()V
-
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official eLrd;e()Vintermediary method_7367Lnet/minecraft/class_1789;method_7367()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
method_7382
- Specified by:
method_7382in classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLro;a(Ladm;Lcj;)Zintermediary method_7382Lnet/minecraft/class_1801;method_7382(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;)Znamed method_7382Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_7382(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-