Class NearestBedSensor

java.lang.Object
net.minecraft.world.entity.ai.sensing.Sensor<Mob>
net.minecraft.world.entity.ai.sensing.NearestBedSensor

public class NearestBedSensor extends Sensor<Mob>
  • 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
    • batchCache

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

      private int triedCount
    • lastUpdate

      private long lastUpdate
  • Constructor Details

    • NearestBedSensor

      public NearestBedSensor()
  • Method Details