Uses of Interface
io.papermc.paper.entity.poi.PoiType.Occupancy
Packages that use PoiType.Occupancy
Package
Description
Root package for the Paper API.
Point of interest (POI) API.
The root package of the Bukkit API, contains generalized API classes.
-
Uses of PoiType.Occupancy in io.papermc.paper
Methods in io.papermc.paper that return PoiType.Occupancy -
Uses of PoiType.Occupancy in io.papermc.paper.entity.poi
Fields in io.papermc.paper.entity.poi declared as PoiType.OccupancyModifier and TypeFieldDescriptionstatic final PoiType.OccupancyPoiType.Occupancy.ANYThe poi is either occupied or has space.static final PoiType.OccupancyPoiType.Occupancy.HAS_SPACEThe poi has space.static final PoiType.OccupancyPoiType.Occupancy.IS_OCCUPIEDThe poi is occupied. -
Uses of PoiType.Occupancy in org.bukkit
Methods in org.bukkit with parameters of type PoiType.OccupancyModifier and TypeMethodDescriptionWorld.locateAllPoiInRange(@NotNull Location origin, @NotNull Predicate<PoiType> poiTypePredicate, @Positive int radius, PoiType.Occupancy occupancy) Finds all validPoiTypein the provided radius and returns them in a list format.World.locateNearestPoi(@NotNull Location origin, @NotNull PoiType poiType, @Positive int radius, PoiType.Occupancy occupancy) Finds the nearest point of interest closest to the given location.