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 - official - bsf$g- intermediary - net/minecraft/class_1463$class_1470- named - net/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.goal.GoalGoal.Control
- 
Field SummaryFieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoalcooldown, lowestY, mob, speed, targetPos, tryingTime
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanStart()protected booleanisTargetPos(WorldView world, BlockPos pos) booleanvoidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoalfindTargetPos, getDesiredDistanceToTarget, getInterval, getTargetPos, hasReached, shouldResetPath, shouldRunEveryTick, start, startMovingToTargetMethods inherited from class net.minecraft.entity.ai.goal.GoalcanStop, getControls, getTickCount, setControls, stop, toGoalTicks, toString
- 
Field Details- 
rabbit- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbsf$g;g:Lbsf;- intermediary - field_6863- Lnet/minecraft/class_1463$class_1470;field_6863:Lnet/minecraft/class_1463;- named - rabbit- Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
 
- 
wantsCarrotsprivate boolean wantsCarrots- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbsf$g;h:Z- intermediary - field_6862- Lnet/minecraft/class_1463$class_1470;field_6862:Z- named - wantsCarrots- Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Z
 
- 
hasTargetprivate boolean hasTarget- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbsf$g;i:Z- intermediary - field_6861- Lnet/minecraft/class_1463$class_1470;field_6861:Z- named - hasTarget- Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Z
 
 
- 
- 
Constructor Details- 
EatCarrotCropGoal- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbsf$g;<init>(Lbsf;)V- intermediary - <init>- Lnet/minecraft/class_1463$class_1470;<init>(Lnet/minecraft/class_1463;)V- named - <init>- Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)V
 
 
- 
- 
Method Details- 
canStartpublic boolean canStart()- Overrides:
- canStartin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbmv;a()Z- intermediary - method_6264- Lnet/minecraft/class_1352;method_6264()Z- named - canStart- Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
 
- 
shouldContinuepublic boolean shouldContinue()- Overrides:
- shouldContinuein class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbmv;b()Z- intermediary - method_6266- Lnet/minecraft/class_1352;method_6266()Z- named - shouldContinue- Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
 
- 
tickpublic void tick()- Overrides:
- tickin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbmv;e()V- intermediary - method_6268- Lnet/minecraft/class_1352;method_6268()V- named - tick- Lnet/minecraft/entity/ai/goal/Goal;tick()V
 
- 
isTargetPos- Specified by:
- isTargetPosin class- MoveToTargetPosGoal
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbni;a(Lcmp;Lgu;)Z- intermediary - method_6296- Lnet/minecraft/class_1367;method_6296(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;)Z- named - isTargetPos- Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;)Z
 
 
-