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 wd$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
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
hasReachedMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getCategoryBits, setCategoryBits
-
Field Details
-
rabbit
- Mappings:
Namespace Name Mixin selector official cLwd$g;c:Lwd;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 dLwd$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 eLwd$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>Lwd$g;<init>(Lwd;)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 aLtk;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 bLtk;b()Zintermediary method_2744Lnet/minecraft/class_896;method_2744()Znamed shouldContinueLnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
-
start
public void start()- Overrides:
startin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official cLtk;c()Vintermediary method_2747Lnet/minecraft/class_896;method_2747()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()- Overrides:
stopin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official dLtk;d()Vintermediary method_2745Lnet/minecraft/class_896;method_2745()Vnamed stopLnet/minecraft/entity/ai/goal/Goal;stop()V
-
tick
public void tick()- Overrides:
tickin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official eLtk;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 aLtv;a(Laht;Lcl;)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
-