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:
    • BATCH_SIZE

      private static final int BATCH_SIZE
      See Also:
    • RATE

      private static final int RATE
      See Also:
    • 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