Class WalkHomeTask

java.lang.Object
net.minecraft.entity.ai.brain.task.WalkHomeTask

public class WalkHomeTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/WalkHomeTask
intermediary net/minecraft/class_4290
official bxh
  • Field Details

    • POI_EXPIRY

      private static final int POI_EXPIRY
      Represents the number of ticks (40) that this task will remember a point of interest after starting to move towards it.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named POI_EXPIRY Lnet/minecraft/entity/ai/brain/task/WalkHomeTask;POI_EXPIRY:I
      intermediary field_30161 Lnet/minecraft/class_4290;field_30161:I
      official a Lbxh;a:I
    • MAX_TRIES

      private static final int MAX_TRIES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_TRIES Lnet/minecraft/entity/ai/brain/task/WalkHomeTask;MAX_TRIES:I
      intermediary field_30162 Lnet/minecraft/class_4290;field_30162:I
      official b Lbxh;b:I
    • RUN_TIME

      private static final int RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RUN_TIME Lnet/minecraft/entity/ai/brain/task/WalkHomeTask;RUN_TIME:I
      intermediary field_30163 Lnet/minecraft/class_4290;field_30163:I
      official c Lbxh;c:I
    • MAX_DISTANCE

      private static final int MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_DISTANCE Lnet/minecraft/entity/ai/brain/task/WalkHomeTask;MAX_DISTANCE:I
      intermediary field_30164 Lnet/minecraft/class_4290;field_30164:I
      official d Lbxh;d:I
  • Constructor Details

    • WalkHomeTask

      public WalkHomeTask()
  • Method Details

    • create

      public static Task<PathAwareEntity> create(float speed)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/WalkHomeTask;create(F)Lnet/minecraft/entity/ai/brain/task/Task;
      intermediary method_47048 Lnet/minecraft/class_4290;method_47048(F)Lnet/minecraft/class_7893;
      official a Lbxh;a(F)Lbvk;