Interface PoiType.Occupancy

Enclosing interface:
PoiType

public static interface PoiType.Occupancy
Determines the type of occupancy the point of interest has.

A PoiType occupancy is defined by how much "space" a point of interest has.

With context to a Villager workstation if a villager is currently using a workstation as a source of its profession the occupancy would be IS_OCCUPIED, however, if no villager was attached to a workstation its occupancy would be HAS_SPACE.

Since:
26.1.2
  • Field Details

    • HAS_SPACE

      static final PoiType.Occupancy HAS_SPACE
      The poi has space.
      Since:
      26.1.2
    • IS_OCCUPIED

      static final PoiType.Occupancy IS_OCCUPIED
      The poi is occupied.
      Since:
      26.1.2
    • ANY

      static final PoiType.Occupancy ANY
      The poi is either occupied or has space.
      Since:
      26.1.2