Class HideInHomeTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.HideInHomeTask
Direct Known Subclasses:
HideInHomeDuringRaidTask

public class HideInHomeTask
extends Task<LivingEntity>
  • Field Details

    • walkSpeed

      private final float walkSpeed
    • maxDistance

      private final int maxDistance
    • preferredDistance

      private final int preferredDistance
    • homePosition

      private Optional<BlockPos> homePosition
  • Constructor Details

    • HideInHomeTask

      public HideInHomeTask​(int maxDistance, float walkSpeed, int preferredDistance)
  • Method Details