Class GoToHomeTask

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

public class GoToHomeTask extends Object
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/GoToHomeTask
intermediary net/minecraft/class_4290
official bzw
  • 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/GoToHomeTask;POI_EXPIRY:I
      intermediary field_30161 Lnet/minecraft/class_4290;field_30161:I
      official a Lbzw;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/GoToHomeTask;MAX_TRIES:I
      intermediary field_30162 Lnet/minecraft/class_4290;field_30162:I
      official b Lbzw;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/GoToHomeTask;RUN_TIME:I
      intermediary field_30163 Lnet/minecraft/class_4290;field_30163:I
      official c Lbzw;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/GoToHomeTask;MAX_DISTANCE:I
      intermediary field_30164 Lnet/minecraft/class_4290;field_30164:I
      official d Lbzw;d:I
  • Constructor Details

    • GoToHomeTask

      public GoToHomeTask()
  • Method Details

    • create

      public static Task<PathAwareEntity> create(float speed)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/ai/brain/task/GoToHomeTask;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 Lbzw;a(F)Lbxz;