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 aaf$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, targetPos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanStart()protected booleanisTargetPos(World world, BlockPos pos) booleanvoidtick()Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
hasReached, startMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getCategoryBits, setCategoryBits, stop
-
Field Details
-
rabbit
- Mappings:
Namespace Name Mixin selector official cLaaf$g;c:Laaf;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 dLaaf$g;d: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 eLaaf$g;e: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>Laaf$g;<init>(Laaf;)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 aLxe;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 bLxe;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 eLxe;e()Vintermediary method_2746Lnet/minecraft/class_896;method_2746()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
isTargetPos
- Specified by:
isTargetPosin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official aLxr;a(Lamu;Let;)Zintermediary method_11012Lnet/minecraft/class_2615;method_11012(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Znamed isTargetPosLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;isTargetPos(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Z
-