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

public class PoiSection

chm
net.minecraft.world.entity.ai.village.poi.PoiSection
net.minecraft.class_4157
net.minecraft.unmapped.C_hdurmsnk
net.minecraft.world.poi.PointOfInterestSet
net.minecraft.world.poi.PointOfInterestSet
net.minecraft.src.C_791_
net.minecraft.world.entity.ai.village.poi.VillagePlaceSection

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_18496
f_ocoyialk
LOGGER
LOGGER
f_27260_
private final it.unimi.dsi.fastutil.shorts.Short2ObjectMap<PoiRecord>
b
records
field_18497
f_jnjvqond
pointsOfInterestByPos
pointsOfInterestByPos
f_27261_
private final Map<Holder<PoiType>, Set<PoiRecord>>
c
byType
field_18498
f_frvkdbnp
pointsOfInterestByType
pointsOfInterestByType
f_27262_
private final Runnable
d
setDirty
field_18499
f_awwuzyll
updateListener
updateListener
f_27263_
private boolean
e
isValid
field_19226
f_qaplwjun
valid
valid
f_27264_

Constructor summary

ModifierConstructor
public (Runnable updateListener)
(Runnable updateListener, boolean valid, List<PoiRecord> pois)

Method summary

Modifier and TypeMethod
public PoiSection$Packed
a()
pack()
method_61451()
m_uyjtwgck()
toSerialized()
m_353189_()
public Stream<PoiRecord>
a(Predicate<jq<chn>> arg0, chk$b arg1)
getRecords(Predicate<Holder<PoiType>> arg0, PoiManager$Occupancy arg1)
method_19150(Predicate<class_6880<class_4158>> arg0, class_4153$class_4155 arg1)
m_jkfckwqu(Predicate<C_cjzoxshv<C_voztdcrg>> arg0, C_uegwgivt$C_dzezdmdw arg1)
get(Predicate<RegistryEntry<PointOfInterestType>> predicate, PointOfInterestStorage$OccupationStatus occupationStatus)
get(Predicate<Holder<PointOfInterestType>> typePredicate, PointOfInterestStorage$OccupationStatus occupationStatus)
m_27304_(Predicate<C_203228_<C_792_>> p_27306_, C_787_$C_789_ arg1)
public void
a(jh arg0, jq<chn> arg1)
add(BlockPos arg0, Holder<PoiType> arg1)
method_19146(class_2338 arg0, class_6880<class_4158> arg1)
m_ejltkrbp(C_hynzadkk arg0, C_cjzoxshv<C_voztdcrg> arg1)
add(BlockPos pos, RegistryEntry<PointOfInterestType> type)
add(BlockPos pos, Holder<PointOfInterestType> type)
m_218021_(C_4675_ p_218023_, C_203228_<C_792_> arg1)
private boolean
a(chl arg0)
add(PoiRecord arg0)
method_20350(class_4156 arg0)
m_ooqpwuhy(C_xhhbfljz arg0)
add(PointOfInterest poi)
add(PointOfInterest poi)
m_27273_(C_790_ arg0)
public void
a(jh arg0)
remove(BlockPos arg0)
method_19145(class_2338 arg0)
m_awzlpame(C_hynzadkk arg0)
remove(BlockPos pos)
remove(BlockPos pos)
m_27279_(C_4675_ arg0)
public int
b(jh arg0)
getFreeTickets(BlockPos arg0)
method_35157(class_2338 arg0)
m_zrqylmkv(C_hynzadkk arg0)
getFreeTickets(BlockPos pos)
getFreeTicketsAt(BlockPos pos)
m_148682_(C_4675_ arg0)
public boolean
c(jh arg0)
release(BlockPos arg0)
method_19153(class_2338 arg0)
m_pvlulhhd(C_hynzadkk arg0)
releaseTicket(BlockPos pos)
releaseTicket(BlockPos pos)
m_27317_(C_4675_ arg0)
public boolean
a(jh arg0, Predicate<jq<chn>> arg1)
exists(BlockPos arg0, Predicate<Holder<PoiType>> arg1)
method_19147(class_2338 arg0, Predicate<class_6880<class_4158>> arg1)
m_wvycrlap(C_hynzadkk arg0, Predicate<C_cjzoxshv<C_voztdcrg>> arg1)
test(BlockPos pos, Predicate<RegistryEntry<PointOfInterestType>> predicate)
test(BlockPos pos, Predicate<Holder<PointOfInterestType>> predicate)
m_27288_(C_4675_ p_27290_, Predicate<C_203228_<C_792_>> arg1)
public Optional<Holder<PoiType>>
d(jh arg0)
getType(BlockPos arg0)
method_19154(class_2338 arg0)
m_auljnzhv(C_hynzadkk arg0)
getType(BlockPos pos)
getType(BlockPos pos)
m_27319_(C_4675_ arg0)
private Optional<PoiRecord>
e(jh arg0)
getPoiRecord(BlockPos arg0)
method_33584(class_2338 arg0)
m_xlalihkb(C_hynzadkk arg0)
get(BlockPos pos)
get(BlockPos pos)
m_148684_(C_4675_ arg0)
public void
a(Consumer<BiConsumer<jh, jq<chn>>> arg0)
refresh(Consumer<BiConsumer<BlockPos, Holder<PoiType>>> arg0)
method_20353(Consumer<BiConsumer<class_2338, class_6880<class_4158>>> arg0)
m_oadrqxun(Consumer<BiConsumer<C_hynzadkk, C_cjzoxshv<C_voztdcrg>>> arg0)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>>> updater)
updatePointsOfInterest(Consumer<BiConsumer<BlockPos, Holder<PointOfInterestType>>> updater)
m_27302_(Consumer<BiConsumer<C_4675_, C_203228_<C_792_>>> arg0)
private void
c()
clear()
method_20395()
m_gmemdztd()
clear()
clear()
m_27310_()
boolean
b()
isValid()
method_22444()
m_yraklmmf()
isValid()
isValid()
m_27272_()