Class FollowCustomerTask

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<VillagerEntity>
net.minecraft.entity.ai.brain.task.FollowCustomerTask
All Implemented Interfaces:
Task<VillagerEntity>

public class FollowCustomerTask extends MultiTickTask<VillagerEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/FollowCustomerTask
intermediary net/minecraft/class_4108
official bzd
  • Field Details

    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      named speed Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;speed:F
      intermediary field_18362 Lnet/minecraft/class_4108;field_18362:F
      official c Lbzd;c:F
  • Constructor Details

    • FollowCustomerTask

      public FollowCustomerTask(float speed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;<init>(F)V
      intermediary <init> Lnet/minecraft/class_4108;<init>(F)V
      official <init> Lbzd;<init>(F)V
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld serverWorld, VillagerEntity villagerEntity)
      Overrides:
      shouldRun in class MultiTickTask<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldRun Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;)Z
      intermediary method_18954 Lnet/minecraft/class_4108;method_18954(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;)Z
      official a Lbzd;a(Lash;Lcpi;)Z
    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
      intermediary method_18955 Lnet/minecraft/class_4108;method_18955(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
      official a Lbzd;a(Lash;Lcpi;J)Z
    • run

      protected void run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      run in class MultiTickTask<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      intermediary method_18956 Lnet/minecraft/class_4108;method_18956(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      official b Lbzd;b(Lash;Lcpi;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      finishRunning in class MultiTickTask<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      intermediary method_18957 Lnet/minecraft/class_4108;method_18957(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      official c Lbzd;c(Lash;Lcpi;J)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      keepRunning in class MultiTickTask<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      named keepRunning Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
      intermediary method_18958 Lnet/minecraft/class_4108;method_18958(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      official d Lbzd;d(Lash;Lcpi;J)V
    • isTimeLimitExceeded

      protected boolean isTimeLimitExceeded(long time)
      Overrides:
      isTimeLimitExceeded in class MultiTickTask<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      named isTimeLimitExceeded Lnet/minecraft/entity/ai/brain/task/MultiTickTask;isTimeLimitExceeded(J)Z
      intermediary method_18915 Lnet/minecraft/class_4097;method_18915(J)Z
      official a Lbxy;a(J)Z
    • update

      private void update(VillagerEntity villager)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/entity/ai/brain/task/FollowCustomerTask;update(Lnet/minecraft/entity/passive/VillagerEntity;)V
      intermediary method_18953 Lnet/minecraft/class_4108;method_18953(Lnet/minecraft/class_1646;)V
      official a Lbzd;a(Lcpi;)V