Package net.minecraft.entity.passive
Class RabbitEntity.EatCarrotCropGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.passive.RabbitEntity.EatCarrotCropGoal
- Enclosing class:
RabbitEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoalintermediary net/minecraft/class_1463$class_1470official ckv$f
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos) booleanvoidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, shouldRunEveryTick, start, startMovingToTargetMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
rabbit
- Mappings:
Namespace Name Mixin selector named rabbitLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;intermediary field_6863Lnet/minecraft/class_1463$class_1470;field_6863:Lnet/minecraft/class_1463;official gLckv$f;g:Lckv;
-
wantsCarrots
private boolean wantsCarrots- Mappings:
Namespace Name Mixin selector named wantsCarrotsLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Zintermediary field_6862Lnet/minecraft/class_1463$class_1470;field_6862:Zofficial hLckv$f;h:Z
-
hasTarget
private boolean hasTarget- Mappings:
Namespace Name Mixin selector named hasTargetLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Zintermediary field_6861Lnet/minecraft/class_1463$class_1470;field_6861:Zofficial iLckv$f;i:Z
-
-
Constructor Details
-
EatCarrotCropGoal
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)Vintermediary <init>Lnet/minecraft/class_1463$class_1470;<init>(Lnet/minecraft/class_1463;)Vofficial <init>Lckv$f;<init>(Lckv;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Zofficial bLcfb;b()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Zintermediary method_6266Lnet/minecraft/class_1352;method_6266()Zofficial cLcfb;c()Z
-
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/ai/goal/Goal;tick()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vofficial aLcfb;a()V
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector named isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Zintermediary method_6296Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Zofficial aLcfo;a(Ldkm;Liw;)Z
-