Class MeetVillagerTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.MeetVillagerTask

public class MeetVillagerTask extends Task<LivingEntity>
Mappings:
Namespace Name
official bfd
intermediary net/minecraft/class_4124
named net/minecraft/entity/ai/brain/task/MeetVillagerTask
  • Field Details

    • WALK_SPEED

      private static final float WALK_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbfd;a:F
      intermediary field_30176 Lnet/minecraft/class_4124;field_30176:F
      named WALK_SPEED Lnet/minecraft/entity/ai/brain/task/MeetVillagerTask;WALK_SPEED:F
  • Constructor Details

    • MeetVillagerTask

      public MeetVillagerTask()
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld world, LivingEntity entity)
      Overrides:
      shouldRun in class Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbcr;a(Lafo;Lbbf;)Z
      intermediary method_18919 Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
    • run

      protected void run(ServerWorld world, LivingEntity entity, long time)
      Overrides:
      run in class Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbcr;a(Lafo;Lbbf;J)V
      intermediary method_18920 Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      named run Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V