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$EatCarrotCropGoal
intermediary net/minecraft/class_1463$class_1470
official cfm$f
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canStart()
protected boolean
isTargetPos
(WorldView world, BlockPos pos) boolean
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, shouldRunEveryTick, start, startMovingToTarget
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, stop, toGoalTicks, toString
-
Field Details
-
rabbit
- Mappings:
Namespace Name Mixin selector named rabbit
Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
intermediary field_6863
Lnet/minecraft/class_1463$class_1470;field_6863:Lnet/minecraft/class_1463;
official g
Lcfm$f;g:Lcfm;
-
wantsCarrots
private boolean wantsCarrots- Mappings:
Namespace Name Mixin selector named wantsCarrots
Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Z
intermediary field_6862
Lnet/minecraft/class_1463$class_1470;field_6862:Z
official h
Lcfm$f;h:Z
-
hasTarget
private boolean hasTarget- Mappings:
Namespace Name Mixin selector named hasTarget
Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Z
intermediary field_6861
Lnet/minecraft/class_1463$class_1470;field_6861:Z
official i
Lcfm$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;)V
intermediary <init>
Lnet/minecraft/class_1463$class_1470;<init>(Lnet/minecraft/class_1463;)V
official <init>
Lcfm$f;<init>(Lcfm;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named canStart
Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
intermediary method_6264
Lnet/minecraft/class_1352;method_6264()Z
official a
Lcaa;a()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named shouldContinue
Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
intermediary method_6266
Lnet/minecraft/class_1352;method_6266()Z
official b
Lcaa;b()Z
-
tick
public void tick()- Overrides:
tick
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/ai/goal/Goal;tick()V
intermediary method_6268
Lnet/minecraft/class_1352;method_6268()V
official e
Lcaa;e()V
-
isTargetPos
- Specified by:
isTargetPos
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named isTargetPos
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_6296
Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z
official a
Lcan;a(Ldcj;Lja;)Z
-