Package net.minecraft.entity.ai.goal
Class HarvestCropsGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.HarvestCropsGoal
- Mappings:
Namespace Name official agvintermediary net/minecraft/class_2614named net/minecraft/entity/ai/goal/HarvestCropsGoal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final VillagerEntityprivate booleanprivate intprivate booleanFields 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
-
entity
- Mappings:
Namespace Name Mixin selector official fLagv;f:Laob;intermediary field_11933Lnet/minecraft/class_2614;field_11933:Lnet/minecraft/class_985;named entityLnet/minecraft/entity/ai/goal/HarvestCropsGoal;entity:Lnet/minecraft/entity/passive/VillagerEntity;
-
hasSeed
private boolean hasSeed- Mappings:
Namespace Name Mixin selector official gLagv;g:Zintermediary field_11934Lnet/minecraft/class_2614;field_11934:Znamed hasSeedLnet/minecraft/entity/ai/goal/HarvestCropsGoal;hasSeed:Z
-
field_11935
private boolean field_11935- Mappings:
Namespace Name Mixin selector official hLagv;h:Zintermediary field_11935Lnet/minecraft/class_2614;field_11935:Znamed field_11935Lnet/minecraft/entity/ai/goal/HarvestCropsGoal;field_11935:Z
-
field_11936
private int field_11936- Mappings:
Namespace Name Mixin selector official iLagv;i:Iintermediary field_11936Lnet/minecraft/class_2614;field_11936:Inamed field_11936Lnet/minecraft/entity/ai/goal/HarvestCropsGoal;field_11936:I
-
-
Constructor Details
-
HarvestCropsGoal
- Mappings:
Namespace Name Mixin selector official <init>Lagv;<init>(Laob;D)Vintermediary <init>Lnet/minecraft/class_2614;<init>(Lnet/minecraft/class_985;D)Vnamed <init>Lnet/minecraft/entity/ai/goal/HarvestCropsGoal;<init>(Lnet/minecraft/entity/passive/VillagerEntity;D)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
-