Class FarmerVillagerTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.FarmerVillagerTask
- Mappings:
Namespace Name official bfvintermediary net/minecraft/class_4217named net/minecraft/entity/ai/brain/task/FarmerVillagerTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate longprivate intstatic final floatFields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchooseRandomTarget(ServerWorld world) private booleanisSuitableTarget(BlockPos pos, ServerWorld world) protected booleanmethod_19564(ServerWorld serverWorld, VillagerEntity villagerEntity) protected voidmethod_19565(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidmethod_19566(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected voidmethod_20392(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) protected booleanmethod_20394(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, run, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
-
Field Details
-
MAX_RUN_TIME
private static final int MAX_RUN_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official dLbfv;d:Iintermediary field_30124Lnet/minecraft/class_4217;field_30124:Inamed MAX_RUN_TIMELnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;MAX_RUN_TIME:I
-
WALK_SPEED
public static final float WALK_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector official aLbfv;a:Fintermediary field_30123Lnet/minecraft/class_4217;field_30123:Fnamed WALK_SPEEDLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;WALK_SPEED:F
-
currentTarget
- Mappings:
Namespace Name Mixin selector official eLbfv;e:Lgr;intermediary field_18858Lnet/minecraft/class_4217;field_18858:Lnet/minecraft/class_2338;named currentTargetLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;currentTarget:Lnet/minecraft/util/math/BlockPos;
-
nextResponseTime
private long nextResponseTime- Mappings:
Namespace Name Mixin selector official fLbfv;f:Jintermediary field_18861Lnet/minecraft/class_4217;field_18861:Jnamed nextResponseTimeLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;nextResponseTime:J
-
ticksRan
private int ticksRan- Mappings:
Namespace Name Mixin selector official gLbfv;g:Iintermediary field_19239Lnet/minecraft/class_4217;field_19239:Inamed ticksRanLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;ticksRan:I
-
targetPositions
- Mappings:
Namespace Name Mixin selector official hLbfv;h:Ljava/util/List;intermediary field_19351Lnet/minecraft/class_4217;field_19351:Ljava/util/List;named targetPositionsLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;targetPositions:Ljava/util/List;
-
-
Constructor Details
-
FarmerVillagerTask
public FarmerVillagerTask()
-
-
Method Details
-
method_19564
- Mappings:
Namespace Name Mixin selector official aLbfv;a(Lahb;Lbvf;)Zintermediary method_19564Lnet/minecraft/class_4217;method_19564(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Znamed method_19564Lnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;method_19564(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
-
chooseRandomTarget
- Mappings:
Namespace Name Mixin selector official aLbfv;a(Lahb;)Lgr;intermediary method_20641Lnet/minecraft/class_4217;method_20641(Lnet/minecraft/class_3218;)Lnet/minecraft/class_2338;named chooseRandomTargetLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;chooseRandomTarget(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/util/math/BlockPos;
-
isSuitableTarget
- Mappings:
Namespace Name Mixin selector official aLbfv;a(Lgr;Lahb;)Zintermediary method_20640Lnet/minecraft/class_4217;method_20640(Lnet/minecraft/class_2338;Lnet/minecraft/class_3218;)Znamed isSuitableTargetLnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;isSuitableTarget(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/server/world/ServerWorld;)Z
-
method_20392
- Mappings:
Namespace Name Mixin selector official aLbfv;a(Lahb;Lbvf;J)Vintermediary method_20392Lnet/minecraft/class_4217;method_20392(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed method_20392Lnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;method_20392(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
method_19566
- Mappings:
Namespace Name Mixin selector official bLbfv;b(Lahb;Lbvf;J)Vintermediary method_19566Lnet/minecraft/class_4217;method_19566(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed method_19566Lnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;method_19566(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
method_19565
- Mappings:
Namespace Name Mixin selector official cLbfv;c(Lahb;Lbvf;J)Vintermediary method_19565Lnet/minecraft/class_4217;method_19565(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed method_19565Lnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;method_19565(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
method_20394
- Mappings:
Namespace Name Mixin selector official dLbfv;d(Lahb;Lbvf;J)Zintermediary method_20394Lnet/minecraft/class_4217;method_20394(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Znamed method_20394Lnet/minecraft/entity/ai/brain/task/FarmerVillagerTask;method_20394(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
-