net.minecraft.world.entity.ai.village.poi

public class PoiManager

extends SectionStorage<PoiSection>

azo
net.minecraft.world.entity.ai.village.poi.PoiManager
net.minecraft.class_4153
net.minecraft.unmapped.C_uegwgivt
net.minecraft.world.poi.PointOfInterestStorage
net.minecraft.village.PointOfInterestManager
net.minecraft.server.v1_16_R3.VillagePlace

Field summary

Modifier and TypeField
private final PoiManager$DistanceTracker
a
distanceTracker
field_18484
f_aglguhde
pointOfInterestDistanceTracker
field_219164_a
private final it.unimi.dsi.fastutil.longs.LongSet
b
loadedChunks
field_20688
f_bwcnjgqz
preloadedChunks
field_226345_b_

Constructor summary

ModifierConstructor
public (File arg0, com.mojang.datafixers.DataFixer arg1, boolean arg2)

Method summary

Modifier and TypeMethod
public void
a(fx arg0, azr arg1)
add(BlockPos arg0, PoiType arg1)
method_19115(class_2338 arg0, class_4158 arg1)
m_horxsngu(C_hynzadkk arg0, C_voztdcrg arg1)
add(BlockPos pos, PointOfInterestType type)
func_219135_a(BlockPos arg0, PointOfInterestType arg1)
public void
a(fx arg0)
remove(BlockPos arg0)
method_19112(class_2338 arg0)
m_qvdigcdn(C_hynzadkk arg0)
remove(BlockPos pos)
func_219140_a(BlockPos arg0)
public long
a(Predicate<azr> arg0, fx arg1, int arg2, azo$b arg3)
getCountInRange(Predicate<PoiType> arg0, BlockPos arg1, int arg2, PoiManager$Occupancy arg3)
method_20252(Predicate<class_4158> arg0, class_2338 arg1, int arg2, class_4153$class_4155 arg3)
m_lhqnzakw(Predicate<C_voztdcrg> arg0, C_hynzadkk arg1, int arg2, C_uegwgivt$C_dzezdmdw arg3)
count(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage$OccupationStatus occupationStatus)
func_219145_a(Predicate<PointOfInterestType> arg0, BlockPos arg1, int arg2, PointOfInterestManager$Status arg3)
public boolean
a(azr arg0, fx arg1)
existsAtPosition(PoiType arg0, BlockPos arg1)
method_26339(class_4158 arg0, class_2338 arg1)
m_ssqvzvty(C_voztdcrg arg0, C_hynzadkk arg1)
hasTypeAt(PointOfInterestType type, BlockPos pos)
func_234135_a_(PointOfInterestType arg0, BlockPos arg1)
public Stream<PoiRecord>
b(Predicate<azr> arg0, fx arg1, int arg2, azo$b arg3)
getInSquare(Predicate<PoiType> arg0, BlockPos arg1, int arg2, PoiManager$Occupancy arg3)
method_22383(Predicate<class_4158> arg0, class_2338 arg1, int arg2, class_4153$class_4155 arg3)
m_hmjectje(Predicate<C_voztdcrg> arg0, C_hynzadkk arg1, int arg2, C_uegwgivt$C_dzezdmdw arg3)
getInSquare(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage$OccupationStatus arg3)
func_226353_b_(Predicate<PointOfInterestType> arg0, BlockPos arg1, int arg2, PointOfInterestManager$Status arg3)
public Stream<PoiRecord>
c(Predicate<azr> arg0, fx arg1, int arg2, azo$b arg3)
getInRange(Predicate<PoiType> arg0, BlockPos arg1, int arg2, PoiManager$Occupancy arg3)
method_19125(Predicate<class_4158> arg0, class_2338 arg1, int arg2, class_4153$class_4155 arg3)
m_dsxxnxyk(Predicate<C_voztdcrg> arg0, C_hynzadkk arg1, int arg2, C_uegwgivt$C_dzezdmdw arg3)
getInCircle(Predicate<PointOfInterestType> typePredicate, BlockPos pos, int radius, PointOfInterestStorage$OccupationStatus occupationStatus)
func_219146_b(Predicate<PointOfInterestType> arg0, BlockPos arg1, int arg2, PointOfInterestManager$Status arg3)
public Stream<PoiRecord>
a(Predicate<azr> arg0, brd arg1, azo$b arg2)
getInChunk(Predicate<PoiType> arg0, ChunkPos arg1, PoiManager$Occupancy arg2)
method_19123(Predicate<class_4158> arg0, class_1923 arg1, class_4153$class_4155 arg2)
m_flhvikjr(Predicate<C_voztdcrg> arg0, C_ynrszrtu arg1, C_uegwgivt$C_dzezdmdw arg2)
getInChunk(Predicate<PointOfInterestType> arg0, ChunkPos arg1, PointOfInterestStorage$OccupationStatus occupationStatus)
func_219137_a(Predicate<PointOfInterestType> arg0, ChunkPos arg1, PointOfInterestManager$Status arg2)
public Stream<BlockPos>
a(Predicate<azr> arg0, Predicate<fx> arg1, fx arg2, int arg3, azo$b arg4)
findAll(Predicate<PoiType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PoiManager$Occupancy arg4)
method_21647(Predicate<class_4158> arg0, Predicate<class_2338> arg1, class_2338 arg2, int arg3, class_4153$class_4155 arg4)
m_mbydjeoc(Predicate<C_voztdcrg> arg0, Predicate<C_hynzadkk> arg1, C_hynzadkk arg2, int arg3, C_uegwgivt$C_dzezdmdw arg4)
getPositions(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage$OccupationStatus occupationStatus)
func_225399_a(Predicate<PointOfInterestType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PointOfInterestManager$Status arg4)
public Stream<BlockPos>
b(Predicate<azr> arg0, Predicate<fx> arg1, fx arg2, int arg3, azo$b arg4)
findAllClosestFirst(Predicate<PoiType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PoiManager$Occupancy arg4)
method_30957(Predicate<class_4158> arg0, Predicate<class_2338> arg1, class_2338 arg2, int arg3, class_4153$class_4155 arg4)
m_qcaixvav(Predicate<C_voztdcrg> arg0, Predicate<C_hynzadkk> arg1, C_hynzadkk arg2, int arg3, C_uegwgivt$C_dzezdmdw arg4)
method_30957(Predicate<PointOfInterestType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PointOfInterestStorage$OccupationStatus arg4)
func_242324_b(Predicate<PointOfInterestType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PointOfInterestManager$Status arg4)
public Optional<BlockPos>
c(Predicate<azr> arg0, Predicate<fx> arg1, fx arg2, int arg3, azo$b arg4)
find(Predicate<PoiType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PoiManager$Occupancy arg4)
method_19127(Predicate<class_4158> arg0, Predicate<class_2338> arg1, class_2338 arg2, int arg3, class_4153$class_4155 arg4)
m_ffztljrx(Predicate<C_voztdcrg> arg0, Predicate<C_hynzadkk> arg1, C_hynzadkk arg2, int arg3, C_uegwgivt$C_dzezdmdw arg4)
getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> posPredicate, BlockPos pos, int radius, PointOfInterestStorage$OccupationStatus occupationStatus)
func_219127_a(Predicate<PointOfInterestType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3, PointOfInterestManager$Status arg4)
public Optional<BlockPos>
d(Predicate<azr> arg0, fx arg1, int arg2, azo$b arg3)
findClosest(Predicate<PoiType> arg0, BlockPos arg1, int arg2, PoiManager$Occupancy arg3)
method_20006(Predicate<class_4158> arg0, class_2338 arg1, int arg2, class_4153$class_4155 arg3)
m_cczgplca(Predicate<C_voztdcrg> arg0, C_hynzadkk arg1, int arg2, C_uegwgivt$C_dzezdmdw arg3)
getNearestPosition(Predicate<PointOfInterestType> typePredicate, BlockPos arg1, int arg2, PointOfInterestStorage$OccupationStatus arg3)
func_234148_d_(Predicate<PointOfInterestType> arg0, BlockPos arg1, int arg2, PointOfInterestManager$Status arg3)
public Optional<BlockPos>
a(Predicate<azr> arg0, Predicate<fx> arg1, fx arg2, int arg3)
take(Predicate<PoiType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3)
method_19126(Predicate<class_4158> arg0, Predicate<class_2338> arg1, class_2338 arg2, int arg3)
m_tjmtajvw(Predicate<C_voztdcrg> arg0, Predicate<C_hynzadkk> arg1, C_hynzadkk arg2, int arg3)
getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, BlockPos pos, int radius)
func_219157_a(Predicate<PointOfInterestType> arg0, Predicate<BlockPos> arg1, BlockPos arg2, int arg3)
public Optional<BlockPos>
a(Predicate<azr> arg0, Predicate<fx> arg1, azo$b arg2, fx arg3, int arg4, Random arg5)
getRandom(Predicate<PoiType> arg0, Predicate<BlockPos> arg1, PoiManager$Occupancy arg2, BlockPos arg3, int arg4, Random arg5)
method_20005(Predicate<class_4158> arg0, Predicate<class_2338> arg1, class_4153$class_4155 arg2, class_2338 arg3, int arg4, Random arg5)
m_uihpyglz(Predicate<C_voztdcrg> arg0, Predicate<C_hynzadkk> arg1, C_uegwgivt$C_dzezdmdw arg2, C_hynzadkk arg3, int arg4, Random arg5)
getPosition(Predicate<PointOfInterestType> typePredicate, Predicate<BlockPos> positionPredicate, PointOfInterestStorage$OccupationStatus occupationStatus, BlockPos pos, int radius, Random random)
func_219163_a(Predicate<PointOfInterestType> arg0, Predicate<BlockPos> arg1, PointOfInterestManager$Status arg2, BlockPos arg3, int arg4, Random arg5)
public boolean
b(fx arg0)
release(BlockPos arg0)
method_19129(class_2338 arg0)
m_uwrbmepr(C_hynzadkk arg0)
releaseTicket(BlockPos pos)
func_219142_b(BlockPos arg0)
public boolean
a(fx arg0, Predicate<azr> arg1)
exists(BlockPos arg0, Predicate<PoiType> arg1)
method_19116(class_2338 arg0, Predicate<class_4158> arg1)
m_tznjyvjb(C_hynzadkk arg0, Predicate<C_voztdcrg> arg1)
test(BlockPos pos, Predicate<PointOfInterestType> predicate)
func_219138_a(BlockPos arg0, Predicate<PointOfInterestType> arg1)
public Optional<PoiType>
c(fx arg0)
getType(BlockPos arg0)
method_19132(class_2338 arg0)
m_agkornyv(C_hynzadkk arg0)
getType(BlockPos pos)
func_219148_c(BlockPos arg0)
public int
a(gp arg0)
sectionsToVillage(SectionPos arg0)
method_19118(class_4076 arg0)
m_evxnnkpe(C_zubvmeye arg0)
getDistanceFromNearestOccupied(ChunkSectionPos pos)
func_219150_a(SectionPos arg0)
private boolean
f(long arg0)
isVillageCenter(long arg0)
method_19133(long arg0)
m_zjhmevdx(long arg0)
isOccupied(long pos)
func_219154_f(long arg0)
public void
a(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
method_19290(BooleanSupplier arg0)
m_emvuwkbz(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
func_219115_a(BooleanSupplier arg0)
protected void
a(long arg0)
setDirty(long arg0)
method_19288(long arg0)
m_ebhrilfy(long arg0)
onUpdate(long arg0)
func_219116_a(long arg0)
protected void
b(long arg0)
onSectionLoad(long arg0)
method_19291(long arg0)
m_iyehricr(long arg0)
onLoad(long arg0)
func_219111_b(long arg0)
public void
a(brd arg0, cgi arg1)
checkConsistencyWithBlocks(ChunkPos arg0, LevelChunkSection arg1)
method_19510(class_1923 arg0, class_2826 arg1)
m_nnrgqcxo(C_ynrszrtu arg0, C_aurosfgf arg1)
initForPalette(ChunkPos arg0, ChunkSection arg1)
func_219139_a(ChunkPos arg0, ChunkSection arg1)
private static boolean
a(cgi arg0)
mayHavePoi(LevelChunkSection arg0)
method_20345(class_2826 arg0)
m_safkagzh(C_aurosfgf arg0)
shouldScan(ChunkSection arg0)
func_219151_a(ChunkSection arg0)
private void
a(cgi arg0, gp arg1, BiConsumer<fx, azr> arg2)
updateFromSection(LevelChunkSection arg0, SectionPos arg1, BiConsumer<BlockPos, PoiType> arg2)
method_20348(class_2826 arg0, class_4076 arg1, BiConsumer<class_2338, class_4158> arg2)
m_hlfacbyy(C_aurosfgf arg0, C_zubvmeye arg1, BiConsumer<C_hynzadkk, C_voztdcrg> arg2)
scanAndPopulate(ChunkSection arg0, ChunkSectionPos arg1, BiConsumer<BlockPos, PointOfInterestType> arg2)
func_219132_a(ChunkSection arg0, SectionPos arg1, BiConsumer<BlockPos, PointOfInterestType> arg2)
public void
a(brz arg0, fx arg1, int arg2)
ensureLoadedAndValid(LevelReader arg0, BlockPos arg1, int arg2)
method_22439(class_4538 arg0, class_2338 arg1, int arg2)
m_owscuzvh(C_eemzphbi arg0, C_hynzadkk arg1, int arg2)
preloadChunks(WorldView world, BlockPos pos, int radius)
func_226347_a_(IWorldReader arg0, BlockPos arg1, int arg2)