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 akd$gintermediary net/minecraft/class_2623$class_2631named net/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal
-
Field Summary
FieldsFields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, field_16880, speed, targetPos, tryingTime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected booleanmethod_11012(RenderBlockView renderBlockView, BlockPos blockPos) booleanvoidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
hasReached, method_15694, method_15695, method_15696, method_15697, startMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getCategoryBits, setCategoryBits, stop
-
Field Details
-
rabbit
- Mappings:
Namespace Name Mixin selector official fLakd$g;f:Lakd;intermediary field_12003Lnet/minecraft/class_2623$class_2631;field_12003:Lnet/minecraft/class_2623;named rabbitLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;rabbit:Lnet/minecraft/entity/passive/RabbitEntity;
-
wantsCarrots
private boolean wantsCarrots- Mappings:
Namespace Name Mixin selector official gLakd$g;g:Zintermediary field_12004Lnet/minecraft/class_2623$class_2631;field_12004:Znamed wantsCarrotsLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;wantsCarrots:Z
-
hasTarget
private boolean hasTarget- Mappings:
Namespace Name Mixin selector official hLakd$g;h:Zintermediary field_12005Lnet/minecraft/class_2623$class_2631;field_12005:Znamed hasTargetLnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;hasTarget:Z
-
-
Constructor Details
-
EatCarrotCropGoal
- Mappings:
Namespace Name Mixin selector official <init>Lakd$g;<init>(Lakd;)Vintermediary <init>Lnet/minecraft/class_2623$class_2631;<init>(Lnet/minecraft/class_2623;)Vnamed <init>Lnet/minecraft/entity/passive/RabbitEntity$EatCarrotCropGoal;<init>(Lnet/minecraft/entity/passive/RabbitEntity;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLagt;a()Zintermediary method_2742Lnet/minecraft/class_896;method_2742()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official bLagt;b()Zintermediary method_2744Lnet/minecraft/class_896;method_2744()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official eLagt;e()Vintermediary method_2746Lnet/minecraft/class_896;method_2746()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
method_11012
- Specified by:
method_11012in classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLahh;a(Layc;Lel;)Zintermediary method_11012Lnet/minecraft/class_2615;method_11012(Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_11012Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;method_11012(Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)Z
-