Class SetClosestHomeAsWalkTarget

java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.SetClosestHomeAsWalkTarget

public class SetClosestHomeAsWalkTarget extends Behavior<LivingEntity>
  • Field Details

    • CACHE_TIMEOUT

      private static final int CACHE_TIMEOUT
      See Also:
      Constant Field Values
    • BATCH_SIZE

      private static final int BATCH_SIZE
      See Also:
      Constant Field Values
    • RATE

      private static final int RATE
      See Also:
      Constant Field Values
    • OK_DISTANCE_SQR

      private static final int OK_DISTANCE_SQR
      See Also:
      Constant Field Values
    • speedModifier

      private final float speedModifier
    • batchCache

      private final it.unimi.dsi.fastutil.longs.Long2LongMap batchCache
    • triedCount

      private int triedCount
    • lastUpdate

      private long lastUpdate
  • Constructor Details

    • SetClosestHomeAsWalkTarget

      public SetClosestHomeAsWalkTarget(float p_23877_)
  • Method Details