All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
add(BlockPos pos,
PointOfInterestType type) |
long |
count(Predicate<PointOfInterestType> typePredicate,
BlockPos pos,
int radius,
PointOfInterestStorage.OccupationStatus occupationStatus) |
int |
getDistanceFromNearestOccupied(ChunkSectionPos pos) |
Stream<PointOfInterest> |
getInChunk(Predicate<PointOfInterestType> predicate,
ChunkPos chunkPos,
PointOfInterestStorage.OccupationStatus occupationStatus) |
Stream<PointOfInterest> |
getInCircle(Predicate<PointOfInterestType> typePredicate,
BlockPos pos,
int radius,
PointOfInterestStorage.OccupationStatus occupationStatus) |
Stream<PointOfInterest> |
getInSquare(Predicate<PointOfInterestType> typePredicate,
BlockPos pos,
int radius,
PointOfInterestStorage.OccupationStatus occupationStatus) |
Optional<BlockPos> |
getNearestPosition(Predicate<PointOfInterestType> typePredicate,
BlockPos blockPos,
int int2,
PointOfInterestStorage.OccupationStatus occupationStatus) |
Optional<BlockPos> |
getPosition(Predicate<PointOfInterestType> typePredicate,
Predicate<BlockPos> positionPredicate,
BlockPos pos,
int radius) |
Optional<BlockPos> |
getPosition(Predicate<PointOfInterestType> typePredicate,
Predicate<BlockPos> posPredicate,
BlockPos pos,
int radius,
PointOfInterestStorage.OccupationStatus occupationStatus) |
Optional<BlockPos> |
getPosition(Predicate<PointOfInterestType> typePredicate,
Predicate<BlockPos> positionPredicate,
PointOfInterestStorage.OccupationStatus occupationStatus,
BlockPos pos,
int radius,
Random random) |
Stream<BlockPos> |
getPositions(Predicate<PointOfInterestType> typePredicate,
Predicate<BlockPos> posPredicate,
BlockPos pos,
int radius,
PointOfInterestStorage.OccupationStatus occupationStatus) |
Optional<PointOfInterestType> |
getType(BlockPos pos) |
boolean |
hasTypeAt(PointOfInterestType type,
BlockPos pos) |
void |
initForPalette(ChunkPos chunkPos,
ChunkSection chunkSection) |
private boolean |
isOccupied(long pos) |
Stream<BlockPos> |
method_30957(Predicate<PointOfInterestType> predicate,
Predicate<BlockPos> predicate2,
BlockPos blockPos,
int int2,
PointOfInterestStorage.OccupationStatus occupationStatus) |
protected void |
onLoad(long pos) |
protected void |
onUpdate(long pos) |
void |
preloadChunks(WorldView world,
BlockPos pos,
int radius)
Preloads chunks in a square area with the given radius.
|
boolean |
releaseTicket(BlockPos pos) |
void |
remove(BlockPos pos) |
private void |
scanAndPopulate(ChunkSection chunkSection,
ChunkSectionPos chunkSectionPos,
BiConsumer<BlockPos,PointOfInterestType> biConsumer) |
private static boolean |
shouldScan(ChunkSection chunkSection) |
boolean |
test(BlockPos pos,
Predicate<PointOfInterestType> predicate) |
void |
tick(BooleanSupplier shouldKeepTicking) |