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 - cht$f
- 
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, castToServerWorld, getControls, getServerWorld, 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- Lcht$f;g:Lcht;
 
- 
wantsCarrotsprivate 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- Lcht$f;h:Z
 
- 
hasTargetprivate 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- Lcht$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>- Lcht$f;<init>(Lcht;)V
 
 
- 
- 
Method Details- 
canStartpublic boolean canStart()- Overrides:
- canStartin class- MoveToTargetPosGoal
- 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 - b- Lccg;b()Z
 
- 
shouldContinuepublic boolean shouldContinue()- Overrides:
- shouldContinuein class- MoveToTargetPosGoal
- 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 - c- Lccg;c()Z
 
- 
tickpublic void tick()- Overrides:
- tickin class- MoveToTargetPosGoal
- 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 - a- Lccg;a()V
 
- 
isTargetPos- Specified by:
- isTargetPosin class- MoveToTargetPosGoal
- 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- Lcct;a(Ldgm;Lji;)Z
 
 
-