Class WalkHomeTask

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

public class WalkHomeTask extends Object
Mappings:
Namespace Name
official bjo
intermediary net/minecraft/class_4290
named net/minecraft/entity/ai/brain/task/WalkHomeTask
  • 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
      official a Lbjo;a:I
      intermediary field_30161 Lnet/minecraft/class_4290;field_30161:I
      named POI_EXPIRY Lnet/minecraft/entity/ai/brain/task/WalkHomeTask;POI_EXPIRY:I
    • MAX_TRIES

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

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

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

    • WalkHomeTask

      public WalkHomeTask()
  • Method Details

    • create

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